@sanity/cli 6.4.0 → 6.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -8
- package/dist/actions/build/buildApp.js +12 -4
- package/dist/actions/build/buildApp.js.map +1 -1
- package/dist/actions/build/buildStaticFiles.js +3 -1
- package/dist/actions/build/buildStaticFiles.js.map +1 -1
- package/dist/actions/build/buildStudio.js +29 -7
- package/dist/actions/build/buildStudio.js.map +1 -1
- package/dist/actions/build/buildVendorDependencies.js +7 -7
- package/dist/actions/build/buildVendorDependencies.js.map +1 -1
- package/dist/actions/build/checkRequiredDependencies.js +4 -4
- package/dist/actions/build/checkRequiredDependencies.js.map +1 -1
- package/dist/actions/build/checkStudioDependencyVersions.js +9 -9
- package/dist/actions/build/checkStudioDependencyVersions.js.map +1 -1
- package/dist/actions/build/getAutoUpdatesImportMap.js +9 -0
- package/dist/actions/build/getAutoUpdatesImportMap.js.map +1 -1
- package/dist/actions/build/getViteConfig.js +2 -1
- package/dist/actions/build/getViteConfig.js.map +1 -1
- package/dist/actions/build/renderDocument.js.map +1 -1
- package/dist/actions/build/renderDocumentWorker/addTimestampImportMapScriptToHtml.js +34 -14
- package/dist/actions/build/renderDocumentWorker/addTimestampImportMapScriptToHtml.js.map +1 -1
- package/dist/actions/build/renderDocumentWorker/getDocumentHtml.js +2 -2
- package/dist/actions/build/renderDocumentWorker/getDocumentHtml.js.map +1 -1
- package/dist/actions/build/renderDocumentWorker/renderDocumentWorker.js +2 -2
- package/dist/actions/build/renderDocumentWorker/renderDocumentWorker.js.map +1 -1
- package/dist/actions/codemods/reactIconsV3.js +2 -2
- package/dist/actions/codemods/reactIconsV3.js.map +1 -1
- package/dist/actions/dev/startStudioDevServer.js +2 -2
- package/dist/actions/dev/startStudioDevServer.js.map +1 -1
- package/dist/actions/doctor/types.js.map +1 -1
- package/dist/actions/graphql/resolveGraphQLApisFromWorkspaces.js.map +1 -1
- package/dist/actions/init/bootstrapTemplate.js.map +1 -1
- package/dist/actions/init/checkNextJsReactCompatibility.js +3 -3
- package/dist/actions/init/checkNextJsReactCompatibility.js.map +1 -1
- package/dist/actions/init/initAction.js +287 -0
- package/dist/actions/init/initAction.js.map +1 -0
- package/dist/actions/init/initApp.js +7 -16
- package/dist/actions/init/initApp.js.map +1 -1
- package/dist/actions/init/initError.js +10 -0
- package/dist/actions/init/initError.js.map +1 -0
- package/dist/actions/init/initHelpers.js +3 -12
- package/dist/actions/init/initHelpers.js.map +1 -1
- package/dist/actions/init/initNextJs.js +17 -20
- package/dist/actions/init/initNextJs.js.map +1 -1
- package/dist/actions/init/initStudio.js +11 -20
- package/dist/actions/init/initStudio.js.map +1 -1
- package/dist/actions/init/plan/getPlan.js +15 -0
- package/dist/actions/init/plan/getPlan.js.map +1 -0
- package/dist/actions/init/plan/verifyCoupon.js +35 -0
- package/dist/actions/init/plan/verifyCoupon.js.map +1 -0
- package/dist/actions/init/plan/verifyPlan.js +34 -0
- package/dist/actions/init/plan/verifyPlan.js.map +1 -0
- package/dist/actions/init/project/createProjectFromName.js +44 -0
- package/dist/actions/init/project/createProjectFromName.js.map +1 -0
- package/dist/actions/init/project/getOrCreateDataset.js +126 -0
- package/dist/actions/init/project/getOrCreateDataset.js.map +1 -0
- package/dist/actions/init/project/getOrCreateProject.js +128 -0
- package/dist/actions/init/project/getOrCreateProject.js.map +1 -0
- package/dist/actions/init/project/getProjectDetails.js +87 -0
- package/dist/actions/init/project/getProjectDetails.js.map +1 -0
- package/dist/actions/init/project/getProjectOutputPath.js +17 -0
- package/dist/actions/init/project/getProjectOutputPath.js.map +1 -0
- package/dist/actions/init/project/promptForAppTemplateSetup.js +112 -0
- package/dist/actions/init/project/promptForAppTemplateSetup.js.map +1 -0
- package/dist/actions/init/project/promptForProjectCreation.js +40 -0
- package/dist/actions/init/project/promptForProjectCreation.js.map +1 -0
- package/dist/actions/init/project/promptUserForNewOrganization.js +12 -0
- package/dist/actions/init/project/promptUserForNewOrganization.js.map +1 -0
- package/dist/actions/init/project/promptUserForOrganization.js +38 -0
- package/dist/actions/init/project/promptUserForOrganization.js.map +1 -0
- package/dist/actions/init/scaffoldTemplate.js +23 -29
- package/dist/actions/init/scaffoldTemplate.js.map +1 -1
- package/dist/actions/init/types.js +47 -1
- package/dist/actions/init/types.js.map +1 -1
- package/dist/actions/manifest/types.js +0 -1
- package/dist/actions/manifest/types.js.map +1 -1
- package/dist/actions/versions/buildPackageArray.js +2 -2
- package/dist/actions/versions/buildPackageArray.js.map +1 -1
- package/dist/actions/versions/findSanityModulesVersions.js +3 -3
- package/dist/actions/versions/findSanityModulesVersions.js.map +1 -1
- package/dist/commands/datasets/copy.js.map +1 -1
- package/dist/commands/init.js +11 -911
- package/dist/commands/init.js.map +1 -1
- package/dist/server/vite/plugin-sanity-build-entries.js +2 -1
- package/dist/server/vite/plugin-sanity-build-entries.js.map +1 -1
- package/dist/services/datasets.js.map +1 -1
- package/dist/telemetry/init.telemetry.js.map +1 -1
- package/dist/util/compareDependencyVersions.js +4 -4
- package/dist/util/compareDependencyVersions.js.map +1 -1
- package/dist/util/createExpiringConfig.js +1 -1
- package/dist/util/createExpiringConfig.js.map +1 -1
- package/dist/util/packageManager/installationInfo/analyzeIssues.js +7 -7
- package/dist/util/packageManager/installationInfo/analyzeIssues.js.map +1 -1
- package/dist/util/packageManager/installationInfo/types.js.map +1 -1
- package/dist/util/packageManager/packageManagerChoice.js +2 -2
- package/dist/util/packageManager/packageManagerChoice.js.map +1 -1
- package/dist/util/packageManager/preferredPm.js +106 -0
- package/dist/util/packageManager/preferredPm.js.map +1 -0
- package/oclif.manifest.json +526 -526
- package/package.json +23 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/cli",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.5.0",
|
|
4
4
|
"description": "Sanity CLI tool for managing Sanity projects and organizations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -52,22 +52,22 @@
|
|
|
52
52
|
"access": "public"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@oclif/core": "^4.10.
|
|
56
|
-
"@oclif/plugin-help": "^6.2.
|
|
57
|
-
"@oclif/plugin-not-found": "^3.2.
|
|
58
|
-
"@sanity/client": "^7.
|
|
59
|
-
"@sanity/codegen": "^6.0.
|
|
55
|
+
"@oclif/core": "^4.10.6",
|
|
56
|
+
"@oclif/plugin-help": "^6.2.45",
|
|
57
|
+
"@oclif/plugin-not-found": "^3.2.81",
|
|
58
|
+
"@sanity/client": "^7.22.0",
|
|
59
|
+
"@sanity/codegen": "^6.0.3",
|
|
60
60
|
"@sanity/descriptors": "^1.3.0",
|
|
61
61
|
"@sanity/export": "^6.1.0",
|
|
62
62
|
"@sanity/generate-help-url": "^4.0.0",
|
|
63
63
|
"@sanity/id-utils": "^1.0.0",
|
|
64
64
|
"@sanity/import": "^6.0.1",
|
|
65
|
-
"@sanity/migrate": "^6.1.
|
|
66
|
-
"@sanity/runtime-cli": "^14.
|
|
67
|
-
"@sanity/schema": "^5.
|
|
65
|
+
"@sanity/migrate": "^6.1.2",
|
|
66
|
+
"@sanity/runtime-cli": "^14.13.4",
|
|
67
|
+
"@sanity/schema": "^5.23.0",
|
|
68
68
|
"@sanity/telemetry": "^0.9.0",
|
|
69
69
|
"@sanity/template-validator": "^3.1.0",
|
|
70
|
-
"@sanity/types": "^5.
|
|
70
|
+
"@sanity/types": "^5.23.0",
|
|
71
71
|
"@sanity/ui": "^3.1.14",
|
|
72
72
|
"@sanity/worker-channels": "^2.0.0",
|
|
73
73
|
"@vercel/frameworks": "3.21.1",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"execa": "^9.6.0",
|
|
82
82
|
"form-data": "^4.0.5",
|
|
83
83
|
"get-latest-version": "^6.0.1",
|
|
84
|
-
"groq-js": "^1.
|
|
84
|
+
"groq-js": "^1.30.1",
|
|
85
85
|
"gunzip-maybe": "^1.4.2",
|
|
86
86
|
"import-meta-resolve": "^4.2.0",
|
|
87
87
|
"is-installed-globally": "^1.0.0",
|
|
@@ -99,7 +99,6 @@
|
|
|
99
99
|
"peek-stream": "^1.1.3",
|
|
100
100
|
"picomatch": "^4.0.4",
|
|
101
101
|
"pluralize-esm": "^9.0.5",
|
|
102
|
-
"preferred-pm": "^5.0.0",
|
|
103
102
|
"pretty-ms": "^9.3.0",
|
|
104
103
|
"promise-props-recursive": "^2.0.2",
|
|
105
104
|
"react": "^19.2.4",
|
|
@@ -122,16 +121,17 @@
|
|
|
122
121
|
"@sanity/cli-core": "^1.3.1"
|
|
123
122
|
},
|
|
124
123
|
"devDependencies": {
|
|
125
|
-
"@eslint/compat": "^2.0.
|
|
126
|
-
"@sanity/pkg-utils": "^10.4.
|
|
124
|
+
"@eslint/compat": "^2.0.5",
|
|
125
|
+
"@sanity/pkg-utils": "^10.4.18",
|
|
127
126
|
"@swc/cli": "^0.8.1",
|
|
128
|
-
"@swc/core": "^1.15.
|
|
127
|
+
"@swc/core": "^1.15.30",
|
|
129
128
|
"@types/debug": "^4.1.13",
|
|
130
129
|
"@types/gunzip-maybe": "^1.4.3",
|
|
130
|
+
"@types/jsdom": "^28.0.1",
|
|
131
131
|
"@types/lodash-es": "^4.17.12",
|
|
132
132
|
"@types/minimist": "^1.2.5",
|
|
133
133
|
"@types/node": "^20.19.39",
|
|
134
|
-
"@types/picomatch": "^4.0.
|
|
134
|
+
"@types/picomatch": "^4.0.3",
|
|
135
135
|
"@types/react": "^19.2.14",
|
|
136
136
|
"@types/react-dom": "^19.2.3",
|
|
137
137
|
"@types/react-is": "^19.2.0",
|
|
@@ -139,21 +139,22 @@
|
|
|
139
139
|
"@types/tar-fs": "^2.0.4",
|
|
140
140
|
"@types/tar-stream": "^3.1.4",
|
|
141
141
|
"@types/which": "^3.0.4",
|
|
142
|
-
"@vitest/coverage-istanbul": "^4.1.
|
|
142
|
+
"@vitest/coverage-istanbul": "^4.1.5",
|
|
143
143
|
"babel-plugin-react-compiler": "^1.0.0",
|
|
144
|
-
"eslint": "^10.1
|
|
144
|
+
"eslint": "^10.2.1",
|
|
145
|
+
"jsdom": "^29.0.2",
|
|
145
146
|
"nock": "^14.0.12",
|
|
146
147
|
"oclif": "^4.23.0",
|
|
147
148
|
"publint": "^0.3.18",
|
|
148
149
|
"rimraf": "^6.0.1",
|
|
149
|
-
"sanity": "^5.
|
|
150
|
+
"sanity": "^5.23.0",
|
|
150
151
|
"typescript": "^5.9.3",
|
|
151
152
|
"vite-tsconfig-paths": "^6.1.1",
|
|
152
|
-
"vitest": "^4.1.
|
|
153
|
+
"vitest": "^4.1.5",
|
|
153
154
|
"@repo/package.config": "0.0.1",
|
|
154
|
-
"@sanity/cli-test": "0.3.1",
|
|
155
155
|
"@repo/tsconfig": "3.70.0",
|
|
156
|
-
"@sanity/eslint-config-cli": "1.1.
|
|
156
|
+
"@sanity/eslint-config-cli": "1.1.1",
|
|
157
|
+
"@sanity/cli-test": "0.3.2"
|
|
157
158
|
},
|
|
158
159
|
"engines": {
|
|
159
160
|
"node": ">=20.19.1 <22 || >=22.12"
|