feat(deps): upgrade to nitropack v2.4 (#20688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
This commit is contained in:
renovate[bot] 2023-05-06 09:44:07 +01:00 committed by GitHub
parent fa8b29a359
commit 7cb4c69935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 331 additions and 291 deletions

View File

@ -32,7 +32,7 @@
"@nuxt/webpack-builder": "workspace:*", "@nuxt/webpack-builder": "workspace:*",
"nuxi": "workspace:*", "nuxi": "workspace:*",
"nuxt": "workspace:*", "nuxt": "workspace:*",
"vite": "^4.3.4", "vite": "^4.3.5",
"vue": "3.2.47", "vue": "3.2.47",
"magic-string": "^0.30.0" "magic-string": "^0.30.0"
}, },
@ -42,13 +42,13 @@
"@nuxt/webpack-builder": "workspace:*", "@nuxt/webpack-builder": "workspace:*",
"@nuxtjs/eslint-config-typescript": "^12.0.0", "@nuxtjs/eslint-config-typescript": "^12.0.0",
"@types/crawler": "^1.2.2", "@types/crawler": "^1.2.2",
"@types/node": "^18.16.3", "@types/node": "^18.16.5",
"@types/semver": "^7.3.13", "@types/semver": "^7.3.13",
"case-police": "^0.6.0", "case-police": "^0.6.0",
"changelogen": "^0.5.3", "changelogen": "^0.5.3",
"crawler": "^1.4.0", "crawler": "^1.4.0",
"devalue": "^4.3.0", "devalue": "^4.3.0",
"eslint": "^8.39.0", "eslint": "^8.40.0",
"eslint-import-resolver-typescript": "^3.5.5", "eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5", "eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-jsdoc": "^41.1.2",
@ -56,7 +56,7 @@
"execa": "^7.1.1", "execa": "^7.1.1",
"fs-extra": "^11.1.1", "fs-extra": "^11.1.1",
"globby": "^13.1.4", "globby": "^13.1.4",
"h3": "^1.6.4", "h3": "^1.6.5",
"jiti": "^1.18.2", "jiti": "^1.18.2",
"markdownlint-cli": "^0.33.0", "markdownlint-cli": "^0.33.0",
"nuxi": "workspace:*", "nuxi": "workspace:*",
@ -69,7 +69,7 @@
"std-env": "^3.3.3", "std-env": "^3.3.3",
"typescript": "^5.0.4", "typescript": "^5.0.4",
"ufo": "^1.1.2", "ufo": "^1.1.2",
"vite": "^4.3.4", "vite": "^4.3.5",
"vitest": "^0.31.0", "vitest": "^0.31.0",
"vue": "3.2.47", "vue": "3.2.47",
"vue-eslint-parser": "^9.2.0", "vue-eslint-parser": "^9.2.0",

View File

@ -43,9 +43,9 @@
"@types/hash-sum": "^1.0.0", "@types/hash-sum": "^1.0.0",
"@types/lodash.template": "^4.5.1", "@types/lodash.template": "^4.5.1",
"@types/semver": "^7.3.13", "@types/semver": "^7.3.13",
"nitropack": "^2.3.3", "nitropack": "^2.4.0",
"unbuild": "latest", "unbuild": "latest",
"vite": "^4.3.4", "vite": "^4.3.5",
"vitest": "^0.31.0", "vitest": "^0.31.0",
"webpack": "^5.82.0" "webpack": "^5.82.0"
}, },

View File

@ -36,7 +36,7 @@
"execa": "^7.1.1", "execa": "^7.1.1",
"flat": "^5.0.2", "flat": "^5.0.2",
"giget": "^1.1.2", "giget": "^1.1.2",
"h3": "^1.6.4", "h3": "^1.6.5",
"jiti": "^1.18.2", "jiti": "^1.18.2",
"listhen": "^1.0.4", "listhen": "^1.0.4",
"mlly": "^1.2.0", "mlly": "^1.2.0",

View File

