From 6756b1aa7433511755903f663c8bbab2eebd6498 Mon Sep 17 00:00:00 2001 From: Fran Dios Date: Mon, 8 Jul 2024 16:28:12 +0900 Subject: [PATCH 1/7] Changesets --- .changeset/happy-rabbits-draw.md | 1 - .changeset/two-chefs-yawn.md | 11 +++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .changeset/two-chefs-yawn.md diff --git a/.changeset/happy-rabbits-draw.md b/.changeset/happy-rabbits-draw.md index cad9876148..622f56d7bf 100644 --- a/.changeset/happy-rabbits-draw.md +++ b/.changeset/happy-rabbits-draw.md @@ -1,6 +1,5 @@ --- 'skeleton': patch -'@shopify/cli-hydrogen': patch --- Update remix to v2.10.1 diff --git a/.changeset/two-chefs-yawn.md b/.changeset/two-chefs-yawn.md new file mode 100644 index 0000000000..658361b1fc --- /dev/null +++ b/.changeset/two-chefs-yawn.md @@ -0,0 +1,11 @@ +--- +'skeleton': patch +--- + +The `@shopify/cli` package now bundles the `@shopify/cli-hydrogen` plugin. Therefore, you can now remove the latter from your local dependencies: + +```diff + "@shopify/cli": "3.64.0", +- "@shopify/cli-hydrogen": "^8.1.1", + "@shopify/hydrogen": "2024.7.0", +``` From 931dbaf8e0d07f9d954fc9f2d7e1458abd4fa4b0 Mon Sep 17 00:00:00 2001 From: Fran Dios Date: Mon, 8 Jul 2024 16:40:45 +0900 Subject: [PATCH 2/7] Fix dependencies on cli-hydrogen --- examples/express/package.json | 1 - package-lock.json | 8 ++------ packages/create-hydrogen/package.json | 1 - templates/skeleton/package.json | 2 +- 4 files changed, 3 insertions(+), 9 deletions(-) diff --git a/examples/express/package.json b/examples/express/package.json index 3223e821d1..044b72ef4d 100644 --- a/examples/express/package.json +++ b/examples/express/package.json @@ -15,7 +15,6 @@ "@remix-run/react": "^2.10.1", "@remix-run/server-runtime": "^2.10.1", "@shopify/cli": "3.61.2", - "@shopify/cli-hydrogen": "^8.1.1", "@shopify/hydrogen": "2024.7.0", "compression": "^1.7.4", "cross-env": "^7.0.3", diff --git a/package-lock.json b/package-lock.json index 545bd22033..ac348b0421 100644 --- a/package-lock.json +++ b/package-lock.json @@ -115,7 +115,6 @@ "@remix-run/react": "^2.10.1", "@remix-run/server-runtime": "^2.10.1", "@shopify/cli": "3.61.2", - "@shopify/cli-hydrogen": "^8.1.1", "@shopify/hydrogen": "2024.7.0", "compression": "^1.7.4", "cross-env": "^7.0.3", @@ -29911,7 +29910,6 @@ "create-hydrogen": "dist/create-app.js" }, "devDependencies": { - "@shopify/cli-hydrogen": "^8.1.1", "tempy": "3.0.0" } }, @@ -32347,7 +32345,7 @@ "@remix-run/react": "^2.10.1", "@remix-run/server-runtime": "^2.10.1", "@shopify/cli": "3.61.2", - "@shopify/cli-hydrogen": "^8.1.1", + "@shopify/cli-hydrogen": "*", "@shopify/hydrogen": "2024.7.0", "@shopify/remix-oxygen": "^2.0.4", "graphql": "^16.6.0", @@ -37793,7 +37791,6 @@ "version": "file:packages/create-hydrogen", "requires": { "@ast-grep/napi": "0.11.0", - "@shopify/cli-hydrogen": "^8.1.1", "tempy": "3.0.0" } }, @@ -43602,7 +43599,6 @@ "@remix-run/react": "^2.10.1", "@remix-run/server-runtime": "^2.10.1", "@shopify/cli": "3.61.2", - "@shopify/cli-hydrogen": "^8.1.1", "@shopify/hydrogen": "2024.7.0", "@types/compression": "^1.7.2", "@types/express": "^4.17.17", @@ -51200,7 +51196,7 @@ "@remix-run/react": "^2.10.1", "@remix-run/server-runtime": "^2.10.1", "@shopify/cli": "3.61.2", - "@shopify/cli-hydrogen": "^8.1.1", + "@shopify/cli-hydrogen": "*", "@shopify/hydrogen": "2024.7.0", "@shopify/hydrogen-codegen": "^0.3.1", "@shopify/mini-oxygen": "^3.0.3", diff --git a/packages/create-hydrogen/package.json b/packages/create-hydrogen/package.json index 0c4ef6c75e..cf6a64c1db 100644 --- a/packages/create-hydrogen/package.json +++ b/packages/create-hydrogen/package.json @@ -17,7 +17,6 @@ "@ast-grep/napi": "0.11.0" }, "devDependencies": { - "@shopify/cli-hydrogen": "^8.1.1", "tempy": "3.0.0" }, "bin": "dist/create-app.js", diff --git a/templates/skeleton/package.json b/templates/skeleton/package.json index f28fb5d5da..05b2eb2691 100644 --- a/templates/skeleton/package.json +++ b/templates/skeleton/package.json @@ -17,7 +17,7 @@ "@remix-run/react": "^2.10.1", "@remix-run/server-runtime": "^2.10.1", "@shopify/cli": "3.61.2", - "@shopify/cli-hydrogen": "^8.1.1", + "@shopify/cli-hydrogen": "*", "@shopify/hydrogen": "2024.7.0", "@shopify/remix-oxygen": "^2.0.4", "graphql": "^16.6.0", From 2186573ac5d99fd9e0a7e5c2675e7a1f1a537f40 Mon Sep 17 00:00:00 2001 From: Fran Dios Date: Mon, 8 Jul 2024 16:43:16 +0900 Subject: [PATCH 3/7] Hide version warning when using CLI snapshots --- packages/cli/src/lib/check-cli-version.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cli/src/lib/check-cli-version.ts b/packages/cli/src/lib/check-cli-version.ts index ea5d561166..a945084eee 100644 --- a/packages/cli/src/lib/check-cli-version.ts +++ b/packages/cli/src/lib/check-cli-version.ts @@ -35,7 +35,8 @@ export async function checkCurrentCLIVersion() { !currentVersion || !Object.values(UPGRADABLE_CLI_NAMES).some((name) => name === pkgName) || currentVersion.includes('next') || - currentVersion.includes('experimental') + currentVersion.includes('experimental') || + currentVersion.includes('snapshot') ) { return; } From e0854a4520b2936851cd8f457b66d5518bbe5cf2 Mon Sep 17 00:00:00 2001 From: Fran Dios Date: Mon, 8 Jul 2024 16:58:17 +0900 Subject: [PATCH 4/7] Update cli-kit version --- package-lock.json | 199 ++++++++++++++++++++++++++------------ package.json | 2 +- packages/cli/package.json | 4 +- 3 files changed, 140 insertions(+), 65 deletions(-) diff --git a/package-lock.json b/package-lock.json index ac348b0421..cd95cb63d2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -270,6 +270,22 @@ "node": ">=6.0.0" } }, + "node_modules/@apidevtools/json-schema-ref-parser": { + "version": "11.6.4", + "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-11.6.4.tgz", + "integrity": "sha512-9K6xOqeevacvweLGik6LnZCb1fBtCOSIWQs8d096XGeqoLKC33UVMGz9+77Gw44KvbH4pKcQPWo4ZpxkXYj05w==", + "dependencies": { + "@jsdevtools/ono": "^7.1.3", + "@types/json-schema": "^7.0.15", + "js-yaml": "^4.1.0" + }, + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://github.com/sponsors/philsturgeon" + } + }, "node_modules/@ardatan/relay-compiler": { "version": "12.0.0", "resolved": "https://registry.npmjs.org/@ardatan/relay-compiler/-/relay-compiler-12.0.0.tgz", @@ -4741,9 +4757,9 @@ } }, "node_modules/@inquirer/core/node_modules/@types/node": { - "version": "20.14.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz", - "integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==", + "version": "20.14.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.10.tgz", + "integrity": "sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -4981,6 +4997,11 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, + "node_modules/@jsdevtools/ono": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", + "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==" + }, "node_modules/@jspm/core": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/@jspm/core/-/core-2.0.1.tgz", @@ -5543,9 +5564,9 @@ } }, "node_modules/@npmcli/package-json/node_modules/glob": { - "version": "10.4.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", - "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.3.tgz", + "integrity": "sha512-Q38SGlYRpVtDBPSWEylRyctn7uDeTp4NQERTLiCT1FqA9JXPYWqAVmQU6qh4r/zMM5ehxTcbaO8EjhWnvEhmyg==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", @@ -5559,7 +5580,7 @@ "glob": "dist/esm/bin.mjs" }, "engines": { - "node": ">=16 || 14 >=14.18" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -7677,16 +7698,18 @@ "link": true }, "node_modules/@shopify/cli-kit": { - "version": "3.61.2", - "resolved": "https://registry.npmjs.org/@shopify/cli-kit/-/cli-kit-3.61.2.tgz", - "integrity": "sha512-Qw2gfMhrYRGrjnr6D7wFleNFIr7j/kAL4ZiA/CcDXFOpYfu8Y4QvzcX79rgUaRTk11SvbOF6UqLCrdymOHc3dQ==", + "version": "3.63.2", + "resolved": "https://registry.npmjs.org/@shopify/cli-kit/-/cli-kit-3.63.2.tgz", + "integrity": "sha512-8TQ1RlKdnSdSukroIdsiUHZI9JOfkV9za5ev5wB4e+0JqSjBNRZ6cRxwAxEpzAcgeG0TKLTKklSXrygJ/wkiwg==", "os": [ "darwin", "linux", "win32" ], "dependencies": { + "@apidevtools/json-schema-ref-parser": "11.6.4", "@bugsnag/js": "7.21.0", + "@graphql-typed-document-node/core": "3.2.0", "@iarna/toml": "2.2.5", "@oclif/core": "3.26.5", "@opentelemetry/api": "1.6.0", @@ -7696,6 +7719,7 @@ "@opentelemetry/sdk-metrics": "1.17.1", "@opentelemetry/semantic-conventions": "1.17.1", "@types/archiver": "5.3.2", + "ajv": "8.13.0", "ansi-escapes": "6.2.0", "archiver": "5.3.2", "bottleneck": "2.19.5", @@ -7747,6 +7771,21 @@ "node": "^18.20.0 || >=20.10.0" } }, + "node_modules/@shopify/cli-kit/node_modules/ajv": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.13.0.tgz", + "integrity": "sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==", + "dependencies": { + "fast-deep-equal": "^3.1.3", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.4.1" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, "node_modules/@shopify/cli-kit/node_modules/ansi-escapes": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.0.tgz", @@ -7875,6 +7914,11 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/@shopify/cli-kit/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, "node_modules/@shopify/cli-kit/node_modules/locate-path": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz", @@ -8126,9 +8170,9 @@ "dev": true }, "node_modules/@shopify/plugin-cloudflare": { - "version": "3.61.2", - "resolved": "https://registry.npmjs.org/@shopify/plugin-cloudflare/-/plugin-cloudflare-3.61.2.tgz", - "integrity": "sha512-JOZwrnVM/NXiYA9GgwTpWpN+QK76nUr/q9BQNT2ZoNsTSmL3vf5B3LSvZ+SSuzdB1suR7YhRgtkH/FJKwiYU1w==", + "version": "3.63.2", + "resolved": "https://registry.npmjs.org/@shopify/plugin-cloudflare/-/plugin-cloudflare-3.63.2.tgz", + "integrity": "sha512-tDzuPPhYaZ3ZR5wAX9y/yNJXKgypMjnyUL4I/0Im//Q3F3QPEoDW98wVyorh9VIIE6mPoge9caV2opD6HVnzNA==", "os": [ "darwin", "linux", @@ -8136,7 +8180,7 @@ ], "dependencies": { "@oclif/core": "3.26.5", - "@shopify/cli-kit": "3.61.2" + "@shopify/cli-kit": "3.63.2" }, "engines": { "node": "^18.20.0 || >=20.10.0" @@ -9128,9 +9172,9 @@ "devOptional": true }, "node_modules/@types/json-schema": { - "version": "7.0.11", - "dev": true, - "license": "MIT" + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" }, "node_modules/@types/json-stable-stringify": { "version": "1.0.35", @@ -10348,7 +10392,6 @@ }, "node_modules/argparse": { "version": "2.0.1", - "devOptional": true, "license": "Python-2.0" }, "node_modules/aria-query": { @@ -10969,9 +11012,9 @@ } }, "node_modules/cacache/node_modules/glob": { - "version": "10.4.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", - "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.3.tgz", + "integrity": "sha512-Q38SGlYRpVtDBPSWEylRyctn7uDeTp4NQERTLiCT1FqA9JXPYWqAVmQU6qh4r/zMM5ehxTcbaO8EjhWnvEhmyg==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", @@ -10985,7 +11028,7 @@ "glob": "dist/esm/bin.mjs" }, "engines": { - "node": ">=16 || 14 >=14.18" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -17966,7 +18009,6 @@ }, "node_modules/js-yaml": { "version": "4.1.0", - "devOptional": true, "license": "MIT", "dependencies": { "argparse": "^2.0.1" @@ -23095,12 +23137,12 @@ } }, "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.3.0.tgz", - "integrity": "sha512-CQl19J/g+Hbjbv4Y3mFNNXFEL/5t/KCg8POCuUqd4rMKjGG+j1ybER83hxV58zL+dFI1PTkt3GNFSHRt+d8qEQ==", + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.0.tgz", + "integrity": "sha512-bfJaPTuEiTYBu+ulDaeQ0F+uLmlfFkMgXj4cbwfuMSjgObGMzb55FMMbDvbRU0fAHZ4sLGkz2mKwcMg8Dvm8Ww==", "dev": true, "engines": { - "node": "14 || >=16.14" + "node": ">=18" } }, "node_modules/path-to-regexp": { @@ -26420,9 +26462,9 @@ } }, "node_modules/sucrase/node_modules/glob": { - "version": "10.4.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", - "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.3.tgz", + "integrity": "sha512-Q38SGlYRpVtDBPSWEylRyctn7uDeTp4NQERTLiCT1FqA9JXPYWqAVmQU6qh4r/zMM5ehxTcbaO8EjhWnvEhmyg==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", @@ -26436,7 +26478,7 @@ "glob": "dist/esm/bin.mjs" }, "engines": { - "node": ">=16 || 14 >=14.18" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -29656,9 +29698,9 @@ "dependencies": { "@ast-grep/napi": "0.11.0", "@oclif/core": "3.26.5", - "@shopify/cli-kit": "3.61.2", + "@shopify/cli-kit": "3.63.2", "@shopify/oxygen-cli": "4.4.9", - "@shopify/plugin-cloudflare": "3.61.2", + "@shopify/plugin-cloudflare": "3.63.2", "ansi-escapes": "^6.2.0", "chokidar": "3.5.3", "cli-truncate": "^4.0.0", @@ -32419,6 +32461,16 @@ "@jridgewell/trace-mapping": "^0.3.9" } }, + "@apidevtools/json-schema-ref-parser": { + "version": "11.6.4", + "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-11.6.4.tgz", + "integrity": "sha512-9K6xOqeevacvweLGik6LnZCb1fBtCOSIWQs8d096XGeqoLKC33UVMGz9+77Gw44KvbH4pKcQPWo4ZpxkXYj05w==", + "requires": { + "@jsdevtools/ono": "^7.1.3", + "@types/json-schema": "^7.0.15", + "js-yaml": "^4.1.0" + } + }, "@ardatan/relay-compiler": { "version": "12.0.0", "resolved": "https://registry.npmjs.org/@ardatan/relay-compiler/-/relay-compiler-12.0.0.tgz", @@ -35563,9 +35615,9 @@ }, "dependencies": { "@types/node": { - "version": "20.14.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.9.tgz", - "integrity": "sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==", + "version": "20.14.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.14.10.tgz", + "integrity": "sha512-MdiXf+nDuMvY0gJKxyfZ7/6UFsETO7mGKF54MVD/ekJS6HdFtpZFBgrh6Pseu64XTb2MLyFPlbW6hj8HYRQNOQ==", "dev": true, "requires": { "undici-types": "~5.26.4" @@ -35731,6 +35783,11 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, + "@jsdevtools/ono": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", + "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==" + }, "@jspm/core": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/@jspm/core/-/core-2.0.1.tgz", @@ -36157,9 +36214,9 @@ } }, "glob": { - "version": "10.4.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", - "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.3.tgz", + "integrity": "sha512-Q38SGlYRpVtDBPSWEylRyctn7uDeTp4NQERTLiCT1FqA9JXPYWqAVmQU6qh4r/zMM5ehxTcbaO8EjhWnvEhmyg==", "dev": true, "requires": { "foreground-child": "^3.1.0", @@ -37441,9 +37498,9 @@ "@ast-grep/napi": "0.11.0", "@oclif/core": "3.26.5", "@remix-run/dev": "^2.10.1", - "@shopify/cli-kit": "3.61.2", + "@shopify/cli-kit": "3.63.2", "@shopify/oxygen-cli": "4.4.9", - "@shopify/plugin-cloudflare": "3.61.2", + "@shopify/plugin-cloudflare": "3.63.2", "@types/diff": "^5.0.2", "@types/fs-extra": "^11.0.1", "@types/gunzip-maybe": "^1.4.0", @@ -37575,11 +37632,13 @@ } }, "@shopify/cli-kit": { - "version": "3.61.2", - "resolved": "https://registry.npmjs.org/@shopify/cli-kit/-/cli-kit-3.61.2.tgz", - "integrity": "sha512-Qw2gfMhrYRGrjnr6D7wFleNFIr7j/kAL4ZiA/CcDXFOpYfu8Y4QvzcX79rgUaRTk11SvbOF6UqLCrdymOHc3dQ==", + "version": "3.63.2", + "resolved": "https://registry.npmjs.org/@shopify/cli-kit/-/cli-kit-3.63.2.tgz", + "integrity": "sha512-8TQ1RlKdnSdSukroIdsiUHZI9JOfkV9za5ev5wB4e+0JqSjBNRZ6cRxwAxEpzAcgeG0TKLTKklSXrygJ/wkiwg==", "requires": { + "@apidevtools/json-schema-ref-parser": "11.6.4", "@bugsnag/js": "7.21.0", + "@graphql-typed-document-node/core": "3.2.0", "@iarna/toml": "2.2.5", "@oclif/core": "3.26.5", "@opentelemetry/api": "1.6.0", @@ -37589,6 +37648,7 @@ "@opentelemetry/sdk-metrics": "1.17.1", "@opentelemetry/semantic-conventions": "1.17.1", "@types/archiver": "5.3.2", + "ajv": "8.13.0", "ansi-escapes": "6.2.0", "archiver": "5.3.2", "bottleneck": "2.19.5", @@ -37637,6 +37697,17 @@ "zod": "3.22.3" }, "dependencies": { + "ajv": { + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.13.0.tgz", + "integrity": "sha512-PRA911Blj99jR5RMeTunVbNXMF6Lp4vZXnk5GQjcnUWUTsrXtekg/pnmFFI2u/I36Y/2bITGS30GZCXei6uNkA==", + "requires": { + "fast-deep-equal": "^3.1.3", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.4.1" + } + }, "ansi-escapes": { "version": "6.2.0", "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-6.2.0.tgz", @@ -37711,6 +37782,11 @@ "resolved": "https://registry.npmjs.org/is-unicode-supported/-/is-unicode-supported-1.3.0.tgz", "integrity": "sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==" }, + "json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==" + }, "locate-path": { "version": "7.2.0", "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-7.2.0.tgz", @@ -39487,12 +39563,12 @@ "dev": true }, "@shopify/plugin-cloudflare": { - "version": "3.61.2", - "resolved": "https://registry.npmjs.org/@shopify/plugin-cloudflare/-/plugin-cloudflare-3.61.2.tgz", - "integrity": "sha512-JOZwrnVM/NXiYA9GgwTpWpN+QK76nUr/q9BQNT2ZoNsTSmL3vf5B3LSvZ+SSuzdB1suR7YhRgtkH/FJKwiYU1w==", + "version": "3.63.2", + "resolved": "https://registry.npmjs.org/@shopify/plugin-cloudflare/-/plugin-cloudflare-3.63.2.tgz", + "integrity": "sha512-tDzuPPhYaZ3ZR5wAX9y/yNJXKgypMjnyUL4I/0Im//Q3F3QPEoDW98wVyorh9VIIE6mPoge9caV2opD6HVnzNA==", "requires": { "@oclif/core": "3.26.5", - "@shopify/cli-kit": "3.61.2" + "@shopify/cli-kit": "3.63.2" } }, "@shopify/prettier-config": { @@ -40181,8 +40257,9 @@ "devOptional": true }, "@types/json-schema": { - "version": "7.0.11", - "dev": true + "version": "7.0.15", + "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", + "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==" }, "@types/json-stable-stringify": { "version": "1.0.35", @@ -41072,8 +41149,7 @@ "dev": true }, "argparse": { - "version": "2.0.1", - "devOptional": true + "version": "2.0.1" }, "aria-query": { "version": "5.1.3", @@ -41496,9 +41572,9 @@ } }, "glob": { - "version": "10.4.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", - "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.3.tgz", + "integrity": "sha512-Q38SGlYRpVtDBPSWEylRyctn7uDeTp4NQERTLiCT1FqA9JXPYWqAVmQU6qh4r/zMM5ehxTcbaO8EjhWnvEhmyg==", "dev": true, "requires": { "foreground-child": "^3.1.0", @@ -46205,7 +46281,6 @@ }, "js-yaml": { "version": "4.1.0", - "devOptional": true, "requires": { "argparse": "^2.0.1" } @@ -49480,9 +49555,9 @@ }, "dependencies": { "lru-cache": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.3.0.tgz", - "integrity": "sha512-CQl19J/g+Hbjbv4Y3mFNNXFEL/5t/KCg8POCuUqd4rMKjGG+j1ybER83hxV58zL+dFI1PTkt3GNFSHRt+d8qEQ==", + "version": "10.4.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.0.tgz", + "integrity": "sha512-bfJaPTuEiTYBu+ulDaeQ0F+uLmlfFkMgXj4cbwfuMSjgObGMzb55FMMbDvbRU0fAHZ4sLGkz2mKwcMg8Dvm8Ww==", "dev": true } } @@ -51806,9 +51881,9 @@ "dev": true }, "glob": { - "version": "10.4.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", - "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.3.tgz", + "integrity": "sha512-Q38SGlYRpVtDBPSWEylRyctn7uDeTp4NQERTLiCT1FqA9JXPYWqAVmQU6qh4r/zMM5ehxTcbaO8EjhWnvEhmyg==", "dev": true, "requires": { "foreground-child": "^3.1.0", diff --git a/package.json b/package.json index 5d2f889e7b..7978eba62a 100644 --- a/package.json +++ b/package.json @@ -96,6 +96,6 @@ }, "overrides": { "@oclif/core": "3.26.5", - "@shopify/cli-kit": "3.61.2" + "@shopify/cli-kit": "3.63.2" } } diff --git a/packages/cli/package.json b/packages/cli/package.json index a4ab8942e5..406a00b9c2 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -35,9 +35,9 @@ "dependencies": { "@ast-grep/napi": "0.11.0", "@oclif/core": "3.26.5", - "@shopify/cli-kit": "3.61.2", + "@shopify/cli-kit": "3.63.2", "@shopify/oxygen-cli": "4.4.9", - "@shopify/plugin-cloudflare": "3.61.2", + "@shopify/plugin-cloudflare": "3.63.2", "ansi-escapes": "^6.2.0", "chokidar": "3.5.3", "cli-truncate": "^4.0.0", From 42dbe6cabe44730a7f4d2cf6d4575c13ecba92fe Mon Sep 17 00:00:00 2001 From: Fran Dios Date: Mon, 8 Jul 2024 16:58:36 +0900 Subject: [PATCH 5/7] Fix debug:cpu flags usage --- packages/cli/src/commands/hydrogen/debug/cpu.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/packages/cli/src/commands/hydrogen/debug/cpu.ts b/packages/cli/src/commands/hydrogen/debug/cpu.ts index 1953ffca69..d96d0fe808 100644 --- a/packages/cli/src/commands/hydrogen/debug/cpu.ts +++ b/packages/cli/src/commands/hydrogen/debug/cpu.ts @@ -43,10 +43,9 @@ export default class DebugCpu extends Command { ? resolvePath(flags.path) : process.cwd(); - const diff = - flags.build && flags.diff - ? await prepareDiffDirectory(originalDirectory, true) - : undefined; + const diff = flags.diff + ? await prepareDiffDirectory(originalDirectory, true) + : undefined; const {close} = await runDebugCpu({ ...flagsToCamelObject(flags), From 6602a92652e27586daa94d972ec1ae9c975ddb60 Mon Sep 17 00:00:00 2001 From: Fran Dios Date: Mon, 8 Jul 2024 16:59:12 +0900 Subject: [PATCH 6/7] Update oclif manifest --- packages/cli/oclif.manifest.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/packages/cli/oclif.manifest.json b/packages/cli/oclif.manifest.json index 28da963b58..ba255aeab4 100644 --- a/packages/cli/oclif.manifest.json +++ b/packages/cli/oclif.manifest.json @@ -89,6 +89,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Builds a Hydrogen storefront for production. The client and app worker files are compiled to a `/dist` folder in your Hydrogen project directory.", "isESM": true, "relativePath": [ @@ -128,6 +129,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Checks whether your Hydrogen app includes a set of standard Shopify routes.", "isESM": true, "relativePath": [ @@ -181,6 +183,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Automatically generates GraphQL types for your project’s Storefront API queries.", "isESM": true, "relativePath": [ @@ -240,6 +243,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "isESM": true, "relativePath": [ "dist", @@ -295,6 +299,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Builds the app and runs the resulting code to profile the server startup time, watching for changes. This command can be used to [debug slow app startup times](https://shopify.dev/docs/custom-storefronts/hydrogen/debugging/cpu-startup) that cause failed deployments in Oxygen.\n\n The profiling results are written to a `.cpuprofile` file that can be viewed with certain tools such as [Flame Chart Visualizer for Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-js-profile-flame).", "isESM": true, "relativePath": [ @@ -492,6 +497,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Builds and deploys your Hydrogen storefront to Oxygen. Requires an Oxygen deployment token to be set with the `--token` flag or an environment variable (`SHOPIFY_HYDROGEN_DEPLOYMENT_TOKEN`). If the storefront is [linked](https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-link) then the Oxygen deployment token for the linked storefront will be used automatically.", "isESM": true, "relativePath": [ @@ -666,6 +672,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Runs a Hydrogen storefront in a local runtime that emulates an Oxygen worker for development.\n\n If your project is [linked](https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-link) to a Hydrogen storefront, then its environment variables will be loaded with the runtime.", "isESM": true, "relativePath": [ @@ -696,6 +703,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Lists all environments available on the linked Hydrogen storefront.", "isESM": true, "relativePath": [ @@ -757,6 +765,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Pulls environment variables from the linked Hydrogen storefront and writes them to an `.env` file.", "isESM": true, "relativePath": [ @@ -805,6 +814,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "isESM": true, "relativePath": [ "dist", @@ -827,6 +837,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": false, + "enableJsonFlag": false, "isESM": true, "relativePath": [ "dist", @@ -907,6 +918,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Generates a set of default routes from the starter template.", "isESM": true, "relativePath": [ @@ -969,6 +981,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "isESM": true, "relativePath": [ "dist", @@ -1087,6 +1100,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Creates a new Hydrogen storefront.", "isESM": true, "relativePath": [ @@ -1133,6 +1147,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Links your local development environment to a remote Hydrogen storefront. You can link an unlimited number of development environments to a single Hydrogen storefront.\n\n Linking to a Hydrogen storefront enables you to run [dev](https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-dev) and automatically inject your linked Hydrogen storefront's environment variables directly into the server runtime.\n\n After you run the `link` command, you can access the [env list](https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-env-list), [env pull](https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-env-pull), and [unlink](https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-unlink) commands.", "isESM": true, "relativePath": [ @@ -1163,6 +1178,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Lists all remote Hydrogen storefronts available to link to your local development environment.", "isESM": true, "relativePath": [ @@ -1202,6 +1218,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Logs in to the specified shop and saves the shop domain to the project.", "isESM": true, "relativePath": [ @@ -1232,6 +1249,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Log out from the current shop.", "isESM": true, "relativePath": [ @@ -1385,6 +1403,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Runs a server in your local development environment that serves your Hydrogen app's production build. Requires running the [build](https://shopify.dev/docs/api/shopify-cli/hydrogen/hydrogen-build) command first.", "isESM": true, "relativePath": [ @@ -1445,6 +1464,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "isESM": true, "relativePath": [ "dist", @@ -1500,6 +1520,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Adds support for certain CSS strategies to your project.", "isESM": true, "relativePath": [ @@ -1541,6 +1562,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Adds support for multiple [markets](https://shopify.dev/docs/custom-storefronts/hydrogen/markets) to your project by using the URL structure.", "isESM": true, "relativePath": [ @@ -1572,6 +1594,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "isESM": true, "relativePath": [ "dist", @@ -1593,6 +1616,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Creates a global h2 shortcut for Shopify CLI using shell aliases.\n\n The following shells are supported:\n\n - Bash (using `~/.bashrc`)\n - ZSH (using `~/.zshrc`)\n - Fish (using `~/.config/fish/functions`)\n - PowerShell (added to `$PROFILE`)\n\n After the alias is created, you can call Shopify CLI from anywhere in your project using `h2 `.", "isESM": true, "relativePath": [ @@ -1623,6 +1647,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Unlinks your local development environment from a remote Hydrogen storefront.", "isESM": true, "relativePath": [ @@ -1670,6 +1695,7 @@ "pluginName": "@shopify/cli-hydrogen", "pluginType": "core", "strict": true, + "enableJsonFlag": false, "descriptionWithMarkdown": "Upgrade Hydrogen project dependencies, preview features, fixes and breaking changes. The command also generates an instruction file for each upgrade.", "isESM": true, "relativePath": [ From b0858a7bc3b2bc2dee036e26c4e04010dbfba765 Mon Sep 17 00:00:00 2001 From: Fran Dios Date: Mon, 8 Jul 2024 18:17:05 +0900 Subject: [PATCH 7/7] Update cli deps in templates --- examples/express/package.json | 2 +- package-lock.json | 108 ++++++++++++++++++++++++-------- templates/skeleton/package.json | 2 +- 3 files changed, 84 insertions(+), 28 deletions(-) diff --git a/examples/express/package.json b/examples/express/package.json index 044b72ef4d..b24f5c6258 100644 --- a/examples/express/package.json +++ b/examples/express/package.json @@ -14,7 +14,7 @@ "@remix-run/node": "^2.10.1", "@remix-run/react": "^2.10.1", "@remix-run/server-runtime": "^2.10.1", - "@shopify/cli": "3.61.2", + "@shopify/cli": "^3.63.2", "@shopify/hydrogen": "2024.7.0", "compression": "^1.7.4", "cross-env": "^7.0.3", diff --git a/package-lock.json b/package-lock.json index cd95cb63d2..89241cea87 100644 --- a/package-lock.json +++ b/package-lock.json @@ -114,7 +114,7 @@ "@remix-run/node": "^2.10.1", "@remix-run/react": "^2.10.1", "@remix-run/server-runtime": "^2.10.1", - "@shopify/cli": "3.61.2", + "@shopify/cli": "^3.63.2", "@shopify/hydrogen": "2024.7.0", "compression": "^1.7.4", "cross-env": "^7.0.3", @@ -6192,6 +6192,7 @@ "version": "2.4.1", "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.4.1.tgz", "integrity": "sha512-HNjmfLQEVRZmHRET336f20H/8kOozUGwk7yajvsonjNxbj2wBTK1WsQuHkD5yYh9RxFGL2EyDHryOihOwUoKDA==", + "optional": true, "dependencies": { "detect-libc": "^1.0.3", "is-glob": "^4.0.3", @@ -6227,10 +6228,12 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "android" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -6246,10 +6249,12 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "darwin" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -6265,10 +6270,12 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "darwin" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -6284,10 +6291,12 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "freebsd" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -6303,10 +6312,12 @@ "cpu": [ "arm" ], + "dev": true, "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -6322,10 +6333,12 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -6341,10 +6354,12 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -6360,10 +6375,12 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -6379,10 +6396,12 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "linux" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -6398,10 +6417,12 @@ "cpu": [ "arm64" ], + "dev": true, "optional": true, "os": [ "win32" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -6417,10 +6438,12 @@ "cpu": [ "ia32" ], + "dev": true, "optional": true, "os": [ "win32" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -6436,10 +6459,12 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "win32" ], + "peer": true, "engines": { "node": ">= 10.0.0" }, @@ -7673,9 +7698,9 @@ "license": "MIT" }, "node_modules/@shopify/cli": { - "version": "3.61.2", - "resolved": "https://registry.npmjs.org/@shopify/cli/-/cli-3.61.2.tgz", - "integrity": "sha512-XVG6IyNBJTL8YN6qGzRKapkOijI2mTVeDB2zTg/BnQsmDV57XH5ciGfDWSSN39banCZg7jwU+FssIXgmDl5ERg==", + "version": "3.63.2", + "resolved": "https://registry.npmjs.org/@shopify/cli/-/cli-3.63.2.tgz", + "integrity": "sha512-bkUUxA3r9G6DfMyhfuA0YalCA5GHqnQ/18pD9H7ppV43646iMpZrAEi0MtiyrFwerLZ//1Ic3NgMMKqkcmOQxg==", "os": [ "darwin", "linux", @@ -7683,7 +7708,6 @@ ], "dependencies": { "@ast-grep/napi": "0.11.0", - "@parcel/watcher": "2.4.1", "esbuild": "0.19.8" }, "bin": { @@ -7691,6 +7715,9 @@ }, "engines": { "node": "^18.20.0 || >=20.10.0" + }, + "optionalDependencies": { + "@parcel/watcher": "2.4.1" } }, "node_modules/@shopify/cli-hydrogen": { @@ -12683,6 +12710,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", + "devOptional": true, "bin": { "detect-libc": "bin/detect-libc.js" }, @@ -22044,7 +22072,8 @@ "node_modules/node-addon-api": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.0.0.tgz", - "integrity": "sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA==" + "integrity": "sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA==", + "optional": true }, "node_modules/node-domexception": { "version": "1.0.0", @@ -32386,7 +32415,7 @@ "dependencies": { "@remix-run/react": "^2.10.1", "@remix-run/server-runtime": "^2.10.1", - "@shopify/cli": "3.61.2", + "@shopify/cli": "^3.63.2", "@shopify/cli-hydrogen": "*", "@shopify/hydrogen": "2024.7.0", "@shopify/remix-oxygen": "^2.0.4", @@ -36650,6 +36679,7 @@ "version": "2.4.1", "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.4.1.tgz", "integrity": "sha512-HNjmfLQEVRZmHRET336f20H/8kOozUGwk7yajvsonjNxbj2wBTK1WsQuHkD5yYh9RxFGL2EyDHryOihOwUoKDA==", + "optional": true, "requires": { "@parcel/watcher-android-arm64": "2.4.1", "@parcel/watcher-darwin-arm64": "2.4.1", @@ -36673,73 +36703,97 @@ "version": "2.4.1", "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.4.1.tgz", "integrity": "sha512-LOi/WTbbh3aTn2RYddrO8pnapixAziFl6SMxHM69r3tvdSm94JtCenaKgk1GRg5FJ5wpMCpHeW+7yqPlvZv7kg==", - "optional": true + "dev": true, + "optional": true, + "peer": true }, "@parcel/watcher-darwin-arm64": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.4.1.tgz", "integrity": "sha512-ln41eihm5YXIY043vBrrHfn94SIBlqOWmoROhsMVTSXGh0QahKGy77tfEywQ7v3NywyxBBkGIfrWRHm0hsKtzA==", - "optional": true + "dev": true, + "optional": true, + "peer": true }, "@parcel/watcher-darwin-x64": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.4.1.tgz", "integrity": "sha512-yrw81BRLjjtHyDu7J61oPuSoeYWR3lDElcPGJyOvIXmor6DEo7/G2u1o7I38cwlcoBHQFULqF6nesIX3tsEXMg==", - "optional": true + "dev": true, + "optional": true, + "peer": true }, "@parcel/watcher-freebsd-x64": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.4.1.tgz", "integrity": "sha512-TJa3Pex/gX3CWIx/Co8k+ykNdDCLx+TuZj3f3h7eOjgpdKM+Mnix37RYsYU4LHhiYJz3DK5nFCCra81p6g050w==", - "optional": true + "dev": true, + "optional": true, + "peer": true }, "@parcel/watcher-linux-arm-glibc": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.4.1.tgz", "integrity": "sha512-4rVYDlsMEYfa537BRXxJ5UF4ddNwnr2/1O4MHM5PjI9cvV2qymvhwZSFgXqbS8YoTk5i/JR0L0JDs69BUn45YA==", - "optional": true + "dev": true, + "optional": true, + "peer": true }, "@parcel/watcher-linux-arm64-glibc": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.4.1.tgz", "integrity": "sha512-BJ7mH985OADVLpbrzCLgrJ3TOpiZggE9FMblfO65PlOCdG++xJpKUJ0Aol74ZUIYfb8WsRlUdgrZxKkz3zXWYA==", - "optional": true + "dev": true, + "optional": true, + "peer": true }, "@parcel/watcher-linux-arm64-musl": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.4.1.tgz", "integrity": "sha512-p4Xb7JGq3MLgAfYhslU2SjoV9G0kI0Xry0kuxeG/41UfpjHGOhv7UoUDAz/jb1u2elbhazy4rRBL8PegPJFBhA==", - "optional": true + "dev": true, + "optional": true, + "peer": true }, "@parcel/watcher-linux-x64-glibc": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.4.1.tgz", "integrity": "sha512-s9O3fByZ/2pyYDPoLM6zt92yu6P4E39a03zvO0qCHOTjxmt3GHRMLuRZEWhWLASTMSrrnVNWdVI/+pUElJBBBg==", - "optional": true + "dev": true, + "optional": true, + "peer": true }, "@parcel/watcher-linux-x64-musl": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.4.1.tgz", "integrity": "sha512-L2nZTYR1myLNST0O632g0Dx9LyMNHrn6TOt76sYxWLdff3cB22/GZX2UPtJnaqQPdCRoszoY5rcOj4oMTtp5fQ==", - "optional": true + "dev": true, + "optional": true, + "peer": true }, "@parcel/watcher-win32-arm64": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.4.1.tgz", "integrity": "sha512-Uq2BPp5GWhrq/lcuItCHoqxjULU1QYEcyjSO5jqqOK8RNFDBQnenMMx4gAl3v8GiWa59E9+uDM7yZ6LxwUIfRg==", - "optional": true + "dev": true, + "optional": true, + "peer": true }, "@parcel/watcher-win32-ia32": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.4.1.tgz", "integrity": "sha512-maNRit5QQV2kgHFSYwftmPBxiuK5u4DXjbXx7q6eKjq5dsLXZ4FJiVvlcw35QXzk0KrUecJmuVFbj4uV9oYrcw==", - "optional": true + "dev": true, + "optional": true, + "peer": true }, "@parcel/watcher-win32-x64": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.4.1.tgz", "integrity": "sha512-+DvS92F9ezicfswqrvIRM2njcYJbd5mb9CUgtrHCHmvn7pPPa+nMDRu1o1bYYz/l5IB2NVGNJWiH7h1E58IF2A==", - "optional": true + "dev": true, + "optional": true, + "peer": true }, "@peculiar/asn1-schema": { "version": "2.3.8", @@ -37483,9 +37537,9 @@ "dev": true }, "@shopify/cli": { - "version": "3.61.2", - "resolved": "https://registry.npmjs.org/@shopify/cli/-/cli-3.61.2.tgz", - "integrity": "sha512-XVG6IyNBJTL8YN6qGzRKapkOijI2mTVeDB2zTg/BnQsmDV57XH5ciGfDWSSN39banCZg7jwU+FssIXgmDl5ERg==", + "version": "3.63.2", + "resolved": "https://registry.npmjs.org/@shopify/cli/-/cli-3.63.2.tgz", + "integrity": "sha512-bkUUxA3r9G6DfMyhfuA0YalCA5GHqnQ/18pD9H7ppV43646iMpZrAEi0MtiyrFwerLZ//1Ic3NgMMKqkcmOQxg==", "requires": { "@ast-grep/napi": "0.11.0", "@parcel/watcher": "2.4.1", @@ -42671,7 +42725,8 @@ "detect-libc": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", - "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==" + "integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==", + "devOptional": true }, "devlop": { "version": "1.1.0", @@ -43674,7 +43729,7 @@ "@remix-run/node": "^2.10.1", "@remix-run/react": "^2.10.1", "@remix-run/server-runtime": "^2.10.1", - "@shopify/cli": "3.61.2", + "@shopify/cli": "^3.63.2", "@shopify/hydrogen": "2024.7.0", "@types/compression": "^1.7.2", "@types/express": "^4.17.17", @@ -48825,7 +48880,8 @@ "node-addon-api": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.0.0.tgz", - "integrity": "sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA==" + "integrity": "sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA==", + "optional": true }, "node-domexception": { "version": "1.0.0", @@ -51270,7 +51326,7 @@ "@remix-run/eslint-config": "^2.10.1", "@remix-run/react": "^2.10.1", "@remix-run/server-runtime": "^2.10.1", - "@shopify/cli": "3.61.2", + "@shopify/cli": "^3.63.2", "@shopify/cli-hydrogen": "*", "@shopify/hydrogen": "2024.7.0", "@shopify/hydrogen-codegen": "^0.3.1", diff --git a/templates/skeleton/package.json b/templates/skeleton/package.json index 05b2eb2691..1fdcaea105 100644 --- a/templates/skeleton/package.json +++ b/templates/skeleton/package.json @@ -16,7 +16,7 @@ "dependencies": { "@remix-run/react": "^2.10.1", "@remix-run/server-runtime": "^2.10.1", - "@shopify/cli": "3.61.2", + "@shopify/cli": "^3.63.2", "@shopify/cli-hydrogen": "*", "@shopify/hydrogen": "2024.7.0", "@shopify/remix-oxygen": "^2.0.4",