Skip to content

Commit 26e78f3

Browse files
committed
chore: fix release script
1 parent 52777eb commit 26e78f3

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

scripts/release-apps.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,42 +28,42 @@ async function main() {
2828
const {
2929
default: { version: coreVersion },
3030
} = await import("../core/package.json", {
31-
type: { type: "json" },
31+
with: { type: "json" },
3232
});
3333
const {
3434
default: { version: vfsVersion },
3535
} = await import("../vfs/package.json", {
36-
type: { type: "json" },
36+
with: { type: "json" },
3737
});
3838
const {
3939
default: { version: preactPluginVersion },
4040
} = await import("../framework-plugins/preact/package.json", {
41-
type: { type: "json" },
41+
with: { type: "json" },
4242
});
4343
const {
4444
default: { version: reactPluginVersion },
4545
} = await import("../framework-plugins/react/package.json", {
46-
type: { type: "json" },
46+
with: { type: "json" },
4747
});
4848
const {
4949
default: { version: solidPluginVersion },
5050
} = await import("../framework-plugins/solid/package.json", {
51-
type: { type: "json" },
51+
with: { type: "json" },
5252
});
5353
const {
5454
default: { version: sveltePluginVersion },
5555
} = await import("../framework-plugins/svelte/package.json", {
56-
type: { type: "json" },
56+
with: { type: "json" },
5757
});
5858
const {
5959
default: { version: vue2PluginVersion },
6060
} = await import("../framework-plugins/vue2/package.json", {
61-
type: { type: "json" },
61+
with: { type: "json" },
6262
});
6363
const {
6464
default: { version: vue3PluginVersion },
6565
} = await import("../framework-plugins/vue3/package.json", {
66-
type: { type: "json" },
66+
with: { type: "json" },
6767
});
6868
const releaseDirPath = path.join(
6969
__dirname,

tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,8 @@
22
"extends": "./tsconfig.base.json",
33
"compilerOptions": {
44
"resolveJsonModule": true
5+
},
6+
"ts-node": {
7+
"transpileOnly": true
58
}
69
}

0 commit comments

Comments
 (0)