mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
chore: bump jest dependencies (#20506)
This commit is contained in:
parent
50a4b29a27
commit
edb2455528
@ -49,7 +49,7 @@
|
|||||||
"@vue/server-test-utils": "^1.3.0",
|
"@vue/server-test-utils": "^1.3.0",
|
||||||
"@vue/test-utils": "^1.3.5",
|
"@vue/test-utils": "^1.3.5",
|
||||||
"@vue/vue2-jest": "^29.2.3",
|
"@vue/vue2-jest": "^29.2.3",
|
||||||
"babel-jest": "^28.1.1",
|
"babel-jest": "^29.5.0",
|
||||||
"chrome-launcher": "^0.15.2",
|
"chrome-launcher": "^0.15.2",
|
||||||
"consola": "^2.15.3",
|
"consola": "^2.15.3",
|
||||||
"create-require": "^1.1.1",
|
"create-require": "^1.1.1",
|
||||||
@ -66,7 +66,7 @@
|
|||||||
"glob": "^8.1.0",
|
"glob": "^8.1.0",
|
||||||
"got": "^12.6.0",
|
"got": "^12.6.0",
|
||||||
"improved-yarn-audit": "^3.0.0",
|
"improved-yarn-audit": "^3.0.0",
|
||||||
"jest": "^28.1.1",
|
"jest": "^29.5.0",
|
||||||
"jest-environment-jsdom": "^29.5.0",
|
"jest-environment-jsdom": "^29.5.0",
|
||||||
"jest-util": "^29.5.0",
|
"jest-util": "^29.5.0",
|
||||||
"jiti": "^1.18.2",
|
"jiti": "^1.18.2",
|
||||||
|
@ -2,114 +2,114 @@
|
|||||||
|
|
||||||
exports[`builder: buildContext should construct context 1`] = `
|
exports[`builder: buildContext should construct context 1`] = `
|
||||||
TemplateContext {
|
TemplateContext {
|
||||||
"templateFiles": Array [
|
"templateFiles": [
|
||||||
"template.js",
|
"template.js",
|
||||||
],
|
],
|
||||||
"templateVars": Object {
|
"templateVars": {
|
||||||
"appPath": "./App.js",
|
"appPath": "./App.js",
|
||||||
"buildIndicator": undefined,
|
"buildIndicator": undefined,
|
||||||
"components": Object {
|
"components": {
|
||||||
"ErrorPage": "relativeBuild(test_error_page)",
|
"ErrorPage": "relativeBuild(test_error_page)",
|
||||||
},
|
},
|
||||||
"css": Array [
|
"css": [
|
||||||
"test.css",
|
"test.css",
|
||||||
],
|
],
|
||||||
"debug": "test_debug",
|
"debug": "test_debug",
|
||||||
"dir": Array [
|
"dir": [
|
||||||
"test_dir",
|
"test_dir",
|
||||||
],
|
],
|
||||||
"env": "test_env",
|
"env": "test_env",
|
||||||
"extensions": "test|ext",
|
"extensions": "test|ext",
|
||||||
"features": Object {
|
"features": {
|
||||||
"store": true,
|
"store": true,
|
||||||
},
|
},
|
||||||
"fetch": undefined,
|
"fetch": undefined,
|
||||||
"globalName": "test_global",
|
"globalName": "test_global",
|
||||||
"globals": Array [
|
"globals": [
|
||||||
"globals",
|
"globals",
|
||||||
],
|
],
|
||||||
"head": "test_head",
|
"head": "test_head",
|
||||||
"isDev": "test_dev",
|
"isDev": "test_dev",
|
||||||
"isFullStatic": false,
|
"isFullStatic": false,
|
||||||
"isTest": "test_test",
|
"isTest": "test_test",
|
||||||
"layoutTransition": Object {
|
"layoutTransition": {
|
||||||
"name": "test_layout_trans",
|
"name": "test_layout_trans",
|
||||||
},
|
},
|
||||||
"layouts": Object {
|
"layouts": {
|
||||||
"test-layout": "test.template",
|
"test-layout": "test.template",
|
||||||
},
|
},
|
||||||
"loading": "relativeBuild(test_src_dir, test-loading)",
|
"loading": "relativeBuild(test_src_dir, test-loading)",
|
||||||
"messages": Object {
|
"messages": {
|
||||||
"test": "test message",
|
"test": "test message",
|
||||||
},
|
},
|
||||||
"mode": "test mode",
|
"mode": "test mode",
|
||||||
"nuxtOptions": Object {
|
"nuxtOptions": {
|
||||||
"ErrorPage": "test_error_page",
|
"ErrorPage": "test_error_page",
|
||||||
"build": Object {
|
"build": {
|
||||||
"splitChunks": Object {
|
"splitChunks": {
|
||||||
"testSC": true,
|
"testSC": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"css": Array [
|
"css": [
|
||||||
"test.css",
|
"test.css",
|
||||||
],
|
],
|
||||||
"debug": "test_debug",
|
"debug": "test_debug",
|
||||||
"dev": "test_dev",
|
"dev": "test_dev",
|
||||||
"dir": Array [
|
"dir": [
|
||||||
"test_dir",
|
"test_dir",
|
||||||
],
|
],
|
||||||
"env": "test_env",
|
"env": "test_env",
|
||||||
"extensions": Array [
|
"extensions": [
|
||||||
"test",
|
"test",
|
||||||
"ext",
|
"ext",
|
||||||
],
|
],
|
||||||
"features": Object {
|
"features": {
|
||||||
"store": true,
|
"store": true,
|
||||||
},
|
},
|
||||||
"globalName": "test_global",
|
"globalName": "test_global",
|
||||||
"head": "test_head",
|
"head": "test_head",
|
||||||
"layoutTransition": Object {
|
"layoutTransition": {
|
||||||
"name": "test_layout_trans",
|
"name": "test_layout_trans",
|
||||||
},
|
},
|
||||||
"layouts": Object {
|
"layouts": {
|
||||||
"test-layout": "test.template",
|
"test-layout": "test.template",
|
||||||
},
|
},
|
||||||
"loading": "test-loading",
|
"loading": "test-loading",
|
||||||
"messages": Object {
|
"messages": {
|
||||||
"test": "test message",
|
"test": "test message",
|
||||||
},
|
},
|
||||||
"mode": "test mode",
|
"mode": "test mode",
|
||||||
"pageTransition": Object {
|
"pageTransition": {
|
||||||
"name": "test_trans",
|
"name": "test_trans",
|
||||||
},
|
},
|
||||||
"rootDir": "test_root_dir",
|
"rootDir": "test_root_dir",
|
||||||
"router": Object {
|
"router": {
|
||||||
"route": "test",
|
"route": "test",
|
||||||
},
|
},
|
||||||
"srcDir": "test_src_dir",
|
"srcDir": "test_src_dir",
|
||||||
"store": "test_store",
|
"store": "test_store",
|
||||||
"test": "test_test",
|
"test": "test_test",
|
||||||
"vue": Object {
|
"vue": {
|
||||||
"config": "test_config",
|
"config": "test_config",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"pageTransition": Object {
|
"pageTransition": {
|
||||||
"name": "test_trans",
|
"name": "test_trans",
|
||||||
},
|
},
|
||||||
"plugins": Array [
|
"plugins": [
|
||||||
"plugins",
|
"plugins",
|
||||||
],
|
],
|
||||||
"rootDir": "test_root_dir",
|
"rootDir": "test_root_dir",
|
||||||
"router": Object {
|
"router": {
|
||||||
"route": "test",
|
"route": "test",
|
||||||
},
|
},
|
||||||
"splitChunks": Object {
|
"splitChunks": {
|
||||||
"testSC": true,
|
"testSC": true,
|
||||||
},
|
},
|
||||||
"srcDir": "test_src_dir",
|
"srcDir": "test_src_dir",
|
||||||
"store": "test_store",
|
"store": "test_store",
|
||||||
"uniqBy": [Function],
|
"uniqBy": [Function],
|
||||||
"vue": Object {
|
"vue": {
|
||||||
"config": "test_config",
|
"config": "test_config",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`config: options should return default nuxt config 1`] = `
|
exports[`config: options should return default nuxt config 1`] = `
|
||||||
Object {
|
{
|
||||||
"ErrorPage": null,
|
"ErrorPage": null,
|
||||||
"__normalized__": true,
|
"__normalized__": true,
|
||||||
"_modules": Array [
|
"_modules": [
|
||||||
"@nuxt/components",
|
"@nuxt/components",
|
||||||
],
|
],
|
||||||
"_nuxtConfigFile": "/var/nuxt/test/nuxt.config.js",
|
"_nuxtConfigFile": "/var/nuxt/test/nuxt.config.js",
|
||||||
"_nuxtConfigFiles": Array [
|
"_nuxtConfigFiles": [
|
||||||
"/var/nuxt/test/nuxt.config.js",
|
"/var/nuxt/test/nuxt.config.js",
|
||||||
],
|
],
|
||||||
"alias": Object {
|
"alias": {
|
||||||
"@": "/var/nuxt/test",
|
"@": "/var/nuxt/test",
|
||||||
"@@": "/var/nuxt/test",
|
"@@": "/var/nuxt/test",
|
||||||
"assets": "/var/nuxt/test/assets",
|
"assets": "/var/nuxt/test/assets",
|
||||||
@ -19,18 +19,18 @@ Object {
|
|||||||
"~": "/var/nuxt/test",
|
"~": "/var/nuxt/test",
|
||||||
"~~": "/var/nuxt/test",
|
"~~": "/var/nuxt/test",
|
||||||
},
|
},
|
||||||
"app": Object {
|
"app": {
|
||||||
"assetsPath": "/_nuxt/",
|
"assetsPath": "/_nuxt/",
|
||||||
"basePath": "/",
|
"basePath": "/",
|
||||||
"cdnURL": null,
|
"cdnURL": null,
|
||||||
},
|
},
|
||||||
"appTemplatePath": "/var/nuxt/test/.nuxt/views/app.template.html",
|
"appTemplatePath": "/var/nuxt/test/.nuxt/views/app.template.html",
|
||||||
"build": Object {
|
"build": {
|
||||||
"_publicPath": "/_nuxt/",
|
"_publicPath": "/_nuxt/",
|
||||||
"additionalExtensions": Array [],
|
"additionalExtensions": [],
|
||||||
"aggressiveCodeRemoval": false,
|
"aggressiveCodeRemoval": false,
|
||||||
"analyze": false,
|
"analyze": false,
|
||||||
"babel": Object {
|
"babel": {
|
||||||
"babelrc": false,
|
"babelrc": false,
|
||||||
"cacheDirectory": false,
|
"cacheDirectory": false,
|
||||||
"configFile": false,
|
"configFile": false,
|
||||||
@ -38,11 +38,11 @@ Object {
|
|||||||
"cache": false,
|
"cache": false,
|
||||||
"corejs": "auto",
|
"corejs": "auto",
|
||||||
"cssSourceMap": false,
|
"cssSourceMap": false,
|
||||||
"devMiddleware": Object {
|
"devMiddleware": {
|
||||||
"stats": "none",
|
"stats": "none",
|
||||||
},
|
},
|
||||||
"extractCSS": false,
|
"extractCSS": false,
|
||||||
"filenames": Object {
|
"filenames": {
|
||||||
"app": [Function],
|
"app": [Function],
|
||||||
"chunk": [Function],
|
"chunk": [Function],
|
||||||
"css": [Function],
|
"css": [Function],
|
||||||
@ -53,9 +53,9 @@ Object {
|
|||||||
"followSymlinks": false,
|
"followSymlinks": false,
|
||||||
"friendlyErrors": true,
|
"friendlyErrors": true,
|
||||||
"hardSource": false,
|
"hardSource": false,
|
||||||
"hotMiddleware": Object {},
|
"hotMiddleware": {},
|
||||||
"html": Object {
|
"html": {
|
||||||
"minify": Object {
|
"minify": {
|
||||||
"collapseBooleanAttributes": true,
|
"collapseBooleanAttributes": true,
|
||||||
"decodeEntities": true,
|
"decodeEntities": true,
|
||||||
"minifyCSS": true,
|
"minifyCSS": true,
|
||||||
@ -68,83 +68,83 @@ Object {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
"indicator": false,
|
"indicator": false,
|
||||||
"loaders": Object {
|
"loaders": {
|
||||||
"css": Object {
|
"css": {
|
||||||
"esModule": false,
|
"esModule": false,
|
||||||
"modules": Object {
|
"modules": {
|
||||||
"compileType": "icss",
|
"compileType": "icss",
|
||||||
},
|
},
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
},
|
},
|
||||||
"cssModules": Object {
|
"cssModules": {
|
||||||
"esModule": false,
|
"esModule": false,
|
||||||
"modules": Object {
|
"modules": {
|
||||||
"localIdentName": "[local]_[hash:base64:5]",
|
"localIdentName": "[local]_[hash:base64:5]",
|
||||||
},
|
},
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
},
|
},
|
||||||
"file": Object {
|
"file": {
|
||||||
"esModule": false,
|
"esModule": false,
|
||||||
},
|
},
|
||||||
"fontUrl": Object {
|
"fontUrl": {
|
||||||
"esModule": false,
|
"esModule": false,
|
||||||
"limit": 1000,
|
"limit": 1000,
|
||||||
},
|
},
|
||||||
"imgUrl": Object {
|
"imgUrl": {
|
||||||
"esModule": false,
|
"esModule": false,
|
||||||
"limit": 1000,
|
"limit": 1000,
|
||||||
},
|
},
|
||||||
"less": Object {
|
"less": {
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
},
|
},
|
||||||
"pugPlain": Object {},
|
"pugPlain": {},
|
||||||
"sass": Object {
|
"sass": {
|
||||||
"sassOptions": Object {
|
"sassOptions": {
|
||||||
"indentedSyntax": true,
|
"indentedSyntax": true,
|
||||||
},
|
},
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
},
|
},
|
||||||
"scss": Object {
|
"scss": {
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
},
|
},
|
||||||
"stylus": Object {
|
"stylus": {
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
},
|
},
|
||||||
"vue": Object {
|
"vue": {
|
||||||
"productionMode": true,
|
"productionMode": true,
|
||||||
"transformAssetUrls": Object {
|
"transformAssetUrls": {
|
||||||
"embed": "src",
|
"embed": "src",
|
||||||
"object": "src",
|
"object": "src",
|
||||||
"source": "src",
|
"source": "src",
|
||||||
"video": "src",
|
"video": "src",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"vueStyle": Object {
|
"vueStyle": {
|
||||||
"sourceMap": false,
|
"sourceMap": false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"loadingScreen": false,
|
"loadingScreen": false,
|
||||||
"optimization": Object {
|
"optimization": {
|
||||||
"minimize": true,
|
"minimize": true,
|
||||||
"minimizer": undefined,
|
"minimizer": undefined,
|
||||||
"runtimeChunk": "single",
|
"runtimeChunk": "single",
|
||||||
"splitChunks": Object {
|
"splitChunks": {
|
||||||
"automaticNameDelimiter": "/",
|
"automaticNameDelimiter": "/",
|
||||||
"cacheGroups": Object {},
|
"cacheGroups": {},
|
||||||
"chunks": "all",
|
"chunks": "all",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"optimizeCSS": false,
|
"optimizeCSS": false,
|
||||||
"parallel": false,
|
"parallel": false,
|
||||||
"plugins": Array [],
|
"plugins": [],
|
||||||
"postcss": Object {
|
"postcss": {
|
||||||
"postcssOptions": Object {},
|
"postcssOptions": {},
|
||||||
},
|
},
|
||||||
"profile": false,
|
"profile": false,
|
||||||
"publicPath": "/_nuxt/",
|
"publicPath": "/_nuxt/",
|
||||||
"quiet": true,
|
"quiet": true,
|
||||||
"serverURLPolyfill": "url",
|
"serverURLPolyfill": "url",
|
||||||
"splitChunks": Object {
|
"splitChunks": {
|
||||||
"commons": true,
|
"commons": true,
|
||||||
"layouts": false,
|
"layouts": false,
|
||||||
"pages": true,
|
"pages": true,
|
||||||
@ -152,25 +152,25 @@ Object {
|
|||||||
"ssr": true,
|
"ssr": true,
|
||||||
"standalone": false,
|
"standalone": false,
|
||||||
"stats": false,
|
"stats": false,
|
||||||
"styleResources": Object {},
|
"styleResources": {},
|
||||||
"template": undefined,
|
"template": undefined,
|
||||||
"templates": Array [],
|
"templates": [],
|
||||||
"terser": Object {},
|
"terser": {},
|
||||||
"transpile": Array [],
|
"transpile": [],
|
||||||
"warningIgnoreFilters": Array [],
|
"warningIgnoreFilters": [],
|
||||||
"watch": Array [],
|
"watch": [],
|
||||||
},
|
},
|
||||||
"buildDir": "/var/nuxt/test/.nuxt",
|
"buildDir": "/var/nuxt/test/.nuxt",
|
||||||
"buildModules": Array [],
|
"buildModules": [],
|
||||||
"cli": Object {
|
"cli": {
|
||||||
"badgeMessages": Array [],
|
"badgeMessages": [],
|
||||||
"bannerColor": "green",
|
"bannerColor": "green",
|
||||||
},
|
},
|
||||||
"createRequire": [MockFunction],
|
"createRequire": [MockFunction],
|
||||||
"css": Array [],
|
"css": [],
|
||||||
"debug": false,
|
"debug": false,
|
||||||
"dev": false,
|
"dev": false,
|
||||||
"dir": Object {
|
"dir": {
|
||||||
"app": "app",
|
"app": "app",
|
||||||
"assets": "assets",
|
"assets": "assets",
|
||||||
"layouts": "layouts",
|
"layouts": "layouts",
|
||||||
@ -180,13 +180,13 @@ Object {
|
|||||||
"store": "store",
|
"store": "store",
|
||||||
},
|
},
|
||||||
"editor": undefined,
|
"editor": undefined,
|
||||||
"env": Object {},
|
"env": {},
|
||||||
"extendPlugins": null,
|
"extendPlugins": null,
|
||||||
"extensions": Array [
|
"extensions": [
|
||||||
"js",
|
"js",
|
||||||
"mjs",
|
"mjs",
|
||||||
],
|
],
|
||||||
"features": Object {
|
"features": {
|
||||||
"asyncData": true,
|
"asyncData": true,
|
||||||
"clientOnline": true,
|
"clientOnline": true,
|
||||||
"clientPrefetch": true,
|
"clientPrefetch": true,
|
||||||
@ -201,28 +201,28 @@ Object {
|
|||||||
"transitions": true,
|
"transitions": true,
|
||||||
"validate": true,
|
"validate": true,
|
||||||
},
|
},
|
||||||
"fetch": Object {
|
"fetch": {
|
||||||
"client": true,
|
"client": true,
|
||||||
"server": true,
|
"server": true,
|
||||||
},
|
},
|
||||||
"generate": Object {
|
"generate": {
|
||||||
"cache": Object {
|
"cache": {
|
||||||
"globbyOptions": Object {
|
"globbyOptions": {
|
||||||
"gitignore": true,
|
"gitignore": true,
|
||||||
},
|
},
|
||||||
"ignore": Array [],
|
"ignore": [],
|
||||||
},
|
},
|
||||||
"concurrency": 500,
|
"concurrency": 500,
|
||||||
"crawler": true,
|
"crawler": true,
|
||||||
"dir": "/var/nuxt/test/dist",
|
"dir": "/var/nuxt/test/dist",
|
||||||
"exclude": Array [],
|
"exclude": [],
|
||||||
"fallback": "200.html",
|
"fallback": "200.html",
|
||||||
"ignoreEnv": false,
|
"ignoreEnv": false,
|
||||||
"interval": 0,
|
"interval": 0,
|
||||||
"manifest": true,
|
"manifest": true,
|
||||||
"nojekyll": true,
|
"nojekyll": true,
|
||||||
"routes": Array [],
|
"routes": [],
|
||||||
"staticAssets": Object {
|
"staticAssets": {
|
||||||
"base": "/_nuxt/static",
|
"base": "/_nuxt/static",
|
||||||
"dir": "static",
|
"dir": "static",
|
||||||
"version": "x",
|
"version": "x",
|
||||||
@ -231,7 +231,7 @@ Object {
|
|||||||
"subFolders": true,
|
"subFolders": true,
|
||||||
},
|
},
|
||||||
"globalName": "nuxt",
|
"globalName": "nuxt",
|
||||||
"globals": Object {
|
"globals": {
|
||||||
"context": [Function],
|
"context": [Function],
|
||||||
"id": [Function],
|
"id": [Function],
|
||||||
"loadedCallback": [Function],
|
"loadedCallback": [Function],
|
||||||
@ -239,26 +239,26 @@ Object {
|
|||||||
"pluginPrefix": [Function],
|
"pluginPrefix": [Function],
|
||||||
"readyCallback": [Function],
|
"readyCallback": [Function],
|
||||||
},
|
},
|
||||||
"head": Object {
|
"head": {
|
||||||
"link": Array [],
|
"link": [],
|
||||||
"meta": Array [],
|
"meta": [],
|
||||||
"script": Array [],
|
"script": [],
|
||||||
"style": Array [],
|
"style": [],
|
||||||
},
|
},
|
||||||
"hooks": null,
|
"hooks": null,
|
||||||
"ignore": Array [
|
"ignore": [
|
||||||
"**/*.test.*",
|
"**/*.test.*",
|
||||||
"**/*.spec.*",
|
"**/*.spec.*",
|
||||||
"**/-*.*",
|
"**/-*.*",
|
||||||
],
|
],
|
||||||
"ignoreOptions": undefined,
|
"ignoreOptions": undefined,
|
||||||
"ignorePrefix": "-",
|
"ignorePrefix": "-",
|
||||||
"layoutTransition": Object {
|
"layoutTransition": {
|
||||||
"mode": "out-in",
|
"mode": "out-in",
|
||||||
"name": "layout",
|
"name": "layout",
|
||||||
},
|
},
|
||||||
"layouts": Object {},
|
"layouts": {},
|
||||||
"loading": Object {
|
"loading": {
|
||||||
"color": "black",
|
"color": "black",
|
||||||
"continuous": false,
|
"continuous": false,
|
||||||
"css": true,
|
"css": true,
|
||||||
@ -268,7 +268,7 @@ Object {
|
|||||||
"rtl": false,
|
"rtl": false,
|
||||||
"throttle": 200,
|
"throttle": 200,
|
||||||
},
|
},
|
||||||
"loadingIndicator": Object {
|
"loadingIndicator": {
|
||||||
"background": "white",
|
"background": "white",
|
||||||
"color": "black",
|
"color": "black",
|
||||||
"color2": "#F5F5F5",
|
"color2": "#F5F5F5",
|
||||||
@ -276,7 +276,7 @@ Object {
|
|||||||
"loading": "Loading...",
|
"loading": "Loading...",
|
||||||
"name": "default",
|
"name": "default",
|
||||||
},
|
},
|
||||||
"messages": Object {
|
"messages": {
|
||||||
"back_to_home": "Back to the home page",
|
"back_to_home": "Back to the home page",
|
||||||
"client_error": "Error",
|
"client_error": "Error",
|
||||||
"client_error_details": "An error occurred while rendering the page. Check developer tools console for details.",
|
"client_error_details": "An error occurred while rendering the page. Check developer tools console for details.",
|
||||||
@ -288,30 +288,30 @@ Object {
|
|||||||
},
|
},
|
||||||
"mode": "universal",
|
"mode": "universal",
|
||||||
"modern": undefined,
|
"modern": undefined,
|
||||||
"modes": Object {
|
"modes": {
|
||||||
"spa": Object {
|
"spa": {
|
||||||
"build": Object {
|
"build": {
|
||||||
"ssr": false,
|
"ssr": false,
|
||||||
},
|
},
|
||||||
"render": Object {
|
"render": {
|
||||||
"ssr": false,
|
"ssr": false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"universal": Object {
|
"universal": {
|
||||||
"build": Object {
|
"build": {
|
||||||
"ssr": true,
|
"ssr": true,
|
||||||
},
|
},
|
||||||
"render": Object {
|
"render": {
|
||||||
"ssr": true,
|
"ssr": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"modules": Array [],
|
"modules": [],
|
||||||
"modulesDir": Array [
|
"modulesDir": [
|
||||||
"/var/nuxt/node_modules",
|
"/var/nuxt/node_modules",
|
||||||
"/var/nuxt/test/node_modules",
|
"/var/nuxt/test/node_modules",
|
||||||
],
|
],
|
||||||
"pageTransition": Object {
|
"pageTransition": {
|
||||||
"appear": false,
|
"appear": false,
|
||||||
"appearActiveClass": "appear-active",
|
"appearActiveClass": "appear-active",
|
||||||
"appearClass": "appear",
|
"appearClass": "appear",
|
||||||
@ -319,44 +319,44 @@ Object {
|
|||||||
"mode": "out-in",
|
"mode": "out-in",
|
||||||
"name": "page",
|
"name": "page",
|
||||||
},
|
},
|
||||||
"plugins": Array [],
|
"plugins": [],
|
||||||
"privateRuntimeConfig": Object {},
|
"privateRuntimeConfig": {},
|
||||||
"publicRuntimeConfig": Object {
|
"publicRuntimeConfig": {
|
||||||
"_app": Object {
|
"_app": {
|
||||||
"assetsPath": "/_nuxt/",
|
"assetsPath": "/_nuxt/",
|
||||||
"basePath": "/",
|
"basePath": "/",
|
||||||
"cdnURL": null,
|
"cdnURL": null,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"render": Object {
|
"render": {
|
||||||
"bundleRenderer": Object {
|
"bundleRenderer": {
|
||||||
"runInNewContext": false,
|
"runInNewContext": false,
|
||||||
"shouldPrefetch": [Function],
|
"shouldPrefetch": [Function],
|
||||||
"shouldPreload": [Function],
|
"shouldPreload": [Function],
|
||||||
},
|
},
|
||||||
"compressor": Object {
|
"compressor": {
|
||||||
"threshold": 0,
|
"threshold": 0,
|
||||||
},
|
},
|
||||||
"crossorigin": undefined,
|
"crossorigin": undefined,
|
||||||
"csp": false,
|
"csp": false,
|
||||||
"dist": Object {
|
"dist": {
|
||||||
"index": false,
|
"index": false,
|
||||||
"maxAge": "1y",
|
"maxAge": "1y",
|
||||||
},
|
},
|
||||||
"etag": Object {
|
"etag": {
|
||||||
"weak": false,
|
"weak": false,
|
||||||
},
|
},
|
||||||
"fallback": Object {
|
"fallback": {
|
||||||
"dist": Object {},
|
"dist": {},
|
||||||
"static": Object {
|
"static": {
|
||||||
"handlers": Object {
|
"handlers": {
|
||||||
".htm": false,
|
".htm": false,
|
||||||
".html": false,
|
".html": false,
|
||||||
},
|
},
|
||||||
"skipUnknown": true,
|
"skipUnknown": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"http2": Object {
|
"http2": {
|
||||||
"push": false,
|
"push": false,
|
||||||
"pushAssets": null,
|
"pushAssets": null,
|
||||||
"shouldPush": null,
|
"shouldPush": null,
|
||||||
@ -364,40 +364,40 @@ Object {
|
|||||||
"resourceHints": true,
|
"resourceHints": true,
|
||||||
"ssr": true,
|
"ssr": true,
|
||||||
"ssrLog": false,
|
"ssrLog": false,
|
||||||
"static": Object {
|
"static": {
|
||||||
"prefix": true,
|
"prefix": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"rootDir": "/var/nuxt/test",
|
"rootDir": "/var/nuxt/test",
|
||||||
"router": Object {
|
"router": {
|
||||||
"base": "/",
|
"base": "/",
|
||||||
"extendRoutes": null,
|
"extendRoutes": null,
|
||||||
"fallback": false,
|
"fallback": false,
|
||||||
"linkActiveClass": "nuxt-link-active",
|
"linkActiveClass": "nuxt-link-active",
|
||||||
"linkExactActiveClass": "nuxt-link-exact-active",
|
"linkExactActiveClass": "nuxt-link-exact-active",
|
||||||
"linkPrefetchedClass": false,
|
"linkPrefetchedClass": false,
|
||||||
"middleware": Array [],
|
"middleware": [],
|
||||||
"mode": "history",
|
"mode": "history",
|
||||||
"parseQuery": false,
|
"parseQuery": false,
|
||||||
"prefetchLinks": true,
|
"prefetchLinks": true,
|
||||||
"prefetchPayloads": true,
|
"prefetchPayloads": true,
|
||||||
"routeNameSplitter": "-",
|
"routeNameSplitter": "-",
|
||||||
"routes": Array [],
|
"routes": [],
|
||||||
"scrollBehavior": null,
|
"scrollBehavior": null,
|
||||||
"stringifyQuery": false,
|
"stringifyQuery": false,
|
||||||
"trailingSlash": undefined,
|
"trailingSlash": undefined,
|
||||||
},
|
},
|
||||||
"server": Object {
|
"server": {
|
||||||
"host": "localhost",
|
"host": "localhost",
|
||||||
"https": false,
|
"https": false,
|
||||||
"port": 3000,
|
"port": 3000,
|
||||||
"socket": undefined,
|
"socket": undefined,
|
||||||
"timing": false,
|
"timing": false,
|
||||||
},
|
},
|
||||||
"serverMiddleware": Array [],
|
"serverMiddleware": [],
|
||||||
"srcDir": "/var/nuxt/test",
|
"srcDir": "/var/nuxt/test",
|
||||||
"ssr": true,
|
"ssr": true,
|
||||||
"styleExtensions": Array [
|
"styleExtensions": [
|
||||||
"css",
|
"css",
|
||||||
"pcss",
|
"pcss",
|
||||||
"postcss",
|
"postcss",
|
||||||
@ -409,22 +409,22 @@ Object {
|
|||||||
],
|
],
|
||||||
"target": "server",
|
"target": "server",
|
||||||
"test": true,
|
"test": true,
|
||||||
"vue": Object {
|
"vue": {
|
||||||
"config": Object {
|
"config": {
|
||||||
"performance": false,
|
"performance": false,
|
||||||
"silent": true,
|
"silent": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"vueMeta": null,
|
"vueMeta": null,
|
||||||
"watch": Array [
|
"watch": [
|
||||||
"/var/nuxt/test/nuxt.config.js",
|
"/var/nuxt/test/nuxt.config.js",
|
||||||
],
|
],
|
||||||
"watchers": Object {
|
"watchers": {
|
||||||
"chokidar": Object {
|
"chokidar": {
|
||||||
"ignoreInitial": true,
|
"ignoreInitial": true,
|
||||||
},
|
},
|
||||||
"rewatchOnRawEvents": undefined,
|
"rewatchOnRawEvents": undefined,
|
||||||
"webpack": Object {
|
"webpack": {
|
||||||
"aggregateTimeout": 1000,
|
"aggregateTimeout": 1000,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -1,16 +1,16 @@
|
|||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`config should return default nuxt configurations 1`] = `
|
exports[`config should return default nuxt configurations 1`] = `
|
||||||
Object {
|
{
|
||||||
"ErrorPage": null,
|
"ErrorPage": null,
|
||||||
"_modules": Array [],
|
"_modules": [],
|
||||||
"_nuxtConfigFile": undefined,
|
"_nuxtConfigFile": undefined,
|
||||||
"alias": Object {},
|
"alias": {},
|
||||||
"build": Object {
|
"build": {
|
||||||
"additionalExtensions": Array [],
|
"additionalExtensions": [],
|
||||||
"aggressiveCodeRemoval": false,
|
"aggressiveCodeRemoval": false,
|
||||||
"analyze": false,
|
"analyze": false,
|
||||||
"babel": Object {
|
"babel": {
|
||||||
"babelrc": false,
|
"babelrc": false,
|
||||||
"cacheDirectory": undefined,
|
"cacheDirectory": undefined,
|
||||||
"configFile": false,
|
"configFile": false,
|
||||||
@ -18,11 +18,11 @@ Object {
|
|||||||
"cache": false,
|
"cache": false,
|
||||||
"corejs": "auto",
|
"corejs": "auto",
|
||||||
"cssSourceMap": undefined,
|
"cssSourceMap": undefined,
|
||||||
"devMiddleware": Object {
|
"devMiddleware": {
|
||||||
"stats": "none",
|
"stats": "none",
|
||||||
},
|
},
|
||||||
"extractCSS": false,
|
"extractCSS": false,
|
||||||
"filenames": Object {
|
"filenames": {
|
||||||
"app": [Function],
|
"app": [Function],
|
||||||
"chunk": [Function],
|
"chunk": [Function],
|
||||||
"css": [Function],
|
"css": [Function],
|
||||||
@ -33,9 +33,9 @@ Object {
|
|||||||
"followSymlinks": false,
|
"followSymlinks": false,
|
||||||
"friendlyErrors": true,
|
"friendlyErrors": true,
|
||||||
"hardSource": false,
|
"hardSource": false,
|
||||||
"hotMiddleware": Object {},
|
"hotMiddleware": {},
|
||||||
"html": Object {
|
"html": {
|
||||||
"minify": Object {
|
"minify": {
|
||||||
"collapseBooleanAttributes": true,
|
"collapseBooleanAttributes": true,
|
||||||
"decodeEntities": true,
|
"decodeEntities": true,
|
||||||
"minifyCSS": true,
|
"minifyCSS": true,
|
||||||
@ -47,108 +47,108 @@ Object {
|
|||||||
"useShortDoctype": true,
|
"useShortDoctype": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"indicator": Object {
|
"indicator": {
|
||||||
"backgroundColor": "#2E495E",
|
"backgroundColor": "#2E495E",
|
||||||
"color": "#00C48D",
|
"color": "#00C48D",
|
||||||
"position": "bottom-right",
|
"position": "bottom-right",
|
||||||
},
|
},
|
||||||
"loaders": Object {
|
"loaders": {
|
||||||
"css": Object {
|
"css": {
|
||||||
"esModule": false,
|
"esModule": false,
|
||||||
"modules": Object {
|
"modules": {
|
||||||
"compileType": "icss",
|
"compileType": "icss",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"cssModules": Object {
|
"cssModules": {
|
||||||
"esModule": false,
|
"esModule": false,
|
||||||
"modules": Object {
|
"modules": {
|
||||||
"localIdentName": "[local]_[hash:base64:5]",
|
"localIdentName": "[local]_[hash:base64:5]",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"file": Object {
|
"file": {
|
||||||
"esModule": false,
|
"esModule": false,
|
||||||
},
|
},
|
||||||
"fontUrl": Object {
|
"fontUrl": {
|
||||||
"esModule": false,
|
"esModule": false,
|
||||||
"limit": 1000,
|
"limit": 1000,
|
||||||
},
|
},
|
||||||
"imgUrl": Object {
|
"imgUrl": {
|
||||||
"esModule": false,
|
"esModule": false,
|
||||||
"limit": 1000,
|
"limit": 1000,
|
||||||
},
|
},
|
||||||
"less": Object {},
|
"less": {},
|
||||||
"pugPlain": Object {},
|
"pugPlain": {},
|
||||||
"sass": Object {
|
"sass": {
|
||||||
"sassOptions": Object {
|
"sassOptions": {
|
||||||
"indentedSyntax": true,
|
"indentedSyntax": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"scss": Object {},
|
"scss": {},
|
||||||
"stylus": Object {},
|
"stylus": {},
|
||||||
"vue": Object {
|
"vue": {
|
||||||
"transformAssetUrls": Object {
|
"transformAssetUrls": {
|
||||||
"embed": "src",
|
"embed": "src",
|
||||||
"object": "src",
|
"object": "src",
|
||||||
"source": "src",
|
"source": "src",
|
||||||
"video": "src",
|
"video": "src",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"vueStyle": Object {},
|
"vueStyle": {},
|
||||||
},
|
},
|
||||||
"loadingScreen": Object {},
|
"loadingScreen": {},
|
||||||
"optimization": Object {
|
"optimization": {
|
||||||
"minimize": undefined,
|
"minimize": undefined,
|
||||||
"minimizer": undefined,
|
"minimizer": undefined,
|
||||||
"runtimeChunk": "single",
|
"runtimeChunk": "single",
|
||||||
"splitChunks": Object {
|
"splitChunks": {
|
||||||
"automaticNameDelimiter": "/",
|
"automaticNameDelimiter": "/",
|
||||||
"cacheGroups": Object {},
|
"cacheGroups": {},
|
||||||
"chunks": "all",
|
"chunks": "all",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"optimizeCSS": undefined,
|
"optimizeCSS": undefined,
|
||||||
"parallel": false,
|
"parallel": false,
|
||||||
"plugins": Array [],
|
"plugins": [],
|
||||||
"postcss": Object {
|
"postcss": {
|
||||||
"postcssOptions": Object {},
|
"postcssOptions": {},
|
||||||
},
|
},
|
||||||
"profile": false,
|
"profile": false,
|
||||||
"publicPath": "/_nuxt/",
|
"publicPath": "/_nuxt/",
|
||||||
"quiet": true,
|
"quiet": true,
|
||||||
"serverURLPolyfill": "url",
|
"serverURLPolyfill": "url",
|
||||||
"splitChunks": Object {
|
"splitChunks": {
|
||||||
"commons": true,
|
"commons": true,
|
||||||
"layouts": false,
|
"layouts": false,
|
||||||
"pages": true,
|
"pages": true,
|
||||||
},
|
},
|
||||||
"ssr": undefined,
|
"ssr": undefined,
|
||||||
"standalone": false,
|
"standalone": false,
|
||||||
"stats": Object {
|
"stats": {
|
||||||
"excludeAssets": Array [
|
"excludeAssets": [
|
||||||
/\\.map\\$/,
|
/\\.map\\$/,
|
||||||
/index\\\\\\.\\.\\+\\\\\\.html\\$/,
|
/index\\\\\\.\\.\\+\\\\\\.html\\$/,
|
||||||
/vue-ssr-\\(client\\|modern\\)-manifest\\.json/,
|
/vue-ssr-\\(client\\|modern\\)-manifest\\.json/,
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
"styleResources": Object {},
|
"styleResources": {},
|
||||||
"template": undefined,
|
"template": undefined,
|
||||||
"templates": Array [],
|
"templates": [],
|
||||||
"terser": Object {},
|
"terser": {},
|
||||||
"transpile": Array [],
|
"transpile": [],
|
||||||
"warningIgnoreFilters": Array [],
|
"warningIgnoreFilters": [],
|
||||||
"watch": Array [],
|
"watch": [],
|
||||||
},
|
},
|
||||||
"buildDir": ".nuxt",
|
"buildDir": ".nuxt",
|
||||||
"buildModules": Array [],
|
"buildModules": [],
|
||||||
"cli": Object {
|
"cli": {
|
||||||
"badgeMessages": Array [],
|
"badgeMessages": [],
|
||||||
"bannerColor": "green",
|
"bannerColor": "green",
|
||||||
},
|
},
|
||||||
"createRequire": undefined,
|
"createRequire": undefined,
|
||||||
"css": Array [],
|
"css": [],
|
||||||
"debug": undefined,
|
"debug": undefined,
|
||||||
"dev": false,
|
"dev": false,
|
||||||
"dir": Object {
|
"dir": {
|
||||||
"app": "app",
|
"app": "app",
|
||||||
"assets": "assets",
|
"assets": "assets",
|
||||||
"layouts": "layouts",
|
"layouts": "layouts",
|
||||||
@ -158,10 +158,10 @@ Object {
|
|||||||
"store": "store",
|
"store": "store",
|
||||||
},
|
},
|
||||||
"editor": undefined,
|
"editor": undefined,
|
||||||
"env": Object {},
|
"env": {},
|
||||||
"extendPlugins": null,
|
"extendPlugins": null,
|
||||||
"extensions": Array [],
|
"extensions": [],
|
||||||
"features": Object {
|
"features": {
|
||||||
"asyncData": true,
|
"asyncData": true,
|
||||||
"clientOnline": true,
|
"clientOnline": true,
|
||||||
"clientPrefetch": true,
|
"clientPrefetch": true,
|
||||||
@ -176,28 +176,28 @@ Object {
|
|||||||
"transitions": true,
|
"transitions": true,
|
||||||
"validate": true,
|
"validate": true,
|
||||||
},
|
},
|
||||||
"fetch": Object {
|
"fetch": {
|
||||||
"client": true,
|
"client": true,
|
||||||
"server": true,
|
"server": true,
|
||||||
},
|
},
|
||||||
"generate": Object {
|
"generate": {
|
||||||
"cache": Object {
|
"cache": {
|
||||||
"globbyOptions": Object {
|
"globbyOptions": {
|
||||||
"gitignore": true,
|
"gitignore": true,
|
||||||
},
|
},
|
||||||
"ignore": Array [],
|
"ignore": [],
|
||||||
},
|
},
|
||||||
"concurrency": 500,
|
"concurrency": 500,
|
||||||
"crawler": true,
|
"crawler": true,
|
||||||
"dir": "dist",
|
"dir": "dist",
|
||||||
"exclude": Array [],
|
"exclude": [],
|
||||||
"fallback": "200.html",
|
"fallback": "200.html",
|
||||||
"ignoreEnv": false,
|
"ignoreEnv": false,
|
||||||
"interval": 0,
|
"interval": 0,
|
||||||
"manifest": true,
|
"manifest": true,
|
||||||
"nojekyll": true,
|
"nojekyll": true,
|
||||||
"routes": Array [],
|
"routes": [],
|
||||||
"staticAssets": Object {
|
"staticAssets": {
|
||||||
"base": undefined,
|
"base": undefined,
|
||||||
"dir": "static",
|
"dir": "static",
|
||||||
"version": undefined,
|
"version": undefined,
|
||||||
@ -206,7 +206,7 @@ Object {
|
|||||||
"subFolders": true,
|
"subFolders": true,
|
||||||
},
|
},
|
||||||
"globalName": undefined,
|
"globalName": undefined,
|
||||||
"globals": Object {
|
"globals": {
|
||||||
"context": [Function],
|
"context": [Function],
|
||||||
"id": [Function],
|
"id": [Function],
|
||||||
"loadedCallback": [Function],
|
"loadedCallback": [Function],
|
||||||
@ -214,25 +214,25 @@ Object {
|
|||||||
"pluginPrefix": [Function],
|
"pluginPrefix": [Function],
|
||||||
"readyCallback": [Function],
|
"readyCallback": [Function],
|
||||||
},
|
},
|
||||||
"head": Object {
|
"head": {
|
||||||
"link": Array [],
|
"link": [],
|
||||||
"meta": Array [],
|
"meta": [],
|
||||||
"script": Array [],
|
"script": [],
|
||||||
"style": Array [],
|
"style": [],
|
||||||
},
|
},
|
||||||
"hooks": null,
|
"hooks": null,
|
||||||
"ignore": Array [
|
"ignore": [
|
||||||
"**/*.test.*",
|
"**/*.test.*",
|
||||||
"**/*.spec.*",
|
"**/*.spec.*",
|
||||||
],
|
],
|
||||||
"ignoreOptions": undefined,
|
"ignoreOptions": undefined,
|
||||||
"ignorePrefix": "-",
|
"ignorePrefix": "-",
|
||||||
"layoutTransition": Object {
|
"layoutTransition": {
|
||||||
"mode": "out-in",
|
"mode": "out-in",
|
||||||
"name": "layout",
|
"name": "layout",
|
||||||
},
|
},
|
||||||
"layouts": Object {},
|
"layouts": {},
|
||||||
"loading": Object {
|
"loading": {
|
||||||
"color": "black",
|
"color": "black",
|
||||||
"continuous": false,
|
"continuous": false,
|
||||||
"css": true,
|
"css": true,
|
||||||
@ -243,7 +243,7 @@ Object {
|
|||||||
"throttle": 200,
|
"throttle": 200,
|
||||||
},
|
},
|
||||||
"loadingIndicator": "default",
|
"loadingIndicator": "default",
|
||||||
"messages": Object {
|
"messages": {
|
||||||
"back_to_home": "Back to the home page",
|
"back_to_home": "Back to the home page",
|
||||||
"client_error": "Error",
|
"client_error": "Error",
|
||||||
"client_error_details": "An error occurred while rendering the page. Check developer tools console for details.",
|
"client_error_details": "An error occurred while rendering the page. Check developer tools console for details.",
|
||||||
@ -255,29 +255,29 @@ Object {
|
|||||||
},
|
},
|
||||||
"mode": undefined,
|
"mode": undefined,
|
||||||
"modern": undefined,
|
"modern": undefined,
|
||||||
"modes": Object {
|
"modes": {
|
||||||
"spa": Object {
|
"spa": {
|
||||||
"build": Object {
|
"build": {
|
||||||
"ssr": false,
|
"ssr": false,
|
||||||
},
|
},
|
||||||
"render": Object {
|
"render": {
|
||||||
"ssr": false,
|
"ssr": false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"universal": Object {
|
"universal": {
|
||||||
"build": Object {
|
"build": {
|
||||||
"ssr": true,
|
"ssr": true,
|
||||||
},
|
},
|
||||||
"render": Object {
|
"render": {
|
||||||
"ssr": true,
|
"ssr": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"modules": Array [],
|
"modules": [],
|
||||||
"modulesDir": Array [
|
"modulesDir": [
|
||||||
"node_modules",
|
"node_modules",
|
||||||
],
|
],
|
||||||
"pageTransition": Object {
|
"pageTransition": {
|
||||||
"appear": false,
|
"appear": false,
|
||||||
"appearActiveClass": "appear-active",
|
"appearActiveClass": "appear-active",
|
||||||
"appearClass": "appear",
|
"appearClass": "appear",
|
||||||
@ -285,38 +285,38 @@ Object {
|
|||||||
"mode": "out-in",
|
"mode": "out-in",
|
||||||
"name": "page",
|
"name": "page",
|
||||||
},
|
},
|
||||||
"plugins": Array [],
|
"plugins": [],
|
||||||
"privateRuntimeConfig": Object {},
|
"privateRuntimeConfig": {},
|
||||||
"publicRuntimeConfig": Object {},
|
"publicRuntimeConfig": {},
|
||||||
"render": Object {
|
"render": {
|
||||||
"bundleRenderer": Object {
|
"bundleRenderer": {
|
||||||
"runInNewContext": undefined,
|
"runInNewContext": undefined,
|
||||||
"shouldPrefetch": [Function],
|
"shouldPrefetch": [Function],
|
||||||
"shouldPreload": [Function],
|
"shouldPreload": [Function],
|
||||||
},
|
},
|
||||||
"compressor": Object {
|
"compressor": {
|
||||||
"threshold": 0,
|
"threshold": 0,
|
||||||
},
|
},
|
||||||
"crossorigin": undefined,
|
"crossorigin": undefined,
|
||||||
"csp": false,
|
"csp": false,
|
||||||
"dist": Object {
|
"dist": {
|
||||||
"index": false,
|
"index": false,
|
||||||
"maxAge": "1y",
|
"maxAge": "1y",
|
||||||
},
|
},
|
||||||
"etag": Object {
|
"etag": {
|
||||||
"weak": false,
|
"weak": false,
|
||||||
},
|
},
|
||||||
"fallback": Object {
|
"fallback": {
|
||||||
"dist": Object {},
|
"dist": {},
|
||||||
"static": Object {
|
"static": {
|
||||||
"handlers": Object {
|
"handlers": {
|
||||||
".htm": false,
|
".htm": false,
|
||||||
".html": false,
|
".html": false,
|
||||||
},
|
},
|
||||||
"skipUnknown": true,
|
"skipUnknown": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"http2": Object {
|
"http2": {
|
||||||
"push": false,
|
"push": false,
|
||||||
"pushAssets": null,
|
"pushAssets": null,
|
||||||
"shouldPush": null,
|
"shouldPush": null,
|
||||||
@ -324,39 +324,39 @@ Object {
|
|||||||
"resourceHints": true,
|
"resourceHints": true,
|
||||||
"ssr": undefined,
|
"ssr": undefined,
|
||||||
"ssrLog": undefined,
|
"ssrLog": undefined,
|
||||||
"static": Object {
|
"static": {
|
||||||
"prefix": true,
|
"prefix": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"router": Object {
|
"router": {
|
||||||
"base": "/",
|
"base": "/",
|
||||||
"extendRoutes": null,
|
"extendRoutes": null,
|
||||||
"fallback": false,
|
"fallback": false,
|
||||||
"linkActiveClass": "nuxt-link-active",
|
"linkActiveClass": "nuxt-link-active",
|
||||||
"linkExactActiveClass": "nuxt-link-exact-active",
|
"linkExactActiveClass": "nuxt-link-exact-active",
|
||||||
"linkPrefetchedClass": false,
|
"linkPrefetchedClass": false,
|
||||||
"middleware": Array [],
|
"middleware": [],
|
||||||
"mode": "history",
|
"mode": "history",
|
||||||
"parseQuery": false,
|
"parseQuery": false,
|
||||||
"prefetchLinks": true,
|
"prefetchLinks": true,
|
||||||
"prefetchPayloads": true,
|
"prefetchPayloads": true,
|
||||||
"routeNameSplitter": "-",
|
"routeNameSplitter": "-",
|
||||||
"routes": Array [],
|
"routes": [],
|
||||||
"scrollBehavior": null,
|
"scrollBehavior": null,
|
||||||
"stringifyQuery": false,
|
"stringifyQuery": false,
|
||||||
"trailingSlash": undefined,
|
"trailingSlash": undefined,
|
||||||
},
|
},
|
||||||
"server": Object {
|
"server": {
|
||||||
"host": "localhost",
|
"host": "localhost",
|
||||||
"https": false,
|
"https": false,
|
||||||
"port": 3000,
|
"port": 3000,
|
||||||
"socket": undefined,
|
"socket": undefined,
|
||||||
"timing": false,
|
"timing": false,
|
||||||
},
|
},
|
||||||
"serverMiddleware": Array [],
|
"serverMiddleware": [],
|
||||||
"srcDir": undefined,
|
"srcDir": undefined,
|
||||||
"ssr": true,
|
"ssr": true,
|
||||||
"styleExtensions": Array [
|
"styleExtensions": [
|
||||||
"css",
|
"css",
|
||||||
"pcss",
|
"pcss",
|
||||||
"postcss",
|
"postcss",
|
||||||
@ -368,20 +368,20 @@ Object {
|
|||||||
],
|
],
|
||||||
"target": "server",
|
"target": "server",
|
||||||
"test": true,
|
"test": true,
|
||||||
"vue": Object {
|
"vue": {
|
||||||
"config": Object {
|
"config": {
|
||||||
"performance": undefined,
|
"performance": undefined,
|
||||||
"silent": undefined,
|
"silent": undefined,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"vueMeta": null,
|
"vueMeta": null,
|
||||||
"watch": Array [],
|
"watch": [],
|
||||||
"watchers": Object {
|
"watchers": {
|
||||||
"chokidar": Object {
|
"chokidar": {
|
||||||
"ignoreInitial": true,
|
"ignoreInitial": true,
|
||||||
},
|
},
|
||||||
"rewatchOnRawEvents": undefined,
|
"rewatchOnRawEvents": undefined,
|
||||||
"webpack": Object {
|
"webpack": {
|
||||||
"aggregateTimeout": 1000,
|
"aggregateTimeout": 1000,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -389,16 +389,16 @@ Object {
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`config should return nuxt configurations with custom env 1`] = `
|
exports[`config should return nuxt configurations with custom env 1`] = `
|
||||||
Object {
|
{
|
||||||
"ErrorPage": null,
|
"ErrorPage": null,
|
||||||
"_modules": Array [],
|
"_modules": [],
|
||||||
"_nuxtConfigFile": undefined,
|
"_nuxtConfigFile": undefined,
|
||||||
"alias": Object {},
|
"alias": {},
|
||||||
"build": Object {
|
"build": {
|
||||||
"additionalExtensions": Array [],
|
"additionalExtensions": [],
|
||||||
"aggressiveCodeRemoval": false,
|
"aggressiveCodeRemoval": false,
|
||||||
"analyze": false,
|
"analyze": false,
|
||||||
"babel": Object {
|
"babel": {
|
||||||
"babelrc": false,
|
"babelrc": false,
|
||||||
"cacheDirectory": undefined,
|
"cacheDirectory": undefined,
|
||||||
"configFile": false,
|
"configFile": false,
|
||||||
@ -406,11 +406,11 @@ Object {
|
|||||||
"cache": false,
|
"cache": false,
|
||||||
"corejs": "auto",
|
"corejs": "auto",
|
||||||
"cssSourceMap": undefined,
|
"cssSourceMap": undefined,
|
||||||
"devMiddleware": Object {
|
"devMiddleware": {
|
||||||
"stats": "none",
|
"stats": "none",
|
||||||
},
|
},
|
||||||
"extractCSS": false,
|
"extractCSS": false,
|
||||||
"filenames": Object {
|
"filenames": {
|
||||||
"app": [Function],
|
"app": [Function],
|
||||||
"chunk": [Function],
|
"chunk": [Function],
|
||||||
"css": [Function],
|
"css": [Function],
|
||||||
@ -421,9 +421,9 @@ Object {
|
|||||||
"followSymlinks": false,
|
"followSymlinks": false,
|
||||||
"friendlyErrors": true,
|
"friendlyErrors": true,
|
||||||
"hardSource": false,
|
"hardSource": false,
|
||||||
"hotMiddleware": Object {},
|
"hotMiddleware": {},
|
||||||
"html": Object {
|
"html": {
|
||||||
"minify": Object {
|
"minify": {
|
||||||
"collapseBooleanAttributes": true,
|
"collapseBooleanAttributes": true,
|
||||||
"decodeEntities": true,
|
"decodeEntities": true,
|
||||||
"minifyCSS": true,
|
"minifyCSS": true,
|
||||||
@ -435,108 +435,108 @@ Object {
|
|||||||
"useShortDoctype": true,
|
"useShortDoctype": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"indicator": Object {
|
"indicator": {
|
||||||
"backgroundColor": "#2E495E",
|
"backgroundColor": "#2E495E",
|
||||||
"color": "#00C48D",
|
"color": "#00C48D",
|
||||||
"position": "bottom-right",
|
"position": "bottom-right",
|
||||||
},
|
},
|
||||||
"loaders": Object {
|
"loaders": {
|
||||||
"css": Object {
|
"css": {
|
||||||
"esModule": false,
|
"esModule": false,
|
||||||
"modules": Object {
|
"modules": {
|
||||||
"compileType": "icss",
|
"compileType": "icss",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"cssModules": Object {
|
"cssModules": {
|
||||||
"esModule": false,
|
"esModule": false,
|
||||||
"modules": Object {
|
"modules": {
|
||||||
"localIdentName": "[local]_[hash:base64:5]",
|
"localIdentName": "[local]_[hash:base64:5]",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"file": Object {
|
"file": {
|
||||||
"esModule": false,
|
"esModule": false,
|
||||||
},
|
},
|
||||||
"fontUrl": Object {
|
"fontUrl": {
|
||||||
"esModule": false,
|
"esModule": false,
|
||||||
"limit": 1000,
|
"limit": 1000,
|
||||||
},
|
},
|
||||||
"imgUrl": Object {
|
"imgUrl": {
|
||||||
"esModule": false,
|
"esModule": false,
|
||||||
"limit": 1000,
|
"limit": 1000,
|
||||||
},
|
},
|
||||||
"less": Object {},
|
"less": {},
|
||||||
"pugPlain": Object {},
|
"pugPlain": {},
|
||||||
"sass": Object {
|
"sass": {
|
||||||
"sassOptions": Object {
|
"sassOptions": {
|
||||||
"indentedSyntax": true,
|
"indentedSyntax": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"scss": Object {},
|
"scss": {},
|
||||||
"stylus": Object {},
|
"stylus": {},
|
||||||
"vue": Object {
|
"vue": {
|
||||||
"transformAssetUrls": Object {
|
"transformAssetUrls": {
|
||||||
"embed": "src",
|
"embed": "src",
|
||||||
"object": "src",
|
"object": "src",
|
||||||
"source": "src",
|
"source": "src",
|
||||||
"video": "src",
|
"video": "src",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"vueStyle": Object {},
|
"vueStyle": {},
|
||||||
},
|
},
|
||||||
"loadingScreen": Object {},
|
"loadingScreen": {},
|
||||||
"optimization": Object {
|
"optimization": {
|
||||||
"minimize": undefined,
|
"minimize": undefined,
|
||||||
"minimizer": undefined,
|
"minimizer": undefined,
|
||||||
"runtimeChunk": "single",
|
"runtimeChunk": "single",
|
||||||
"splitChunks": Object {
|
"splitChunks": {
|
||||||
"automaticNameDelimiter": "/",
|
"automaticNameDelimiter": "/",
|
||||||
"cacheGroups": Object {},
|
"cacheGroups": {},
|
||||||
"chunks": "all",
|
"chunks": "all",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"optimizeCSS": undefined,
|
"optimizeCSS": undefined,
|
||||||
"parallel": false,
|
"parallel": false,
|
||||||
"plugins": Array [],
|
"plugins": [],
|
||||||
"postcss": Object {
|
"postcss": {
|
||||||
"postcssOptions": Object {},
|
"postcssOptions": {},
|
||||||
},
|
},
|
||||||
"profile": false,
|
"profile": false,
|
||||||
"publicPath": "/_nuxt/",
|
"publicPath": "/_nuxt/",
|
||||||
"quiet": true,
|
"quiet": true,
|
||||||
"serverURLPolyfill": "url",
|
"serverURLPolyfill": "url",
|
||||||
"splitChunks": Object {
|
"splitChunks": {
|
||||||
"commons": true,
|
"commons": true,
|
||||||
"layouts": false,
|
"layouts": false,
|
||||||
"pages": true,
|
"pages": true,
|
||||||
},
|
},
|
||||||
"ssr": undefined,
|
"ssr": undefined,
|
||||||
"standalone": false,
|
"standalone": false,
|
||||||
"stats": Object {
|
"stats": {
|
||||||
"excludeAssets": Array [
|
"excludeAssets": [
|
||||||
/\\.map\\$/,
|
/\\.map\\$/,
|
||||||
/index\\\\\\.\\.\\+\\\\\\.html\\$/,
|
/index\\\\\\.\\.\\+\\\\\\.html\\$/,
|
||||||
/vue-ssr-\\(client\\|modern\\)-manifest\\.json/,
|
/vue-ssr-\\(client\\|modern\\)-manifest\\.json/,
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
"styleResources": Object {},
|
"styleResources": {},
|
||||||
"template": undefined,
|
"template": undefined,
|
||||||
"templates": Array [],
|
"templates": [],
|
||||||
"terser": Object {},
|
"terser": {},
|
||||||
"transpile": Array [],
|
"transpile": [],
|
||||||
"warningIgnoreFilters": Array [],
|
"warningIgnoreFilters": [],
|
||||||
"watch": Array [],
|
"watch": [],
|
||||||
},
|
},
|
||||||
"buildDir": ".nuxt",
|
"buildDir": ".nuxt",
|
||||||
"buildModules": Array [],
|
"buildModules": [],
|
||||||
"cli": Object {
|
"cli": {
|
||||||
"badgeMessages": Array [],
|
"badgeMessages": [],
|
||||||
"bannerColor": "green",
|
"bannerColor": "green",
|
||||||
},
|
},
|
||||||
"createRequire": undefined,
|
"createRequire": undefined,
|
||||||
"css": Array [],
|
"css": [],
|
||||||
"debug": undefined,
|
"debug": undefined,
|
||||||
"dev": false,
|
"dev": false,
|
||||||
"dir": Object {
|
"dir": {
|
||||||
"app": "app",
|
"app": "app",
|
||||||
"assets": "assets",
|
"assets": "assets",
|
||||||
"layouts": "layouts",
|
"layouts": "layouts",
|
||||||
@ -546,10 +546,10 @@ Object {
|
|||||||
"store": "store",
|
"store": "store",
|
||||||
},
|
},
|
||||||
"editor": undefined,
|
"editor": undefined,
|
||||||
"env": Object {},
|
"env": {},
|
||||||
"extendPlugins": null,
|
"extendPlugins": null,
|
||||||
"extensions": Array [],
|
"extensions": [],
|
||||||
"features": Object {
|
"features": {
|
||||||
"asyncData": true,
|
"asyncData": true,
|
||||||
"clientOnline": true,
|
"clientOnline": true,
|
||||||
"clientPrefetch": true,
|
"clientPrefetch": true,
|
||||||
@ -564,28 +564,28 @@ Object {
|
|||||||
"transitions": true,
|
"transitions": true,
|
||||||
"validate": true,
|
"validate": true,
|
||||||
},
|
},
|
||||||
"fetch": Object {
|
"fetch": {
|
||||||
"client": true,
|
"client": true,
|
||||||
"server": true,
|
"server": true,
|
||||||
},
|
},
|
||||||
"generate": Object {
|
"generate": {
|
||||||
"cache": Object {
|
"cache": {
|
||||||
"globbyOptions": Object {
|
"globbyOptions": {
|
||||||
"gitignore": true,
|
"gitignore": true,
|
||||||
},
|
},
|
||||||
"ignore": Array [],
|
"ignore": [],
|
||||||
},
|
},
|
||||||
"concurrency": 500,
|
"concurrency": 500,
|
||||||
"crawler": true,
|
"crawler": true,
|
||||||
"dir": "dist",
|
"dir": "dist",
|
||||||
"exclude": Array [],
|
"exclude": [],
|
||||||
"fallback": "200.html",
|
"fallback": "200.html",
|
||||||
"ignoreEnv": false,
|
"ignoreEnv": false,
|
||||||
"interval": 0,
|
"interval": 0,
|
||||||
"manifest": true,
|
"manifest": true,
|
||||||
"nojekyll": true,
|
"nojekyll": true,
|
||||||
"routes": Array [],
|
"routes": [],
|
||||||
"staticAssets": Object {
|
"staticAssets": {
|
||||||
"base": undefined,
|
"base": undefined,
|
||||||
"dir": "static",
|
"dir": "static",
|
||||||
"version": undefined,
|
"version": undefined,
|
||||||
@ -594,7 +594,7 @@ Object {
|
|||||||
"subFolders": true,
|
"subFolders": true,
|
||||||
},
|
},
|
||||||
"globalName": undefined,
|
"globalName": undefined,
|
||||||
"globals": Object {
|
"globals": {
|
||||||
"context": [Function],
|
"context": [Function],
|
||||||
"id": [Function],
|
"id": [Function],
|
||||||
"loadedCallback": [Function],
|
"loadedCallback": [Function],
|
||||||
@ -602,25 +602,25 @@ Object {
|
|||||||
"pluginPrefix": [Function],
|
"pluginPrefix": [Function],
|
||||||
"readyCallback": [Function],
|
"readyCallback": [Function],
|
||||||
},
|
},
|
||||||
"head": Object {
|
"head": {
|
||||||
"link": Array [],
|
"link": [],
|
||||||
"meta": Array [],
|
"meta": [],
|
||||||
"script": Array [],
|
"script": [],
|
||||||
"style": Array [],
|
"style": [],
|
||||||
},
|
},
|
||||||
"hooks": null,
|
"hooks": null,
|
||||||
"ignore": Array [
|
"ignore": [
|
||||||
"**/*.test.*",
|
"**/*.test.*",
|
||||||
"**/*.spec.*",
|
"**/*.spec.*",
|
||||||
],
|
],
|
||||||
"ignoreOptions": undefined,
|
"ignoreOptions": undefined,
|
||||||
"ignorePrefix": "-",
|
"ignorePrefix": "-",
|
||||||
"layoutTransition": Object {
|
"layoutTransition": {
|
||||||
"mode": "out-in",
|
"mode": "out-in",
|
||||||
"name": "layout",
|
"name": "layout",
|
||||||
},
|
},
|
||||||
"layouts": Object {},
|
"layouts": {},
|
||||||
"loading": Object {
|
"loading": {
|
||||||
"color": "black",
|
"color": "black",
|
||||||
"continuous": false,
|
"continuous": false,
|
||||||
"css": true,
|
"css": true,
|
||||||
@ -631,7 +631,7 @@ Object {
|
|||||||
"throttle": 200,
|
"throttle": 200,
|
||||||
},
|
},
|
||||||
"loadingIndicator": "default",
|
"loadingIndicator": "default",
|
||||||
"messages": Object {
|
"messages": {
|
||||||
"back_to_home": "Back to the home page",
|
"back_to_home": "Back to the home page",
|
||||||
"client_error": "Error",
|
"client_error": "Error",
|
||||||
"client_error_details": "An error occurred while rendering the page. Check developer tools console for details.",
|
"client_error_details": "An error occurred while rendering the page. Check developer tools console for details.",
|
||||||
@ -643,29 +643,29 @@ Object {
|
|||||||
},
|
},
|
||||||
"mode": undefined,
|
"mode": undefined,
|
||||||
"modern": undefined,
|
"modern": undefined,
|
||||||
"modes": Object {
|
"modes": {
|
||||||
"spa": Object {
|
"spa": {
|
||||||
"build": Object {
|
"build": {
|
||||||
"ssr": false,
|
"ssr": false,
|
||||||
},
|
},
|
||||||
"render": Object {
|
"render": {
|
||||||
"ssr": false,
|
"ssr": false,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"universal": Object {
|
"universal": {
|
||||||
"build": Object {
|
"build": {
|
||||||
"ssr": true,
|
"ssr": true,
|
||||||
},
|
},
|
||||||
"render": Object {
|
"render": {
|
||||||
"ssr": true,
|
"ssr": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"modules": Array [],
|
"modules": [],
|
||||||
"modulesDir": Array [
|
"modulesDir": [
|
||||||
"node_modules",
|
"node_modules",
|
||||||
],
|
],
|
||||||
"pageTransition": Object {
|
"pageTransition": {
|
||||||
"appear": false,
|
"appear": false,
|
||||||
"appearActiveClass": "appear-active",
|
"appearActiveClass": "appear-active",
|
||||||
"appearClass": "appear",
|
"appearClass": "appear",
|
||||||
@ -673,38 +673,38 @@ Object {
|
|||||||
"mode": "out-in",
|
"mode": "out-in",
|
||||||
"name": "page",
|
"name": "page",
|
||||||
},
|
},
|
||||||
"plugins": Array [],
|
"plugins": [],
|
||||||
"privateRuntimeConfig": Object {},
|
"privateRuntimeConfig": {},
|
||||||
"publicRuntimeConfig": Object {},
|
"publicRuntimeConfig": {},
|
||||||
"render": Object {
|
"render": {
|
||||||
"bundleRenderer": Object {
|
"bundleRenderer": {
|
||||||
"runInNewContext": undefined,
|
"runInNewContext": undefined,
|
||||||
"shouldPrefetch": [Function],
|
"shouldPrefetch": [Function],
|
||||||
"shouldPreload": [Function],
|
"shouldPreload": [Function],
|
||||||
},
|
},
|
||||||
"compressor": Object {
|
"compressor": {
|
||||||
"threshold": 0,
|
"threshold": 0,
|
||||||
},
|
},
|
||||||
"crossorigin": undefined,
|
"crossorigin": undefined,
|
||||||
"csp": false,
|
"csp": false,
|
||||||
"dist": Object {
|
"dist": {
|
||||||
"index": false,
|
"index": false,
|
||||||
"maxAge": "1y",
|
"maxAge": "1y",
|
||||||
},
|
},
|
||||||
"etag": Object {
|
"etag": {
|
||||||
"weak": false,
|
"weak": false,
|
||||||
},
|
},
|
||||||
"fallback": Object {
|
"fallback": {
|
||||||
"dist": Object {},
|
"dist": {},
|
||||||
"static": Object {
|
"static": {
|
||||||
"handlers": Object {
|
"handlers": {
|
||||||
".htm": false,
|
".htm": false,
|
||||||
".html": false,
|
".html": false,
|
||||||
},
|
},
|
||||||
"skipUnknown": true,
|
"skipUnknown": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"http2": Object {
|
"http2": {
|
||||||
"push": false,
|
"push": false,
|
||||||
"pushAssets": null,
|
"pushAssets": null,
|
||||||
"shouldPush": null,
|
"shouldPush": null,
|
||||||
@ -712,39 +712,39 @@ Object {
|
|||||||
"resourceHints": true,
|
"resourceHints": true,
|
||||||
"ssr": undefined,
|
"ssr": undefined,
|
||||||
"ssrLog": undefined,
|
"ssrLog": undefined,
|
||||||
"static": Object {
|
"static": {
|
||||||
"prefix": true,
|
"prefix": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"router": Object {
|
"router": {
|
||||||
"base": "/",
|
"base": "/",
|
||||||
"extendRoutes": null,
|
"extendRoutes": null,
|
||||||
"fallback": false,
|
"fallback": false,
|
||||||
"linkActiveClass": "nuxt-link-active",
|
"linkActiveClass": "nuxt-link-active",
|
||||||
"linkExactActiveClass": "nuxt-link-exact-active",
|
"linkExactActiveClass": "nuxt-link-exact-active",
|
||||||
"linkPrefetchedClass": false,
|
"linkPrefetchedClass": false,
|
||||||
"middleware": Array [],
|
"middleware": [],
|
||||||
"mode": "history",
|
"mode": "history",
|
||||||
"parseQuery": false,
|
"parseQuery": false,
|
||||||
"prefetchLinks": true,
|
"prefetchLinks": true,
|
||||||
"prefetchPayloads": true,
|
"prefetchPayloads": true,
|
||||||
"routeNameSplitter": "-",
|
"routeNameSplitter": "-",
|
||||||
"routes": Array [],
|
"routes": [],
|
||||||
"scrollBehavior": null,
|
"scrollBehavior": null,
|
||||||
"stringifyQuery": false,
|
"stringifyQuery": false,
|
||||||
"trailingSlash": undefined,
|
"trailingSlash": undefined,
|
||||||
},
|
},
|
||||||
"server": Object {
|
"server": {
|
||||||
"host": "localhost",
|
"host": "localhost",
|
||||||
"https": false,
|
"https": false,
|
||||||
"port": "3001",
|
"port": "3001",
|
||||||
"socket": "/var/run/nuxt.sock",
|
"socket": "/var/run/nuxt.sock",
|
||||||
"timing": false,
|
"timing": false,
|
||||||
},
|
},
|
||||||
"serverMiddleware": Array [],
|
"serverMiddleware": [],
|
||||||
"srcDir": undefined,
|
"srcDir": undefined,
|
||||||
"ssr": true,
|
"ssr": true,
|
||||||
"styleExtensions": Array [
|
"styleExtensions": [
|
||||||
"css",
|
"css",
|
||||||
"pcss",
|
"pcss",
|
||||||
"postcss",
|
"postcss",
|
||||||
@ -756,20 +756,20 @@ Object {
|
|||||||
],
|
],
|
||||||
"target": "server",
|
"target": "server",
|
||||||
"test": true,
|
"test": true,
|
||||||
"vue": Object {
|
"vue": {
|
||||||
"config": Object {
|
"config": {
|
||||||
"performance": undefined,
|
"performance": undefined,
|
||||||
"silent": undefined,
|
"silent": undefined,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
"vueMeta": null,
|
"vueMeta": null,
|
||||||
"watch": Array [],
|
"watch": [],
|
||||||
"watchers": Object {
|
"watchers": {
|
||||||
"chokidar": Object {
|
"chokidar": {
|
||||||
"ignoreInitial": true,
|
"ignoreInitial": true,
|
||||||
},
|
},
|
||||||
"rewatchOnRawEvents": undefined,
|
"rewatchOnRawEvents": undefined,
|
||||||
"webpack": Object {
|
"webpack": {
|
||||||
"aggregateTimeout": 1000,
|
"aggregateTimeout": 1000,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -23,6 +23,8 @@ describe('config', () => {
|
|||||||
NUXT_HOST: 'localhost',
|
NUXT_HOST: 'localhost',
|
||||||
UNIX_SOCKET: '/var/run/nuxt.sock'
|
UNIX_SOCKET: '/var/run/nuxt.sock'
|
||||||
}
|
}
|
||||||
expect(getDefaultNuxtConfig({ env })).toMatchSnapshot()
|
const config = getDefaultNuxtConfig({ env })
|
||||||
|
config.buildModules = config.buildModules.filter(p => p.name !== 'patchMD4')
|
||||||
|
expect(config).toMatchSnapshot()
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
@ -26,14 +26,16 @@ describe('config: options', () => {
|
|||||||
jest.spyOn(path, 'resolve').mockImplementation((...args) => args.join('/').replace(/\\+/, '/'))
|
jest.spyOn(path, 'resolve').mockImplementation((...args) => args.join('/').replace(/\\+/, '/'))
|
||||||
jest.spyOn(path, 'join').mockImplementation((...args) => args.join('/').replace(/\\+/, '/'))
|
jest.spyOn(path, 'join').mockImplementation((...args) => args.join('/').replace(/\\+/, '/'))
|
||||||
|
|
||||||
expect(getNuxtConfig({
|
const config = getNuxtConfig({
|
||||||
createRequire: jest.fn(),
|
createRequire: jest.fn(),
|
||||||
generate: {
|
generate: {
|
||||||
staticAssets: {
|
staticAssets: {
|
||||||
version: 'x'
|
version: 'x'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})).toMatchSnapshot()
|
})
|
||||||
|
config.buildModules = config.buildModules.filter(p => p.name !== 'patchMD4')
|
||||||
|
expect(config).toMatchSnapshot()
|
||||||
|
|
||||||
process.cwd.mockRestore()
|
process.cwd.mockRestore()
|
||||||
path.resolve.mockRestore()
|
path.resolve.mockRestore()
|
||||||
@ -294,7 +296,7 @@ describe('config: options', () => {
|
|||||||
const config = getNuxtConfig({ devModules: ['foo'], buildModules: ['bar'] })
|
const config = getNuxtConfig({ devModules: ['foo'], buildModules: ['bar'] })
|
||||||
expect(consola.warn).toHaveBeenCalledWith('`devModules` has been renamed to `buildModules` and will be removed in Nuxt 3.')
|
expect(consola.warn).toHaveBeenCalledWith('`devModules` has been renamed to `buildModules` and will be removed in Nuxt 3.')
|
||||||
expect(config.devModules).toBe(undefined)
|
expect(config.devModules).toBe(undefined)
|
||||||
expect(config.buildModules).toEqual(['bar', 'foo'])
|
expect(config.buildModules.filter(p => p.name !== 'patchMD4')).toEqual(['bar', 'foo'])
|
||||||
})
|
})
|
||||||
|
|
||||||
test('should deprecate build.extractCSS.allChunks', () => {
|
test('should deprecate build.extractCSS.allChunks', () => {
|
||||||
|
@ -1,50 +1,50 @@
|
|||||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
exports[`util: route util: route create createRoutes should allow snake case routes in posix system 1`] = `
|
exports[`util: route util: route create createRoutes should allow snake case routes in posix system 1`] = `
|
||||||
Array [
|
[
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/parent/index",
|
"chunkName": "pages/parent/index",
|
||||||
"component": "/some/nuxt/app/pages/parent/index.vue",
|
"component": "/some/nuxt/app/pages/parent/index.vue",
|
||||||
"name": "parent",
|
"name": "parent",
|
||||||
"path": "/parent",
|
"path": "/parent",
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/snake_case_route",
|
"chunkName": "pages/snake_case_route",
|
||||||
"component": "/some/nuxt/app/pages/snake_case_route.vue",
|
"component": "/some/nuxt/app/pages/snake_case_route.vue",
|
||||||
"name": "snake_case_route",
|
"name": "snake_case_route",
|
||||||
"path": "/snake_case_route",
|
"path": "/snake_case_route",
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/parent/child/index",
|
"chunkName": "pages/parent/child/index",
|
||||||
"component": "/some/nuxt/app/pages/parent/child/index.vue",
|
"component": "/some/nuxt/app/pages/parent/child/index.vue",
|
||||||
"name": "parent-child",
|
"name": "parent-child",
|
||||||
"path": "/parent/child",
|
"path": "/parent/child",
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/parent/child/test",
|
"chunkName": "pages/parent/child/test",
|
||||||
"component": "/some/nuxt/app/pages/parent/child/test.vue",
|
"component": "/some/nuxt/app/pages/parent/child/test.vue",
|
||||||
"name": "parent-child-test",
|
"name": "parent-child-test",
|
||||||
"path": "/parent/child/test",
|
"path": "/parent/child/test",
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/another_route/_id",
|
"chunkName": "pages/another_route/_id",
|
||||||
"component": "/some/nuxt/app/pages/another_route/_id.vue",
|
"component": "/some/nuxt/app/pages/another_route/_id.vue",
|
||||||
"name": "another_route-id",
|
"name": "another_route-id",
|
||||||
"path": "/another_route/:id?",
|
"path": "/another_route/:id?",
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/subpage/_param",
|
"chunkName": "pages/subpage/_param",
|
||||||
"component": "/some/nuxt/app/pages/subpage/_param.vue",
|
"component": "/some/nuxt/app/pages/subpage/_param.vue",
|
||||||
"name": "subpage-param",
|
"name": "subpage-param",
|
||||||
"path": "/subpage/:param?",
|
"path": "/subpage/:param?",
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/index",
|
"chunkName": "pages/index",
|
||||||
"component": "/some/nuxt/app/pages/index.vue",
|
"component": "/some/nuxt/app/pages/index.vue",
|
||||||
"name": "index",
|
"name": "index",
|
||||||
"path": "/",
|
"path": "/",
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/_param",
|
"chunkName": "pages/_param",
|
||||||
"component": "/some/nuxt/app/pages/_param.vue",
|
"component": "/some/nuxt/app/pages/_param.vue",
|
||||||
"name": "param",
|
"name": "param",
|
||||||
@ -54,52 +54,52 @@ Array [
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`util: route util: route create createRoutes should allow snake case routes in windows system 1`] = `
|
exports[`util: route util: route create createRoutes should allow snake case routes in windows system 1`] = `
|
||||||
Array [
|
[
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/parent/index",
|
"chunkName": "pages/parent/index",
|
||||||
"component": "\\\\\\\\\\\\\\\\some\\\\\\\\nuxt\\\\\\\\app\\\\\\\\pages\\\\\\\\parent\\\\\\\\index.vue",
|
"component": "\\\\\\\\some\\\\nuxt\\\\app\\\\pages\\\\parent\\\\index.vue",
|
||||||
"name": "parent",
|
"name": "parent",
|
||||||
"path": "/parent",
|
"path": "/parent",
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/snake_case_route",
|
"chunkName": "pages/snake_case_route",
|
||||||
"component": "\\\\\\\\\\\\\\\\some\\\\\\\\nuxt\\\\\\\\app\\\\\\\\pages\\\\\\\\snake_case_route.vue",
|
"component": "\\\\\\\\some\\\\nuxt\\\\app\\\\pages\\\\snake_case_route.vue",
|
||||||
"name": "snake_case_route",
|
"name": "snake_case_route",
|
||||||
"path": "/snake_case_route",
|
"path": "/snake_case_route",
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/parent/child/index",
|
"chunkName": "pages/parent/child/index",
|
||||||
"component": "\\\\\\\\\\\\\\\\some\\\\\\\\nuxt\\\\\\\\app\\\\\\\\pages\\\\\\\\parent\\\\\\\\child\\\\\\\\index.vue",
|
"component": "\\\\\\\\some\\\\nuxt\\\\app\\\\pages\\\\parent\\\\child\\\\index.vue",
|
||||||
"name": "parent-child",
|
"name": "parent-child",
|
||||||
"path": "/parent/child",
|
"path": "/parent/child",
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/parent/child/test",
|
"chunkName": "pages/parent/child/test",
|
||||||
"component": "\\\\\\\\\\\\\\\\some\\\\\\\\nuxt\\\\\\\\app\\\\\\\\pages\\\\\\\\parent\\\\\\\\child\\\\\\\\test.vue",
|
"component": "\\\\\\\\some\\\\nuxt\\\\app\\\\pages\\\\parent\\\\child\\\\test.vue",
|
||||||
"name": "parent-child-test",
|
"name": "parent-child-test",
|
||||||
"path": "/parent/child/test",
|
"path": "/parent/child/test",
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/another_route/_id",
|
"chunkName": "pages/another_route/_id",
|
||||||
"component": "\\\\\\\\\\\\\\\\some\\\\\\\\nuxt\\\\\\\\app\\\\\\\\pages\\\\\\\\another_route\\\\\\\\_id.vue",
|
"component": "\\\\\\\\some\\\\nuxt\\\\app\\\\pages\\\\another_route\\\\_id.vue",
|
||||||
"name": "another_route-id",
|
"name": "another_route-id",
|
||||||
"path": "/another_route/:id?",
|
"path": "/another_route/:id?",
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/subpage/_param",
|
"chunkName": "pages/subpage/_param",
|
||||||
"component": "\\\\\\\\\\\\\\\\some\\\\\\\\nuxt\\\\\\\\app\\\\\\\\pages\\\\\\\\subpage\\\\\\\\_param.vue",
|
"component": "\\\\\\\\some\\\\nuxt\\\\app\\\\pages\\\\subpage\\\\_param.vue",
|
||||||
"name": "subpage-param",
|
"name": "subpage-param",
|
||||||
"path": "/subpage/:param?",
|
"path": "/subpage/:param?",
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/index",
|
"chunkName": "pages/index",
|
||||||
"component": "\\\\\\\\\\\\\\\\some\\\\\\\\nuxt\\\\\\\\app\\\\\\\\pages\\\\\\\\index.vue",
|
"component": "\\\\\\\\some\\\\nuxt\\\\app\\\\pages\\\\index.vue",
|
||||||
"name": "index",
|
"name": "index",
|
||||||
"path": "/",
|
"path": "/",
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/_param",
|
"chunkName": "pages/_param",
|
||||||
"component": "\\\\\\\\\\\\\\\\some\\\\\\\\nuxt\\\\\\\\app\\\\\\\\pages\\\\\\\\_param.vue",
|
"component": "\\\\\\\\some\\\\nuxt\\\\app\\\\pages\\\\_param.vue",
|
||||||
"name": "param",
|
"name": "param",
|
||||||
"path": "/:param",
|
"path": "/:param",
|
||||||
},
|
},
|
||||||
@ -107,76 +107,76 @@ Array [
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`util: route util: route create createRoutes should enforce trailing slashes when configured to 1`] = `
|
exports[`util: route util: route create createRoutes should enforce trailing slashes when configured to 1`] = `
|
||||||
Array [
|
[
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/parent/index",
|
"chunkName": "pages/parent/index",
|
||||||
"component": "/some/nuxt/app/pages/parent/index.vue",
|
"component": "/some/nuxt/app/pages/parent/index.vue",
|
||||||
"name": "parent",
|
"name": "parent",
|
||||||
"path": "/parent/",
|
"path": "/parent/",
|
||||||
"pathToRegexpOptions": Object {
|
"pathToRegexpOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/snake_case_route",
|
"chunkName": "pages/snake_case_route",
|
||||||
"component": "/some/nuxt/app/pages/snake_case_route.vue",
|
"component": "/some/nuxt/app/pages/snake_case_route.vue",
|
||||||
"name": "snake_case_route",
|
"name": "snake_case_route",
|
||||||
"path": "/snake_case_route/",
|
"path": "/snake_case_route/",
|
||||||
"pathToRegexpOptions": Object {
|
"pathToRegexpOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/parent/child/index",
|
"chunkName": "pages/parent/child/index",
|
||||||
"component": "/some/nuxt/app/pages/parent/child/index.vue",
|
"component": "/some/nuxt/app/pages/parent/child/index.vue",
|
||||||
"name": "parent-child",
|
"name": "parent-child",
|
||||||
"path": "/parent/child/",
|
"path": "/parent/child/",
|
||||||
"pathToRegexpOptions": Object {
|
"pathToRegexpOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/parent/child/test",
|
"chunkName": "pages/parent/child/test",
|
||||||
"component": "/some/nuxt/app/pages/parent/child/test.vue",
|
"component": "/some/nuxt/app/pages/parent/child/test.vue",
|
||||||
"name": "parent-child-test",
|
"name": "parent-child-test",
|
||||||
"path": "/parent/child/test/",
|
"path": "/parent/child/test/",
|
||||||
"pathToRegexpOptions": Object {
|
"pathToRegexpOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/another_route/_id",
|
"chunkName": "pages/another_route/_id",
|
||||||
"component": "/some/nuxt/app/pages/another_route/_id.vue",
|
"component": "/some/nuxt/app/pages/another_route/_id.vue",
|
||||||
"name": "another_route-id",
|
"name": "another_route-id",
|
||||||
"path": "/another_route/:id?/",
|
"path": "/another_route/:id?/",
|
||||||
"pathToRegexpOptions": Object {
|
"pathToRegexpOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/subpage/_param",
|
"chunkName": "pages/subpage/_param",
|
||||||
"component": "/some/nuxt/app/pages/subpage/_param.vue",
|
"component": "/some/nuxt/app/pages/subpage/_param.vue",
|
||||||
"name": "subpage-param",
|
"name": "subpage-param",
|
||||||
"path": "/subpage/:param?/",
|
"path": "/subpage/:param?/",
|
||||||
"pathToRegexpOptions": Object {
|
"pathToRegexpOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/index",
|
"chunkName": "pages/index",
|
||||||
"component": "/some/nuxt/app/pages/index.vue",
|
"component": "/some/nuxt/app/pages/index.vue",
|
||||||
"name": "index",
|
"name": "index",
|
||||||
"path": "/",
|
"path": "/",
|
||||||
"pathToRegexpOptions": Object {
|
"pathToRegexpOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/_param",
|
"chunkName": "pages/_param",
|
||||||
"component": "/some/nuxt/app/pages/_param.vue",
|
"component": "/some/nuxt/app/pages/_param.vue",
|
||||||
"name": "param",
|
"name": "param",
|
||||||
"path": "/:param/",
|
"path": "/:param/",
|
||||||
"pathToRegexpOptions": Object {
|
"pathToRegexpOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
@ -184,76 +184,76 @@ Array [
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`util: route util: route create createRoutes should remove trailing slashes when configured to 1`] = `
|
exports[`util: route util: route create createRoutes should remove trailing slashes when configured to 1`] = `
|
||||||
Array [
|
[
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/parent/index",
|
"chunkName": "pages/parent/index",
|
||||||
"component": "/some/nuxt/app/pages/parent/index.vue",
|
"component": "/some/nuxt/app/pages/parent/index.vue",
|
||||||
"name": "parent",
|
"name": "parent",
|
||||||
"path": "/parent",
|
"path": "/parent",
|
||||||
"pathToRegexpOptions": Object {
|
"pathToRegexpOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/snake_case_route",
|
"chunkName": "pages/snake_case_route",
|
||||||
"component": "/some/nuxt/app/pages/snake_case_route.vue",
|
"component": "/some/nuxt/app/pages/snake_case_route.vue",
|
||||||
"name": "snake_case_route",
|
"name": "snake_case_route",
|
||||||
"path": "/snake_case_route",
|
"path": "/snake_case_route",
|
||||||
"pathToRegexpOptions": Object {
|
"pathToRegexpOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/parent/child/index",
|
"chunkName": "pages/parent/child/index",
|
||||||
"component": "/some/nuxt/app/pages/parent/child/index.vue",
|
"component": "/some/nuxt/app/pages/parent/child/index.vue",
|
||||||
"name": "parent-child",
|
"name": "parent-child",
|
||||||
"path": "/parent/child",
|
"path": "/parent/child",
|
||||||
"pathToRegexpOptions": Object {
|
"pathToRegexpOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/parent/child/test",
|
"chunkName": "pages/parent/child/test",
|
||||||
"component": "/some/nuxt/app/pages/parent/child/test.vue",
|
"component": "/some/nuxt/app/pages/parent/child/test.vue",
|
||||||
"name": "parent-child-test",
|
"name": "parent-child-test",
|
||||||
"path": "/parent/child/test",
|
"path": "/parent/child/test",
|
||||||
"pathToRegexpOptions": Object {
|
"pathToRegexpOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/another_route/_id",
|
"chunkName": "pages/another_route/_id",
|
||||||
"component": "/some/nuxt/app/pages/another_route/_id.vue",
|
"component": "/some/nuxt/app/pages/another_route/_id.vue",
|
||||||
"name": "another_route-id",
|
"name": "another_route-id",
|
||||||
"path": "/another_route/:id?",
|
"path": "/another_route/:id?",
|
||||||
"pathToRegexpOptions": Object {
|
"pathToRegexpOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/subpage/_param",
|
"chunkName": "pages/subpage/_param",
|
||||||
"component": "/some/nuxt/app/pages/subpage/_param.vue",
|
"component": "/some/nuxt/app/pages/subpage/_param.vue",
|
||||||
"name": "subpage-param",
|
"name": "subpage-param",
|
||||||
"path": "/subpage/:param?",
|
"path": "/subpage/:param?",
|
||||||
"pathToRegexpOptions": Object {
|
"pathToRegexpOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/index",
|
"chunkName": "pages/index",
|
||||||
"component": "/some/nuxt/app/pages/index.vue",
|
"component": "/some/nuxt/app/pages/index.vue",
|
||||||
"name": "index",
|
"name": "index",
|
||||||
"path": "/",
|
"path": "/",
|
||||||
"pathToRegexpOptions": Object {
|
"pathToRegexpOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
Object {
|
{
|
||||||
"chunkName": "pages/_param",
|
"chunkName": "pages/_param",
|
||||||
"component": "/some/nuxt/app/pages/_param.vue",
|
"component": "/some/nuxt/app/pages/_param.vue",
|
||||||
"name": "param",
|
"name": "param",
|
||||||
"path": "/:param",
|
"path": "/:param",
|
||||||
"pathToRegexpOptions": Object {
|
"pathToRegexpOptions": {
|
||||||
"strict": true,
|
"strict": true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -1,30 +1,49 @@
|
|||||||
{
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||||
"extends": [
|
"extends": [
|
||||||
"@nuxtjs"
|
"github>nuxt/renovate-config-nuxt"
|
||||||
],
|
],
|
||||||
"baseBranches": [
|
"baseBranches": [
|
||||||
"dev"
|
"main",
|
||||||
|
"2.x"
|
||||||
],
|
],
|
||||||
"ignoreDeps": [
|
"packageRules": [
|
||||||
"core-js",
|
{
|
||||||
"css-loader",
|
"matchBaseBranches": [
|
||||||
"sass-loader",
|
"main"
|
||||||
"npm",
|
],
|
||||||
"boxen",
|
"ignoreDeps": [
|
||||||
"html-webpack-plugin",
|
"nuxt",
|
||||||
"terser-webpack-plugin",
|
"nuxt3",
|
||||||
"@types/terser-webpack-plugin",
|
"@nuxt/kit",
|
||||||
"@types/webpack-bundle-analyzer",
|
"parse5"
|
||||||
"wrap-ansi",
|
]
|
||||||
"jest",
|
},
|
||||||
"babel-jest",
|
{
|
||||||
"globby",
|
"matchBaseBranches": [
|
||||||
"execa",
|
"2.x"
|
||||||
"chalk",
|
],
|
||||||
"vue",
|
"ignoreDeps": [
|
||||||
"vuex"
|
"@types/node",
|
||||||
],
|
"postcss-import",
|
||||||
"lockFileMaintenance": {
|
"postcss-loader",
|
||||||
"enabled": true
|
"postcss-url",
|
||||||
}
|
"css-loader",
|
||||||
|
"sass-loader",
|
||||||
|
"npm",
|
||||||
|
"boxen",
|
||||||
|
"html-webpack-plugin",
|
||||||
|
"terser-webpack-plugin",
|
||||||
|
"@types/terser-webpack-plugin",
|
||||||
|
"@types/webpack-bundle-analyzer",
|
||||||
|
"@types/webpack-hot-middleware",
|
||||||
|
"wrap-ansi",
|
||||||
|
"globby",
|
||||||
|
"execa",
|
||||||
|
"chalk",
|
||||||
|
"vue",
|
||||||
|
"vuex"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user