@sanity/pkg-utils 6.8.0 → 6.8.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 +15 -19366
- 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.js +124 -19475
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/src/node/tasks/dts/extractModuleBlocks.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/pkg-utils",
|
|
3
|
-
"version": "6.8.
|
|
3
|
+
"version": "6.8.2",
|
|
4
4
|
"description": "Simple utilities for modern npm packages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity-io",
|
|
@@ -98,19 +98,20 @@
|
|
|
98
98
|
"prettier": "^3.2.5",
|
|
99
99
|
"pretty-bytes": "^5.6.0",
|
|
100
100
|
"prompts": "^2.4.2",
|
|
101
|
+
"recast": "0.23.6",
|
|
101
102
|
"rimraf": "^4.4.1",
|
|
102
|
-
"rollup": "^4.
|
|
103
|
+
"rollup": "^4.16.1",
|
|
103
104
|
"rollup-plugin-esbuild": "^6.1.1",
|
|
104
105
|
"rxjs": "^7.8.1",
|
|
105
106
|
"treeify": "^1.1.0",
|
|
106
107
|
"uuid": "^9.0.1",
|
|
107
|
-
"zod": "3.
|
|
108
|
+
"zod": "3.23.0",
|
|
108
109
|
"zod-validation-error": "3.1.0"
|
|
109
110
|
},
|
|
110
111
|
"devDependencies": {
|
|
111
112
|
"@commitlint/cli": "^19.2.2",
|
|
112
113
|
"@commitlint/config-conventional": "^19.2.2",
|
|
113
|
-
"@sanity/prettier-config": "^1.0.
|
|
114
|
+
"@sanity/prettier-config": "^1.0.2",
|
|
114
115
|
"@types/babel__core": "^7.20.5",
|
|
115
116
|
"@types/cpx": "^1.5.5",
|
|
116
117
|
"@types/find-config": "^1.0.4",
|
|
@@ -137,14 +138,13 @@
|
|
|
137
138
|
"lint-staged": "^15.0.2",
|
|
138
139
|
"npm-run-all2": "^6.1.2",
|
|
139
140
|
"outdent": "^0.8.0",
|
|
140
|
-
"recast": "^0.23.6",
|
|
141
141
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
142
142
|
"semver": "^7.6.0",
|
|
143
143
|
"ts-node": "^10.9.2",
|
|
144
144
|
"typescript": "5.4.5",
|
|
145
145
|
"vitest": "^1.5.0",
|
|
146
146
|
"vitest-github-actions-reporter": "^0.11.1",
|
|
147
|
-
"@sanity/pkg-utils": "6.8.
|
|
147
|
+
"@sanity/pkg-utils": "6.8.2"
|
|
148
148
|
},
|
|
149
149
|
"peerDependencies": {
|
|
150
150
|
"typescript": "5.4.x"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type {File} from '@babel/types'
|
|
2
2
|
import type {ExtractorResult} from '@microsoft/api-extractor'
|
|
3
3
|
import {parse, print} from 'recast'
|
|
4
|
-
import typeScriptParser from 'recast/parsers/typescript'
|
|
4
|
+
import typeScriptParser from 'recast/parsers/typescript.js'
|
|
5
5
|
import type {Program} from 'typescript'
|
|
6
6
|
|
|
7
7
|
/**
|