rari 0.2.20 → 0.2.22
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.d.ts +2 -1
- package/dist/cli.js +2 -1
- package/dist/index.js +1 -1
- package/dist/{server-H2znJchA.js → server-BK7rNurU.js} +72 -69
- package/dist/server.js +1 -1
- package/package.json +6 -10
- package/src/vite/index.ts +41 -13
- package/dist/client-dev.d.ts +0 -2
- package/dist/client-dev.js +0 -3
- package/src/client-dev.ts +0 -59
package/dist/cli.d.ts
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
export {};
|
package/dist/cli.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRuntimeClient, Link, Navigate, Outlet, RouteComponent, RouterProvider, Routes, buildSearchString, buildUrl, createHttpRuntimeClient, extractParamNames, findMatchingRoute, getRoutePriority, isDynamicRoute, isPathActive, joinPaths, normalizePathname, parseSearchParams, parseUrl, useNavigation, useParams, usePathname, useRoute, useRouter, useSearchParams, withRouter } from "./runtime-client-BXoadxa8.js";
|
|
2
|
-
import { FileRouteGenerator, convertFilePatternToRoutePattern, createRouteManifest, defineRariConfig, defineRariOptions, generateFileRoutes, loadRouteManifest, rari, rariRouter, validateRoutes, watchFileRoutes } from "./server-
|
|
2
|
+
import { FileRouteGenerator, convertFilePatternToRoutePattern, createRouteManifest, defineRariConfig, defineRariOptions, generateFileRoutes, loadRouteManifest, rari, rariRouter, validateRoutes, watchFileRoutes } from "./server-BK7rNurU.js";
|
|
3
3
|
import "./server-build-BM8_GFF5.js";
|
|
4
4
|
|
|
5
5
|
export { FileRouteGenerator, HttpRuntimeClient, Link, Navigate, Outlet, RouteComponent as Route, RouterProvider, Routes, buildSearchString, buildUrl, convertFilePatternToRoutePattern, createHttpRuntimeClient, createRouteManifest, defineRariConfig, defineRariOptions, extractParamNames, findMatchingRoute, generateFileRoutes, getRoutePriority, isDynamicRoute, isPathActive, joinPaths, loadRouteManifest, normalizePathname, parseSearchParams, parseUrl, rari, rariRouter, useNavigation, useParams, usePathname, useRoute, useRouter, useSearchParams, validateRoutes, watchFileRoutes, withRouter };
|
|
@@ -8,7 +8,7 @@ import { spawn } from "node:child_process";
|
|
|
8
8
|
import * as acorn from "acorn";
|
|
9
9
|
|
|
10
10
|
//#region ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js
|
|
11
|
-
var require_constants$2 = __commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js"(exports, module) {
|
|
11
|
+
var require_constants$2 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/constants.js": ((exports, module) => {
|
|
12
12
|
const path$4 = __require("path");
|
|
13
13
|
const WIN_SLASH = "\\\\/";
|
|
14
14
|
const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
|
|
@@ -174,11 +174,11 @@ var require_constants$2 = __commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1
|
|
|
174
174
|
return win32$1 === true ? WINDOWS_CHARS : POSIX_CHARS;
|
|
175
175
|
}
|
|
176
176
|
};
|
|
177
|
-
} });
|
|
177
|
+
}) });
|
|
178
178
|
|
|
179
179
|
//#endregion
|
|
180
180
|
//#region ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.js
|
|
181
|
-
var require_utils$1 = __commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.js"(exports) {
|
|
181
|
+
var require_utils$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/utils.js": ((exports) => {
|
|
182
182
|
const path$3 = __require("path");
|
|
183
183
|
const win32 = process.platform === "win32";
|
|
184
184
|
const { REGEX_BACKSLASH, REGEX_REMOVE_BACKSLASH, REGEX_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_GLOBAL } = require_constants$2();
|
|
@@ -222,11 +222,11 @@ var require_utils$1 = __commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/nod
|
|
|
222
222
|
if (state.negated === true) output = `(?:^(?!${output}).*$)`;
|
|
223
223
|
return output;
|
|
224
224
|
};
|
|
225
|
-
} });
|
|
225
|
+
}) });
|
|
226
226
|
|
|
227
227
|
//#endregion
|
|
228
228
|
//#region ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.js
|
|
229
|
-
var require_scan = __commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.js"(exports, module) {
|
|
229
|
+
var require_scan = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/scan.js": ((exports, module) => {
|
|
230
230
|
const utils$5 = require_utils$1();
|
|
231
231
|
const { CHAR_ASTERISK, CHAR_AT, CHAR_BACKWARD_SLASH, CHAR_COMMA: CHAR_COMMA$1, CHAR_DOT: CHAR_DOT$1, CHAR_EXCLAMATION_MARK, CHAR_FORWARD_SLASH, CHAR_LEFT_CURLY_BRACE: CHAR_LEFT_CURLY_BRACE$1, CHAR_LEFT_PARENTHESES: CHAR_LEFT_PARENTHESES$1, CHAR_LEFT_SQUARE_BRACKET: CHAR_LEFT_SQUARE_BRACKET$1, CHAR_PLUS, CHAR_QUESTION_MARK, CHAR_RIGHT_CURLY_BRACE: CHAR_RIGHT_CURLY_BRACE$1, CHAR_RIGHT_PARENTHESES: CHAR_RIGHT_PARENTHESES$1, CHAR_RIGHT_SQUARE_BRACKET: CHAR_RIGHT_SQUARE_BRACKET$1 } = require_constants$2();
|
|
232
232
|
const isPathSeparator = (code) => {
|
|
@@ -511,11 +511,11 @@ var require_scan = __commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/node_m
|
|
|
511
511
|
return state;
|
|
512
512
|
};
|
|
513
513
|
module.exports = scan$1;
|
|
514
|
-
} });
|
|
514
|
+
}) });
|
|
515
515
|
|
|
516
516
|
//#endregion
|
|
517
517
|
//#region ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js
|
|
518
|
-
var require_parse$1 = __commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js"(exports, module) {
|
|
518
|
+
var require_parse$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/parse.js": ((exports, module) => {
|
|
519
519
|
const constants$1 = require_constants$2();
|
|
520
520
|
const utils$4 = require_utils$1();
|
|
521
521
|
/**
|
|
@@ -1379,11 +1379,11 @@ var require_parse$1 = __commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/nod
|
|
|
1379
1379
|
return source;
|
|
1380
1380
|
};
|
|
1381
1381
|
module.exports = parse$3;
|
|
1382
|
-
} });
|
|
1382
|
+
}) });
|
|
1383
1383
|
|
|
1384
1384
|
//#endregion
|
|
1385
1385
|
//#region ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js
|
|
1386
|
-
var require_picomatch$1 = __commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js"(exports, module) {
|
|
1386
|
+
var require_picomatch$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/lib/picomatch.js": ((exports, module) => {
|
|
1387
1387
|
const path$2 = __require("path");
|
|
1388
1388
|
const scan = require_scan();
|
|
1389
1389
|
const parse$2 = require_parse$1();
|
|
@@ -1674,17 +1674,17 @@ var require_picomatch$1 = __commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1
|
|
|
1674
1674
|
* Expose "picomatch"
|
|
1675
1675
|
*/
|
|
1676
1676
|
module.exports = picomatch$2;
|
|
1677
|
-
} });
|
|
1677
|
+
}) });
|
|
1678
1678
|
|
|
1679
1679
|
//#endregion
|
|
1680
1680
|
//#region ../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.js
|
|
1681
|
-
var require_picomatch = __commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.js"(exports, module) {
|
|
1681
|
+
var require_picomatch = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/picomatch@2.3.1/node_modules/picomatch/index.js": ((exports, module) => {
|
|
1682
1682
|
module.exports = require_picomatch$1();
|
|
1683
|
-
} });
|
|
1683
|
+
}) });
|
|
1684
1684
|
|
|
1685
1685
|
//#endregion
|
|
1686
1686
|
//#region ../../node_modules/.pnpm/readdirp@3.6.0/node_modules/readdirp/index.js
|
|
1687
|
-
var require_readdirp = __commonJS({ "../../node_modules/.pnpm/readdirp@3.6.0/node_modules/readdirp/index.js"(exports, module) {
|
|
1687
|
+
var require_readdirp = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/readdirp@3.6.0/node_modules/readdirp/index.js": ((exports, module) => {
|
|
1688
1688
|
const fs$4 = __require("fs");
|
|
1689
1689
|
const { Readable } = __require("stream");
|
|
1690
1690
|
const sysPath$3 = __require("path");
|
|
@@ -1935,11 +1935,11 @@ var require_readdirp = __commonJS({ "../../node_modules/.pnpm/readdirp@3.6.0/nod
|
|
|
1935
1935
|
readdirp$1.ReaddirpStream = ReaddirpStream;
|
|
1936
1936
|
readdirp$1.default = readdirp$1;
|
|
1937
1937
|
module.exports = readdirp$1;
|
|
1938
|
-
} });
|
|
1938
|
+
}) });
|
|
1939
1939
|
|
|
1940
1940
|
//#endregion
|
|
1941
1941
|
//#region ../../node_modules/.pnpm/normalize-path@3.0.0/node_modules/normalize-path/index.js
|
|
1942
|
-
var require_normalize_path = __commonJS({ "../../node_modules/.pnpm/normalize-path@3.0.0/node_modules/normalize-path/index.js"(exports, module) {
|
|
1942
|
+
var require_normalize_path = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/normalize-path@3.0.0/node_modules/normalize-path/index.js": ((exports, module) => {
|
|
1943
1943
|
/*!
|
|
1944
1944
|
* normalize-path <https://github.com/jonschlinkert/normalize-path>
|
|
1945
1945
|
*
|
|
@@ -1963,11 +1963,11 @@ var require_normalize_path = __commonJS({ "../../node_modules/.pnpm/normalize-pa
|
|
|
1963
1963
|
if (stripTrailing !== false && segs[segs.length - 1] === "") segs.pop();
|
|
1964
1964
|
return prefix + segs.join("/");
|
|
1965
1965
|
};
|
|
1966
|
-
} });
|
|
1966
|
+
}) });
|
|
1967
1967
|
|
|
1968
1968
|
//#endregion
|
|
1969
1969
|
//#region ../../node_modules/.pnpm/anymatch@3.1.3/node_modules/anymatch/index.js
|
|
1970
|
-
var require_anymatch = __commonJS({ "../../node_modules/.pnpm/anymatch@3.1.3/node_modules/anymatch/index.js"(exports, module) {
|
|
1970
|
+
var require_anymatch = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/anymatch@3.1.3/node_modules/anymatch/index.js": ((exports, module) => {
|
|
1971
1971
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1972
1972
|
const picomatch = require_picomatch();
|
|
1973
1973
|
const normalizePath$1 = require_normalize_path();
|
|
@@ -2037,11 +2037,11 @@ var require_anymatch = __commonJS({ "../../node_modules/.pnpm/anymatch@3.1.3/nod
|
|
|
2037
2037
|
};
|
|
2038
2038
|
anymatch$1.default = anymatch$1;
|
|
2039
2039
|
module.exports = anymatch$1;
|
|
2040
|
-
} });
|
|
2040
|
+
}) });
|
|
2041
2041
|
|
|
2042
2042
|
//#endregion
|
|
2043
2043
|
//#region ../../node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.js
|
|
2044
|
-
var require_is_extglob = __commonJS({ "../../node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.js"(exports, module) {
|
|
2044
|
+
var require_is_extglob = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/is-extglob@2.1.1/node_modules/is-extglob/index.js": ((exports, module) => {
|
|
2045
2045
|
/*!
|
|
2046
2046
|
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
|
2047
2047
|
*
|
|
@@ -2057,11 +2057,11 @@ var require_is_extglob = __commonJS({ "../../node_modules/.pnpm/is-extglob@2.1.1
|
|
|
2057
2057
|
}
|
|
2058
2058
|
return false;
|
|
2059
2059
|
};
|
|
2060
|
-
} });
|
|
2060
|
+
}) });
|
|
2061
2061
|
|
|
2062
2062
|
//#endregion
|
|
2063
2063
|
//#region ../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.js
|
|
2064
|
-
var require_is_glob = __commonJS({ "../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.js"(exports, module) {
|
|
2064
|
+
var require_is_glob = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/is-glob@4.0.3/node_modules/is-glob/index.js": ((exports, module) => {
|
|
2065
2065
|
/*!
|
|
2066
2066
|
* is-glob <https://github.com/jonschlinkert/is-glob>
|
|
2067
2067
|
*
|
|
@@ -2155,11 +2155,11 @@ var require_is_glob = __commonJS({ "../../node_modules/.pnpm/is-glob@4.0.3/node_
|
|
|
2155
2155
|
if (options && options.strict === false) check = relaxedCheck;
|
|
2156
2156
|
return check(str);
|
|
2157
2157
|
};
|
|
2158
|
-
} });
|
|
2158
|
+
}) });
|
|
2159
2159
|
|
|
2160
2160
|
//#endregion
|
|
2161
2161
|
//#region ../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.js
|
|
2162
|
-
var require_glob_parent = __commonJS({ "../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.js"(exports, module) {
|
|
2162
|
+
var require_glob_parent = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/glob-parent@5.1.2/node_modules/glob-parent/index.js": ((exports, module) => {
|
|
2163
2163
|
var isGlob$1 = require_is_glob();
|
|
2164
2164
|
var pathPosixDirname = __require("path").posix.dirname;
|
|
2165
2165
|
var isWin32 = __require("os").platform() === "win32";
|
|
@@ -2184,11 +2184,11 @@ var require_glob_parent = __commonJS({ "../../node_modules/.pnpm/glob-parent@5.1
|
|
|
2184
2184
|
while (isGlob$1(str) || globby.test(str));
|
|
2185
2185
|
return str.replace(escaped, "$1");
|
|
2186
2186
|
};
|
|
2187
|
-
} });
|
|
2187
|
+
}) });
|
|
2188
2188
|
|
|
2189
2189
|
//#endregion
|
|
2190
2190
|
//#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js
|
|
2191
|
-
var require_utils = __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js"(exports) {
|
|
2191
|
+
var require_utils = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js": ((exports) => {
|
|
2192
2192
|
exports.isInteger = (num) => {
|
|
2193
2193
|
if (typeof num === "number") return Number.isInteger(num);
|
|
2194
2194
|
if (typeof num === "string" && num.trim() !== "") return Number.isInteger(Number(num));
|
|
@@ -2280,11 +2280,11 @@ var require_utils = __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_mod
|
|
|
2280
2280
|
flat(args);
|
|
2281
2281
|
return result;
|
|
2282
2282
|
};
|
|
2283
|
-
} });
|
|
2283
|
+
}) });
|
|
2284
2284
|
|
|
2285
2285
|
//#endregion
|
|
2286
2286
|
//#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js
|
|
2287
|
-
var require_stringify = __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js"(exports, module) {
|
|
2287
|
+
var require_stringify = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js": ((exports, module) => {
|
|
2288
2288
|
const utils$2 = require_utils();
|
|
2289
2289
|
module.exports = (ast, options = {}) => {
|
|
2290
2290
|
const stringify$4 = (node, parent = {}) => {
|
|
@@ -2301,21 +2301,21 @@ var require_stringify = __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node
|
|
|
2301
2301
|
};
|
|
2302
2302
|
return stringify$4(ast);
|
|
2303
2303
|
};
|
|
2304
|
-
} });
|
|
2304
|
+
}) });
|
|
2305
2305
|
|
|
2306
2306
|
//#endregion
|
|
2307
2307
|
//#region ../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js
|
|
2308
|
-
var require_is_number = __commonJS({ "../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js"(exports, module) {
|
|
2308
|
+
var require_is_number = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/is-number@7.0.0/node_modules/is-number/index.js": ((exports, module) => {
|
|
2309
2309
|
module.exports = function(num) {
|
|
2310
2310
|
if (typeof num === "number") return num - num === 0;
|
|
2311
2311
|
if (typeof num === "string" && num.trim() !== "") return Number.isFinite ? Number.isFinite(+num) : isFinite(+num);
|
|
2312
2312
|
return false;
|
|
2313
2313
|
};
|
|
2314
|
-
} });
|
|
2314
|
+
}) });
|
|
2315
2315
|
|
|
2316
2316
|
//#endregion
|
|
2317
2317
|
//#region ../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js
|
|
2318
|
-
var require_to_regex_range = __commonJS({ "../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js"(exports, module) {
|
|
2318
|
+
var require_to_regex_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/to-regex-range@5.0.1/node_modules/to-regex-range/index.js": ((exports, module) => {
|
|
2319
2319
|
const isNumber$1 = require_is_number();
|
|
2320
2320
|
const toRegexRange$1 = (min$1, max, options) => {
|
|
2321
2321
|
if (isNumber$1(min$1) === false) throw new TypeError("toRegexRange: expected the first argument to be a number");
|
|
@@ -2507,11 +2507,11 @@ var require_to_regex_range = __commonJS({ "../../node_modules/.pnpm/to-regex-ran
|
|
|
2507
2507
|
* Expose `toRegexRange`
|
|
2508
2508
|
*/
|
|
2509
2509
|
module.exports = toRegexRange$1;
|
|
2510
|
-
} });
|
|
2510
|
+
}) });
|
|
2511
2511
|
|
|
2512
2512
|
//#endregion
|
|
2513
2513
|
//#region ../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js
|
|
2514
|
-
var require_fill_range = __commonJS({ "../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js"(exports, module) {
|
|
2514
|
+
var require_fill_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js": ((exports, module) => {
|
|
2515
2515
|
const util = __require("util");
|
|
2516
2516
|
const toRegexRange = require_to_regex_range();
|
|
2517
2517
|
const isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
|
|
@@ -2671,11 +2671,11 @@ var require_fill_range = __commonJS({ "../../node_modules/.pnpm/fill-range@7.1.1
|
|
|
2671
2671
|
return fillLetters(start, end, Math.max(Math.abs(step), 1), opts);
|
|
2672
2672
|
};
|
|
2673
2673
|
module.exports = fill$2;
|
|
2674
|
-
} });
|
|
2674
|
+
}) });
|
|
2675
2675
|
|
|
2676
2676
|
//#endregion
|
|
2677
2677
|
//#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js
|
|
2678
|
-
var require_compile = __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js"(exports, module) {
|
|
2678
|
+
var require_compile = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js": ((exports, module) => {
|
|
2679
2679
|
const fill$1 = require_fill_range();
|
|
2680
2680
|
const utils$1 = require_utils();
|
|
2681
2681
|
const compile$1 = (ast, options = {}) => {
|
|
@@ -2710,11 +2710,11 @@ var require_compile = __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_m
|
|
|
2710
2710
|
return walk(ast);
|
|
2711
2711
|
};
|
|
2712
2712
|
module.exports = compile$1;
|
|
2713
|
-
} });
|
|
2713
|
+
}) });
|
|
2714
2714
|
|
|
2715
2715
|
//#endregion
|
|
2716
2716
|
//#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.js
|
|
2717
|
-
var require_expand = __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.js"(exports, module) {
|
|
2717
|
+
var require_expand = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.js": ((exports, module) => {
|
|
2718
2718
|
const fill = require_fill_range();
|
|
2719
2719
|
const stringify$2 = require_stringify();
|
|
2720
2720
|
const utils = require_utils();
|
|
@@ -2787,11 +2787,11 @@ var require_expand = __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_mo
|
|
|
2787
2787
|
return utils.flatten(walk(ast));
|
|
2788
2788
|
};
|
|
2789
2789
|
module.exports = expand$1;
|
|
2790
|
-
} });
|
|
2790
|
+
}) });
|
|
2791
2791
|
|
|
2792
2792
|
//#endregion
|
|
2793
2793
|
//#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js
|
|
2794
|
-
var require_constants$1 = __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js"(exports, module) {
|
|
2794
|
+
var require_constants$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js": ((exports, module) => {
|
|
2795
2795
|
module.exports = {
|
|
2796
2796
|
MAX_LENGTH: 1e4,
|
|
2797
2797
|
CHAR_0: "0",
|
|
@@ -2839,11 +2839,11 @@ var require_constants$1 = __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/no
|
|
|
2839
2839
|
CHAR_VERTICAL_LINE: "|",
|
|
2840
2840
|
CHAR_ZERO_WIDTH_NOBREAK_SPACE: ""
|
|
2841
2841
|
};
|
|
2842
|
-
} });
|
|
2842
|
+
}) });
|
|
2843
2843
|
|
|
2844
2844
|
//#endregion
|
|
2845
2845
|
//#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js
|
|
2846
|
-
var require_parse = __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js"(exports, module) {
|
|
2846
|
+
var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js": ((exports, module) => {
|
|
2847
2847
|
const stringify$1 = require_stringify();
|
|
2848
2848
|
/**
|
|
2849
2849
|
* Constants
|
|
@@ -3129,11 +3129,11 @@ var require_parse = __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_mod
|
|
|
3129
3129
|
return ast;
|
|
3130
3130
|
};
|
|
3131
3131
|
module.exports = parse$1;
|
|
3132
|
-
} });
|
|
3132
|
+
}) });
|
|
3133
3133
|
|
|
3134
3134
|
//#endregion
|
|
3135
3135
|
//#region ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.js
|
|
3136
|
-
var require_braces = __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.js"(exports, module) {
|
|
3136
|
+
var require_braces = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.js": ((exports, module) => {
|
|
3137
3137
|
const stringify = require_stringify();
|
|
3138
3138
|
const compile = require_compile();
|
|
3139
3139
|
const expand = require_expand();
|
|
@@ -3257,11 +3257,11 @@ var require_braces = __commonJS({ "../../node_modules/.pnpm/braces@3.0.3/node_mo
|
|
|
3257
3257
|
* Expose "braces"
|
|
3258
3258
|
*/
|
|
3259
3259
|
module.exports = braces$1;
|
|
3260
|
-
} });
|
|
3260
|
+
}) });
|
|
3261
3261
|
|
|
3262
3262
|
//#endregion
|
|
3263
3263
|
//#region ../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/binary-extensions.json
|
|
3264
|
-
var require_binary_extensions$1 = __commonJS({ "../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/binary-extensions.json"(exports, module) {
|
|
3264
|
+
var require_binary_extensions$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/binary-extensions.json": ((exports, module) => {
|
|
3265
3265
|
module.exports = [
|
|
3266
3266
|
"3dm",
|
|
3267
3267
|
"3ds",
|
|
@@ -3525,26 +3525,26 @@ var require_binary_extensions$1 = __commonJS({ "../../node_modules/.pnpm/binary-
|
|
|
3525
3525
|
"zip",
|
|
3526
3526
|
"zipx"
|
|
3527
3527
|
];
|
|
3528
|
-
} });
|
|
3528
|
+
}) });
|
|
3529
3529
|
|
|
3530
3530
|
//#endregion
|
|
3531
3531
|
//#region ../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/index.js
|
|
3532
|
-
var require_binary_extensions = __commonJS({ "../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/index.js"(exports, module) {
|
|
3532
|
+
var require_binary_extensions = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/index.js": ((exports, module) => {
|
|
3533
3533
|
module.exports = require_binary_extensions$1();
|
|
3534
|
-
} });
|
|
3534
|
+
}) });
|
|
3535
3535
|
|
|
3536
3536
|
//#endregion
|
|
3537
3537
|
//#region ../../node_modules/.pnpm/is-binary-path@2.1.0/node_modules/is-binary-path/index.js
|
|
3538
|
-
var require_is_binary_path = __commonJS({ "../../node_modules/.pnpm/is-binary-path@2.1.0/node_modules/is-binary-path/index.js"(exports, module) {
|
|
3538
|
+
var require_is_binary_path = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/is-binary-path@2.1.0/node_modules/is-binary-path/index.js": ((exports, module) => {
|
|
3539
3539
|
const path$1 = __require("path");
|
|
3540
3540
|
const binaryExtensions = require_binary_extensions();
|
|
3541
3541
|
const extensions = new Set(binaryExtensions);
|
|
3542
3542
|
module.exports = (filePath) => extensions.has(path$1.extname(filePath).slice(1).toLowerCase());
|
|
3543
|
-
} });
|
|
3543
|
+
}) });
|
|
3544
3544
|
|
|
3545
3545
|
//#endregion
|
|
3546
3546
|
//#region ../../node_modules/.pnpm/chokidar@3.6.0/node_modules/chokidar/lib/constants.js
|
|
3547
|
-
var require_constants = __commonJS({ "../../node_modules/.pnpm/chokidar@3.6.0/node_modules/chokidar/lib/constants.js"(exports) {
|
|
3547
|
+
var require_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/chokidar@3.6.0/node_modules/chokidar/lib/constants.js": ((exports) => {
|
|
3548
3548
|
const { sep } = __require("path");
|
|
3549
3549
|
const { platform } = process;
|
|
3550
3550
|
const os = __require("os");
|
|
@@ -3605,11 +3605,11 @@ var require_constants = __commonJS({ "../../node_modules/.pnpm/chokidar@3.6.0/no
|
|
|
3605
3605
|
exports.isMacos = platform === "darwin";
|
|
3606
3606
|
exports.isLinux = platform === "linux";
|
|
3607
3607
|
exports.isIBMi = os.type() === "OS400";
|
|
3608
|
-
} });
|
|
3608
|
+
}) });
|
|
3609
3609
|
|
|
3610
3610
|
//#endregion
|
|
3611
3611
|
//#region ../../node_modules/.pnpm/chokidar@3.6.0/node_modules/chokidar/lib/nodefs-handler.js
|
|
3612
|
-
var require_nodefs_handler = __commonJS({ "../../node_modules/.pnpm/chokidar@3.6.0/node_modules/chokidar/lib/nodefs-handler.js"(exports, module) {
|
|
3612
|
+
var require_nodefs_handler = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/chokidar@3.6.0/node_modules/chokidar/lib/nodefs-handler.js": ((exports, module) => {
|
|
3613
3613
|
const fs$3 = __require("fs");
|
|
3614
3614
|
const sysPath$2 = __require("path");
|
|
3615
3615
|
const { promisify: promisify$2 } = __require("util");
|
|
@@ -3764,12 +3764,10 @@ var require_nodefs_handler = __commonJS({ "../../node_modules/.pnpm/chokidar@3.6
|
|
|
3764
3764
|
const setFsWatchFileListener = (path$5, fullPath, options, handlers) => {
|
|
3765
3765
|
const { listener, rawEmitter } = handlers;
|
|
3766
3766
|
let cont = FsWatchFileInstances.get(fullPath);
|
|
3767
|
-
let listeners = /* @__PURE__ */ new Set();
|
|
3768
|
-
let rawEmitters = /* @__PURE__ */ new Set();
|
|
3769
3767
|
const copts = cont && cont.options;
|
|
3770
3768
|
if (copts && (copts.persistent < options.persistent || copts.interval > options.interval)) {
|
|
3771
|
-
|
|
3772
|
-
|
|
3769
|
+
cont.listeners;
|
|
3770
|
+
cont.rawEmitters;
|
|
3773
3771
|
fs$3.unwatchFile(fullPath);
|
|
3774
3772
|
cont = void 0;
|
|
3775
3773
|
}
|
|
@@ -4069,11 +4067,11 @@ var require_nodefs_handler = __commonJS({ "../../node_modules/.pnpm/chokidar@3.6
|
|
|
4069
4067
|
}
|
|
4070
4068
|
};
|
|
4071
4069
|
module.exports = NodeFsHandler$1;
|
|
4072
|
-
} });
|
|
4070
|
+
}) });
|
|
4073
4071
|
|
|
4074
4072
|
//#endregion
|
|
4075
4073
|
//#region ../../node_modules/.pnpm/chokidar@3.6.0/node_modules/chokidar/lib/fsevents-handler.js
|
|
4076
|
-
var require_fsevents_handler = __commonJS({ "../../node_modules/.pnpm/chokidar@3.6.0/node_modules/chokidar/lib/fsevents-handler.js"(exports, module) {
|
|
4074
|
+
var require_fsevents_handler = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/chokidar@3.6.0/node_modules/chokidar/lib/fsevents-handler.js": ((exports, module) => {
|
|
4077
4075
|
const fs$2 = __require("fs");
|
|
4078
4076
|
const sysPath$1 = __require("path");
|
|
4079
4077
|
const { promisify: promisify$1 } = __require("util");
|
|
@@ -4408,11 +4406,11 @@ var require_fsevents_handler = __commonJS({ "../../node_modules/.pnpm/chokidar@3
|
|
|
4408
4406
|
};
|
|
4409
4407
|
module.exports = FsEventsHandler$1;
|
|
4410
4408
|
module.exports.canUse = canUse;
|
|
4411
|
-
} });
|
|
4409
|
+
}) });
|
|
4412
4410
|
|
|
4413
4411
|
//#endregion
|
|
4414
4412
|
//#region ../../node_modules/.pnpm/chokidar@3.6.0/node_modules/chokidar/index.js
|
|
4415
|
-
var require_chokidar = __commonJS({ "../../node_modules/.pnpm/chokidar@3.6.0/node_modules/chokidar/index.js"(exports) {
|
|
4413
|
+
var require_chokidar = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/chokidar@3.6.0/node_modules/chokidar/index.js": ((exports) => {
|
|
4416
4414
|
const { EventEmitter } = __require("events");
|
|
4417
4415
|
const fs$1 = __require("fs");
|
|
4418
4416
|
const sysPath = __require("path");
|
|
@@ -5106,11 +5104,11 @@ var require_chokidar = __commonJS({ "../../node_modules/.pnpm/chokidar@3.6.0/nod
|
|
|
5106
5104
|
return watcher;
|
|
5107
5105
|
};
|
|
5108
5106
|
exports.watch = watch$1;
|
|
5109
|
-
} });
|
|
5107
|
+
}) });
|
|
5110
5108
|
|
|
5111
5109
|
//#endregion
|
|
5112
5110
|
//#region src/router/file-routes.ts
|
|
5113
|
-
var import_chokidar$1 = __toESM(require_chokidar(), 1);
|
|
5111
|
+
var import_chokidar$1 = /* @__PURE__ */ __toESM(require_chokidar(), 1);
|
|
5114
5112
|
var FileRouteGenerator = class {
|
|
5115
5113
|
pagesDir;
|
|
5116
5114
|
extensions;
|
|
@@ -5419,7 +5417,7 @@ function convertFilePatternToRoutePattern(pattern) {
|
|
|
5419
5417
|
|
|
5420
5418
|
//#endregion
|
|
5421
5419
|
//#region src/router/vite-plugin.ts
|
|
5422
|
-
var import_chokidar = __toESM(require_chokidar(), 1);
|
|
5420
|
+
var import_chokidar = /* @__PURE__ */ __toESM(require_chokidar(), 1);
|
|
5423
5421
|
const DEFAULT_OPTIONS = {
|
|
5424
5422
|
pagesDir: "src/pages",
|
|
5425
5423
|
extensions: [
|
|
@@ -5638,11 +5636,16 @@ function scanForClientComponents(srcDir) {
|
|
|
5638
5636
|
return clientComponents;
|
|
5639
5637
|
}
|
|
5640
5638
|
function extractCacheConfigFromContent(content) {
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5639
|
+
let ast;
|
|
5640
|
+
try {
|
|
5641
|
+
ast = acorn.parse(content, {
|
|
5642
|
+
ecmaVersion: 2022,
|
|
5643
|
+
sourceType: "module",
|
|
5644
|
+
allowImportExportEverywhere: true
|
|
5645
|
+
});
|
|
5646
|
+
} catch {
|
|
5647
|
+
return void 0;
|
|
5648
|
+
}
|
|
5646
5649
|
for (const node of ast.body) if (node.type === "ExportNamedDeclaration" && node.declaration && node.declaration.type === "VariableDeclaration") {
|
|
5647
5650
|
for (const declarator of node.declaration.declarations) if (declarator.id && declarator.id.name === "cacheConfig" && declarator.init && declarator.init.type === "ObjectExpression") {
|
|
5648
5651
|
const config = {};
|
package/dist/server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpRuntimeClient, Link, Navigate, Outlet, RouteComponent, RouterProvider, Routes, buildSearchString, buildUrl, createHttpRuntimeClient, extractParamNames, findMatchingRoute, getRoutePriority, isDynamicRoute, isPathActive, joinPaths, normalizePathname, parseSearchParams, parseUrl, useNavigation, useParams, usePathname, useRoute, useRouter, useSearchParams, withRouter } from "./runtime-client-BXoadxa8.js";
|
|
2
|
-
import { FileRouteGenerator, convertFilePatternToRoutePattern, createRouteManifest, defineRariConfig, defineRariOptions, generateFileRoutes, loadRouteManifest, rari, rariRouter, validateRoutes, watchFileRoutes } from "./server-
|
|
2
|
+
import { FileRouteGenerator, convertFilePatternToRoutePattern, createRouteManifest, defineRariConfig, defineRariOptions, generateFileRoutes, loadRouteManifest, rari, rariRouter, validateRoutes, watchFileRoutes } from "./server-BK7rNurU.js";
|
|
3
3
|
import "./server-build-BM8_GFF5.js";
|
|
4
4
|
|
|
5
5
|
export { FileRouteGenerator, HttpRuntimeClient, Link, Navigate, Outlet, RouteComponent as Route, RouterProvider, Routes, buildSearchString, buildUrl, convertFilePatternToRoutePattern, createHttpRuntimeClient, createRouteManifest, defineRariConfig, defineRariOptions, extractParamNames, findMatchingRoute, generateFileRoutes, getRoutePriority, isDynamicRoute, isPathActive, joinPaths, loadRouteManifest, normalizePathname, parseSearchParams, parseUrl, rari, rariRouter, useNavigation, useParams, usePathname, useRoute, useRouter, useSearchParams, validateRoutes, watchFileRoutes, withRouter };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rari",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.22",
|
|
5
5
|
"description": "Runtime Accelerated Rendering Infrastructure (Rari)",
|
|
6
6
|
"author": "Ryan Skinner",
|
|
7
7
|
"license": "MIT",
|
|
@@ -43,10 +43,6 @@
|
|
|
43
43
|
"types": "./dist/client.d.ts",
|
|
44
44
|
"default": "./dist/client.js"
|
|
45
45
|
},
|
|
46
|
-
"./client-dev": {
|
|
47
|
-
"types": "./dist/client-dev.d.ts",
|
|
48
|
-
"default": "./dist/client-dev.js"
|
|
49
|
-
},
|
|
50
46
|
"./server": {
|
|
51
47
|
"types": "./dist/server.d.ts",
|
|
52
48
|
"default": "./dist/server.js"
|
|
@@ -81,11 +77,11 @@
|
|
|
81
77
|
"picocolors": "^1.1.1"
|
|
82
78
|
},
|
|
83
79
|
"optionalDependencies": {
|
|
84
|
-
"rari-darwin-arm64": "0.2.
|
|
85
|
-
"rari-darwin-x64": "0.2.
|
|
86
|
-
"rari-linux-arm64": "0.2.
|
|
87
|
-
"rari-linux-x64": "0.2.
|
|
88
|
-
"rari-win32-x64": "0.2.
|
|
80
|
+
"rari-darwin-arm64": "0.2.15",
|
|
81
|
+
"rari-darwin-x64": "0.2.15",
|
|
82
|
+
"rari-linux-arm64": "0.2.15",
|
|
83
|
+
"rari-linux-x64": "0.2.15",
|
|
84
|
+
"rari-win32-x64": "0.2.15"
|
|
89
85
|
},
|
|
90
86
|
"devDependencies": {
|
|
91
87
|
"@types/node": "^24.3.1",
|
package/src/vite/index.ts
CHANGED
|
@@ -52,12 +52,20 @@ function scanForClientComponents(srcDir: string): Set<string> {
|
|
|
52
52
|
return clientComponents
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
function extractCacheConfigFromContent(
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
55
|
+
function extractCacheConfigFromContent(
|
|
56
|
+
content: string,
|
|
57
|
+
): PageCacheConfig | undefined {
|
|
58
|
+
let ast: any
|
|
59
|
+
try {
|
|
60
|
+
ast = acorn.parse(content, {
|
|
61
|
+
ecmaVersion: 2022,
|
|
62
|
+
sourceType: 'module',
|
|
63
|
+
allowImportExportEverywhere: true,
|
|
64
|
+
}) as any
|
|
65
|
+
}
|
|
66
|
+
catch {
|
|
67
|
+
return undefined
|
|
68
|
+
}
|
|
61
69
|
|
|
62
70
|
for (const node of ast.body) {
|
|
63
71
|
if (
|
|
@@ -81,9 +89,11 @@ function extractCacheConfigFromContent(content: string): PageCacheConfig | undef
|
|
|
81
89
|
&& prop.value
|
|
82
90
|
&& prop.value.type === 'Literal'
|
|
83
91
|
) {
|
|
84
|
-
const keyName
|
|
92
|
+
const keyName
|
|
93
|
+
= prop.key.type === 'Literal' ? prop.key.value : prop.key.name
|
|
85
94
|
if (keyName === 'cache-control' || keyName === 'vary') {
|
|
86
|
-
config[keyName as keyof PageCacheConfig] = prop.value
|
|
95
|
+
config[keyName as keyof PageCacheConfig] = prop.value
|
|
96
|
+
.value as string
|
|
87
97
|
}
|
|
88
98
|
}
|
|
89
99
|
}
|
|
@@ -2489,9 +2499,16 @@ ${registrations.join('\n')}
|
|
|
2489
2499
|
const url = req.url || ''
|
|
2490
2500
|
const pathname = url.split('?')[0]
|
|
2491
2501
|
|
|
2492
|
-
if (
|
|
2502
|
+
if (
|
|
2503
|
+
pathname
|
|
2504
|
+
&& !pathname.includes('.')
|
|
2505
|
+
&& !pathname.startsWith('/api')
|
|
2506
|
+
&& !pathname.startsWith('/rsc')
|
|
2507
|
+
) {
|
|
2493
2508
|
if (options.caching?.routes) {
|
|
2494
|
-
for (const [pattern, cacheControl] of Object.entries(
|
|
2509
|
+
for (const [pattern, cacheControl] of Object.entries(
|
|
2510
|
+
options.caching.routes,
|
|
2511
|
+
)) {
|
|
2495
2512
|
if (matchesPattern(pattern, pathname)) {
|
|
2496
2513
|
res.setHeader('cache-control', cacheControl)
|
|
2497
2514
|
break
|
|
@@ -2500,7 +2517,11 @@ ${registrations.join('\n')}
|
|
|
2500
2517
|
}
|
|
2501
2518
|
|
|
2502
2519
|
const pagePath = pathname === '/' ? '/index' : pathname
|
|
2503
|
-
const pageFilePath = path.join(
|
|
2520
|
+
const pageFilePath = path.join(
|
|
2521
|
+
process.cwd(),
|
|
2522
|
+
'src/pages',
|
|
2523
|
+
`${pagePath.slice(1) || 'index'}.tsx`,
|
|
2524
|
+
)
|
|
2504
2525
|
|
|
2505
2526
|
if (fs.existsSync(pageFilePath)) {
|
|
2506
2527
|
const pageContent = fs.readFileSync(pageFilePath, 'utf-8')
|
|
@@ -2521,8 +2542,15 @@ ${registrations.join('\n')}
|
|
|
2521
2542
|
},
|
|
2522
2543
|
writeBundle() {
|
|
2523
2544
|
if (options.caching) {
|
|
2524
|
-
const cacheConfigPath = path.join(
|
|
2525
|
-
|
|
2545
|
+
const cacheConfigPath = path.join(
|
|
2546
|
+
process.cwd(),
|
|
2547
|
+
'dist',
|
|
2548
|
+
'cache-config.json',
|
|
2549
|
+
)
|
|
2550
|
+
fs.writeFileSync(
|
|
2551
|
+
cacheConfigPath,
|
|
2552
|
+
JSON.stringify(options.caching, null, 2),
|
|
2553
|
+
)
|
|
2526
2554
|
}
|
|
2527
2555
|
},
|
|
2528
2556
|
}
|
package/dist/client-dev.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import { ErrorBoundaryProps, FileRouteInfo, HttpRuntimeClient, LayoutProps, Link, LinkProps, LoadingProps, Navigate, NavigationOptions, NavigationState, Outlet, PageComponent, PageProps, Route, RouteComponent, RouteGenerationOptions, RouteMatch, RouteMeta, RouteParams, RouterConfig, RouterContext, RouterProvider, RouterProviderProps, Routes, RuntimeClient, SearchParams, buildSearchString, buildUrl, createHttpRuntimeClient, extractParamNames, findMatchingRoute, isDynamicRoute, isPathActive, joinPaths, normalizePathname, parseSearchParams, parseUrl, useNavigation, useParams, usePathname, useRoute, useRouter, useSearchParams, withRouter } from "./runtime-client-CwQkaktd.js";
|
|
2
|
-
export { type ErrorBoundaryProps, type FileRouteInfo, HttpRuntimeClient, type LayoutProps, Link, type LinkProps, type LoadingProps, Navigate, type NavigationOptions, type NavigationState, Outlet, type PageComponent, type PageProps, RouteComponent as Route, type RouteGenerationOptions, type RouteMatch, type RouteMeta, type RouteParams, type Route as RouteType, type RouterConfig, type RouterContext, RouterProvider, type RouterProviderProps, Routes, type RuntimeClient, type SearchParams, buildSearchString, buildUrl, createHttpRuntimeClient, extractParamNames, findMatchingRoute, isDynamicRoute, isPathActive, joinPaths, normalizePathname, parseSearchParams, parseUrl, useNavigation, useParams, usePathname, useRoute, useRouter, useSearchParams, withRouter };
|
package/dist/client-dev.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { HttpRuntimeClient, Link, Navigate, Outlet, RouteComponent, RouterProvider, Routes, buildSearchString, buildUrl, createHttpRuntimeClient, extractParamNames, findMatchingRoute, isDynamicRoute, isPathActive, joinPaths, normalizePathname, parseSearchParams, parseUrl, useNavigation, useParams, usePathname, useRoute, useRouter, useSearchParams, withRouter } from "./runtime-client-BXoadxa8.js";
|
|
2
|
-
|
|
3
|
-
export { HttpRuntimeClient, Link, Navigate, Outlet, RouteComponent as Route, RouterProvider, Routes, buildSearchString, buildUrl, createHttpRuntimeClient, extractParamNames, findMatchingRoute, isDynamicRoute, isPathActive, joinPaths, normalizePathname, parseSearchParams, parseUrl, useNavigation, useParams, usePathname, useRoute, useRouter, useSearchParams, withRouter };
|
package/src/client-dev.ts
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
export { Link } from './router'
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
buildSearchString,
|
|
5
|
-
buildUrl,
|
|
6
|
-
extractParamNames,
|
|
7
|
-
findMatchingRoute,
|
|
8
|
-
isDynamicRoute,
|
|
9
|
-
isPathActive,
|
|
10
|
-
joinPaths,
|
|
11
|
-
normalizePathname,
|
|
12
|
-
parseSearchParams,
|
|
13
|
-
parseUrl,
|
|
14
|
-
} from './router'
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
Navigate,
|
|
18
|
-
Outlet,
|
|
19
|
-
RouteComponent as Route,
|
|
20
|
-
RouterProvider,
|
|
21
|
-
Routes,
|
|
22
|
-
useNavigation,
|
|
23
|
-
useParams,
|
|
24
|
-
usePathname,
|
|
25
|
-
useRoute,
|
|
26
|
-
useRouter,
|
|
27
|
-
useSearchParams,
|
|
28
|
-
withRouter,
|
|
29
|
-
} from './router'
|
|
30
|
-
|
|
31
|
-
export type {
|
|
32
|
-
ErrorBoundaryProps,
|
|
33
|
-
FileRouteInfo,
|
|
34
|
-
LayoutProps,
|
|
35
|
-
LinkProps,
|
|
36
|
-
LoadingProps,
|
|
37
|
-
NavigationOptions,
|
|
38
|
-
NavigationState,
|
|
39
|
-
PageComponent,
|
|
40
|
-
PageProps,
|
|
41
|
-
RouteGenerationOptions,
|
|
42
|
-
RouteMatch,
|
|
43
|
-
RouteMeta,
|
|
44
|
-
RouteParams,
|
|
45
|
-
RouterConfig,
|
|
46
|
-
RouterContext,
|
|
47
|
-
RouterProviderProps,
|
|
48
|
-
Route as RouteType,
|
|
49
|
-
SearchParams,
|
|
50
|
-
} from './router'
|
|
51
|
-
|
|
52
|
-
export {
|
|
53
|
-
createHttpRuntimeClient,
|
|
54
|
-
HttpRuntimeClient,
|
|
55
|
-
} from './runtime-client'
|
|
56
|
-
|
|
57
|
-
export type {
|
|
58
|
-
RuntimeClient,
|
|
59
|
-
} from './runtime-client'
|