@sanity/pkg-utils 7.0.3 → 7.0.4
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/_chunks-cjs/check.cjs.map +1 -1
- package/dist/_chunks-cjs/consoleSpy.cjs.map +1 -1
- package/dist/_chunks-cjs/init.cjs.map +1 -1
- package/dist/_chunks-cjs/logger.cjs.map +1 -1
- package/dist/cli.cjs +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/src/node/check.ts +1 -0
- package/src/node/core/config/loadConfig.ts +1 -1
- package/src/node/fileExists.ts +1 -1
- package/src/node/templates/default/template.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/pkg-utils",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.4",
|
|
4
4
|
"description": "Simple utilities for modern npm packages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity-io",
|
|
@@ -70,9 +70,9 @@
|
|
|
70
70
|
"@babel/core": "^7.26.7",
|
|
71
71
|
"@babel/preset-typescript": "^7.26.0",
|
|
72
72
|
"@babel/types": "^7.26.7",
|
|
73
|
-
"@microsoft/api-extractor": "7.49.
|
|
73
|
+
"@microsoft/api-extractor": "7.49.2",
|
|
74
74
|
"@microsoft/tsdoc-config": "0.17.1",
|
|
75
|
-
"@optimize-lodash/rollup-plugin": "5.0.
|
|
75
|
+
"@optimize-lodash/rollup-plugin": "5.0.1",
|
|
76
76
|
"@rollup/plugin-alias": "^5.1.1",
|
|
77
77
|
"@rollup/plugin-babel": "^6.0.4",
|
|
78
78
|
"@rollup/plugin-commonjs": "^28.0.2",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"prompts": "^2.4.2",
|
|
102
102
|
"recast": "0.23.9",
|
|
103
103
|
"rimraf": "^4.4.1",
|
|
104
|
-
"rollup": "^4.32.
|
|
104
|
+
"rollup": "^4.32.1",
|
|
105
105
|
"rollup-plugin-esbuild": "^6.1.1",
|
|
106
106
|
"rxjs": "^7.8.1",
|
|
107
107
|
"treeify": "^1.1.0",
|
|
@@ -124,14 +124,14 @@
|
|
|
124
124
|
"@types/semver": "^7.5.8",
|
|
125
125
|
"@types/treeify": "^1.0.3",
|
|
126
126
|
"@types/uuid": "^10.0.0",
|
|
127
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
128
|
-
"@typescript-eslint/parser": "^
|
|
127
|
+
"@typescript-eslint/eslint-plugin": "^8.22.0",
|
|
128
|
+
"@typescript-eslint/parser": "^8.22.0",
|
|
129
129
|
"browserslist-to-esbuild": "2.1.1",
|
|
130
130
|
"commitizen": "^4.3.1",
|
|
131
131
|
"cpx": "^1.5.0",
|
|
132
132
|
"cz-conventional-changelog": "^3.3.0",
|
|
133
133
|
"eslint": "^8.57.1",
|
|
134
|
-
"eslint-config-prettier": "^
|
|
134
|
+
"eslint-config-prettier": "^10.0.1",
|
|
135
135
|
"eslint-plugin-import": "^2.31.0",
|
|
136
136
|
"eslint-plugin-prettier": "^5.2.3",
|
|
137
137
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"ts-node": "^10.9.2",
|
|
145
145
|
"typescript": "5.7.3",
|
|
146
146
|
"vitest": "^3.0.4",
|
|
147
|
-
"@sanity/pkg-utils": "7.0.
|
|
147
|
+
"@sanity/pkg-utils": "7.0.4"
|
|
148
148
|
},
|
|
149
149
|
"peerDependencies": {
|
|
150
150
|
"babel-plugin-react-compiler": "*",
|
package/src/node/check.ts
CHANGED
|
@@ -120,6 +120,7 @@ async function checkExports(
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
const esbuildWarnings = esbuildResult.warnings.filter((msg) => {
|
|
123
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
|
|
123
124
|
!(msg.detail || msg.text).includes(`does not affect esbuild's own target setting`)
|
|
124
125
|
})
|
|
125
126
|
|
|
@@ -31,7 +31,7 @@ export async function loadConfig(options: {cwd: string}): Promise<PkgConfigOptio
|
|
|
31
31
|
|
|
32
32
|
const {unregister} = globalThis.__DEV__ ? {unregister: () => undefined} : register(esbuildOptions)
|
|
33
33
|
|
|
34
|
-
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
34
|
+
// eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-require-imports
|
|
35
35
|
const mod = require(configFile)
|
|
36
36
|
|
|
37
37
|
unregister()
|
package/src/node/fileExists.ts
CHANGED