one 1.1.301 → 1.1.303
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/cli/main.js +2 -2
- package/dist/cjs/cli/main.js.map +1 -1
- package/dist/cjs/cli/main.native.js +2 -2
- package/dist/cjs/cli/main.native.js.map +1 -1
- package/dist/cjs/cli/run.js +1 -0
- package/dist/cjs/cli/run.js.map +1 -1
- package/dist/cjs/cli/run.native.js +1 -0
- package/dist/cjs/cli/run.native.js.map +2 -2
- package/dist/cjs/cli.js +48 -16
- package/dist/cjs/cli.js.map +2 -2
- package/dist/cjs/cli.native.js +46 -23
- package/dist/cjs/cli.native.js.map +2 -2
- package/dist/cjs/useLoader.js +1 -1
- package/dist/cjs/useLoader.js.map +1 -1
- package/dist/cjs/useLoader.native.js +1 -1
- package/dist/cjs/useLoader.native.js.map +1 -1
- package/dist/cjs/vite/one.js.map +1 -1
- package/dist/cjs/vite/one.native.js.map +1 -1
- package/dist/esm/cli/main.js +2 -2
- package/dist/esm/cli/main.js.map +1 -1
- package/dist/esm/cli/main.mjs +2 -2
- package/dist/esm/cli/main.mjs.map +1 -1
- package/dist/esm/cli/main.native.js +2 -2
- package/dist/esm/cli/main.native.js.map +1 -1
- package/dist/esm/cli/run.js +1 -0
- package/dist/esm/cli/run.js.map +1 -1
- package/dist/esm/cli/run.mjs +1 -0
- package/dist/esm/cli/run.mjs.map +1 -1
- package/dist/esm/cli/run.native.js +1 -0
- package/dist/esm/cli/run.native.js.map +2 -2
- package/dist/esm/cli.js +48 -15
- package/dist/esm/cli.js.map +2 -2
- package/dist/esm/cli.mjs +54 -15
- package/dist/esm/cli.mjs.map +1 -1
- package/dist/esm/cli.native.js +46 -22
- package/dist/esm/cli.native.js.map +2 -2
- package/dist/esm/useLoader.js +1 -1
- package/dist/esm/useLoader.js.map +1 -1
- package/dist/esm/useLoader.mjs +1 -1
- package/dist/esm/useLoader.mjs.map +1 -1
- package/dist/esm/useLoader.native.js +1 -1
- package/dist/esm/useLoader.native.js.map +2 -2
- package/dist/esm/vite/one.js.map +1 -1
- package/dist/esm/vite/one.mjs.map +1 -1
- package/dist/esm/vite/one.native.js.map +1 -1
- package/package.json +7 -6
- package/src/cli/main.ts +3 -3
- package/src/cli/run.ts +4 -0
- package/src/cli.ts +59 -15
- package/src/useLoader.ts +1 -3
- package/src/vite/one.ts +1 -1
- package/types/cli/main.d.ts +3 -1
- package/types/cli/main.d.ts.map +1 -1
- package/types/cli/run.d.ts +1 -0
- package/types/cli/run.d.ts.map +1 -1
- package/types/useLoader.d.ts.map +1 -1
package/dist/cjs/cli/main.js
CHANGED
@@ -39,8 +39,8 @@ async function getLatestVersion(packageName) {
|
|
39
39
|
}
|
40
40
|
}
|
41
41
|
async function cliMain(args = {}) {
|
42
|
-
getLatestVersion("one"), (0, import_node_fs.existsSync)("vite.config.ts") && (await (0, import_run.run)(
|
42
|
+
getLatestVersion("one"), (0, import_node_fs.existsSync)("vite.config.ts") && (await (0, import_run.run)({}), process.exit(0));
|
43
43
|
const { create } = await import("create-vxrn/create");
|
44
|
-
await create(
|
44
|
+
await create(args);
|
45
45
|
}
|
46
46
|
//# sourceMappingURL=main.js.map
|
package/dist/cjs/cli/main.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/cli/main.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAA2B,oBAC3B,qBAA8B,wBAC9B,aAAoB;AAFpB;AAIA,eAAe,iBAAiB,aAAqB;AAInD,QAAM,qBAHU,kCAAc,YAAY,GAAG,EAER,kBAAkB,EACpB;AAEnC,MAAI;AAGF,UAAM,UADO,OADI,MAAM,MAAM,8BAA8B,WAAW,EAAE,GAC5C,KAAK,GACb,WAAW,EAAE;AAEjC,IAAI,UAAU,mBAAmB,WAE/B,QAAQ,KAAK;AAAA,2BAAyB,cAAc,WAAM,MAAM,EAAE,GAClE,QAAQ,KAAK;AAAA,CAA2E;AAAA,EAE5F,SAAS,OAAO;AACd,YAAQ,MAAM,uCAAuC,KAAK;AAAA,EAC5D;AACF;AAEA,eAAsB,QAAQ,
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qBAA2B,oBAC3B,qBAA8B,wBAC9B,aAAoB;AAFpB;AAIA,eAAe,iBAAiB,aAAqB;AAInD,QAAM,qBAHU,kCAAc,YAAY,GAAG,EAER,kBAAkB,EACpB;AAEnC,MAAI;AAGF,UAAM,UADO,OADI,MAAM,MAAM,8BAA8B,WAAW,EAAE,GAC5C,KAAK,GACb,WAAW,EAAE;AAEjC,IAAI,UAAU,mBAAmB,WAE/B,QAAQ,KAAK;AAAA,2BAAyB,cAAc,WAAM,MAAM,EAAE,GAClE,QAAQ,KAAK;AAAA,CAA2E;AAAA,EAE5F,SAAS,OAAO;AACd,YAAQ,MAAM,uCAAuC,KAAK;AAAA,EAC5D;AACF;AAEA,eAAsB,QAAQ,OAA0B,CAAC,GAAG;AAE1D,EAAK,iBAAiB,KAAK,OAEvB,2BAAW,gBAAgB,MAE7B,UAAM,gBAAI,CAAC,CAAC,GACZ,QAAQ,KAAK,CAAC;AAGhB,QAAM,EAAE,OAAO,IAAI,MAAM,OAAO,oBAAoB;AACpD,QAAM,OAAO,IAAI;AACnB;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -41,9 +41,9 @@ async function getLatestVersion(packageName) {
|
|
41
41
|
}
|
42
42
|
async function cliMain() {
|
43
43
|
var args = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
44
|
-
getLatestVersion("one"), (0, import_node_fs.existsSync)("vite.config.ts") && (await (0, import_run.run)(
|
44
|
+
getLatestVersion("one"), (0, import_node_fs.existsSync)("vite.config.ts") && (await (0, import_run.run)({}), process.exit(0));
|
45
45
|
var { create } = await import("create-vxrn/create");
|
46
|
-
await create(
|
46
|
+
await create(args);
|
47
47
|
}
|
48
48
|
// Annotate the CommonJS export names for ESM import in node:
|
49
49
|
0 && (module.exports = {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/cli/Users/n8/one/packages/one/src/cli/main.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;qBAA2B,oBAC3B,qBAA8B,wBAC9B,aAAoB;AAFpB;AAIA,eAAeA,iBAAiBC,aAAmB;AACjD,MAAMC,eAAUC,kCAAc,YAAYC,GAAG,GACvCC,mBAAmBH,UACnBI,cAAcD,iBAAiB,kBAAA,GAC/BE,iBAAiBD,YAAYE;AAEnC,MAAI;AACF,QAAMC,WAAW,MAAMC,MAAM,8BAA8BT,WAAAA,EAAa,GAClEU,OAAO,MAAMF,SAASG,KAAI,GAC1BC,SAASF,KAAK,WAAA,EAAaE;AAEjC,IAAIA,UAAUN,mBAAmBM,WAE/BC,QAAQC,KAAK;2BAAyBR,cAAAA,WAAoBM,MAAAA,EAAQ,GAClEC,QAAQC,KAAK;CAAA;EAEjB,SAASC,OAAO;AACdF,YAAQE,MAAM,uCAAuCA,KAAAA;EACvD;AACF;AAEA,eAAsBC,UAAAA;MAAQC,OAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;qBAA2B,oBAC3B,qBAA8B,wBAC9B,aAAoB;AAFpB;AAIA,eAAeA,iBAAiBC,aAAmB;AACjD,MAAMC,eAAUC,kCAAc,YAAYC,GAAG,GACvCC,mBAAmBH,UACnBI,cAAcD,iBAAiB,kBAAA,GAC/BE,iBAAiBD,YAAYE;AAEnC,MAAI;AACF,QAAMC,WAAW,MAAMC,MAAM,8BAA8BT,WAAAA,EAAa,GAClEU,OAAO,MAAMF,SAASG,KAAI,GAC1BC,SAASF,KAAK,WAAA,EAAaE;AAEjC,IAAIA,UAAUN,mBAAmBM,WAE/BC,QAAQC,KAAK;2BAAyBR,cAAAA,WAAoBM,MAAAA,EAAQ,GAClEC,QAAQC,KAAK;CAAA;EAEjB,SAASC,OAAO;AACdF,YAAQE,MAAM,uCAAuCA,KAAAA;EACvD;AACF;AAEA,eAAsBC,UAAAA;MAAQC,OAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAA0B,CAAC;AAEvD,EAAKlB,iBAAiB,KAAA,OAElBmB,2BAAW,gBAAA,MAEb,UAAMC,gBAAI,CAAC,CAAA,GACXC,QAAQC,KAAK,CAAA;AAGf,MAAM,EAAEC,OAAM,IAAK,MAAM,OAAO,oBAAA;AAChC,QAAMA,OAAOL,IAAAA;AACf;",
|
5
5
|
"names": ["getLatestVersion", "packageName", "require", "createRequire", "url", "_confuseDepCheck", "packageJson", "currentVersion", "version", "response", "fetch", "data", "json", "latest", "console", "info", "error", "cliMain", "args", "existsSync", "run", "process", "exit", "create"]
|
6
6
|
}
|
package/dist/cjs/cli/run.js
CHANGED
@@ -29,6 +29,7 @@ var import_virtualEntryPlugin = require("../vite/virtualEntryPlugin"), import_la
|
|
29
29
|
async function run(args) {
|
30
30
|
(0, import_label_process.labelProcess)("dev");
|
31
31
|
const { dev } = await import("vxrn"), { start, stop } = await dev({
|
32
|
+
mode: args.mode,
|
32
33
|
clean: args.clean,
|
33
34
|
root: process.cwd(),
|
34
35
|
server: {
|
package/dist/cjs/cli/run.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/cli/run.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gCAAqC,uCACrC,uBAA6B;AAE7B,eAAsB,IAAI,
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gCAAqC,uCACrC,uBAA6B;AAE7B,eAAsB,IAAI,MAMvB;AACD,yCAAa,KAAK;AAElB,QAAM,EAAE,IAAI,IAAI,MAAM,OAAO,MAAM,GAE7B,EAAE,OAAO,KAAK,IAAI,MAAM,IAAI;AAAA,IAChC,MAAM,KAAK;AAAA,IACX,OAAO,KAAK;AAAA,IACZ,MAAM,QAAQ,IAAI;AAAA,IAClB,QAAQ;AAAA,MACN,OAAO,KAAK;AAAA,MACZ,MAAM,KAAK;AAAA,MACX,MAAM,KAAK,OAAO,CAAC,KAAK,OAAO;AAAA,IACjC;AAAA,IACA,SAAS;AAAA,MACP,QAAQ;AAAA,IACV;AAAA,EACF,CAAC,GAEK,EAAE,aAAa,IAAI,MAAM,MAAM;AAErC,UAAQ,GAAG,cAAc,MAAM;AAC7B,SAAK;AAAA,EACP,CAAC,GAED,QAAQ,GAAG,UAAU,MAAM;AACzB,SAAK;AAAA,EACP,CAAC,GAED,QAAQ,GAAG,qBAAqB,CAAC,QAAQ;AACvC,YAAQ,MAAM,KAAK,WAAW,GAAG;AAAA,EACnC,CAAC,GAED,MAAM;AACR;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -30,6 +30,7 @@ var import_virtualEntryPlugin = require("../vite/virtualEntryPlugin"), import_la
|
|
30
30
|
async function run(args) {
|
31
31
|
(0, import_label_process.labelProcess)("dev");
|
32
32
|
var { dev } = await import("vxrn"), { start, stop } = await dev({
|
33
|
+
mode: args.mode,
|
33
34
|
clean: args.clean,
|
34
35
|
root: process.cwd(),
|
35
36
|
server: {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/cli/Users/n8/one/packages/one/src/cli/run.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;gCAAqC,uCACrC,uBAA6B;AAE7B,eAAsBA,IAAIC,
|
5
|
-
"names": ["run", "args", "labelProcess", "dev", "start", "stop", "clean", "root", "process", "cwd", "server", "https", "host", "port", "undefined", "entries", "native", "virtualEntryIdNative", "closePromise", "on", "err", "console", "error", "message"]
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;gCAAqC,uCACrC,uBAA6B;AAE7B,eAAsBA,IAAIC,MAMzB;AACCC,yCAAa,KAAA;AAEb,MAAM,EAAEC,IAAG,IAAK,MAAM,OAAO,MAAA,GAEvB,EAAEC,OAAOC,KAAI,IAAK,MAAMF,IAAI;IAChCG,MAAML,KAAKK;IACXC,OAAON,KAAKM;IACZC,MAAMC,QAAQC,IAAG;IACjBC,QAAQ;MACNC,OAAOX,KAAKW;MACZC,MAAMZ,KAAKY;MACXC,MAAMb,KAAKa,OAAO,CAACb,KAAKa,OAAOC;IACjC;IACAC,SAAS;MACPC,QAAQC;IACV;EACF,CAAA,GAEM,EAAEC,aAAY,IAAK,MAAMf,MAAAA;AAE/BK,UAAQW,GAAG,cAAc,WAAA;AACvBf,SAAAA;EACF,CAAA,GAEAI,QAAQW,GAAG,UAAU,WAAA;AACnBf,SAAAA;EACF,CAAA,GAEAI,QAAQW,GAAG,qBAAqB,SAACC,KAAAA;AAC/BC,YAAQC,OAAMF,OAAAA,OAAAA,SAAAA,IAAKG,YAAWH,GAAAA;EAChC,CAAA,GAEA,MAAMF;AACR;",
|
5
|
+
"names": ["run", "args", "labelProcess", "dev", "start", "stop", "mode", "clean", "root", "process", "cwd", "server", "https", "host", "port", "undefined", "entries", "native", "virtualEntryIdNative", "closePromise", "on", "err", "console", "error", "message"]
|
6
6
|
}
|
package/dist/cjs/cli.js
CHANGED
@@ -17,7 +17,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
17
17
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
18
18
|
mod
|
19
19
|
));
|
20
|
-
var import_citty = require("citty"), import_loadEnv = require("./vite/loadEnv"), import_node_fs = require("node:fs"), import_node_path = __toESM(require("node:path"), 1), import_node_url = require("node:url");
|
20
|
+
var import_citty = require("citty"), import_picocolors = __toESM(require("picocolors"), 1), import_loadEnv = require("./vite/loadEnv"), import_node_fs = require("node:fs"), import_node_path = __toESM(require("node:path"), 1), import_node_url = require("node:url");
|
21
21
|
const import_meta = {};
|
22
22
|
function getPackageVersion() {
|
23
23
|
let dirname;
|
@@ -27,7 +27,15 @@ function getPackageVersion() {
|
|
27
27
|
}
|
28
28
|
const version = getPackageVersion();
|
29
29
|
(0, import_loadEnv.loadEnv)(process.cwd());
|
30
|
-
|
30
|
+
import_node_path.default.sep !== "/" && console.warn(
|
31
|
+
import_picocolors.default.bgYellow("WARNING: UNSUPPORTED OS") + import_picocolors.default.yellow(
|
32
|
+
" - It appears you\u2019re using Windows, which is currently not supported. You may experience unexpected issues."
|
33
|
+
)
|
34
|
+
);
|
35
|
+
const modes = {
|
36
|
+
development: "development",
|
37
|
+
production: "production"
|
38
|
+
}, dev = (0, import_citty.defineCommand)({
|
31
39
|
meta: {
|
32
40
|
name: "dev",
|
33
41
|
version,
|
@@ -45,11 +53,21 @@ const dev = (0, import_citty.defineCommand)({
|
|
45
53
|
},
|
46
54
|
https: {
|
47
55
|
type: "boolean"
|
56
|
+
},
|
57
|
+
mode: {
|
58
|
+
type: "string",
|
59
|
+
description: 'If set to "production" you can run the development server but serve the production bundle'
|
48
60
|
}
|
49
61
|
},
|
50
|
-
async run({ args }) {
|
62
|
+
async run({ args: { clean: clean2, host, https, mode, port } }) {
|
51
63
|
const { run } = await import("./cli/run");
|
52
|
-
await run(
|
64
|
+
await run({
|
65
|
+
clean: clean2,
|
66
|
+
host,
|
67
|
+
https,
|
68
|
+
mode: modes[mode],
|
69
|
+
port
|
70
|
+
});
|
53
71
|
}
|
54
72
|
}), buildCommand = (0, import_citty.defineCommand)({
|
55
73
|
meta: {
|
@@ -129,7 +147,7 @@ const dev = (0, import_citty.defineCommand)({
|
|
129
147
|
}
|
130
148
|
}), runAndroid = (0, import_citty.defineCommand)({
|
131
149
|
meta: {
|
132
|
-
name: "run:
|
150
|
+
name: "run:android",
|
133
151
|
version
|
134
152
|
},
|
135
153
|
args: {},
|
@@ -150,27 +168,41 @@ const dev = (0, import_citty.defineCommand)({
|
|
150
168
|
root: process.cwd()
|
151
169
|
});
|
152
170
|
}
|
171
|
+
}), subCommands = {
|
172
|
+
dev,
|
173
|
+
clean,
|
174
|
+
build: buildCommand,
|
175
|
+
prebuild,
|
176
|
+
"run:ios": runIos,
|
177
|
+
"run:android": runAndroid,
|
178
|
+
serve: serveCommand
|
179
|
+
}, subMain = (0, import_citty.defineCommand)({
|
180
|
+
meta: {
|
181
|
+
name: "main",
|
182
|
+
version,
|
183
|
+
description: "Welcome to One"
|
184
|
+
},
|
185
|
+
subCommands
|
153
186
|
}), main = (0, import_citty.defineCommand)({
|
154
187
|
meta: {
|
155
188
|
name: "main",
|
156
189
|
version,
|
157
190
|
description: "Welcome to One"
|
158
191
|
},
|
159
|
-
args: {
|
192
|
+
args: {
|
193
|
+
name: {
|
194
|
+
type: "positional",
|
195
|
+
description: "Folder name to place the app into",
|
196
|
+
required: !1
|
197
|
+
}
|
198
|
+
},
|
160
199
|
async run({ args }) {
|
161
|
-
if ([
|
200
|
+
if (subCommands[args.name]) {
|
201
|
+
(0, import_citty.runMain)(subMain);
|
162
202
|
return;
|
203
|
+
}
|
163
204
|
const { cliMain } = await import("./cli/main");
|
164
205
|
await cliMain(args);
|
165
|
-
},
|
166
|
-
subCommands: {
|
167
|
-
dev,
|
168
|
-
clean,
|
169
|
-
build: buildCommand,
|
170
|
-
prebuild,
|
171
|
-
"run:ios": runIos,
|
172
|
-
"run:android": runAndroid,
|
173
|
-
serve: serveCommand
|
174
206
|
}
|
175
207
|
});
|
176
208
|
(0, import_citty.runMain)(main);
|
package/dist/cjs/cli.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/cli.ts"],
|
4
|
-
"mappings": ";;;;;;;;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M;AAAA,IACJ,MAAM;AAAA,IACN;AAAA,IACA,aAAa;AAAA,EACf;AAAA,EACA;AACF,CAAC,GAEK,WAAO,4BAAc;AAAA,EACzB,MAAM;AAAA,IACJ,MAAM;AAAA,IACN;AAAA,IACA,aAAa;AAAA,EACf;AAAA,EACA,MAAM;AAAA,IACJ,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,aAAa;AAAA,MACb,UAAU;AAAA,IACZ;AAAA,EACF;AAAA,EACA,MAAM,IAAI,EAAE,KAAK,GAAG;AAClB,QAAI,YAAY,KAAK,IAAI,GAAG;AAE1B,gCAAQ,OAAO;AACf;AAAA,IACF;AAEA,UAAM,EAAE,QAAQ,IAAI,MAAM,OAAO,YAAY;AAC7C,UAAM,QAAQ,IAAI;AAAA,EACpB;AACF,CAAC;AAAA,IAED,sBAAQ,IAAI;",
|
5
|
+
"names": ["path", "colors", "clean"]
|
6
6
|
}
|
package/dist/cjs/cli.native.js
CHANGED
@@ -18,7 +18,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
18
18
|
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
|
19
19
|
mod
|
20
20
|
));
|
21
|
-
var import_citty = require("citty"), import_loadEnv = require("./vite/loadEnv"), import_node_fs = require("node:fs"), import_node_path = __toESM(require("node:path"), 1), import_node_url = require("node:url");
|
21
|
+
var import_citty = require("citty"), import_picocolors = __toESM(require("picocolors"), 1), import_loadEnv = require("./vite/loadEnv"), import_node_fs = require("node:fs"), import_node_path = __toESM(require("node:path"), 1), import_node_url = require("node:url");
|
22
22
|
const import_meta = {};
|
23
23
|
function getPackageVersion() {
|
24
24
|
var dirname;
|
@@ -28,7 +28,11 @@ function getPackageVersion() {
|
|
28
28
|
}
|
29
29
|
var version = getPackageVersion();
|
30
30
|
(0, import_loadEnv.loadEnv)(process.cwd());
|
31
|
-
|
31
|
+
import_node_path.default.sep !== "/" && console.warn(import_picocolors.default.bgYellow("WARNING: UNSUPPORTED OS") + import_picocolors.default.yellow(" - It appears you\u2019re using Windows, which is currently not supported. You may experience unexpected issues."));
|
32
|
+
var modes = {
|
33
|
+
development: "development",
|
34
|
+
production: "production"
|
35
|
+
}, dev = (0, import_citty.defineCommand)({
|
32
36
|
meta: {
|
33
37
|
name: "dev",
|
34
38
|
version,
|
@@ -46,11 +50,21 @@ var dev = (0, import_citty.defineCommand)({
|
|
46
50
|
},
|
47
51
|
https: {
|
48
52
|
type: "boolean"
|
53
|
+
},
|
54
|
+
mode: {
|
55
|
+
type: "string",
|
56
|
+
description: 'If set to "production" you can run the development server but serve the production bundle'
|
49
57
|
}
|
50
58
|
},
|
51
59
|
async run(param) {
|
52
|
-
var { args } = param, { run } = await import("./cli/run");
|
53
|
-
await run(
|
60
|
+
var { args: { clean: clean2, host, https, mode, port } } = param, { run } = await import("./cli/run");
|
61
|
+
await run({
|
62
|
+
clean: clean2,
|
63
|
+
host,
|
64
|
+
https,
|
65
|
+
mode: modes[mode],
|
66
|
+
port
|
67
|
+
});
|
54
68
|
}
|
55
69
|
}), buildCommand = (0, import_citty.defineCommand)({
|
56
70
|
meta: {
|
@@ -130,7 +144,7 @@ var dev = (0, import_citty.defineCommand)({
|
|
130
144
|
}
|
131
145
|
}), runAndroid = (0, import_citty.defineCommand)({
|
132
146
|
meta: {
|
133
|
-
name: "run:
|
147
|
+
name: "run:android",
|
134
148
|
version
|
135
149
|
},
|
136
150
|
args: {},
|
@@ -151,33 +165,42 @@ var dev = (0, import_citty.defineCommand)({
|
|
151
165
|
root: process.cwd()
|
152
166
|
});
|
153
167
|
}
|
168
|
+
}), subCommands = {
|
169
|
+
dev,
|
170
|
+
clean,
|
171
|
+
build: buildCommand,
|
172
|
+
prebuild,
|
173
|
+
"run:ios": runIos,
|
174
|
+
"run:android": runAndroid,
|
175
|
+
serve: serveCommand
|
176
|
+
}, subMain = (0, import_citty.defineCommand)({
|
177
|
+
meta: {
|
178
|
+
name: "main",
|
179
|
+
version,
|
180
|
+
description: "Welcome to One"
|
181
|
+
},
|
182
|
+
subCommands
|
154
183
|
}), main = (0, import_citty.defineCommand)({
|
155
184
|
meta: {
|
156
185
|
name: "main",
|
157
186
|
version,
|
158
187
|
description: "Welcome to One"
|
159
188
|
},
|
160
|
-
args: {
|
189
|
+
args: {
|
190
|
+
name: {
|
191
|
+
type: "positional",
|
192
|
+
description: "Folder name to place the app into",
|
193
|
+
required: !1
|
194
|
+
}
|
195
|
+
},
|
161
196
|
async run(param) {
|
162
197
|
var { args } = param;
|
163
|
-
if (
|
164
|
-
|
165
|
-
|
166
|
-
"run:ios",
|
167
|
-
"run:android"
|
168
|
-
].includes(args._[0])) {
|
169
|
-
var { cliMain } = await import("./cli/main");
|
170
|
-
await cliMain(args);
|
198
|
+
if (subCommands[args.name]) {
|
199
|
+
(0, import_citty.runMain)(subMain);
|
200
|
+
return;
|
171
201
|
}
|
172
|
-
|
173
|
-
|
174
|
-
dev,
|
175
|
-
clean,
|
176
|
-
build: buildCommand,
|
177
|
-
prebuild,
|
178
|
-
"run:ios": runIos,
|
179
|
-
"run:android": runAndroid,
|
180
|
-
serve: serveCommand
|
202
|
+
var { cliMain } = await import("./cli/main");
|
203
|
+
await cliMain(args);
|
181
204
|
}
|
182
205
|
});
|
183
206
|
(0, import_citty.runMain)(main);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Users/n8/one/packages/one/src/cli.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA,mBAAuC,kBACvC,iBAAwB,2BACxB,iBAA6B,oBAC7B,mBAAiB,kCACjB,kBAA8B;
|
5
|
-
"names": ["getPackageVersion", "dirname", "__dirname", "path", "fileURLToPath", "url", "packagePath", "join", "packageJson", "JSON", "parse", "readFileSync", "version", "loadEnv", "process", "cwd", "dev", "defineCommand", "meta", "name", "description", "args", "clean", "type", "host", "port", "https", "run", "buildCommand", "step", "required", "only", "build", "exit", "serveCommand", "platform", "compress", "cacheHeaders", "serve", "undefined", "prebuild", "runIos", "runAndroid", "vxrnClean", "root", "
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;AAAA,mBAAuC,kBACvC,oBAAmB,mCACnB,iBAAwB,2BACxB,iBAA6B,oBAC7B,mBAAiB,kCACjB,kBAA8B;AAL9B;AAOA,SAASA,oBAAAA;AACP,MAAIC;AACJ,EAAI,OAAOC,YAAc,MAEvBD,UAAUC,YAGVD,UAAUE,iBAAAA,QAAKF,YAAQG,+BAAc,YAAYC,GAAG,CAAA;AAEtD,MAAMC,cAAcH,iBAAAA,QAAKI,KAAKN,SAAS,MAAM,MAAM,cAAA,GAC7CO,cAAcC,KAAKC,UAAMC,6BAAaL,aAAa,OAAA,CAAA;AACzD,SAAOE,YAAYI;AACrB;AAEA,IAAMA,UAAUZ,kBAAAA;IAEXa,wBAAQC,QAAQC,IAAG,CAAA;AAEpBZ,iBAAAA,QAAKa,QAAQ,OACfC,QAAQC,KACNC,kBAAAA,QAAOC,SAAS,yBAAA,IACdD,kBAAAA,QAAOE,OACL,kHAAA,CAAA;AAKR,IAAMC,QAAQ;EACZC,aAAa;EACbC,YAAY;AACd,GAEMC,UAAMC,4BAAc;EACxBC,MAAM;IACJC,MAAM;IACNhB;IACAiB,aAAa;EACf;EACAC,MAAM;IACJC,OAAO;MACLC,MAAM;IACR;IACAC,MAAM;MACJD,MAAM;IACR;IACAE,MAAM;MACJF,MAAM;IACR;IACAG,OAAO;MACLH,MAAM;IACR;IACAI,MAAM;MACJJ,MAAM;MACNH,aACE;IACJ;EACF;EACA,MAAMQ,IAAI,OAA4C;QAA5C,EAAEP,MAAM,EAAEC,OAAAA,QAAOE,MAAME,OAAOC,MAAMF,KAAI,EAAE,IAA1C,OACF,EAAEG,IAAG,IAAK,MAAM,OAAO,WAAA;AAC7B,UAAMA,IAAI;MACRN,OAAAA;MACAE;MACAE;MACAC,MAAMd,MAAMc,IAAAA;MACZF;IACF,CAA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irname", "path", "fileURLToPath", "url", "packagePath", "join", "packageJson", "JSON", "parse", "readFileSync", "version", "loadEnv", "process", "cwd", "sep", "console", "warn", "colors", "bgYellow", "yellow", "modes", "development", "production", "dev", "defineCommand", "meta", "name", "description", "args", "clean", "type", "host", "port", "https", "mode", "run", "buildCommand", "step", "required", "only", "build", "exit", "serveCommand", "platform", "compress", "cacheHeaders", "serve", "undefined", "prebuild", "runIos", "runAndroid", "vxrnClean", "root", "subCommands", "subMain", "main", "runMain", "cliMain"]
|
6
6
|
}
|
package/dist/cjs/useLoader.js
CHANGED
@@ -17,7 +17,7 @@ __export(useLoader_exports, {
|
|
17
17
|
useLoader: () => useLoader
|
18
18
|
});
|
19
19
|
module.exports = __toCommonJS(useLoader_exports);
|
20
|
-
var import_react = require("react"), import_hooks = require("./hooks"), import_href = require("./link/href"), import_Route = require("./Route"), import_router = require("./router/router"), import_dynamicImport = require("./utils/dynamicImport"), import_weakKey = require("./utils/weakKey")
|
20
|
+
var import_react = require("react"), import_cleanUrl = require("./cleanUrl"), import_hooks = require("./hooks"), import_href = require("./link/href"), import_Route = require("./Route"), import_router = require("./router/router"), import_dynamicImport = require("./utils/dynamicImport"), import_weakKey = require("./utils/weakKey");
|
21
21
|
const promises = {}, errors = {}, loadedData = {};
|
22
22
|
function useLoader(loader) {
|
23
23
|
const preloadedProps = globalThis.__vxrnLoaderProps__;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/useLoader.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,mBAAkC,
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,mBAAkC,kBAClC,kBAA8B,uBAC9B,eAA2C,oBAC3C,cAA4B,wBAC5B,eAA6B,oBAC7B,gBAAiC,4BAEjC,uBAA8B,kCAC9B,iBAAwB;AAExB,MAAM,WAAsD,C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AAC,UAAU;AACf,cAAQ,IAAI,KAAK,KAAK;AAAA,IACxB,CAAC,EACA,MAAM,CAAC,QAAQ;AACd,cAAQ,MAAM,0BAA0B,GAAG,GAC3C,QAAQ,IAAI,KAAK,MAAS;AAAA,IAC5B,CAAC,IAEL,QAAQ,IAAI,KAAK,IAAI;AAAA,EACvB;AAGF,QAAM,UAAU,QAAQ,IAAI,GAAG;AAE/B,MAAI,mBAAmB;AACrB,UAAM;AAGR,SAAO;AACT;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -18,7 +18,7 @@ __export(useLoader_exports, {
|
|
18
18
|
useLoader: () => useLoader
|
19
19
|
});
|
20
20
|
module.exports = __toCommonJS(useLoader_exports);
|
21
|
-
var import_react = require("react"), import_hooks = require("./hooks"), import_href = require("./link/href"), import_Route = require("./Route"), import_router = require("./router/router"), import_dynamicImport = require("./utils/dynamicImport"), import_weakKey = require("./utils/weakKey"),
|
21
|
+
var import_react = require("react"), import_cleanUrl = require("./cleanUrl"), import_hooks = require("./hooks"), import_href = require("./link/href"), import_Route = require("./Route"), import_router = require("./router/router"), import_dynamicImport = require("./utils/dynamicImport"), import_weakKey = require("./utils/weakKey"), promises = {}, errors = {}, loadedData = {};
|
22
22
|
function useLoader(loader) {
|
23
23
|
var _window_location, preloadedProps = globalThis.__vxrnLoaderProps__;
|
24
24
|
if (typeof window > "u")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/Users/n8/one/packages/one/src/useLoader.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AACA,mBAAkC,
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AACA,mBAAkC,kBAClC,kBAA8B,uBAC9B,eAA2C,oBAC3C,cAA4B,wBAC5B,eAA6B,oBAC7B,gBAAiC,4BAEjC,uBAA8B,kCAC9B,iBAAwB,4BAElBA,WAAsD,CAAC,GACvDC,SAAS,CAAC,GACVC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wBAAQ3B,GAAAA,IAAO,MAAM4B,KAAKC,UAAUJ,KAAAA;AAEvD,MAAIzB,OACE,CAACwB,QAAQM,IAAIJ,GAAAA,GAAM;AACrBF,YAAQO,IAAIL,KAAK,EAAA;AAEjB,QAAIM,OAAOhC,IAAIyB,KAAAA;AACf,IAAIO,gBAAgBC,YAClBD,OAAOA,KACJjC,KAAK,SAACmC,OAAAA;AACLZ,cAAQS,IAAIL,KAAKQ,KAAAA;IACnB,CAAA,EACCjC,MAAM,SAACC,KAAAA;AACNC,cAAQC,MAAM,0BAA0BF,GAAAA,GACxCoB,QAAQS,IAAIL,KAAKjC,MAAAA;IACnB,CAAA,IAEJ6B,QAAQS,IAAIL,KAAKM,IAAAA;EACnB;AAGF,MAAMX,UAAUC,QAAQQ,IAAIJ,GAAAA;AAE5B,MAAIL,mBAAmBY;AACrB,UAAMZ;AAGR,SAAOA;AACT;",
|
5
5
|
"names": ["promises", "errors", "loadedData", "useLoader", "loader", "window", "preloadedProps", "globalThis", "useAsyncFn", "params", "useActiveParams", "isNative", "process", "routeNode", "useRouteNode", "useParams", "pathName", "resolveHref", "pathname", "route", "replace", "currentPath", "location", "preloadedData", "path", "undefined", "currentData", "useRef", "useEffect", "loaded", "preloadingLoader", "then", "val", "catch", "err", "console", "error", "getData", "loaderJSUrl", "getLoaderPath", "response", "nativeLoaderJSUrl", "loaderJsCodeResp", "fetch", "ok", "Error", "status", "loaderJsCode", "text", "result", "eval", "e", "dynamicImport", "current", "results", "Map", "started", "props", "key", "weakKey", "JSON", "stringify", "get", "set", "next", "Promise", "final"]
|
6
6
|
}
|
package/dist/cjs/vite/one.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/one.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAAmB,oCACnB,
|
4
|
+
"mappings": ";;;;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eAAe,kBAAkB;AACvC,MAAI,CAAC;AACH,UAAM,IAAI,MAAM,yCAAyC;AAE3D,SAAO;AACT;",
|
5
5
|
"names": ["events", "tsconfigPaths", "path"]
|
6
6
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/Users/n8/one/packages/one/src/vite/one.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;yBAAmB,oCACnB,
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;yBAAmB,oCACnB,mBAAuC,kCACvC,cAAoF,iBACpF,6BAA0B,4CAC1B,cAAoE,iBACpE,0BAAO,gCACP,qBAA4B,iCAC5B,wBAA+B,oCAC/B,+BAAsC,oCACtC,gCAAuC,qCACvC,wBAA+B,6BAC/B,+BAAsC,oCACtC,gCAAuC,qCACvC,iBAAwB,sBAExB,4BAAmD,iCACnD,0BAAiC;AAEjCA,mBAAAA,QAAOC,gBAAgB,GAAA;AAGvBC,WAAWC,wBAAwB;AAE5B,SAASC,MAAAA;MAAIC,UAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAA6B,CAAC,GAM5CA;AALJC,eAAaD,aAERE,wBAAQC,QAAQC,IAAG,CAAA,KAGpBJ,kBAAAA,QAAQK,YAAM,QAAdL,oBAAAA,SAAAA,SAAAA,gBAAgBM,oBAAmB,UAChCA,sCAAAA,GAGPT,WAAW,uBAA0BG;AAGrC,MAAM,EAAEO,aAAY,QAAKC,6BAAgB,OAAA,GACnCC,cAAcF,aAAaG,SAC3BC,kBAAkB,IAAIC;;;IAG1B,GAAGH,YAAYI,IAAI,SAACC,IAAAA;aAAOA,GAAGC,QAAQ,uBAAuB,MAAA;OAASC,KAAK,GAAA,CAAA;EAAM,GAG/EC,sBAAqC,MAEnCC,kBAAcC,8BAAAA,GAEdC,oBAAoB;;IAExB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AmBF,SAA0B;AACjE,MAAMG,QAAQ,UAAMC,gCAAmB;IACrCC,MAAM;IACNL;EACF,CAAA;AACA,MAAI,CAACG;AACH,UAAM,IAAIF,MAAM,sBAAsBrG,QAAQC,IAAG,CAAA,kCAAoC;AAEvF,MAAMyG,eAAeP,kBAAAA;AACrB,MAAI,CAACO;AACH,UAAM,IAAIL,MAAM,yCAAyC;AAE3D,SAAOK;AACT;",
|
5
5
|
"names": ["events", "setMaxListeners", "globalThis", "__vxrnEnableNativeEnv", "one", "options", "oneOptions", "loadEnv", "process", "cwd", "config", "ensureTSConfig", "optimizeDeps", "getOptimizeDeps", "optimizeIds", "include", "optimizeIdRegex", "RegExp", "map", "id", "replace", "join", "tsConfigPathsPlugin", "vxrnOptions", "getOptionsFilled", "devAndProdPlugins", "Proxy", "name", "configIncoming", "pathsConfig", "tsConfigPaths", "plugins", "flat", "some", "p", "tsconfigPaths", "configResolved", "resolveId", "get", "target", "key", "thisArg", "Reflect", "enforce", "resolve", "alias", "tslib", "requireResolve", "define", "web", "defaultRenderMode", "JSON", "stringify", "setupFile", "env", "NODE_ENV", "server", "url", "environments", "client", "ssr", "zero", "TESTING", "REPLICACHE_VERSION", "ZERO_VERSION", "hotUpdate", "modules", "m", "relativePath", "path", "relative", "root", "rootDir", "split", "sep", "acceptedHmrExports", "Set", "__vxrnAddNativePlugins", "clientTreeShakePlugin", "__vxrnAddWebPluginsProd", "createFileSystemRouter", "generateTypesForRoutes", "fixDependenciesPlugin", "deps", "createVirtualEntry", "app", "sharedNativeConfig", "react", "ios", "android", "applyToEnvironment", "environment", "isWebEnvironment", "importer", "shouldOptimize", "test", "absolutePath", "dirname", "webPath", "directoryPath", "existsAsync", "err", "console", "warn", "vitePluginSsrCss", "entries", "virtualEntryId", "getUserOneOptions", "command", "Error", "loadUserOneOptions", "found", "loadConfigFromFile", "mode", "foundOptions"]
|
6
6
|
}
|
package/dist/esm/cli/main.js
CHANGED
@@ -13,9 +13,9 @@ async function getLatestVersion(packageName) {
|
|
13
13
|
}
|
14
14
|
}
|
15
15
|
async function cliMain(args = {}) {
|
16
|
-
getLatestVersion("one"), existsSync("vite.config.ts") && (await run(
|
16
|
+
getLatestVersion("one"), existsSync("vite.config.ts") && (await run({}), process.exit(0));
|
17
17
|
const { create } = await import("create-vxrn/create");
|
18
|
-
await create(
|
18
|
+
await create(args);
|
19
19
|
}
|
20
20
|
export {
|
21
21
|
cliMain
|
package/dist/esm/cli/main.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/cli/main.ts"],
|
4
|
-
"mappings": "AAAA,SAAS,kBAAkB;AAC3B,SAAS,qBAAqB;AAC9B,SAAS,WAAW;AAEpB,eAAe,iBAAiB,aAAqB;AAInD,QAAM,iBAHU,cAAc,YAAY,GAAG,EAER,kBAAkB,EACpB;AAEnC,MAAI;AAGF,UAAM,UADO,OADI,MAAM,MAAM,8BAA8B,WAAW,EAAE,GAC5C,KAAK,GACb,WAAW,EAAE;AAEjC,IAAI,UAAU,mBAAmB,WAE/B,QAAQ,KAAK;AAAA,2BAAyB,cAAc,WAAM,MAAM,EAAE,GAClE,QAAQ,KAAK;AAAA,CAA2E;AAAA,EAE5F,SAAS,OAAO;AACd,YAAQ,MAAM,uCAAuC,KAAK;AAAA,EAC5D;AACF;AAEA,eAAsB,QAAQ,
|
4
|
+
"mappings": "AAAA,SAAS,kBAAkB;AAC3B,SAAS,qBAAqB;AAC9B,SAAS,WAAW;AAEpB,eAAe,iBAAiB,aAAqB;AAInD,QAAM,iBAHU,cAAc,YAAY,GAAG,EAER,kBAAkB,EACpB;AAEnC,MAAI;AAGF,UAAM,UADO,OADI,MAAM,MAAM,8BAA8B,WAAW,EAAE,GAC5C,KAAK,GACb,WAAW,EAAE;AAEjC,IAAI,UAAU,mBAAmB,WAE/B,QAAQ,KAAK;AAAA,2BAAyB,cAAc,WAAM,MAAM,EAAE,GAClE,QAAQ,KAAK;AAAA,CAA2E;AAAA,EAE5F,SAAS,OAAO;AACd,YAAQ,MAAM,uCAAuC,KAAK;AAAA,EAC5D;AACF;AAEA,eAAsB,QAAQ,OAA0B,CAAC,GAAG;AAE1D,EAAK,iBAAiB,KAAK,GAEvB,WAAW,gBAAgB,MAE7B,MAAM,IAAI,CAAC,CAAC,GACZ,QAAQ,KAAK,CAAC;AAGhB,QAAM,EAAE,OAAO,IAAI,MAAM,OAAO,oBAAoB;AACpD,QAAM,OAAO,IAAI;AACnB;",
|
5
5
|
"names": []
|
6
6
|
}
|
package/dist/esm/cli/main.mjs
CHANGED
@@ -13,11 +13,11 @@ async function getLatestVersion(packageName) {
|
|
13
13
|
}
|
14
14
|
}
|
15
15
|
async function cliMain(args = {}) {
|
16
|
-
getLatestVersion("one"), existsSync("vite.config.ts") && (await run(
|
16
|
+
getLatestVersion("one"), existsSync("vite.config.ts") && (await run({}), process.exit(0));
|
17
17
|
const {
|
18
18
|
create
|
19
19
|
} = await import("create-vxrn/create");
|
20
|
-
await create(
|
20
|
+
await create(args);
|
21
21
|
}
|
22
22
|
export { cliMain };
|
23
23
|
//# sourceMappingURL=main.mjs.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["existsSync","createRequire","run","getLatestVersion","packageName","currentVersion","import","meta","url","version","latest","fetch","json","console","info","error","cliMain","args","process","exit","create"],"sources":["../../../src/cli/main.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,UAAA,QAAkB;AAC3B,SAASC,aAAA,QAAqB;AAC9B,SAASC,GAAA,QAAW;AAEpB,eAAeC,iBAAiBC,WAAA,EAAqB;EAInD,MAAMC,cAAA,GAHUJ,aAAA,CAAcK,MAAA,CAAAC,IAAA,CAAYC,GAAG,EAER,kBAAkB,EACpBC,OAAA;EAEnC,IAAI;IAGF,MAAMC,MAAA,IADO,OADI,MAAMC,KAAA,CAAM,8BAA8BP,WAAW,EAAE,GAC5CQ,IAAA,CAAK,GACb,WAAW,EAAEF,MAAA;IAE7BA,MAAA,IAAUL,cAAA,KAAmBK,MAAA,KAE/BG,OAAA,CAAQC,IAAA,CAAK;AAAA,2BAAyBT,cAAc,WAAMK,MAAM,EAAE,GAClEG,OAAA,CAAQC,IAAA,CAAK;AAAA,CAA2E;EAE5F,SAASC,KAAA,EAAO;IACdF,OAAA,CAAQE,KAAA,CAAM,uCAAuCA,KAAK;EAC5D;AACF;AAEA,eAAsBC,QAAQC,IAAA,
|
1
|
+
{"version":3,"names":["existsSync","createRequire","run","getLatestVersion","packageName","currentVersion","import","meta","url","version","latest","fetch","json","console","info","error","cliMain","args","process","exit","create"],"sources":["../../../src/cli/main.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,UAAA,QAAkB;AAC3B,SAASC,aAAA,QAAqB;AAC9B,SAASC,GAAA,QAAW;AAEpB,eAAeC,iBAAiBC,WAAA,EAAqB;EAInD,MAAMC,cAAA,GAHUJ,aAAA,CAAcK,MAAA,CAAAC,IAAA,CAAYC,GAAG,EAER,kBAAkB,EACpBC,OAAA;EAEnC,IAAI;IAGF,MAAMC,MAAA,IADO,OADI,MAAMC,KAAA,CAAM,8BAA8BP,WAAW,EAAE,GAC5CQ,IAAA,CAAK,GACb,WAAW,EAAEF,MAAA;IAE7BA,MAAA,IAAUL,cAAA,KAAmBK,MAAA,KAE/BG,OAAA,CAAQC,IAAA,CAAK;AAAA,2BAAyBT,cAAc,WAAMK,MAAM,EAAE,GAClEG,OAAA,CAAQC,IAAA,CAAK;AAAA,CAA2E;EAE5F,SAASC,KAAA,EAAO;IACdF,OAAA,CAAQE,KAAA,CAAM,uCAAuCA,KAAK;EAC5D;AACF;AAEA,eAAsBC,QAAQC,IAAA,GAA0B,CAAC,GAAG;EAErDd,gBAAA,CAAiB,KAAK,GAEvBH,UAAA,CAAW,gBAAgB,MAE7B,MAAME,GAAA,CAAI,CAAC,CAAC,GACZgB,OAAA,CAAQC,IAAA,CAAK,CAAC;EAGhB,MAAM;IAAEC;EAAO,IAAI,MAAM,OAAO,oBAAoB;EACpD,MAAMA,MAAA,CAAOH,IAAI;AACnB","ignoreList":[]}
|
@@ -14,9 +14,9 @@ async function getLatestVersion(packageName) {
|
|
14
14
|
}
|
15
15
|
async function cliMain() {
|
16
16
|
var args = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
17
|
-
getLatestVersion("one"), existsSync("vite.config.ts") && (await run(
|
17
|
+
getLatestVersion("one"), existsSync("vite.config.ts") && (await run({}), process.exit(0));
|
18
18
|
var { create } = await import("create-vxrn/create");
|
19
|
-
await create(
|
19
|
+
await create(args);
|
20
20
|
}
|
21
21
|
export {
|
22
22
|
cliMain
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/cli/Users/n8/one/packages/one/src/cli/main.ts"],
|
4
|
-
"mappings": "AAAA,SAASA,kBAAkB;AAC3B,SAASC,qBAAqB;AAC9B,SAASC,WAAW;AAEpB,eAAeC,iBAAiBC,aAAmB;AACjD,MAAMC,WAAUJ,cAAc,YAAYK,GAAG,GACvCC,mBAAmBF,UACnBG,cAAcD,iBAAiB,kBAAA,GAC/BE,iBAAiBD,YAAYE;AAEnC,MAAI;AACF,QAAMC,WAAW,MAAMC,MAAM,8BAA8BR,WAAAA,EAAa,GAClES,OAAO,MAAMF,SAASG,KAAI,GAC1BC,SAASF,KAAK,WAAA,EAAaE;AAEjC,IAAIA,UAAUN,mBAAmBM,WAE/BC,QAAQC,KAAK;2BAAyBR,cAAAA,WAAoBM,MAAAA,EAAQ,GAClEC,QAAQC,KAAK;CAAA;EAEjB,SAASC,OAAO;AACdF,YAAQE,MAAM,uCAAuCA,KAAAA;EACvD;AACF;AAEA,eAAsBC,UAAAA;MAAQC,OAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,
|
4
|
+
"mappings": "AAAA,SAASA,kBAAkB;AAC3B,SAASC,qBAAqB;AAC9B,SAASC,WAAW;AAEpB,eAAeC,iBAAiBC,aAAmB;AACjD,MAAMC,WAAUJ,cAAc,YAAYK,GAAG,GACvCC,mBAAmBF,UACnBG,cAAcD,iBAAiB,kBAAA,GAC/BE,iBAAiBD,YAAYE;AAEnC,MAAI;AACF,QAAMC,WAAW,MAAMC,MAAM,8BAA8BR,WAAAA,EAAa,GAClES,OAAO,MAAMF,SAASG,KAAI,GAC1BC,SAASF,KAAK,WAAA,EAAaE;AAEjC,IAAIA,UAAUN,mBAAmBM,WAE/BC,QAAQC,KAAK;2BAAyBR,cAAAA,WAAoBM,MAAAA,EAAQ,GAClEC,QAAQC,KAAK;CAAA;EAEjB,SAASC,OAAO;AACdF,YAAQE,MAAM,uCAAuCA,KAAAA;EACvD;AACF;AAEA,eAAsBC,UAAAA;MAAQC,OAAAA,UAAAA,SAAAA,KAAAA,UAAAA,CAAAA,MAAAA,SAAAA,UAAAA,CAAAA,IAA0B,CAAC;AAEvD,EAAKjB,iBAAiB,KAAA,GAElBH,WAAW,gBAAA,MAEb,MAAME,IAAI,CAAC,CAAA,GACXmB,QAAQC,KAAK,CAAA;AAGf,MAAM,EAAEC,OAAM,IAAK,MAAM,OAAO,oBAAA;AAChC,QAAMA,OAAOH,IAAAA;AACf;",
|
5
5
|
"names": ["existsSync", "createRequire", "run", "getLatestVersion", "packageName", "require", "url", "_confuseDepCheck", "packageJson", "currentVersion", "version", "response", "fetch", "data", "json", "latest", "console", "info", "error", "cliMain", "args", "process", "exit", "create"]
|
6
6
|
}
|
package/dist/esm/cli/run.js
CHANGED
package/dist/esm/cli/run.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/cli/run.ts"],
|
4
|
-
"mappings": "AAAA,SAAS,4BAA4B;AACrC,SAAS,oBAAoB;AAE7B,eAAsB,IAAI,
|
4
|
+
"mappings": "AAAA,SAAS,4BAA4B;AACrC,SAAS,oBAAoB;AAE7B,eAAsB,IAAI,MAMvB;AACD,eAAa,KAAK;AAElB,QAAM,EAAE,IAAI,IAAI,MAAM,OAAO,MAAM,GAE7B,EAAE,OAAO,KAAK,IAAI,MAAM,IAAI;AAAA,IAChC,MAAM,KAAK;AAAA,IACX,OAAO,KAAK;AAAA,IACZ,MAAM,QAAQ,IAAI;AAAA,IAClB,QAAQ;AAAA,MACN,OAAO,KAAK;AAAA,MACZ,MAAM,KAAK;AAAA,MACX,MAAM,KAAK,OAAO,CAAC,KAAK,OAAO;AAAA,IACjC;AAAA,IACA,SAAS;AAAA,MACP,QAAQ;AAAA,IACV;AAAA,EACF,CAAC,GAEK,EAAE,aAAa,IAAI,MAAM,MAAM;AAErC,UAAQ,GAAG,cAAc,MAAM;AAC7B,SAAK;AAAA,EACP,CAAC,GAED,QAAQ,GAAG,UAAU,MAAM;AACzB,SAAK;AAAA,EACP,CAAC,GAED,QAAQ,GAAG,qBAAqB,CAAC,QAAQ;AACvC,YAAQ,MAAM,KAAK,WAAW,GAAG;AAAA,EACnC,CAAC,GAED,MAAM;AACR;",
|
5
5
|
"names": []
|
6
6
|
}
|
package/dist/esm/cli/run.mjs
CHANGED
package/dist/esm/cli/run.mjs.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["virtualEntryIdNative","labelProcess","run","args","dev","start","stop","clean","root","process","cwd","server","https","host","port","entries","native","closePromise","on","err","console","error","message"],"sources":["../../../src/cli/run.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,oBAAA,QAA4B;AACrC,SAASC,YAAA,QAAoB;AAE7B,eAAsBC,IAAIC,IAAA,
|
1
|
+
{"version":3,"names":["virtualEntryIdNative","labelProcess","run","args","dev","start","stop","mode","clean","root","process","cwd","server","https","host","port","entries","native","closePromise","on","err","console","error","message"],"sources":["../../../src/cli/run.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,oBAAA,QAA4B;AACrC,SAASC,YAAA,QAAoB;AAE7B,eAAsBC,IAAIC,IAAA,EAMvB;EACDF,YAAA,CAAa,KAAK;EAElB,MAAM;MAAEG;IAAI,IAAI,MAAM,OAAO,MAAM;IAE7B;MAAEC,KAAA;MAAOC;IAAK,IAAI,MAAMF,GAAA,CAAI;MAChCG,IAAA,EAAMJ,IAAA,CAAKI,IAAA;MACXC,KAAA,EAAOL,IAAA,CAAKK,KAAA;MACZC,IAAA,EAAMC,OAAA,CAAQC,GAAA,CAAI;MAClBC,MAAA,EAAQ;QACNC,KAAA,EAAOV,IAAA,CAAKU,KAAA;QACZC,IAAA,EAAMX,IAAA,CAAKW,IAAA;QACXC,IAAA,EAAMZ,IAAA,CAAKY,IAAA,GAAO,CAACZ,IAAA,CAAKY,IAAA,GAAO;MACjC;MACAC,OAAA,EAAS;QACPC,MAAA,EAAQjB;MACV;IACF,CAAC;IAEK;MAAEkB;IAAa,IAAI,MAAMb,KAAA,CAAM;EAErCK,OAAA,CAAQS,EAAA,CAAG,cAAc,MAAM;IAC7Bb,IAAA,CAAK;EACP,CAAC,GAEDI,OAAA,CAAQS,EAAA,CAAG,UAAU,MAAM;IACzBb,IAAA,CAAK;EACP,CAAC,GAEDI,OAAA,CAAQS,EAAA,CAAG,qBAAsBC,GAAA,IAAQ;IACvCC,OAAA,CAAQC,KAAA,CAAMF,GAAA,EAAKG,OAAA,IAAWH,GAAG;EACnC,CAAC,GAED,MAAMF,YAAA;AACR","ignoreList":[]}
|