one 1.1.303 → 1.1.305
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/getRoutes.js.map +1 -1
- package/dist/cjs/getRoutes.native.js.map +1 -1
- package/dist/cjs/vite/one.js +5 -5
- package/dist/cjs/vite/one.js.map +1 -1
- package/dist/cjs/vite/one.native.js +5 -5
- package/dist/cjs/vite/one.native.js.map +2 -2
- package/dist/esm/getRoutes.js.map +1 -1
- package/dist/esm/getRoutes.mjs.map +1 -1
- package/dist/esm/getRoutes.native.js.map +1 -1
- package/dist/esm/vite/one.js +5 -5
- package/dist/esm/vite/one.js.map +1 -1
- package/dist/esm/vite/one.mjs +5 -5
- package/dist/esm/vite/one.mjs.map +1 -1
- package/dist/esm/vite/one.native.js +5 -5
- package/dist/esm/vite/one.native.js.map +2 -2
- package/package.json +9 -8
- package/src/getRoutes.ts +0 -3
- package/src/vite/one.ts +6 -6
- package/types/getRoutes.d.ts.map +1 -1
- package/dist/cjs/utils/requireResolve.js +0 -25
- package/dist/cjs/utils/requireResolve.js.map +0 -6
- package/dist/cjs/utils/requireResolve.native.js +0 -31
- package/dist/cjs/utils/requireResolve.native.js.map +0 -6
- package/dist/esm/utils/requireResolve.js +0 -9
- package/dist/esm/utils/requireResolve.js.map +0 -6
- package/dist/esm/utils/requireResolve.mjs +0 -7
- package/dist/esm/utils/requireResolve.mjs.map +0 -1
- package/dist/esm/utils/requireResolve.native.js +0 -9
- package/dist/esm/utils/requireResolve.native.js.map +0 -6
- package/src/utils/requireResolve.ts +0 -10
- package/types/utils/requireResolve.d.ts +0 -2
- package/types/utils/requireResolve.d.ts.map +0 -1
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/getRoutes.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAAqC,qBACrC,kBAMO,uBAEP,uBAA8B;
|
4
|
+
"mappings": ";;;;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gBAAA;;;EAGP;AACF;",
|
5
5
|
"names": ["validPlatforms", "Set", "getRoutes", "contextModule", "options", "directoryTree", "getDirectoryTree", "rootNode", "flattenDirectoryTreeToRoutes", "ignoreEntryPoints", "crawlAndAppendInitialRoutesAndEntryFiles", "getExactRoutes", "skipGenerated", "importMode", "process", "env", "One_ROUTER_IMPORT_MODE", "ignoreList", "ignore", "push", "preserveApiRoutes", "rootDirectory", "files", "Map", "subdirectories", "hasRoutes", "isValid", "filePath", "some", "regex", "test", "meta", "getFileMeta", "specificity", "type", "isLayout", "renderMode", "getDefaultRenderMode", "node", "loadRoute", "ignoreRequireErrors", "contextKey", "route", "dynamic", "children", "NODE_ENV", "getPageExport", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "_iterator", "extrapolateGroups", "subdirectoryParts", "split", "slice", "directory", "part", "subDirectory", "get", "set", "layout", "existing", "Error", "getLayoutNode", "fileKey", "nodes", "keys", "default", "require", "DefaultNavigator", "generated", "appendSitemapRoute", "appendNotFoundRoute", "pathToRemove", "previousLayout", "getMostSpecific", "internal_stripLoadRoute", "newRoute", "replace", "generateDynamic", "values", "routes", "routeNode", "child", "key", "parts", "removeSupportedExtensions", "filename", "length", "filenameWithoutExtensions", "startsWith", "_fullname", "renderModeFound", "match", "endsWith", "renamedRoute", "join", "platformExtension", "hasPlatformExtension", "has", "usePlatformRoutes", "platformRoutes", "platform", "RegExp", "map", "r", "getIgnoreList", "matchArrayGroupName", "add", "groups", "groupsSet", "size", "group", "trim", "path", "name", "deep", "notFound", "deepDynamicName", "matchDeepDynamicRouteName", "dynamicName", "matchDynamicName", "filter", "getNavOptions", "internal", "groupName", "matchGroupName", "childMatchingGroup", "find", "initialRouteName", "entryPoints", "loaded", "unstable_settings", "groupSpecificInitialRouteName", "initialRoute", "validInitialRoutes"]
|
6
6
|
}
|
package/dist/cjs/vite/one.js
CHANGED
@@ -26,7 +26,7 @@ __export(one_exports, {
|
|
26
26
|
one: () => one
|
27
27
|
});
|
28
28
|
module.exports = __toCommonJS(one_exports);
|
29
|
-
var import_node_events = __toESM(require("node:events"), 1), import_node_path = __toESM(require("node:path"), 1), import_vite = require("vite"), import_vite_tsconfig_paths = __toESM(require("vite-tsconfig-paths"), 1), import_vxrn = require("vxrn"), import_polyfills_server = require("../polyfills-server"), import_existsAsync = require("../utils/existsAsync"),
|
29
|
+
var import_node_events = __toESM(require("node:events"), 1), import_node_path = __toESM(require("node:path"), 1), import_vite = require("vite"), import_vite_tsconfig_paths = __toESM(require("vite-tsconfig-paths"), 1), import_vxrn = require("vxrn"), import_polyfills_server = require("../polyfills-server"), import_existsAsync = require("../utils/existsAsync"), import_resolve = require("@vxrn/resolve"), import_clientTreeShakePlugin = require("./clientTreeShakePlugin"), import_createFileSystemRouter = require("./createFileSystemRouter"), import_ensureTsConfig = require("./ensureTsConfig"), import_fixDependenciesPlugin = require("./fixDependenciesPlugin"), import_generateTypesForRoutes = require("./generateTypesForRoutes"), import_loadEnv = require("./loadEnv"), import_virtualEntryPlugin = require("./virtualEntryPlugin"), import_vitePluginSsrCss = require("./vitePluginSsrCss");
|
30
30
|
import_node_events.default.setMaxListeners(1e3);
|
31
31
|
globalThis.__vxrnEnableNativeEnv = !0;
|
32
32
|
function one(options = {}) {
|
@@ -69,12 +69,12 @@ function one(options = {}) {
|
|
69
69
|
return {
|
70
70
|
resolve: {
|
71
71
|
alias: {
|
72
|
-
tslib: (0,
|
72
|
+
tslib: (0, import_resolve.resolvePath)("@vxrn/tslib-lite")
|
73
73
|
}
|
74
74
|
// [
|
75
75
|
// {
|
76
76
|
// find: /tslib/,
|
77
|
-
// replacement:
|
77
|
+
// replacement: resolvePath('@vxrn/tslib-lite'),
|
78
78
|
// },
|
79
79
|
// // not working but would save ~30Kb stat
|
80
80
|
// // {
|
@@ -186,8 +186,8 @@ function one(options = {}) {
|
|
186
186
|
const sharedNativeConfig = {
|
187
187
|
resolve: {
|
188
188
|
alias: {
|
189
|
-
react: (0,
|
190
|
-
"react-dom": (0,
|
189
|
+
react: (0, import_resolve.resolvePath)("one/react-18"),
|
190
|
+
"react-dom": (0, import_resolve.resolvePath)("one/react-dom-18")
|
191
191
|
}
|
192
192
|
}
|
193
193
|
};
|
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,mBAAuC,kCACvC,cAAoF,iBACpF,6BAA0B,4CAC1B,cAAoE,iBACpE,0BAAO,gCACP,qBAA4B,iCAC5B,
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAAmB,oCACnB,mBAAuC,kCACvC,cAAoF,iBACpF,6BAA0B,4CAC1B,cAAoE,iBACpE,0BAAO,gCACP,qBAA4B,iCAC5B,iBAA4B,0BAC5B,+BAAsC,oCACtC,gCAAuC,qCACvC,wBAA+B,6BAC/B,+BAAsC,oCACtC,gCAAuC,qCACvC,iBAAwB,sBAExB,4BAAmD,iCACnD,0BAAiC;AAEjC,mBAAAA,QAAO,gBAAgB,GAAK;AAG5B,WAAW,wBAAwB;AAE5B,SAAS,IAAI,UAA6B,CAAC,GAAiB;AACjE,eAAa,aAER,wBAAQ,QAAQ,IAAI,CAAC,GAGtB,QAAQ,QAAQ,mBAAmB,UAChC,sCAAe,GAGtB,WAAW,uBAA0B;AAGrC,QAAM,EAAE,aAAa,QAAI,6BAAgB,OAAO,GAC1C,cAAc,aAAa,SAC3B,kBAAkB,IAAI;AAAA;AAAA;AAAA,IAG1B,GAAG,YAAY,IAAI,CAAC,OAAO,GAAG,QAAQ,uBAAuB,MAAM,CAAC,EAAE,KAAK,GAAG,CAAC;AAAA,EACjF;AAEA,MAAI,sBAAqC;AAEzC,QAAM,kBAAc,8BAAiB,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CAAC,wCAAc;AAAA,IAC1B,CAAC;AAAA,EACH;AACF;AAEA,IAAI,aAAuC;AAE3C,eAAe,kBAAkB,SAA6B;AAC5D,MAAI,CAAC,YAAY;AACf,QAAI,CAAC,QAAS,OAAM,IAAI,MAAM,yCAAyC;AACvE,UAAM,mBAAmB,OAAO;AAAA,EAClC;AACA,MAAI,CAAC;AACH,UAAM,IAAI,MAAM,4BAA4B;AAE9C,SAAO;AACT;AAEA,eAAsB,mBAAmB,SAA4B;AAKnE,MAAI,CAJU,UAAM,gCAAmB;AAAA,IACrC,MAAM;AAAA,IACN;AAAA,EACF,CAAC;AAEC,UAAM,IAAI,MAAM,sBAAsB,QAAQ,IAAI,CAAC,kCAAkC;AAEvF,QAAM,eAAe,kBAAkB;AACvC,MAAI,CAAC;AACH,UAAM,IAAI,MAAM,yCAAyC;AAE3D,SAAO;AACT;",
|
5
5
|
"names": ["events", "tsconfigPaths", "path"]
|
6
6
|
}
|
@@ -27,7 +27,7 @@ __export(one_exports, {
|
|
27
27
|
one: () => one
|
28
28
|
});
|
29
29
|
module.exports = __toCommonJS(one_exports);
|
30
|
-
var import_node_events = __toESM(require("node:events"), 1), import_node_path = __toESM(require("node:path"), 1), import_vite = require("vite"), import_vite_tsconfig_paths = __toESM(require("vite-tsconfig-paths"), 1), import_vxrn = require("vxrn"), import_polyfills_server = require("../polyfills-server"), import_existsAsync = require("../utils/existsAsync"),
|
30
|
+
var import_node_events = __toESM(require("node:events"), 1), import_node_path = __toESM(require("node:path"), 1), import_vite = require("vite"), import_vite_tsconfig_paths = __toESM(require("vite-tsconfig-paths"), 1), import_vxrn = require("vxrn"), import_polyfills_server = require("../polyfills-server"), import_existsAsync = require("../utils/existsAsync"), import_resolve = require("@vxrn/resolve"), import_clientTreeShakePlugin = require("./clientTreeShakePlugin"), import_createFileSystemRouter = require("./createFileSystemRouter"), import_ensureTsConfig = require("./ensureTsConfig"), import_fixDependenciesPlugin = require("./fixDependenciesPlugin"), import_generateTypesForRoutes = require("./generateTypesForRoutes"), import_loadEnv = require("./loadEnv"), import_virtualEntryPlugin = require("./virtualEntryPlugin"), import_vitePluginSsrCss = require("./vitePluginSsrCss");
|
31
31
|
import_node_events.default.setMaxListeners(1e3);
|
32
32
|
globalThis.__vxrnEnableNativeEnv = !0;
|
33
33
|
function one() {
|
@@ -68,7 +68,7 @@ function one() {
|
|
68
68
|
return {
|
69
69
|
resolve: {
|
70
70
|
alias: {
|
71
|
-
tslib: (0,
|
71
|
+
tslib: (0, import_resolve.resolvePath)("@vxrn/tslib-lite")
|
72
72
|
}
|
73
73
|
}
|
74
74
|
};
|
@@ -77,7 +77,7 @@ function one() {
|
|
77
77
|
// [
|
78
78
|
// {
|
79
79
|
// find: /tslib/,
|
80
|
-
// replacement:
|
80
|
+
// replacement: resolvePath('@vxrn/tslib-lite'),
|
81
81
|
// },
|
82
82
|
// // not working but would save ~30Kb stat
|
83
83
|
// // {
|
@@ -192,8 +192,8 @@ function one() {
|
|
192
192
|
var sharedNativeConfig = {
|
193
193
|
resolve: {
|
194
194
|
alias: {
|
195
|
-
react: (0,
|
196
|
-
"react-dom": (0,
|
195
|
+
react: (0, import_resolve.resolvePath)("one/react-18"),
|
196
|
+
"react-dom": (0, import_resolve.resolvePath)("one/react-dom-18")
|
197
197
|
}
|
198
198
|
}
|
199
199
|
};
|
@@ -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,mBAAuC,kCACvC,cAAoF,iBACpF,6BAA0B,4CAC1B,cAAoE,iBACpE,0BAAO,gCACP,qBAA4B,iCAC5B,
|
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", "
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;yBAAmB,oCACnB,mBAAuC,kCACvC,cAAoF,iBACpF,6BAA0B,4CAC1B,cAAoE,iBACpE,0BAAO,gCACP,qBAA4B,iCAC5B,iBAA4B,0BAC5B,+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,IAAIC,MACF;MACEC,MAAM;MACNjB,OAAOkB,gBAAc;YACCvB,kBAKlBuB,yBALIC,eAAcxB,mB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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
|
+
"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", "resolvePath", "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
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../src/getRoutes.ts"],
|
4
|
-
"mappings": "AAAA,SAAS,4BAA4B;AACrC;AAAA,EACE;A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C,UAAU,CAAC,MAAM,SAAS,EAClC,IAAI,CAAC,UAAU,IAAI,MAAM,KAAK,GAAG,EACjC,KAAK,IAAI;AAEZ,cAAI,YACI,IAAI;AAAA,UACR,UAAU,KAAK,UAAU,kCAAkC,gBAAgB,iBAAiB,SAAS,0BAA0B,kBAAkB;AAAA,QACnJ,IAEI,IAAI;AAAA,UACR,UAAU,KAAK,UAAU,kCAAkC,gBAAgB,yBAAyB,kBAAkB;AAAA,QACxH;AAAA,MACF;AAGA,WAAK,mBAAmB,kBACxB,YAAY,KAAK,aAAa,UAAU;AAAA,IAC1C;AAEA,eAAW,SAAS,KAAK;AACvB,+CAAyC,OAAO,SAAS,WAAW;AAAA,EAExE;AACF;",
|
5
5
|
"names": []
|
6
6
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["getDefaultRenderMode","matchArrayGroupName","matchDeepDynamicRouteName","matchDynamicName","matchGroupName","removeSupportedExtensions","getPageExport","validPlatforms","Set","getRoutes","contextModule","options","directoryTree","getDirectoryTree","rootNode","flattenDirectoryTreeToRoutes","ignoreEntryPoints","crawlAndAppendInitialRoutesAndEntryFiles","getExactRoutes","skipGenerated","importMode","process","env","One_ROUTER_IMPORT_MODE","ignoreList","ignore","push","preserveApiRoutes","rootDirectory","files","Map","subdirectories","hasRoutes","isValid","filePath","keys","some","regex","test","meta","getFileMeta","specificity","type","isLayout","renderMode","node","loadRoute","ignoreRequireErrors","contextKey","route","dynamic","children","NODE_ENV","extrapolateGroups","subdirectoryParts","split","slice","directory","part","subDirectory","get","set","layout","existing","Error","getLayoutNode","fileKey","nodes","default","require","DefaultNavigator","generated","appendSitemapRoute","appendNotFoundRoute","pathToRemove","previousLayout","getMostSpecific","internal_stripLoadRoute","newRoute","replace","generateDynamic","routes","values","routeNode","child","key","parts","filename","length","filenameWithoutExtensions","startsWith","_fullname","renderModeFound","match","endsWith","renamedRoute","join","platformExtension","hasPlatformExtension","has","usePlatformRoutes","platformRoutes","platform","RegExp","map","r","getIgnoreList","add","groups","size","group","trim","path","name","deep","notFound","deepDynamicName","dynamicName","filter","getNavOptions","internal","groupName","initialRouteName","find","entryPoints","loaded","unstable_settings","initialRoute","validInitialRoutes"],"sources":["../../src/getRoutes.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,oBAAA,QAA4B;AACrC,SACEC,mBAAA,EACAC,yBAAA,EACAC,gBAAA,EACAC,cAAA,EACAC,yBAAA,QACK;AAEP,SAASC,aAAA,QAAqB;AAyB9B,MAAMC,cAAA,GAAiB,mBAAIC,GAAA,CAAI,CAAC,WAAW,OAAO,UAAU,KAAK,CAAC;AAc3D,SAASC,UACdC,aAAA,EACAC,OAAA,GAAmB,CAAC,GACF;EAClB,MAAMC,aAAA,GAAgBC,gBAAA,CAAiBH,aAAA,EAAeC,OAAO;EAG7D,IAAI,CAACC,aAAA,EACH,OAAO;EAGT,MAAME,QAAA,GAAWC,4BAAA,CAA6BH,aAAA,EAAeD,OAAO;EAEpE,OAAKA,OAAA,CAAQK,iBAAA,IACXC,wCAAA,CAAyCH,QAAA,EAAUH,OAAO,GAGrDG,QAAA;AACT;AAEO,SAASI,eACdR,aAAA,EACAC,OAAA,GAAmB,CAAC,GACF;EAClB,OAAOF,SAAA,CAAUC,aAAA,EAAe;IAC9B,GAAGC,OAAA;IACHQ,aAAA,EAAe;EACjB,CAAC;AACH;AAKA,SAASN,iBAAiBH,aAAA,EAAiCC,OAAA,EAAkB;EAC3E,MAAMS,UAAA,GAAaT,OAAA,CAAQS,UAAA,IAAcC,OAAA,CAAQC,GAAA,CAAIC,sBAAA;IAE/CC,UAAA,GAAuB,CAAC,uBAAuB;EAEjDb,OAAA,CAAQc,MAAA,IACVD,UAAA,CAAWE,IAAA,CAAK,GAAGf,OAAA,CAAQc,MAAM,GAE9Bd,OAAA,CAAQgB,iBAAA,IACXH,UAAA,CAAWE,IAAA,CAAK,iBAAiB;EAGnC,MAAME,aAAA,GAA+B;IACnCC,KAAA,EAAO,mBAAIC,GAAA,C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AMC,kBAAA,GAAqBnF,IAAA,CAAKM,QAAA,CAC7BmE,MAAA,CAAQlC,KAAA,IAAU,CAACA,KAAA,CAAMb,SAAS,EAClCiC,GAAA,CAAKpB,KAAA,IAAU,IAAIA,KAAA,CAAMnC,KAAK,GAAG,EACjC+C,IAAA,CAAK,IAAI;QAEZ,MAAIyB,SAAA,GACI,IAAIzD,KAAA,CACR,UAAUnB,IAAA,CAAKG,UAAU,kCAAkC0E,gBAAgB,iBAAiBD,SAAS,0BAA0BO,kBAAkB,EACnJ,IAEI,IAAIhE,KAAA,CACR,UAAUnB,IAAA,CAAKG,UAAU,kCAAkC0E,gBAAgB,yBAAyBM,kBAAkB,EACxH;MACF;MAGAnF,IAAA,CAAK6E,gBAAA,GAAmBA,gBAAA,EACxBE,WAAA,CAAYlG,IAAA,CAAKqG,YAAA,CAAa/E,UAAU;IAC1C;IAEA,WAAWoC,KAAA,IAASvC,IAAA,CAAKM,QAAA,EACvBlC,wCAAA,CAAyCmE,KAAA,EAAOzE,OAAA,EAASiH,WAAW;EAExE;AACF","ignoreList":[]}
|
1
|
+
{"version":3,"names":["getDefaultRenderMode","matchArrayGroupName","matchDeepDynamicRouteName","matchDynamicName","matchGroupName","removeSupportedExtensions","getPageExport","validPlatforms","Set","getRoutes","contextModule","options","directoryTree","getDirectoryTree","rootNode","flattenDirectoryTreeToRoutes","ignoreEntryPoints","crawlAndAppendInitialRoutesAndEntryFiles","getExactRoutes","skipGenerated","importMode","process","env","One_ROUTER_IMPORT_MODE","ignoreList","ignore","push","preserveApiRoutes","rootDirectory","files","Map","subdirectories","hasRoutes","isValid","filePath","keys","some","regex","test","meta","getFileMeta","specificity","type","isLayout","renderMode","node","loadRoute","ignoreRequireErrors","contextKey","route","dynamic","children","NODE_ENV","extrapolateGroups","subdirectoryParts","split","slice","directory","part","subDirectory","get","set","layout","existing","Error","getLayoutNode","fileKey","nodes","default","require","DefaultNavigator","generated","appendSitemapRoute","appendNotFoundRoute","pathToRemove","previousLayout","getMostSpecific","internal_stripLoadRoute","newRoute","replace","generateDynamic","routes","values","routeNode","child","key","parts","filename","length","filenameWithoutExtensions","startsWith","_fullname","renderModeFound","match","endsWith","renamedRoute","join","platformExtension","hasPlatformExtension","has","usePlatformRoutes","platformRoutes","platform","RegExp","map","r","getIgnoreList","add","groups","size","group","trim","path","name","deep","notFound","deepDynamicName","dynamicName","filter","getNavOptions","internal","groupName","initialRouteName","find","entryPoints","loaded","unstable_settings","initialRoute","validInitialRoutes"],"sources":["../../src/getRoutes.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,oBAAA,QAA4B;AACrC,SACEC,mBAAA,EACAC,yBAAA,EACAC,gBAAA,EACAC,cAAA,EACAC,yBAAA,QACK;AAEP,SAASC,aAAA,QAAqB;AAwB9B,MAAMC,cAAA,GAAiB,mBAAIC,GAAA,CAAI,CAAC,WAAW,OAAO,UAAU,KAAK,CAAC;AAc3D,SAASC,UACdC,aAAA,EACAC,OAAA,GAAmB,CAAC,GACF;EAClB,MAAMC,aAAA,GAAgBC,gBAAA,CAAiBH,aAAA,EAAeC,OAAO;EAG7D,IAAI,CAACC,aAAA,EACH,OAAO;EAGT,MAAME,QAAA,GAAWC,4BAAA,CAA6BH,aAAA,EAAeD,OAAO;EAEpE,OAAKA,OAAA,CAAQK,iBAAA,IACXC,wCAAA,CAAyCH,QAAA,EAAUH,OAAO,GAGrDG,QAAA;AACT;AAEO,SAASI,eACdR,aAAA,EACAC,OAAA,GAAmB,CAAC,GACF;EAClB,OAAOF,SAAA,CAAUC,aAAA,EAAe;IAC9B,GAAGC,OAAA;IACHQ,aAAA,EAAe;EACjB,CAAC;AACH;AAKA,SAASN,iBAAiBH,aAAA,EAAiCC,OAAA,EAAkB;EAC3E,MAAMS,UAAA,GAAaT,OAAA,CAAQS,UAAA,IAAcC,OAAA,CAAQC,GAAA,CAAIC,sBAAA;IAE/CC,UAAA,GAAuB,CAAC,uBAAuB;EAEjDb,OAAA,CAAQc,MAAA,IACVD,UAAA,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AA,IAAA,iBAAA;;AAAL,eAAK,YAAeH,KAAKM,SAAQ,OAAA,QAAA,EAAA,GAA5B,OAAA,EAAA,6BAAA,QAAA,UAAA,KAAA,GAAA,OAAA,4BAAA,IAA8B;AAA9B,YAAMsC,QAAN,MAAA;AACHvE,iDAAyCuE,OAAO7E,SAASuH,WAAAA;MAC3D;;AAFK,0BAAA,IAAA,iBAAA;;;SAAA,6BAAA,UAAA,UAAA,QAAA,UAAA,OAAA;;YAAA;gBAAA;;;EAGP;AACF;",
|
5
5
|
"names": ["getDefaultRenderMode", "matchArrayGroupName", "matchDeepDynamicRouteName", "matchDynamicName", "matchGroupName", "removeSupportedExtensions", "getPageExport", "validPlatforms", "Set", "getRoutes", "contextModule", "options", "directoryTree", "getDirectoryTree", "rootNode", "flattenDirectoryTreeToRoutes", "ignoreEntryPoints", "crawlAndAppendInitialRoutesAndEntryFiles", "getExactRoutes", "skipGenerated", "importMode", "process", "env", "One_ROUTER_IMPORT_MODE", "ignoreList", "ignore", "push", "preserveApiRoutes", "rootDirectory", "files", "Map", "subdirectories", "hasRoutes", "isValid", "filePath", "some", "regex", "test", "meta", "getFileMeta", "specificity", "type", "isLayout", "renderMode", "node", "loadRoute", "ignoreRequireErrors", "contextKey", "route", "dynamic", "children", "NODE_ENV", "_iteratorNormalCompletion", "_didIteratorError", "_iteratorError", "_iterator", "extrapolateGroups", "subdirectoryParts", "split", "slice", "directory", "part", "subDirectory", "get", "set", "layout", "existing", "Error", "getLayoutNode", "fileKey", "nodes", "keys", "default", "require", "DefaultNavigator", "generated", "appendSitemapRoute", "appendNotFoundRoute", "pathToRemove", "previousLayout", "getMostSpecific", "internal_stripLoadRoute", "newRoute", "replace", "generateDynamic", "values", "routes", "routeNode", "child", "key", "parts", "filename", "length", "filenameWithoutExtensions", "startsWith", "_fullname", "renderModeFound", "match", "endsWith", "renamedRoute", "join", "platformExtension", "hasPlatformExtension", "has", "usePlatformRoutes", "platformRoutes", "platform", "RegExp", "map", "r", "getIgnoreList", "add", "groups", "groupsSet", "size", "group", "trim", "path", "name", "deep", "notFound", "deepDynamicName", "dynamicName", "filter", "getNavOptions", "internal", "groupName", "childMatchingGroup", "find", "initialRouteName", "entryPoints", "loaded", "unstable_settings", "groupSpecificInitialRouteName", "initialRoute", "validInitialRoutes"]
|
6
6
|
}
|
package/dist/esm/vite/one.js
CHANGED
@@ -5,7 +5,7 @@ import tsconfigPaths from "vite-tsconfig-paths";
|
|
5
5
|
import { getOptimizeDeps, getOptionsFilled, isWebEnvironment } from "vxrn";
|
6
6
|
import "../polyfills-server";
|
7
7
|
import { existsAsync } from "../utils/existsAsync";
|
8
|
-
import {
|
8
|
+
import { resolvePath } from "@vxrn/resolve";
|
9
9
|
import { clientTreeShakePlugin } from "./clientTreeShakePlugin";
|
10
10
|
import { createFileSystemRouter } from "./createFileSystemRouter";
|
11
11
|
import { ensureTSConfig } from "./ensureTsConfig";
|
@@ -56,12 +56,12 @@ function one(options = {}) {
|
|
56
56
|
return {
|
57
57
|
resolve: {
|
58
58
|
alias: {
|
59
|
-
tslib:
|
59
|
+
tslib: resolvePath("@vxrn/tslib-lite")
|
60
60
|
}
|
61
61
|
// [
|
62
62
|
// {
|
63
63
|
// find: /tslib/,
|
64
|
-
// replacement:
|
64
|
+
// replacement: resolvePath('@vxrn/tslib-lite'),
|
65
65
|
// },
|
66
66
|
// // not working but would save ~30Kb stat
|
67
67
|
// // {
|
@@ -173,8 +173,8 @@ function one(options = {}) {
|
|
173
173
|
const sharedNativeConfig = {
|
174
174
|
resolve: {
|
175
175
|
alias: {
|
176
|
-
react:
|
177
|
-
"react-dom":
|
176
|
+
react: resolvePath("one/react-18"),
|
177
|
+
"react-dom": resolvePath("one/react-dom-18")
|
178
178
|
}
|
179
179
|
}
|
180
180
|
};
|
package/dist/esm/vite/one.js.map
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"version": 3,
|
3
3
|
"sources": ["../../../src/vite/one.ts"],
|
4
|
-
"mappings":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AAO;AACT;AAEA,eAAsB,mBAAmB,SAA4B;AAKnE,MAAI,CAJU,MAAM,mBAAmB;AAAA,IACrC,MAAM;AAAA,IACN;AAAA,EACF,CAAC;AAEC,UAAM,IAAI,MAAM,sBAAsB,QAAQ,IAAI,CAAC,kCAAkC;AAEvF,QAAM,eAAe,kBAAkB;AACvC,MAAI,CAAC;AACH,UAAM,IAAI,MAAM,yCAAyC;AAE3D,SAAO;AACT;",
|
5
5
|
"names": []
|
6
6
|
}
|
package/dist/esm/vite/one.mjs
CHANGED
@@ -5,7 +5,7 @@ import tsconfigPaths from "vite-tsconfig-paths";
|
|
5
5
|
import { getOptimizeDeps, getOptionsFilled, isWebEnvironment } from "vxrn";
|
6
6
|
import "../polyfills-server.mjs";
|
7
7
|
import { existsAsync } from "../utils/existsAsync.mjs";
|
8
|
-
import {
|
8
|
+
import { resolvePath } from "@vxrn/resolve";
|
9
9
|
import { clientTreeShakePlugin } from "./clientTreeShakePlugin.mjs";
|
10
10
|
import { createFileSystemRouter } from "./createFileSystemRouter.mjs";
|
11
11
|
import { ensureTSConfig } from "./ensureTsConfig.mjs";
|
@@ -50,12 +50,12 @@ function one(options = {}) {
|
|
50
50
|
return {
|
51
51
|
resolve: {
|
52
52
|
alias: {
|
53
|
-
tslib:
|
53
|
+
tslib: resolvePath("@vxrn/tslib-lite")
|
54
54
|
}
|
55
55
|
// [
|
56
56
|
// {
|
57
57
|
// find: /tslib/,
|
58
|
-
// replacement:
|
58
|
+
// replacement: resolvePath('@vxrn/tslib-lite'),
|
59
59
|
// },
|
60
60
|
// // not working but would save ~30Kb stat
|
61
61
|
// // {
|
@@ -158,8 +158,8 @@ function one(options = {}) {
|
|
158
158
|
const sharedNativeConfig = {
|
159
159
|
resolve: {
|
160
160
|
alias: {
|
161
|
-
react:
|
162
|
-
"react-dom":
|
161
|
+
react: resolvePath("one/react-18"),
|
162
|
+
"react-dom": resolvePath("one/react-dom-18")
|
163
163
|
}
|
164
164
|
}
|
165
165
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["events","path","dirname","resolve","loadConfigFromFile","tsconfigPaths","getOptimizeDeps","getOptionsFilled","isWebEnvironment","existsAsync","
|
1
|
+
{"version":3,"names":["events","path","dirname","resolve","loadConfigFromFile","tsconfigPaths","getOptimizeDeps","getOptionsFilled","isWebEnvironment","existsAsync","resolvePath","clientTreeShakePlugin","createFileSystemRouter","ensureTSConfig","fixDependenciesPlugin","generateTypesForRoutes","loadEnv","createVirtualEntry","virtualEntryId","vitePluginSsrCss","setMaxListeners","globalThis","__vxrnEnableNativeEnv","one","options","oneOptions","process","cwd","config","__vxrnPluginConfig__","optimizeDeps","optimizeIds","include","optimizeIdRegex","RegExp","map","id","replace","join","tsConfigPathsPlugin","vxrnOptions","devAndProdPlugins","Proxy","name","configIncoming","pathsConfig","tsConfigPaths","plugins","flat","some","p","configResolved","resolveId","get","target","key","thisArg","Reflect","enforce","alias","tslib","define","web","defaultRenderMode","JSON","stringify","setupFile","env","NODE_ENV","server","url","environments","client","ssr","zero","TESTING","REPLICACHE_VERSION","ZERO_VERSION","hotUpdate","modules","m","relative","root","split","sep","acceptedHmrExports","Set","__vxrnAddNativePlugins","__vxrnAddWebPluginsProd","deps","app","sharedNativeConfig","react","ios","android","applyToEnvironment","environment","importer","test","absolutePath","webPath","directoryPath","err","console","warn","entries","getUserOneOptions","command","Error","loadUserOneOptions","mode","foundOptions"],"sources":["../../../src/vite/one.ts"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,MAAA,MAAY;AACnB,OAAOC,IAAA,IAAQC,OAAA,EAASC,OAAA,QAAe;AACvC,SAA0DC,kBAAA,QAA0B;AACpF,OAAOC,aAAA,MAAmB;AAC1B,SAASC,eAAA,EAAiBC,gBAAA,EAAkBC,gBAAA,QAAwB;AACpE,OAAO;AACP,SAASC,WAAA,QAAmB;AAC5B,SAASC,WAAA,QAAmB;AAC5B,SAASC,qBAAA,QAA6B;AACtC,SAASC,sBAAA,QAA8B;AACvC,S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,OAAA,EAAS,CAACvF,cAAc;EAC1B,CAAC,EACH;AACF;AAEA,IAAIO,UAAA,GAAuC;AAE3C,eAAeiF,kBAAkBC,OAAA,EAA6B;EAC5D,IAAI,CAAClF,UAAA,EAAY;IACf,IAAI,CAACkF,OAAA,EAAS,MAAM,IAAIC,KAAA,CAAM,yCAAyC;IACvE,MAAMC,kBAAA,CAAmBF,OAAO;EAClC;EACA,IAAI,CAAClF,UAAA,EACH,MAAM,IAAImF,KAAA,CAAM,4BAA4B;EAE9C,OAAOnF,UAAA;AACT;AAEA,eAAsBoF,mBAAmBF,OAAA,EAA4B;EAKnE,IAAI,EAJU,MAAMvG,kBAAA,CAAmB;IACrC0G,IAAA,EAAM;IACNH;EACF,CAAC,IAEC,MAAM,IAAIC,KAAA,CAAM,sBAAsBlF,OAAA,CAAQC,GAAA,CAAI,CAAC,kCAAkC;EAEvF,MAAMoF,YAAA,GAAeL,iBAAA,CAAkB;EACvC,IAAI,CAACK,YAAA,EACH,MAAM,IAAIH,KAAA,CAAM,yCAAyC;EAE3D,OAAOG,YAAA;AACT","ignoreList":[]}
|
@@ -5,7 +5,7 @@ import tsconfigPaths from "vite-tsconfig-paths";
|
|
5
5
|
import { getOptimizeDeps, getOptionsFilled, isWebEnvironment } from "vxrn";
|
6
6
|
import "../polyfills-server";
|
7
7
|
import { existsAsync } from "../utils/existsAsync";
|
8
|
-
import {
|
8
|
+
import { resolvePath } from "@vxrn/resolve";
|
9
9
|
import { clientTreeShakePlugin } from "./clientTreeShakePlugin";
|
10
10
|
import { createFileSystemRouter } from "./createFileSystemRouter";
|
11
11
|
import { ensureTSConfig } from "./ensureTsConfig";
|
@@ -54,7 +54,7 @@ function one() {
|
|
54
54
|
return {
|
55
55
|
resolve: {
|
56
56
|
alias: {
|
57
|
-
tslib:
|
57
|
+
tslib: resolvePath("@vxrn/tslib-lite")
|
58
58
|
}
|
59
59
|
}
|
60
60
|
};
|
@@ -63,7 +63,7 @@ function one() {
|
|
63
63
|
// [
|
64
64
|
// {
|
65
65
|
// find: /tslib/,
|
66
|
-
// replacement:
|
66
|
+
// replacement: resolvePath('@vxrn/tslib-lite'),
|
67
67
|
// },
|
68
68
|
// // not working but would save ~30Kb stat
|
69
69
|
// // {
|
@@ -178,8 +178,8 @@ function one() {
|
|
178
178
|
var sharedNativeConfig = {
|
179
179
|
resolve: {
|
180
180
|
alias: {
|
181
|
-
react:
|
182
|
-
"react-dom":
|
181
|
+
react: resolvePath("one/react-18"),
|
182
|
+
"react-dom": resolvePath("one/react-dom-18")
|
183
183
|
}
|
184
184
|
}
|
185
185
|
};
|
@@ -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,OAAOA,YAAY;AACnB,OAAOC,QAAQC,SAASC,eAAe;AACvC,SAA0DC,0BAA0B;AACpF,OAAOC,mBAAmB;AAC1B,SAASC,iBAAiBC,kBAAkBC,wBAAwB;AACpE,OAAO;AACP,SAASC,mBAAmB;AAC5B,SAASC,
|
5
|
-
"names": ["events", "path", "dirname", "resolve", "loadConfigFromFile", "tsconfigPaths", "getOptimizeDeps", "getOptionsFilled", "isWebEnvironment", "existsAsync", "
|
4
|
+
"mappings": "AAAA,OAAOA,YAAY;AACnB,OAAOC,QAAQC,SAASC,eAAe;AACvC,SAA0DC,0BAA0B;AACpF,OAAOC,mBAAmB;AAC1B,SAASC,iBAAiBC,kBAAkBC,wBAAwB;AACpE,OAAO;AACP,SAASC,mBAAmB;AAC5B,SAASC,mBAAmB;AAC5B,SAASC,6BAA6B;AACtC,SAASC,8BAA8B;AACvC,SAASC,sBAAsB;AAC/B,SAASC,6BAA6B;AACtC,SAASC,8BAA8B;AACvC,SAASC,eAAe;AAExB,SAASC,oBAAoBC,sBAAsB;AACnD,SAASC,wBAAwB;AAEjCnB,OAAOoB,gBAAgB,GAAA;AAGvBC,WAAWC,wBAAwB;AAE5B,S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gBF,eAAe;AACrC,gBAAI,MAAM5F,YAAY8F,aAAAA;AACpB,qBAAOA;AAET,gBAAI,MAAM9F,YAAY6F,OAAAA;AACpB,qBAAOA;UAEX,SAASE,KAAK;AACZC,oBAAQC,KAAK,uBAAuBF,GAAAA;UACtC;QACF;MACF;IACF;IAEArF,iBAAiB;MACfwF,SAAS;QAACzF;;IACZ,CAAA;;AAEJ;AAEA,IAAIO,aAAuC;AAE3C,eAAemF,kBAAkBC,SAA2B;AAC1D,MAAI,CAACpF,YAAY;AACf,QAAI,CAACoF,QAAS,OAAM,IAAIC,MAAM,yCAAyC;AACvE,UAAMC,mBAAmBF,OAAAA;EAC3B;AACA,MAAI,CAACpF;AACH,UAAM,IAAIqF,MAAM,4BAA4B;AAE9C,SAAOrF;AACT;AAEA,eAAsBsF,mBAAmBF,SAA0B;AACjE,MAAMG,QAAQ,MAAM5G,mBAAmB;IACrC6G,MAAM;IACNJ;EACF,CAAA;AACA,MAAI,CAACG;AACH,UAAM,IAAIF,MAAM,sBAAsBpF,QAAQC,IAAG,CAAA,kCAAoC;AAEvF,MAAMuF,eAAeN,kBAAAA;AACrB,MAAI,CAACM;AACH,UAAM,IAAIJ,MAAM,yCAAyC;AAE3D,SAAOI;AACT;",
|
5
|
+
"names": ["events", "path", "dirname", "resolve", "loadConfigFromFile", "tsconfigPaths", "getOptimizeDeps", "getOptionsFilled", "isWebEnvironment", "existsAsync", "resolvePath", "clientTreeShakePlugin", "createFileSystemRouter", "ensureTSConfig", "fixDependenciesPlugin", "generateTypesForRoutes", "loadEnv", "createVirtualEntry", "virtualEntryId", "vitePluginSsrCss", "setMaxListeners", "globalThis", "__vxrnEnableNativeEnv", "one", "options", "oneOptions", "process", "cwd", "config", "optimizeDeps", "optimizeIds", "include", "optimizeIdRegex", "RegExp", "map", "id", "replace", "join", "tsConfigPathsPlugin", "vxrnOptions", "devAndProdPlugins", "Proxy", "name", "configIncoming", "pathsConfig", "tsConfigPaths", "plugins", "flat", "some", "p", "configResolved", "resolveId", "get", "target", "key", "thisArg", "Reflect", "enforce", "alias", "tslib", "define", "web", "defaultRenderMode", "JSON", "stringify", "setupFile", "env", "NODE_ENV", "server", "url", "environments", "client", "ssr", "zero", "TESTING", "REPLICACHE_VERSION", "ZERO_VERSION", "hotUpdate", "modules", "m", "relativePath", "relative", "root", "rootDir", "split", "sep", "acceptedHmrExports", "Set", "__vxrnAddNativePlugins", "__vxrnAddWebPluginsProd", "deps", "app", "sharedNativeConfig", "react", "ios", "android", "applyToEnvironment", "environment", "importer", "shouldOptimize", "test", "absolutePath", "webPath", "directoryPath", "err", "console", "warn", "entries", "getUserOneOptions", "command", "Error", "loadUserOneOptions", "found", "mode", "foundOptions"]
|
6
6
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "one",
|
3
|
-
"version": "1.1.
|
3
|
+
"version": "1.1.305",
|
4
4
|
"source": "src/index.ts",
|
5
5
|
"types": "./types/index.d.ts",
|
6
6
|
"sideEffects": false,
|
@@ -89,13 +89,14 @@
|
|
89
89
|
"@react-navigation/native-stack": "~6.9.13",
|
90
90
|
"@react-navigation/routers": "~6.1.9",
|
91
91
|
"@ungap/structured-clone": "^1.2.0",
|
92
|
-
"@vxrn/
|
93
|
-
"@vxrn/
|
94
|
-
"@vxrn/
|
92
|
+
"@vxrn/resolve": "1.1.305",
|
93
|
+
"@vxrn/tslib-lite": "1.1.305",
|
94
|
+
"@vxrn/universal-color-scheme": "1.1.305",
|
95
|
+
"@vxrn/use-isomorphic-layout-effect": "1.1.305",
|
95
96
|
"babel-dead-code-elimination": "^1.0.6",
|
96
97
|
"citty": "^0.1.6",
|
97
98
|
"core-js": "^3.38.1",
|
98
|
-
"create-vxrn": "1.1.
|
99
|
+
"create-vxrn": "1.1.305",
|
99
100
|
"dotenv": "^16.4.5",
|
100
101
|
"escape-string-regexp": "^5.0.0",
|
101
102
|
"expo-linking": "~6.3.1",
|
@@ -112,13 +113,13 @@
|
|
112
113
|
"react": "^18.2.0 || ^19.0.0",
|
113
114
|
"react-dom": "^18.3.1",
|
114
115
|
"react-native-gesture-handler": "^2.18.1",
|
115
|
-
"react-native-safe-area-context": "
|
116
|
+
"react-native-safe-area-context": "4.10.5",
|
116
117
|
"react-native-screens": "3.31.1",
|
117
118
|
"rollup-plugin-node-externals": "^7.1.2",
|
118
119
|
"url-parse": "^1.5.10",
|
119
120
|
"vite": "6.0.0-beta.1",
|
120
121
|
"vite-tsconfig-paths": "^5.0.1",
|
121
|
-
"vxrn": "1.1.
|
122
|
+
"vxrn": "1.1.305",
|
122
123
|
"ws": "^8.18.0",
|
123
124
|
"xxhashjs": "^0.2.2"
|
124
125
|
},
|
@@ -133,7 +134,7 @@
|
|
133
134
|
"@types/xxhashjs": "^0.2.4",
|
134
135
|
"depcheck": "^1.4.7",
|
135
136
|
"get-port": "^7.1.0",
|
136
|
-
"react-native": "0.74.
|
137
|
+
"react-native": "0.74.5",
|
137
138
|
"rollup": "^4.21.0",
|
138
139
|
"vitest": "^2.1.1"
|
139
140
|
},
|
package/src/getRoutes.ts
CHANGED
@@ -8,7 +8,6 @@ import {
|
|
8
8
|
} from './matchers'
|
9
9
|
import type { DynamicConvention, RouteNode } from './Route'
|
10
10
|
import { getPageExport } from './utils/getPageExport'
|
11
|
-
import { requireResolve } from './utils/requireResolve'
|
12
11
|
import type { One } from './vite/types'
|
13
12
|
// import { Unmatched } from './views/Unmatched'
|
14
13
|
|
@@ -488,8 +487,6 @@ export function generateDynamic(path: string): DynamicConvention[] | null {
|
|
488
487
|
return dynamic.length === 0 ? null : dynamic
|
489
488
|
}
|
490
489
|
|
491
|
-
// const resolve = (path) => new URL(path, import.meta.url).pathname
|
492
|
-
|
493
490
|
function appendSitemapRoute(directory: DirectoryNode) {
|
494
491
|
if (!directory.files.has('_sitemap')) {
|
495
492
|
directory.files.set('_sitemap', [
|
package/src/vite/one.ts
CHANGED
@@ -5,7 +5,7 @@ import tsconfigPaths from 'vite-tsconfig-paths'
|
|
5
5
|
import { getOptimizeDeps, getOptionsFilled, isWebEnvironment } from 'vxrn'
|
6
6
|
import '../polyfills-server'
|
7
7
|
import { existsAsync } from '../utils/existsAsync'
|
8
|
-
import {
|
8
|
+
import { resolvePath } from '@vxrn/resolve'
|
9
9
|
import { clientTreeShakePlugin } from './clientTreeShakePlugin'
|
10
10
|
import { createFileSystemRouter } from './createFileSystemRouter'
|
11
11
|
import { ensureTSConfig } from './ensureTsConfig'
|
@@ -91,18 +91,18 @@ export function one(options: One.PluginOptions = {}): PluginOption {
|
|
91
91
|
enforce: 'pre',
|
92
92
|
|
93
93
|
config() {
|
94
|
-
// const forkPath = dirname(
|
94
|
+
// const forkPath = dirname(resolvePath('one'))
|
95
95
|
|
96
96
|
return {
|
97
97
|
resolve: {
|
98
98
|
alias: {
|
99
|
-
tslib:
|
99
|
+
tslib: resolvePath('@vxrn/tslib-lite'),
|
100
100
|
},
|
101
101
|
|
102
102
|
// [
|
103
103
|
// {
|
104
104
|
// find: /tslib/,
|
105
|
-
// replacement:
|
105
|
+
// replacement: resolvePath('@vxrn/tslib-lite'),
|
106
106
|
// },
|
107
107
|
// // not working but would save ~30Kb stat
|
108
108
|
// // {
|
@@ -254,8 +254,8 @@ export function one(options: One.PluginOptions = {}): PluginOption {
|
|
254
254
|
const sharedNativeConfig = {
|
255
255
|
resolve: {
|
256
256
|
alias: {
|
257
|
-
react:
|
258
|
-
'react-dom':
|
257
|
+
react: resolvePath('one/react-18'),
|
258
|
+
'react-dom': resolvePath('one/react-dom-18'),
|
259
259
|
},
|
260
260
|
},
|
261
261
|
} satisfies UserConfig
|
package/types/getRoutes.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getRoutes.d.ts","sourceRoot":"","sources":["../src/getRoutes.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;
|
1
|
+
{"version":3,"file":"getRoutes.d.ts","sourceRoot":"","sources":["../src/getRoutes.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAE3D,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,cAAc,CAAA;AAGvC,MAAM,MAAM,OAAO,GAAG;IACpB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;IACjB,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,mBAAmB,CAAC,EAAE,OAAO,CAAA;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAE3B,uBAAuB,CAAC,EAAE,OAAO,CAAA;IAEjC,aAAa,CAAC,EAAE,OAAO,CAAA;IACvB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,cAAc,CAAC,EAAE,OAAO,CAAA;IACxB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAUD;;;;;;;;;;;GAWG;AACH,wBAAgB,SAAS,CACvB,aAAa,EAAE,GAAG,CAAC,YAAY,EAC/B,OAAO,GAAE,OAAY,GACpB,SAAS,GAAG,IAAI,CAelB;AAED,wBAAgB,cAAc,CAC5B,aAAa,EAAE,GAAG,CAAC,YAAY,EAC/B,OAAO,GAAE,OAAY,GACpB,SAAS,GAAG,IAAI,CAKlB;AAgWD,wBAAgB,aAAa,CAAC,OAAO,CAAC,EAAE,OAAO,YAM9C;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,GAAE,GAAG,CAAC,MAAM,CAAa,GAAG,GAAG,CAAC,MAAM,CAAC,CAwBzF;AAED,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,iBAAiB,EAAE,GAAG,IAAI,CAqBxE"}
|
@@ -1,25 +0,0 @@
|
|
1
|
-
var __defProp = Object.defineProperty;
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
-
var __export = (target, all) => {
|
6
|
-
for (var name in all)
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
10
|
-
for (let key of __getOwnPropNames(from))
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
12
|
-
return to;
|
13
|
-
};
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
15
|
-
var requireResolve_exports = {};
|
16
|
-
__export(requireResolve_exports, {
|
17
|
-
requireResolve: () => requireResolve
|
18
|
-
});
|
19
|
-
module.exports = __toCommonJS(requireResolve_exports);
|
20
|
-
var import_node_module = require("node:module");
|
21
|
-
const import_meta = {}, require2 = (0, import_node_module.createRequire)(import_meta.url);
|
22
|
-
function requireResolve(name) {
|
23
|
-
return typeof import_meta.resolve > "u" ? require2.resolve(name) : import_meta.resolve(name).replace("file://", "");
|
24
|
-
}
|
25
|
-
//# sourceMappingURL=requireResolve.js.map
|
@@ -1,6 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../../../src/utils/requireResolve.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,yBAA8B;AAA9B,wBAEMA,eAAU,kCAAc,YAAY,GAAG;AAEtC,SAAS,eAAe,MAAc;AAC3C,SAAI,OAAO,YAAY,UAAY,MAC1BA,SAAQ,QAAQ,IAAI,IAEtB,YAAY,QAAQ,IAAI,EAAE,QAAQ,WAAW,EAAE;AACxD;",
|
5
|
-
"names": ["require"]
|
6
|
-
}
|
@@ -1,31 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __defProp = Object.defineProperty;
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
6
|
-
var __export = (target, all) => {
|
7
|
-
for (var name in all)
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
9
|
-
}, __copyProps = (to, from, except, desc) => {
|
10
|
-
if (from && typeof from == "object" || typeof from == "function")
|
11
|
-
for (let key of __getOwnPropNames(from))
|
12
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
13
|
-
return to;
|
14
|
-
};
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
16
|
-
var requireResolve_exports = {};
|
17
|
-
__export(requireResolve_exports, {
|
18
|
-
requireResolve: () => requireResolve
|
19
|
-
});
|
20
|
-
module.exports = __toCommonJS(requireResolve_exports);
|
21
|
-
var import_node_module = require("node:module");
|
22
|
-
const import_meta = {};
|
23
|
-
var require2 = (0, import_node_module.createRequire)(import_meta.url);
|
24
|
-
function requireResolve(name) {
|
25
|
-
return typeof import_meta.resolve > "u" ? require2.resolve(name) : import_meta.resolve(name).replace("file://", "");
|
26
|
-
}
|
27
|
-
// Annotate the CommonJS export names for ESM import in node:
|
28
|
-
0 && (module.exports = {
|
29
|
-
requireResolve
|
30
|
-
});
|
31
|
-
//# sourceMappingURL=requireResolve.js.map
|
@@ -1,6 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../../../src/utils/Users/n8/one/packages/one/src/utils/requireResolve.ts"],
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;AAAA;;;;;yBAA8B;AAA9B;AAEA,IAAMA,eAAUC,kCAAc,YAAYC,GAAG;AAEtC,SAASC,eAAeC,MAAY;AACzC,SAAI,OAAO,YAAYC,UAAY,MAC1BL,SAAQK,QAAQD,IAAAA,IAElB,YAAYC,QAAQD,IAAAA,EAAME,QAAQ,WAAW,EAAA;AACtD;",
|
5
|
-
"names": ["require", "createRequire", "url", "requireResolve", "name", "resolve", "replace"]
|
6
|
-
}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { createRequire } from "node:module";
|
2
|
-
const require2 = createRequire(import.meta.url);
|
3
|
-
function requireResolve(name) {
|
4
|
-
return typeof import.meta.resolve > "u" ? require2.resolve(name) : import.meta.resolve(name).replace("file://", "");
|
5
|
-
}
|
6
|
-
export {
|
7
|
-
requireResolve
|
8
|
-
};
|
9
|
-
//# sourceMappingURL=requireResolve.js.map
|
@@ -1,6 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../../../src/utils/requireResolve.ts"],
|
4
|
-
"mappings": "AAAA,SAAS,qBAAqB;AAE9B,MAAMA,WAAU,cAAc,YAAY,GAAG;AAEtC,SAAS,eAAe,MAAc;AAC3C,SAAI,OAAO,YAAY,UAAY,MAC1BA,SAAQ,QAAQ,IAAI,IAEtB,YAAY,QAAQ,IAAI,EAAE,QAAQ,WAAW,EAAE;AACxD;",
|
5
|
-
"names": ["require"]
|
6
|
-
}
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { createRequire } from "node:module";
|
2
|
-
const require2 = createRequire(import.meta.url);
|
3
|
-
function requireResolve(name) {
|
4
|
-
return typeof import.meta.resolve > "u" ? require2.resolve(name) : import.meta.resolve(name).replace("file://", "");
|
5
|
-
}
|
6
|
-
export { requireResolve };
|
7
|
-
//# sourceMappingURL=requireResolve.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["createRequire","require2","import","meta","url","requireResolve","name","resolve","replace"],"sources":["../../../src/utils/requireResolve.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,QAAqB;AAE9B,MAAMC,QAAA,GAAUD,aAAA,CAAcE,MAAA,CAAAC,IAAA,CAAYC,GAAG;AAEtC,SAASC,eAAeC,IAAA,EAAc;EAC3C,OAAI,OAAOJ,MAAA,CAAAC,IAAA,CAAYI,OAAA,GAAY,MAC1BN,QAAA,CAAQM,OAAA,CAAQD,IAAI,IAEtBJ,MAAA,CAAAC,IAAA,CAAYI,OAAA,CAAQD,IAAI,EAAEE,OAAA,CAAQ,WAAW,EAAE;AACxD","ignoreList":[]}
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { createRequire } from "node:module";
|
2
|
-
var require2 = createRequire(import.meta.url);
|
3
|
-
function requireResolve(name) {
|
4
|
-
return typeof import.meta.resolve > "u" ? require2.resolve(name) : import.meta.resolve(name).replace("file://", "");
|
5
|
-
}
|
6
|
-
export {
|
7
|
-
requireResolve
|
8
|
-
};
|
9
|
-
//# sourceMappingURL=requireResolve.js.map
|
@@ -1,6 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"version": 3,
|
3
|
-
"sources": ["../../../src/utils/Users/n8/one/packages/one/src/utils/requireResolve.ts"],
|
4
|
-
"mappings": "AAAA,SAASA,qBAAqB;AAE9B,IAAMC,WAAUD,cAAc,YAAYE,GAAG;AAEtC,SAASC,eAAeC,MAAY;AACzC,SAAI,OAAO,YAAYC,UAAY,MAC1BJ,SAAQI,QAAQD,IAAAA,IAElB,YAAYC,QAAQD,IAAAA,EAAME,QAAQ,WAAW,EAAA;AACtD;",
|
5
|
-
"names": ["createRequire", "require", "url", "requireResolve", "name", "resolve", "replace"]
|
6
|
-
}
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import { createRequire } from 'node:module'
|
2
|
-
|
3
|
-
const require = createRequire(import.meta.url)
|
4
|
-
|
5
|
-
export function requireResolve(name: string) {
|
6
|
-
if (typeof import.meta.resolve === 'undefined') {
|
7
|
-
return require.resolve(name)
|
8
|
-
}
|
9
|
-
return import.meta.resolve(name).replace('file://', '')
|
10
|
-
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"requireResolve.d.ts","sourceRoot":"","sources":["../../src/utils/requireResolve.ts"],"names":[],"mappings":"AAIA,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,UAK1C"}
|