nitro-nightly 3.0.1-20260119-145349-d0c4950f → 3.0.1-20260120-020848-6786d069
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/_build/rolldown.mjs +13 -8
- package/dist/_build/vite.build.mjs +1 -1
- package/dist/_chunks/dev.mjs +5 -3
- package/dist/_chunks/nitro.mjs +24 -1183
- package/dist/_chunks/nitro2.mjs +248 -91
- package/dist/_chunks/nitro3.mjs +2696 -0
- package/dist/_chunks/nitro4.mjs +176 -0
- package/dist/_chunks/nitro5.mjs +733 -0
- package/dist/_chunks/nitro6.mjs +1458 -0
- package/dist/_chunks/nitro7.mjs +7561 -0
- package/dist/_chunks/nitro8.mjs +3524 -0
- package/dist/_chunks/nitro9.mjs +1729 -0
- package/dist/_libs/_.mjs +3 -0
- package/dist/_libs/_2.mjs +3 -0
- package/dist/_libs/_3.mjs +4 -0
- package/dist/_libs/_4.mjs +6 -0
- package/dist/_libs/_5.mjs +3 -0
- package/dist/_libs/_6.mjs +3 -0
- package/dist/_libs/acorn+confbox+js-tokens+magic-string+mlly+pkg-types+sourcemap-codec+strip-literal+unimport.mjs +8900 -0
- package/dist/_libs/{c12.mjs → c12+dotenv+rc9.mjs} +12 -105
- package/dist/_libs/{chokidar.mjs → chokidar+readdirp.mjs} +2 -9
- package/dist/_libs/confbox+exsolve+pkg-types.mjs +1249 -0
- package/dist/_libs/confbox.mjs +70 -2488
- package/dist/_libs/confbox2.mjs +786 -0
- package/dist/_libs/confbox3.mjs +404 -0
- package/dist/_libs/confbox4.mjs +3 -0
- package/dist/_libs/estree-walker+unimport.mjs +378 -0
- package/dist/_libs/fdir+picomatch+tinyglobby.mjs +2471 -0
- package/dist/_libs/gen-mapping+remapping+resolve-uri+trace-mapping+unimport+unplugin+unplugin-utils+webpack-virtual-modules.mjs +2150 -0
- package/dist/_libs/giget+node-fetch-native.mjs +2692 -0
- package/dist/_libs/httpxy.mjs +1 -6
- package/dist/_libs/local-pkg+quansync+unimport.mjs +1526 -0
- package/dist/_libs/nypm+tinyexec.mjs +858 -0
- package/dist/_libs/pathe.mjs +164 -0
- package/dist/_libs/perfect-debounce.mjs +89 -0
- package/dist/_libs/{@rollup/plugin-inject.mjs → plugin-alias+plugin-inject.mjs} +65 -2
- package/dist/_libs/std-env.mjs +158 -0
- package/dist/_libs/unimport.mjs +5 -1781
- package/dist/_libs/vite-plugin-fullstack.mjs +26 -0
- package/dist/_presets.mjs +8 -3
- package/dist/builder.mjs +8 -6
- package/dist/cli/_chunks/build.mjs +1 -1
- package/dist/cli/_chunks/dev.mjs +3 -2
- package/dist/cli/_chunks/list.mjs +1 -1
- package/dist/cli/_chunks/prepare.mjs +1 -1
- package/dist/cli/_chunks/run.mjs +1 -1
- package/dist/cli/index.mjs +1 -1
- package/dist/types/index.d.mts +2410 -1174
- package/dist/vite.d.mts +13 -13
- package/dist/vite.mjs +640 -16
- package/package.json +9 -9
- package/dist/_build/common.mjs +0 -24931
- package/dist/_build/rollup.mjs +0 -201
- package/dist/_chunks/utils.mjs +0 -254
- package/dist/_common.mjs +0 -45
- package/dist/_libs/@hiogawa/vite-plugin-fullstack.mjs +0 -652
- package/dist/_libs/@jridgewell/gen-mapping.mjs +0 -448
- package/dist/_libs/@jridgewell/remapping.mjs +0 -117
- package/dist/_libs/@rollup/plugin-alias.mjs +0 -64
- package/dist/_libs/@rollup/plugin-commonjs.mjs +0 -1300
- package/dist/_libs/@rollup/plugin-json.mjs +0 -36
- package/dist/_libs/@rollup/plugin-node-resolve.mjs +0 -1972
- package/dist/_libs/escape-string-regexp.mjs +0 -8
- package/dist/_libs/estree-walker.mjs +0 -187
- package/dist/_libs/giget.mjs +0 -3550
- package/dist/_libs/klona.mjs +0 -38
- package/dist/_libs/rou3.mjs +0 -322
- package/dist/_libs/tsconfck.mjs +0 -832
- package/dist/_libs/ultrahtml.mjs +0 -138
- package/dist/cli/_chunks/task.mjs +0 -16
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
//#region node_modules/.pnpm/@hiogawa+vite-plugin-fullstack@0.0.11_vite@8.0.0-beta.8_@types+node@25.0.9_esbuild@0.27_577572ae8fc6296e77b8a4205393d7c0/node_modules/@hiogawa/vite-plugin-fullstack/dist/runtime.js
|
|
2
|
+
function mergeAssets(...args) {
|
|
3
|
+
const js = uniqBy(args.flatMap((h) => h.js), (a) => a.href);
|
|
4
|
+
const css = uniqBy(args.flatMap((h) => h.css), (a) => a.href);
|
|
5
|
+
const raw = {
|
|
6
|
+
entry: args.filter((arg) => arg.entry)?.[0]?.entry,
|
|
7
|
+
js,
|
|
8
|
+
css
|
|
9
|
+
};
|
|
10
|
+
return {
|
|
11
|
+
...raw,
|
|
12
|
+
merge: (...args$1) => mergeAssets(raw, ...args$1)
|
|
13
|
+
};
|
|
14
|
+
function uniqBy(array, key) {
|
|
15
|
+
const seen = /* @__PURE__ */ new Set();
|
|
16
|
+
return array.filter((item) => {
|
|
17
|
+
const k = key(item);
|
|
18
|
+
if (seen.has(k)) return false;
|
|
19
|
+
seen.add(k);
|
|
20
|
+
return true;
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
//#endregion
|
|
26
|
+
export { mergeAssets };
|
package/dist/_presets.mjs
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import "./_chunks/nitro.mjs";
|
|
2
|
+
import { a as join$1, l as relative$1, n as dirname$1, u as resolve$1 } from "./_libs/pathe.mjs";
|
|
3
|
+
import { a as readGitConfig, l as resolveModulePath, n as findNearestFile, o as readPackageJSON, t as findFile } from "./_libs/confbox+exsolve+pkg-types.mjs";
|
|
4
|
+
import { t as h } from "./_libs/confbox3.mjs";
|
|
4
5
|
import { r as resolveCompatibilityDatesFromEnv, t as formatCompatibilityDate } from "./_libs/compatx.mjs";
|
|
6
|
+
import { i as a, n as K, o as p } from "./_libs/std-env.mjs";
|
|
7
|
+
import { i as writeFile$2, n as prettyPath$1 } from "./_chunks/nitro4.mjs";
|
|
8
|
+
import { t as glob } from "./_libs/fdir+picomatch+tinyglobby.mjs";
|
|
9
|
+
import { n as gr, t as Q } from "./_chunks/nitro9.mjs";
|
|
5
10
|
import { builtinModules } from "node:module";
|
|
6
11
|
import consola$1 from "consola";
|
|
7
12
|
import { existsSync, promises } from "node:fs";
|
package/dist/builder.mjs
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import
|
|
3
|
-
import "./
|
|
4
|
-
import
|
|
5
|
-
import "./_libs/
|
|
6
|
-
import "./_chunks/
|
|
1
|
+
import "./_chunks/nitro.mjs";
|
|
2
|
+
import "./_libs/c12+dotenv+rc9.mjs";
|
|
3
|
+
import { a as copyPublicAssets, c as loadOptions, i as prepare, n as runTask, o as build, r as prerender, s as createNitro, t as listTasks } from "./_chunks/nitro3.mjs";
|
|
4
|
+
import "./_chunks/nitro4.mjs";
|
|
5
|
+
import "./_libs/fdir+picomatch+tinyglobby.mjs";
|
|
6
|
+
import { n as writeTypes } from "./_chunks/nitro5.mjs";
|
|
7
|
+
import { t as getBuildInfo } from "./_chunks/nitro6.mjs";
|
|
8
|
+
import "./_libs/acorn+confbox+js-tokens+magic-string+mlly+pkg-types+sourcemap-codec+strip-literal+unimport.mjs";
|
|
7
9
|
import { n as createDevServer } from "./_chunks/dev.mjs";
|
|
8
10
|
|
|
9
11
|
export { build, copyPublicAssets, createDevServer, createNitro, getBuildInfo, listTasks, loadOptions, prepare, prerender, runTask, writeTypes };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { u as resolve } from "../../_libs/pathe.mjs";
|
|
2
2
|
import { t as defineCommand } from "../../_libs/citty.mjs";
|
|
3
3
|
import { t as commonArgs } from "./common.mjs";
|
|
4
4
|
import { build, copyPublicAssets, createNitro, prepare, prerender } from "nitro/builder";
|
package/dist/cli/_chunks/dev.mjs
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "../../
|
|
1
|
+
import { u as resolve } from "../../_libs/pathe.mjs";
|
|
2
|
+
import "../../_chunks/nitro4.mjs";
|
|
3
|
+
import "../../_chunks/nitro6.mjs";
|
|
3
4
|
import { t as NitroDevServer } from "../../_chunks/dev.mjs";
|
|
4
5
|
import { t as defineCommand } from "../../_libs/citty.mjs";
|
|
5
6
|
import { t as commonArgs } from "./common.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { u as resolve } from "../../_libs/pathe.mjs";
|
|
2
2
|
import { t as defineCommand } from "../../_libs/citty.mjs";
|
|
3
3
|
import { t as commonArgs } from "./common.mjs";
|
|
4
4
|
import { createNitro, writeTypes } from "nitro/builder";
|
package/dist/cli/_chunks/run.mjs
CHANGED
package/dist/cli/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ runMain(defineCommand({
|
|
|
13
13
|
dev: () => import("./_chunks/dev.mjs").then((r) => r.default),
|
|
14
14
|
build: () => import("./_chunks/build.mjs").then((r) => r.default),
|
|
15
15
|
prepare: () => import("./_chunks/prepare.mjs").then((r) => r.default),
|
|
16
|
-
task: () => import("
|
|
16
|
+
task: () => import("../_chunks/nitro9.mjs").then((r) => r.default)
|
|
17
17
|
}
|
|
18
18
|
}));
|
|
19
19
|
|