@sanity/cli 4.14.2-canary.4 → 4.14.2-canary.6
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/bin/dev.js +1 -9
- package/package.json +8 -8
package/bin/dev.js
CHANGED
|
@@ -4,16 +4,8 @@ const {register} = require('esbuild-register/dist/node')
|
|
|
4
4
|
|
|
5
5
|
register({
|
|
6
6
|
target: `node${process.version.slice(1)}`,
|
|
7
|
+
supported: {'dynamic-import': true},
|
|
7
8
|
jsx: 'automatic',
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Set 'dynamic-import': false to force esbuild to transpile dynamic import() calls
|
|
11
|
-
* to require() calls. When set to true, esbuild preserves dynamic imports, causing
|
|
12
|
-
* Node.js to try resolving them natively, which fails for .ts files since Node.js
|
|
13
|
-
* can't find TypeScript files. By transpiling to require(), esbuild-register can
|
|
14
|
-
* properly handle the module resolution for TypeScript files during development.
|
|
15
|
-
*/
|
|
16
|
-
supported: {'dynamic-import': false},
|
|
17
9
|
})
|
|
18
10
|
|
|
19
11
|
if (process.env.TEST !== 'true') {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/cli",
|
|
3
|
-
"version": "4.14.2-canary.
|
|
3
|
+
"version": "4.14.2-canary.6+8f2c7368d1",
|
|
4
4
|
"description": "Sanity CLI tool for managing Sanity installations, managing plugins, schemas and datasets",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity",
|
|
@@ -58,10 +58,11 @@
|
|
|
58
58
|
"esbuild-register": "^3.6.0",
|
|
59
59
|
"get-it": "^8.6.10",
|
|
60
60
|
"groq-js": "^1.20.0",
|
|
61
|
+
"patch-package": "^8.0.1",
|
|
61
62
|
"pkg-dir": "^5.0.0",
|
|
62
63
|
"prettier": "^3.6.2",
|
|
63
64
|
"semver": "^7.7.2",
|
|
64
|
-
"@sanity/codegen": "4.14.2-canary.
|
|
65
|
+
"@sanity/codegen": "4.14.2-canary.6+8f2c7368d1"
|
|
65
66
|
},
|
|
66
67
|
"devDependencies": {
|
|
67
68
|
"@rexxars/gitconfiglocal": "^3.0.1",
|
|
@@ -104,7 +105,6 @@
|
|
|
104
105
|
"ora": "^8.2.0",
|
|
105
106
|
"p-map": "^4.0.0",
|
|
106
107
|
"p-timeout": "^4.1.0",
|
|
107
|
-
"patch-package": "^8.0.1",
|
|
108
108
|
"preferred-pm": "^3.1.4",
|
|
109
109
|
"promise-props-recursive": "^2.0.2",
|
|
110
110
|
"recast": "^0.23.11",
|
|
@@ -117,11 +117,11 @@
|
|
|
117
117
|
"vitest": "^3.2.4",
|
|
118
118
|
"which": "^2.0.2",
|
|
119
119
|
"xdg-basedir": "^4.0.0",
|
|
120
|
-
"@repo/eslint-config": "4.14.2-canary.
|
|
121
|
-
"@repo/
|
|
122
|
-
"@repo/
|
|
123
|
-
"@repo/tsconfig": "4.14.2-canary.
|
|
124
|
-
"@sanity/types": "4.14.2-canary.
|
|
120
|
+
"@repo/eslint-config": "4.14.2-canary.6+8f2c7368d1",
|
|
121
|
+
"@repo/package.config": "4.14.2-canary.6+8f2c7368d1",
|
|
122
|
+
"@repo/test-config": "4.14.2-canary.6+8f2c7368d1",
|
|
123
|
+
"@repo/tsconfig": "4.14.2-canary.6+8f2c7368d1",
|
|
124
|
+
"@sanity/types": "4.14.2-canary.6+8f2c7368d1"
|
|
125
125
|
},
|
|
126
126
|
"peerDependencies": {
|
|
127
127
|
"babel-plugin-react-compiler": "*"
|