@nuxt/schema-nightly 4.3.0-29431313.dbcf87d4 → 4.3.0-29431658.1c44667d
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/builder-env.d.ts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +5 -4
- package/package.json +6 -6
package/builder-env.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './dist/builder-env'
|
|
1
|
+
export * from './dist/builder-env.ts'
|
package/dist/index.d.mts
CHANGED
|
@@ -2667,7 +2667,7 @@ interface ConfigSchema {
|
|
|
2667
2667
|
* @example
|
|
2668
2668
|
* ```js
|
|
2669
2669
|
* import webpack from 'webpack'
|
|
2670
|
-
* import { version } from './package.json'
|
|
2670
|
+
* import { version } from './package.json.ts'
|
|
2671
2671
|
* // ...
|
|
2672
2672
|
* plugins: [
|
|
2673
2673
|
* new webpack.DefinePlugin({
|
package/dist/index.d.ts
CHANGED
|
@@ -2667,7 +2667,7 @@ interface ConfigSchema {
|
|
|
2667
2667
|
* @example
|
|
2668
2668
|
* ```js
|
|
2669
2669
|
* import webpack from 'webpack'
|
|
2670
|
-
* import { version } from './package.json'
|
|
2670
|
+
* import { version } from './package.json.ts'
|
|
2671
2671
|
* // ...
|
|
2672
2672
|
* plugins: [
|
|
2673
2673
|
* new webpack.DefinePlugin({
|
package/dist/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import process from 'node:process';
|
|
2
|
-
import
|
|
2
|
+
import { defu } from 'defu';
|
|
3
3
|
import { resolve, join, relative } from 'pathe';
|
|
4
4
|
import { isTest, isDevelopment, isDebug } from 'std-env';
|
|
5
5
|
import { existsSync } from 'node:fs';
|
|
@@ -485,7 +485,7 @@ const common = defineResolvers({
|
|
|
485
485
|
},
|
|
486
486
|
alias: {
|
|
487
487
|
$resolve: async (val, get) => {
|
|
488
|
-
const [srcDir, rootDir, buildDir, sharedDir] = await Promise.all([get("srcDir"), get("rootDir"), get("buildDir"), get("dir.shared")]);
|
|
488
|
+
const [srcDir, rootDir, buildDir, sharedDir, serverDir] = await Promise.all([get("srcDir"), get("rootDir"), get("buildDir"), get("dir.shared"), get("serverDir")]);
|
|
489
489
|
const srcWithTrailingSlash = withTrailingSlash(srcDir);
|
|
490
490
|
const rootWithTrailingSlash = withTrailingSlash(rootDir);
|
|
491
491
|
return {
|
|
@@ -494,6 +494,7 @@ const common = defineResolvers({
|
|
|
494
494
|
"~~": rootWithTrailingSlash,
|
|
495
495
|
"@@": rootWithTrailingSlash,
|
|
496
496
|
"#shared": withTrailingSlash(resolve(rootDir, sharedDir)),
|
|
497
|
+
"#server": withTrailingSlash(serverDir),
|
|
497
498
|
"#build": withTrailingSlash(buildDir),
|
|
498
499
|
"#internal/nuxt/paths": resolve(buildDir, "paths.mjs"),
|
|
499
500
|
...typeof val === "object" ? val : {}
|
|
@@ -1132,7 +1133,7 @@ const vite = defineResolvers({
|
|
|
1132
1133
|
},
|
|
1133
1134
|
optimizeDeps: {
|
|
1134
1135
|
esbuildOptions: {
|
|
1135
|
-
$resolve: async (val, get) => defu
|
|
1136
|
+
$resolve: async (val, get) => defu(val && typeof val === "object" ? val : {}, await get("esbuild.options"))
|
|
1136
1137
|
},
|
|
1137
1138
|
exclude: {
|
|
1138
1139
|
$resolve: async (val, get) => [
|
|
@@ -1144,7 +1145,7 @@ const vite = defineResolvers({
|
|
|
1144
1145
|
},
|
|
1145
1146
|
esbuild: {
|
|
1146
1147
|
$resolve: async (val, get) => {
|
|
1147
|
-
return defu
|
|
1148
|
+
return defu(val && typeof val === "object" ? val : {}, await get("esbuild.options"));
|
|
1148
1149
|
}
|
|
1149
1150
|
},
|
|
1150
1151
|
clearScreen: true,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxt/schema-nightly",
|
|
3
|
-
"version": "4.3.0-
|
|
3
|
+
"version": "4.3.0-29431658.1c44667d",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/nuxt/nuxt.git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"@types/webpack-bundle-analyzer": "4.7.0",
|
|
36
36
|
"@types/webpack-hot-middleware": "2.25.12",
|
|
37
37
|
"@unhead/vue": "2.0.19",
|
|
38
|
-
"@vitejs/plugin-vue": "6.0.
|
|
38
|
+
"@vitejs/plugin-vue": "6.0.3",
|
|
39
39
|
"@vitejs/plugin-vue-jsx": "5.1.2",
|
|
40
40
|
"@vue/compiler-core": "3.5.25",
|
|
41
41
|
"@vue/compiler-sfc": "3.5.25",
|
|
@@ -53,20 +53,20 @@
|
|
|
53
53
|
"mini-css-extract-plugin": "2.9.4",
|
|
54
54
|
"nitropack": "2.12.9",
|
|
55
55
|
"ofetch": "1.5.1",
|
|
56
|
-
"oxc-transform": "0.
|
|
56
|
+
"oxc-transform": "0.103.0",
|
|
57
57
|
"postcss": "8.5.6",
|
|
58
58
|
"rollup-plugin-visualizer": "6.0.5",
|
|
59
59
|
"sass-loader": "16.0.6",
|
|
60
60
|
"scule": "1.3.0",
|
|
61
61
|
"unbuild": "3.6.1",
|
|
62
62
|
"unctx": "2.4.1",
|
|
63
|
-
"unimport": "5.
|
|
63
|
+
"unimport": "5.6.0",
|
|
64
64
|
"untyped": "2.0.0",
|
|
65
|
-
"vite": "7.
|
|
65
|
+
"vite": "7.3.0",
|
|
66
66
|
"vue": "3.5.25",
|
|
67
67
|
"vue-bundle-renderer": "2.2.0",
|
|
68
68
|
"vue-loader": "17.4.2",
|
|
69
|
-
"vue-router": "4.6.
|
|
69
|
+
"vue-router": "4.6.4",
|
|
70
70
|
"webpack": "5.103.0",
|
|
71
71
|
"webpack-dev-middleware": "7.4.5"
|
|
72
72
|
},
|