@sanity/pkg-utils 6.8.19-canary.1 → 6.8.19-canary.2
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/index.cjs +0 -5
- package/dist/_chunks-cjs/index.cjs.map +1 -1
- package/dist/_chunks-cjs/init.cjs.map +1 -1
- package/dist/cli.cjs +1 -1
- package/dist/index.d.cts +0 -2
- package/dist/index.d.ts +0 -2
- package/dist/index.js +1 -6
- package/dist/index.js.map +1 -1
- package/package.json +6 -13
- package/src/node/core/config/types.ts +0 -2
- package/src/node/tasks/rollup/resolveRollupConfig.ts +1 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/pkg-utils",
|
|
3
|
-
"version": "6.8.19-canary.
|
|
3
|
+
"version": "6.8.19-canary.2",
|
|
4
4
|
"description": "Simple utilities for modern npm packages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity-io",
|
|
@@ -68,10 +68,9 @@
|
|
|
68
68
|
"prettier": "@sanity/prettier-config",
|
|
69
69
|
"dependencies": {
|
|
70
70
|
"@babel/core": "^7.24.6",
|
|
71
|
-
"@babel/preset-typescript": "^7.24.6",
|
|
72
71
|
"@babel/types": "^7.24.6",
|
|
73
|
-
"@microsoft/api-extractor": "7.
|
|
74
|
-
"@microsoft/tsdoc-config": "
|
|
72
|
+
"@microsoft/api-extractor": "7.46.2",
|
|
73
|
+
"@microsoft/tsdoc-config": "0.17.0",
|
|
75
74
|
"@optimize-lodash/rollup-plugin": "4.0.4",
|
|
76
75
|
"@rollup/plugin-alias": "^5.1.0",
|
|
77
76
|
"@rollup/plugin-babel": "^6.0.4",
|
|
@@ -96,10 +95,10 @@
|
|
|
96
95
|
"outdent": "^0.8.0",
|
|
97
96
|
"parse-git-config": "^3.0.0",
|
|
98
97
|
"pkg-up": "^3.1.0",
|
|
99
|
-
"prettier": "^3.
|
|
98
|
+
"prettier": "^3.3.0",
|
|
100
99
|
"pretty-bytes": "^5.6.0",
|
|
101
100
|
"prompts": "^2.4.2",
|
|
102
|
-
"recast": "0.23.
|
|
101
|
+
"recast": "0.23.9",
|
|
103
102
|
"rimraf": "^4.4.1",
|
|
104
103
|
"rollup": "^4.18.0",
|
|
105
104
|
"rollup-plugin-esbuild": "^6.1.1",
|
|
@@ -145,17 +144,11 @@
|
|
|
145
144
|
"typescript": "5.4.5",
|
|
146
145
|
"vitest": "^1.6.0",
|
|
147
146
|
"vitest-github-actions-reporter": "^0.11.1",
|
|
148
|
-
"@sanity/pkg-utils": "6.8.19-canary.
|
|
147
|
+
"@sanity/pkg-utils": "6.8.19-canary.2"
|
|
149
148
|
},
|
|
150
149
|
"peerDependencies": {
|
|
151
|
-
"babel-plugin-react-compiler": "*",
|
|
152
150
|
"typescript": "5.4.x"
|
|
153
151
|
},
|
|
154
|
-
"peerDependenciesMeta": {
|
|
155
|
-
"babel-plugin-react-compiler": {
|
|
156
|
-
"optional": true
|
|
157
|
-
}
|
|
158
|
-
},
|
|
159
152
|
"engines": {
|
|
160
153
|
"node": ">=18.17.0"
|
|
161
154
|
},
|
|
@@ -2,7 +2,7 @@ import path from 'node:path'
|
|
|
2
2
|
|
|
3
3
|
import {optimizeLodashImports} from '@optimize-lodash/rollup-plugin'
|
|
4
4
|
import alias from '@rollup/plugin-alias'
|
|
5
|
-
import {
|
|
5
|
+
import {getBabelOutputPlugin} from '@rollup/plugin-babel'
|
|
6
6
|
import commonjs from '@rollup/plugin-commonjs'
|
|
7
7
|
import json from '@rollup/plugin-json'
|
|
8
8
|
import {nodeResolve} from '@rollup/plugin-node-resolve'
|
|
@@ -95,12 +95,6 @@ export function resolveRollupConfig(
|
|
|
95
95
|
}),
|
|
96
96
|
commonjs(),
|
|
97
97
|
json(),
|
|
98
|
-
config?.babel?.reactCompiler &&
|
|
99
|
-
babel({
|
|
100
|
-
babelrc: false,
|
|
101
|
-
presets: ['@babel/preset-typescript'],
|
|
102
|
-
plugins: [['babel-plugin-react-compiler', {}]],
|
|
103
|
-
}),
|
|
104
98
|
esbuild({
|
|
105
99
|
jsx: config?.jsx ?? 'automatic',
|
|
106
100
|
jsxFactory: config?.jsxFactory ?? 'createElement',
|