@ -71,7 +71,7 @@
"estree-walker": "^3.0.3", "estree-walker": "^3.0.3",
"fs-extra": "^11.1.1", "fs-extra": "^11.1.1",
"globby": "^13.1.4", "globby": "^13.1.4",
"h3": "^1.6.4", "h3": "^1.6.5",
"hookable": "^5.5.3", "hookable": "^5.5.3",
"jiti": "^1.18.2", "jiti": "^1.18.2",
"klona": "^2.0.6", "klona": "^2.0.6",
@ -79,7 +79,7 @@
"local-pkg": "^0.4.3", "local-pkg": "^0.4.3",
"magic-string": "^0.30.0", "magic-string": "^0.30.0",
"mlly": "^1.2.0", "mlly": "^1.2.0",
"nitropack": "^2.3.3", "nitropack": "^2.4.0",
"nuxi": "workspace:../nuxi", "nuxi": "workspace:../nuxi",
"nypm": "^0.2.0", "nypm": "^0.2.0",
"ofetch": "^1.0.1", "ofetch": "^1.0.1",
@ -108,7 +108,7 @@
"@vitejs/plugin-vue": "^4.2.1", "@vitejs/plugin-vue": "^4.2.1",
"acorn": "^8.8.2", "acorn": "^8.8.2",
"unbuild": "latest", "unbuild": "latest",
"vite": "^4.3.4", "vite": "^4.3.5",
"vitest": "^0.31.0" "vitest": "^0.31.0"
}, },
"peerDependencies": { "peerDependencies": {

View File

@ -25,12 +25,12 @@
"@unhead/schema": "^1.1.26", "@unhead/schema": "^1.1.26",
"@vitejs/plugin-vue": "^4.2.1", "@vitejs/plugin-vue": "^4.2.1",
"@vitejs/plugin-vue-jsx": "^3.0.1", "@vitejs/plugin-vue-jsx": "^3.0.1",
"h3": "^1.6.4", "h3": "^1.6.5",
"ignore": "^5.2.4", "ignore": "^5.2.4",
"nitropack": "^2.3.3", "nitropack": "^2.4.0",
"unbuild": "latest", "unbuild": "latest",
"unctx": "^2.3.0", "unctx": "^2.3.0",
"vite": "~4.3.4", "vite": "~4.3.5",
"vue": "3.2.47", "vue": "3.2.47",
"vue-bundle-renderer": "^1.0.3", "vue-bundle-renderer": "^1.0.3",
"vue-router": "^4.1.6", "vue-router": "^4.1.6",

View File

@ -38,7 +38,7 @@
"externality": "^1.0.0", "externality": "^1.0.0",
"fs-extra": "^11.1.1", "fs-extra": "^11.1.1",
"get-port-please": "^3.0.1", "get-port-please": "^3.0.1",
"h3": "^1.6.4", "h3": "^1.6.5",
"knitwork": "^1.0.0", "knitwork": "^1.0.0",
"magic-string": "^0.30.0", "magic-string": "^0.30.0",
"mlly": "^1.2.0", "mlly": "^1.2.0",
@ -54,7 +54,7 @@
"strip-literal": "^1.0.1", "strip-literal": "^1.0.1",
"ufo": "^1.1.2", "ufo": "^1.1.2",
"unplugin": "^1.3.1", "unplugin": "^1.3.1",
"vite": "~4.3.4", "vite": "~4.3.5",
"vite-node": "^0.31.0", "vite-node": "^0.31.0",
"vite-plugin-checker": "^0.6.0", "vite-plugin-checker": "^0.6.0",
"vue-bundle-renderer": "^1.0.3" "vue-bundle-renderer": "^1.0.3"

View File

@ -31,7 +31,7 @@
"file-loader": "^6.2.0", "file-loader": "^6.2.0",
"fork-ts-checker-webpack-plugin": "^8.0.0", "fork-ts-checker-webpack-plugin": "^8.0.0",
"fs-extra": "^11.1.1", "fs-extra": "^11.1.1",
"h3": "^1.6.4", "h3": "^1.6.5",
"hash-sum": "^2.0.0", "hash-sum": "^2.0.0",
"lodash-es": "^4.17.21", "lodash-es": "^4.17.21",
"magic-string": "^0.30.0", "magic-string": "^0.30.0",

File diff suppressed because it is too large Load Diff

View File

@ -45,10 +45,10 @@ describe.skipIf(isWindows || process.env.TEST_BUILDER === 'webpack' || process.e
it('default server bundle size', async () => { it('default server bundle size', async () => {
stats.server = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir) stats.server = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir)
expect(roundToKilobytes(stats.server.totalBytes)).toMatchInlineSnapshot('"66.7k"') expect(roundToKilobytes(stats.server.totalBytes)).toMatchInlineSnapshot('"67.7k"')
const modules = await analyzeSizes('node_modules/**/*', serverDir) const modules = await analyzeSizes('node_modules/**/*', serverDir)
expect(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"2654k"') expect(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"2658k"')
const packages = modules.files const packages = modules.files
.filter(m => m.endsWith('package.json')) .filter(m => m.endsWith('package.json'))
@ -76,6 +76,7 @@ describe.skipIf(isWindows || process.env.TEST_BUILDER === 'webpack' || process.e
"h3", "h3",
"hookable", "hookable",
"iron-webcrypto", "iron-webcrypto",
"klona",
"node-fetch-native", "node-fetch-native",
"ofetch", "ofetch",
"ohash", "ohash",