vize 0.211.0 → 0.212.0
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/cli.mjs +1 -5
- package/dist/cli.mjs.map +1 -1
- package/package.json +10 -6
- package/src/cli.ts +0 -3
package/dist/cli.mjs
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
|
-
import { dirname } from "node:path";
|
|
3
2
|
//#region src/cli.ts
|
|
4
|
-
|
|
5
|
-
const native = require("@vizejs/native");
|
|
6
|
-
process.env.VIZE_VUE_PACKAGE ??= dirname(require.resolve("vue/package.json"));
|
|
7
|
-
native.runCli(process.argv.slice(2));
|
|
3
|
+
createRequire(import.meta.url)("@vizejs/native").runCli(process.argv.slice(2));
|
|
8
4
|
//#endregion
|
|
9
5
|
export {};
|
|
10
6
|
|
package/dist/cli.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.mjs","names":[],"sources":["../src/cli.ts"],"sourcesContent":["import { createRequire } from \"node:module\";\
|
|
1
|
+
{"version":3,"file":"cli.mjs","names":[],"sources":["../src/cli.ts"],"sourcesContent":["import { createRequire } from \"node:module\";\n\nconst require = createRequire(import.meta.url);\nconst native = require(\"@vizejs/native\") as typeof import(\"@vizejs/native\");\n\nnative.runCli(process.argv.slice(2));\n"],"mappings":";;AAEgB,cAAc,OAAO,KAAK,IACpB,CAAC,iBAEjB,CAAC,OAAO,QAAQ,KAAK,MAAM,EAAE,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vize",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.212.0",
|
|
4
4
|
"description": "Vize - High-performance Vue.js toolchain in Rust",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -50,9 +50,8 @@
|
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@vizejs/native": "0.
|
|
54
|
-
"oxc-transform": "0.130.0"
|
|
55
|
-
"vue": "3.5.35"
|
|
53
|
+
"@vizejs/native": "0.212.0",
|
|
54
|
+
"oxc-transform": "0.130.0"
|
|
56
55
|
},
|
|
57
56
|
"devDependencies": {
|
|
58
57
|
"@pkl-community/pkl": "0.30.2",
|
|
@@ -61,14 +60,19 @@
|
|
|
61
60
|
"tsdown": "0.22.0",
|
|
62
61
|
"typescript": "6.0.3",
|
|
63
62
|
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.21",
|
|
64
|
-
"vite-plus": "0.1.21"
|
|
63
|
+
"vite-plus": "0.1.21",
|
|
64
|
+
"vue": "3.5.35"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"@pkl-community/pkl": "0.30.2"
|
|
67
|
+
"@pkl-community/pkl": "0.30.2",
|
|
68
|
+
"vue": ">=2.7.0"
|
|
68
69
|
},
|
|
69
70
|
"peerDependenciesMeta": {
|
|
70
71
|
"@pkl-community/pkl": {
|
|
71
72
|
"optional": true
|
|
73
|
+
},
|
|
74
|
+
"vue": {
|
|
75
|
+
"optional": true
|
|
72
76
|
}
|
|
73
77
|
},
|
|
74
78
|
"optionalDependencies": {
|
package/src/cli.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import { createRequire } from "node:module";
|
|
2
|
-
import { dirname } from "node:path";
|
|
3
2
|
|
|
4
3
|
const require = createRequire(import.meta.url);
|
|
5
4
|
const native = require("@vizejs/native") as typeof import("@vizejs/native");
|
|
6
5
|
|
|
7
|
-
process.env.VIZE_VUE_PACKAGE ??= dirname(require.resolve("vue/package.json"));
|
|
8
|
-
|
|
9
6
|
native.runCli(process.argv.slice(2));
|