@sanity/pkg-utils 7.6.2 → 7.7.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/dist/cli.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cac } from "cac";
|
|
2
|
-
var version = "7.
|
|
2
|
+
var version = "7.7.0";
|
|
3
3
|
const cli = cac();
|
|
4
4
|
cli.command("", "Check").alias("check").option("--strict", "Strict mode").option("--tsconfig [tsconfig]", "[string] tsconfig.json").action(async (options) => {
|
|
5
5
|
const { checkAction } = await import("./_chunks-es/checkAction.js");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/pkg-utils",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.7.0",
|
|
4
4
|
"description": "Simple utilities for modern npm packages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity-io",
|
|
@@ -35,6 +35,7 @@
|
|
|
35
35
|
"./tsconfig/strict.json": "./tsconfig/strict.json",
|
|
36
36
|
"./tsconfig/strict": "./tsconfig/strict.json",
|
|
37
37
|
"./tsconfig/strictest.json": "./tsconfig/strictest.json",
|
|
38
|
+
"./tsconfig/isolated-declarations.json": "./tsconfig/isolated-declarations.json",
|
|
38
39
|
"./tsconfig": "./tsconfig/strictest.json",
|
|
39
40
|
"./package.json": "./package.json"
|
|
40
41
|
},
|
|
@@ -116,9 +117,8 @@
|
|
|
116
117
|
"@ianvs/prettier-plugin-sort-imports": "^4.4.2",
|
|
117
118
|
"@sanity/prettier-config": "^1.0.4",
|
|
118
119
|
"@types/babel__core": "^7.20.5",
|
|
119
|
-
"@types/cpx": "^1.5.5",
|
|
120
120
|
"@types/find-config": "^1.0.4",
|
|
121
|
-
"@types/
|
|
121
|
+
"@types/fs-extra": "^11.0.4",
|
|
122
122
|
"@types/node": "^24.0.3",
|
|
123
123
|
"@types/prompts": "^2.4.9",
|
|
124
124
|
"@types/semver": "^7.5.8",
|
|
@@ -127,8 +127,8 @@
|
|
|
127
127
|
"@typescript/native-preview": "7.0.0-dev.20250619.1",
|
|
128
128
|
"browserslist-to-esbuild": "2.1.1",
|
|
129
129
|
"commitizen": "^4.3.1",
|
|
130
|
-
"cpx": "^1.5.0",
|
|
131
130
|
"cz-conventional-changelog": "^3.3.0",
|
|
131
|
+
"fs-extra": "^11.3.0",
|
|
132
132
|
"husky": "^8.0.3",
|
|
133
133
|
"lint-staged": "^15.0.2",
|
|
134
134
|
"npm-run-all2": "^8.0.4",
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"tsx": "^4.20.3",
|
|
141
141
|
"typescript": "5.8.3",
|
|
142
142
|
"vitest": "^3.2.4",
|
|
143
|
-
"@sanity/pkg-utils": "7.
|
|
143
|
+
"@sanity/pkg-utils": "7.7.0"
|
|
144
144
|
},
|
|
145
145
|
"peerDependencies": {
|
|
146
146
|
"babel-plugin-react-compiler": "*",
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/tsconfig",
|
|
3
|
+
"description": "Sets the right settings for isolated declarations when also extending from presets such as strictest.json.",
|
|
4
|
+
"compilerOptions": {
|
|
5
|
+
"allowJs": false,
|
|
6
|
+
"checkJs": false,
|
|
7
|
+
"isolatedDeclarations": true
|
|
8
|
+
}
|
|
9
|
+
}
|