File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
packages/vue/src/composables Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -8,11 +8,15 @@ const nuxtNode = applicationConfig()
88 . useTemplate ( templates [ 'nuxt-node' ] )
99 . setEnvFormatter ( 'public' , key => `NUXT_PUBLIC_${ key } ` )
1010 . setEnvFormatter ( 'private' , key => `NUXT_${ key } ` )
11- . addScript ( 'setup' , 'pnpm install' )
11+ . addScript ( 'setup' , constants . E2E_NPM_FORCE ? 'pnpm install --force' : 'pnpm install' )
1212 . addScript ( 'dev' , 'pnpm dev' )
1313 . addScript ( 'build' , 'pnpm build' )
1414 . addScript ( 'serve' , 'pnpm preview' )
15- . addDependency ( '@clerk/nuxt' , constants . E2E_CLERK_VERSION || linkPackage ( 'nuxt' ) ) ;
15+ . addDependency ( '@clerk/nuxt' , constants . E2E_CLERK_VERSION || linkPackage ( 'nuxt' ) )
16+ . addDependency ( '@clerk/shared' , linkPackage ( 'shared' ) )
17+ . addDependency ( '@clerk/types' , linkPackage ( 'types' ) )
18+ . addDependency ( '@clerk/vue' , linkPackage ( 'vue' ) )
19+ . addDependency ( '@clerk/backend' , linkPackage ( 'backend' ) ) ;
1620
1721export const nuxt = {
1822 node : nuxtNode ,
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ export const useOrganization: UseOrganization = () => {
5959 const unwatch = watch (
6060 clerk ,
6161 value => {
62- if ( value ?. loaded ) {
62+ if ( value ) {
6363 value . __internal_attemptToEnableEnvironmentSetting ?.( {
6464 for : 'organizations' ,
6565 caller : 'useOrganization' ,
You can’t perform that action at this time.
0 commit comments