create-sanity 5.2.19 → 5.2.20
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/index.js +1 -3
- package/package.json +2 -3
package/index.js
CHANGED
|
@@ -4,13 +4,11 @@ import {readFile} from 'node:fs/promises'
|
|
|
4
4
|
import {dirname, resolve} from 'node:path'
|
|
5
5
|
import {fileURLToPath} from 'node:url'
|
|
6
6
|
|
|
7
|
-
import {moduleResolve} from 'import-meta-resolve'
|
|
8
|
-
|
|
9
7
|
const args = process.argv.slice(2)
|
|
10
8
|
|
|
11
9
|
let cliBin
|
|
12
10
|
try {
|
|
13
|
-
const cliPkgDir = fileURLToPath(
|
|
11
|
+
const cliPkgDir = fileURLToPath(import.meta.resolve('@sanity/cli/package.json'))
|
|
14
12
|
const cliDir = dirname(cliPkgDir)
|
|
15
13
|
|
|
16
14
|
// Read the package.json file and extract the bin path
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-sanity",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.20",
|
|
4
4
|
"description": "Initialize a new Sanity project",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cms",
|
|
@@ -27,8 +27,7 @@
|
|
|
27
27
|
],
|
|
28
28
|
"type": "module",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"
|
|
31
|
-
"@sanity/cli": "6.6.0"
|
|
30
|
+
"@sanity/cli": "6.7.0"
|
|
32
31
|
},
|
|
33
32
|
"devDependencies": {
|
|
34
33
|
"publint": "^0.3.18",
|