File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed
packages/app/src/cli/services/generate Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -188,17 +188,7 @@ async function functionExtensionInit({
188188 const packageJson = await readAndParsePackageJson ( extensionPackageJsonPath )
189189
190190 if ( packageJson . dependencies ?. [ '@shopify/shopify_function' ] ) {
191- // Path to local package relative to user's home directory
192- const homeDir = process . env . HOME || process . env . USERPROFILE
193- const localPackagePath = joinPath (
194- homeDir ! ,
195- 'src' ,
196- 'github.com' ,
197- 'Shopify' ,
198- 'shopify-function-javascript' ,
199- 'shopify-shopify_function-2.0.1-rc.0.tgz' ,
200- )
201- packageJson . dependencies [ '@shopify/shopify_function' ] = `file:${ localPackagePath } `
191+ packageJson . dependencies [ '@shopify/shopify_function' ] = '0.0.0-snapshot-20251111164106'
202192 await writeFile ( extensionPackageJsonPath , JSON . stringify ( packageJson , null , 2 ) )
203193 }
204194
You can’t perform that action at this time.
0 commit comments