@sanity/cli 3.80.2-canary.17 → 3.80.2-interruptible-initial-values.17
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/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@sanity/cli",
|
3
|
-
"version": "3.80.2-
|
3
|
+
"version": "3.80.2-interruptible-initial-values.17+7182955bd9",
|
4
4
|
"description": "Sanity CLI tool for managing Sanity installations, managing plugins, schemas and datasets",
|
5
5
|
"keywords": [
|
6
6
|
"sanity",
|
@@ -58,11 +58,11 @@
|
|
58
58
|
"dependencies": {
|
59
59
|
"@babel/traverse": "^7.23.5",
|
60
60
|
"@sanity/client": "^6.28.3",
|
61
|
-
"@sanity/codegen": "3.80.2-
|
61
|
+
"@sanity/codegen": "3.80.2-interruptible-initial-values.17+7182955bd9",
|
62
62
|
"@sanity/runtime-cli": "^1.1.1",
|
63
63
|
"@sanity/telemetry": "^0.7.7",
|
64
64
|
"@sanity/template-validator": "^2.4.3",
|
65
|
-
"@sanity/util": "3.80.2-
|
65
|
+
"@sanity/util": "3.80.2-interruptible-initial-values.17+7182955bd9",
|
66
66
|
"chalk": "^4.1.2",
|
67
67
|
"debug": "^4.3.4",
|
68
68
|
"decompress": "^4.2.0",
|
@@ -82,7 +82,7 @@
|
|
82
82
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
83
83
|
"@sanity/eslint-config-studio": "^4.0.0",
|
84
84
|
"@sanity/generate-help-url": "^3.0.0",
|
85
|
-
"@sanity/types": "3.80.2-
|
85
|
+
"@sanity/types": "3.80.2-interruptible-initial-values.17+7182955bd9",
|
86
86
|
"@types/babel__traverse": "^7.20.5",
|
87
87
|
"@types/configstore": "^5.0.1",
|
88
88
|
"@types/cpx": "^1.5.2",
|
@@ -134,5 +134,5 @@
|
|
134
134
|
"engines": {
|
135
135
|
"node": ">=18"
|
136
136
|
},
|
137
|
-
"gitHead": "
|
137
|
+
"gitHead": "7182955bd9bf4f32a9013b52c040f042c26c492b"
|
138
138
|
}
|
@@ -2,7 +2,6 @@ import fs from 'node:fs/promises'
|
|
2
2
|
import path from 'node:path'
|
3
3
|
|
4
4
|
import chalk from 'chalk'
|
5
|
-
import {deburr} from 'lodash'
|
6
5
|
|
7
6
|
import {debug} from '../../debug'
|
8
7
|
import {studioDependencies} from '../../studioDependencies'
|
@@ -114,21 +113,10 @@ export async function bootstrapLocalTemplate(
|
|
114
113
|
{} as Record<string, string>,
|
115
114
|
)
|
116
115
|
|
117
|
-
let packageJsonName: string = packageName
|
118
|
-
|
119
|
-
/**
|
120
|
-
* Currently app init doesn't ask for a name, so we use the last part of the path
|
121
|
-
*/
|
122
|
-
if (isAppTemplate) {
|
123
|
-
packageJsonName = deburr(path.basename(outputPath).toLowerCase())
|
124
|
-
.replace(/\s+/g, '-')
|
125
|
-
.replace(/[^a-z0-9-]/g, '')
|
126
|
-
}
|
127
|
-
|
128
116
|
// Now create a package manifest (`package.json`) with the merged dependencies
|
129
117
|
spinner = output.spinner('Creating default project files').start()
|
130
118
|
const packageManifest = await createPackageManifest({
|
131
|
-
name:
|
119
|
+
name: packageName,
|
132
120
|
dependencies,
|
133
121
|
devDependencies,
|
134
122
|
scripts: template.scripts,
|