@sanity/pkg-utils 6.6.2 → 6.6.3
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 +13 -9
- package/dist/_chunks-cjs/index.cjs.map +1 -1
- package/dist/cli.cjs +1 -1
- package/dist/index.js +13 -9
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/node/tasks/dts/buildTypes.ts +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sanity/pkg-utils",
|
|
3
|
-
"version": "6.6.
|
|
3
|
+
"version": "6.6.3",
|
|
4
4
|
"description": "Simple utilities for modern npm packages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sanity-io",
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
"typescript": "5.4.5",
|
|
137
137
|
"vitest": "^1.5.0",
|
|
138
138
|
"vitest-github-actions-reporter": "^0.11.1",
|
|
139
|
-
"@sanity/pkg-utils": "6.6.
|
|
139
|
+
"@sanity/pkg-utils": "6.6.3"
|
|
140
140
|
},
|
|
141
141
|
"peerDependencies": {
|
|
142
142
|
"typescript": "5.4.x"
|
|
@@ -20,6 +20,7 @@ export async function buildTypes(options: {
|
|
|
20
20
|
emitDeclarationOnly: true,
|
|
21
21
|
noEmit: false,
|
|
22
22
|
outDir,
|
|
23
|
+
/*
|
|
23
24
|
// Support the new `module: 'preserve'` option in TypeScript 5.4
|
|
24
25
|
...(tsconfig.options.module === ts.ModuleKind.Preserve
|
|
25
26
|
? {
|
|
@@ -31,6 +32,7 @@ export async function buildTypes(options: {
|
|
|
31
32
|
resolveJsonModule: true,
|
|
32
33
|
}
|
|
33
34
|
: {}),
|
|
35
|
+
// */
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
const program = ts.createProgram(tsconfig.fileNames, compilerOptions)
|