unrun 0.2.24 → 0.2.26
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/index.mjs
CHANGED
|
@@ -669,16 +669,16 @@ async function bundle(options) {
|
|
|
669
669
|
...options.inputOptions
|
|
670
670
|
};
|
|
671
671
|
if (tsconfig) inputOptions.tsconfig = tsconfig;
|
|
672
|
-
const bundle
|
|
672
|
+
const bundle = await rolldown(inputOptions);
|
|
673
673
|
const outputOptions = {
|
|
674
674
|
format: "esm",
|
|
675
|
-
|
|
675
|
+
codeSplitting: false,
|
|
676
676
|
keepNames: true,
|
|
677
677
|
...options.outputOptions
|
|
678
678
|
};
|
|
679
|
-
const rolldownOutput = await bundle
|
|
679
|
+
const rolldownOutput = await bundle.generate(outputOptions);
|
|
680
680
|
if (!rolldownOutput.output[0]) throw new Error("[unrun] No output chunk found");
|
|
681
|
-
const files = await bundle
|
|
681
|
+
const files = await bundle.watchFiles;
|
|
682
682
|
return {
|
|
683
683
|
chunk: rolldownOutput.output[0],
|
|
684
684
|
dependencies: files
|
package/dist/sync/worker.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unrun",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.26",
|
|
5
5
|
"description": "A tool to load and execute any JavaScript or TypeScript code at runtime.",
|
|
6
6
|
"author": "Augustin Mercier <gugustinette@proton.me>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -42,20 +42,20 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"rolldown": "1.0.0-
|
|
45
|
+
"rolldown": "1.0.0-rc.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@sxzz/eslint-config": "^7.
|
|
48
|
+
"@sxzz/eslint-config": "^7.5.0",
|
|
49
49
|
"@sxzz/prettier-config": "^2.2.6",
|
|
50
|
-
"@types/node": "^25.0.
|
|
51
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
52
|
-
"@vitest/browser": "4.0.
|
|
53
|
-
"@vitest/browser-playwright": "4.0.
|
|
50
|
+
"@types/node": "^25.0.10",
|
|
51
|
+
"@typescript/native-preview": "7.0.0-dev.20260122.3",
|
|
52
|
+
"@vitest/browser": "4.0.17",
|
|
53
|
+
"@vitest/browser-playwright": "4.0.17",
|
|
54
54
|
"@webcontainer/api": "^1.6.1",
|
|
55
55
|
"acorn": "^8.15.0",
|
|
56
|
-
"bumpp": "^10.
|
|
56
|
+
"bumpp": "^10.4.0",
|
|
57
57
|
"bundle-require": "^5.1.0",
|
|
58
|
-
"config": "^4.
|
|
58
|
+
"config": "^4.2.0",
|
|
59
59
|
"consola": "^3.4.2",
|
|
60
60
|
"defu": "^6.1.4",
|
|
61
61
|
"destr": "^2.0.5",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"estree-walker": "^3.0.3",
|
|
65
65
|
"etag": "^1.8.1",
|
|
66
66
|
"fast-glob": "^3.3.3",
|
|
67
|
-
"giget": "^
|
|
67
|
+
"giget": "^3.1.1",
|
|
68
68
|
"is-installed-globally": "^1.0.0",
|
|
69
69
|
"jiti": "^2.6.1",
|
|
70
70
|
"mime": "^4.1.0",
|
|
@@ -73,16 +73,16 @@
|
|
|
73
73
|
"playwright": "^1.57.0",
|
|
74
74
|
"preact": "^10.28.2",
|
|
75
75
|
"preact-render-to-string": "^6.6.5",
|
|
76
|
-
"prettier": "^3.
|
|
76
|
+
"prettier": "^3.8.1",
|
|
77
77
|
"react": "^19.2.3",
|
|
78
78
|
"react-dom": "^19.2.3",
|
|
79
79
|
"reflect-metadata": "^0.2.2",
|
|
80
|
-
"synckit": "^0.11.
|
|
80
|
+
"synckit": "^0.11.12",
|
|
81
81
|
"test-ecosystem-ci": "^0.0.3",
|
|
82
82
|
"tinyexec": "^1.0.2",
|
|
83
|
-
"tsdown": "
|
|
83
|
+
"tsdown": "0.20.0-beta.4",
|
|
84
84
|
"tsx": "^4.21.0",
|
|
85
|
-
"typedoc": "^0.28.
|
|
85
|
+
"typedoc": "^0.28.16",
|
|
86
86
|
"typedoc-plugin-markdown": "^4.9.0",
|
|
87
87
|
"typedoc-vitepress-theme": "^1.1.2",
|
|
88
88
|
"typescript": "^5.9.3",
|
|
@@ -90,9 +90,9 @@
|
|
|
90
90
|
"unplugin-vue": "^7.1.0",
|
|
91
91
|
"vite": "^7.3.1",
|
|
92
92
|
"vitepress": "2.0.0-alpha.12",
|
|
93
|
-
"vitepress-plugin-group-icons": "^1.
|
|
94
|
-
"vitest": "4.0.
|
|
95
|
-
"vue": "^3.5.
|
|
93
|
+
"vitepress-plugin-group-icons": "^1.7.1",
|
|
94
|
+
"vitest": "4.0.17",
|
|
95
|
+
"vue": "^3.5.27",
|
|
96
96
|
"vue-tsc": "^3.2.2",
|
|
97
97
|
"zod": "^4.3.5"
|
|
98
98
|
},
|