chore: update to nitropack 2.7.0 (#23780)

This commit is contained in:
Pooya Parsa 2023-10-19 15:31:17 +02:00 committed by GitHub
parent ed9a6e2e3a
commit bfaf56ceac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 40 additions and 23 deletions

View File

@ -59,7 +59,7 @@
"happy-dom": "12.9.1", "happy-dom": "12.9.1",
"jiti": "1.20.0", "jiti": "1.20.0",
"markdownlint-cli": "0.37.0", "markdownlint-cli": "0.37.0",
"nitropack": "2.6.3", "nitropack": "2.7.0",
"nuxi": "3.9.0", "nuxi": "3.9.0",
"nuxt": "workspace:*", "nuxt": "workspace:*",
"nuxt-vitest": "0.11.0", "nuxt-vitest": "0.11.0",

View File

@ -45,7 +45,7 @@
"@types/lodash-es": "4.17.10", "@types/lodash-es": "4.17.10",
"@types/semver": "7.5.3", "@types/semver": "7.5.3",
"lodash-es": "4.17.21", "lodash-es": "4.17.21",
"nitropack": "2.6.3", "nitropack": "2.7.0",
"unbuild": "latest", "unbuild": "latest",
"vite": "4.5.0", "vite": "4.5.0",
"vitest": "0.33.0", "vitest": "0.33.0",

View File

@ -83,7 +83,7 @@
"knitwork": "^1.0.0", "knitwork": "^1.0.0",
"magic-string": "^0.30.5", "magic-string": "^0.30.5",
"mlly": "^1.4.2", "mlly": "^1.4.2",
"nitropack": "^2.6.3", "nitropack": "^2.7.0",
"nuxi": "^3.9.0", "nuxi": "^3.9.0",
"nypm": "^0.3.3", "nypm": "^0.3.3",
"ofetch": "^1.3.3", "ofetch": "^1.3.3",

View File

@ -40,7 +40,7 @@
"esbuild-loader": "4.0.2", "esbuild-loader": "4.0.2",
"h3": "1.8.2", "h3": "1.8.2",
"ignore": "5.2.4", "ignore": "5.2.4",
"nitropack": "2.6.3", "nitropack": "2.7.0",
"ofetch": "1.3.3", "ofetch": "1.3.3",
"unbuild": "latest", "unbuild": "latest",
"unctx": "2.3.1", "unctx": "2.3.1",

View File

@ -83,8 +83,8 @@ importers:
specifier: 0.37.0 specifier: 0.37.0
version: 0.37.0 version: 0.37.0
nitropack: nitropack:
specifier: 2.6.3 specifier: 2.7.0
version: 2.6.3 version: 2.7.0
nuxi: nuxi:
specifier: 3.9.0 specifier: 3.9.0
version: 3.9.0 version: 3.9.0
@ -210,8 +210,8 @@ importers:
specifier: 4.17.21 specifier: 4.17.21
version: 4.17.21 version: 4.17.21
nitropack: nitropack:
specifier: 2.6.3 specifier: 2.7.0
version: 2.6.3 version: 2.7.0
unbuild: unbuild:
specifier: latest specifier: latest
version: 2.0.0(typescript@5.2.2) version: 2.0.0(typescript@5.2.2)
@ -321,8 +321,8 @@ importers:
specifier: ^1.4.2 specifier: ^1.4.2
version: 1.4.2 version: 1.4.2
nitropack: nitropack:
specifier: ^2.6.3 specifier: ^2.7.0
version: 2.6.3 version: 2.7.0
nuxi: nuxi:
specifier: ^3.9.0 specifier: ^3.9.0
version: 3.9.0 version: 3.9.0
@ -488,8 +488,8 @@ importers:
specifier: 5.2.4 specifier: 5.2.4
version: 5.2.4 version: 5.2.4
nitropack: nitropack:
specifier: 2.6.3 specifier: 2.7.0
version: 2.6.3 version: 2.7.0
ofetch: ofetch:
specifier: 1.3.3 specifier: 1.3.3
version: 1.3.3 version: 1.3.3
@ -2110,7 +2110,7 @@ packages:
launch-editor: 2.6.1 launch-editor: 2.6.1
local-pkg: 0.5.0 local-pkg: 0.5.0
magicast: 0.3.0 magicast: 0.3.0
nitropack: 2.6.3 nitropack: 2.7.0
nuxt: link:packages/nuxt nuxt: link:packages/nuxt
nypm: 0.3.3 nypm: 0.3.3
ofetch: 1.3.3 ofetch: 1.3.3
@ -2968,9 +2968,9 @@ packages:
vue: 3.3.4 vue: 3.3.4
dev: false dev: false
/@vercel/nft@0.23.1: /@vercel/nft@0.24.3:
resolution: {integrity: sha512-NE0xSmGWVhgHF1OIoir71XAd0W0C1UE3nzFyhpFiMr3rVhetww7NvM1kc41trBsPG37Bh+dE5FYCTMzM/gBu0w==} resolution: {integrity: sha512-IyBdIxmFAeGZnEfMgt4QrGK7XX4lWazlQj34HEi9dw04/WeDBJ7r1yaOIO5tTf9pbfvwUFodj9b0H+NDGGoOMg==}
engines: {node: '>=14'} engines: {node: '>=16'}
hasBin: true hasBin: true
dependencies: dependencies:
'@mapbox/node-pre-gyp': 1.0.11 '@mapbox/node-pre-gyp': 1.0.11
@ -3838,6 +3838,23 @@ packages:
transitivePeerDependencies: transitivePeerDependencies:
- supports-color - supports-color
/c12@1.5.1:
resolution: {integrity: sha512-BWZRJgDEveT8uI+cliCwvYSSSSvb4xKoiiu5S0jaDbKBopQLQF7E+bq9xKk1pTcG+mUa3yXuFO7bD9d8Lr9Xxg==}
dependencies:
chokidar: 3.5.3
defu: 6.1.2
dotenv: 16.3.1
giget: 1.1.3
jiti: 1.20.0
mlly: 1.4.2
ohash: 1.1.3
pathe: 1.1.1
perfect-debounce: 1.0.0
pkg-types: 1.0.3
rc9: 2.1.1
transitivePeerDependencies:
- supports-color
/cac@6.7.14: /cac@6.7.14:
resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==}
engines: {node: '>=8'} engines: {node: '>=8'}
@ -7103,8 +7120,8 @@ packages:
/neo-async@2.6.2: /neo-async@2.6.2:
resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}
/nitropack@2.6.3: /nitropack@2.7.0:
resolution: {integrity: sha512-k1GC9GiIrjAmLx48g52/38u6OfWVUAhvWtxm5G4vFUaGAt82WPVl+P5S9YXMRXgNtUnTFfzC4Vfp5TUEG0i7zQ==} resolution: {integrity: sha512-U5/Uq0k4PO3/yDM1Sao6JZc/i1DhiI2Eq/AMm92idgQ6B3NbwD0A3u9SZNIHyqEyFogOgi3qsdnRo9KWc5jgVg==}
engines: {node: ^16.11.0 || >=17.0.0} engines: {node: ^16.11.0 || >=17.0.0}
hasBin: true hasBin: true
peerDependencies: peerDependencies:
@ -7125,9 +7142,9 @@ packages:
'@rollup/plugin-wasm': 6.2.2(rollup@3.29.4) '@rollup/plugin-wasm': 6.2.2(rollup@3.29.4)
'@rollup/pluginutils': 5.0.5(rollup@3.29.4) '@rollup/pluginutils': 5.0.5(rollup@3.29.4)
'@types/http-proxy': 1.17.13 '@types/http-proxy': 1.17.13
'@vercel/nft': 0.23.1 '@vercel/nft': 0.24.3
archiver: 6.0.1 archiver: 6.0.1
c12: 1.4.2 c12: 1.5.1
chalk: 5.3.0 chalk: 5.3.0
chokidar: 3.5.3 chokidar: 3.5.3
citty: 0.1.4 citty: 0.1.4

View File

@ -4,7 +4,7 @@ import { consola } from 'consola'
import { determineBumpType, loadWorkspace } from './_utils' import { determineBumpType, loadWorkspace } from './_utils'
const nightlyPackages = { const nightlyPackages = {
nitropack: 'nitropack-edge', nitropack: 'nitropack-nightly',
h3: 'h3-nightly', h3: 'h3-nightly',
nuxi: 'nuxi-nightly' nuxi: 'nuxi-nightly'
} }

View File

@ -32,7 +32,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM
const serverDir = join(rootDir, '.output/server') const serverDir = join(rootDir, '.output/server')
const serverStats = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir) const serverStats = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir)
expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"304k"') expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"197k"')
const modules = await analyzeSizes('node_modules/**/*', serverDir) const modules = await analyzeSizes('node_modules/**/*', serverDir)
expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"1826k"') expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"1826k"')
@ -71,7 +71,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM
const serverDir = join(rootDir, '.output-inline/server') const serverDir = join(rootDir, '.output-inline/server')
const serverStats = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir) const serverStats = await analyzeSizes(['**/*.mjs', '!node_modules'], serverDir)
expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"611k"') expect.soft(roundToKilobytes(serverStats.totalBytes)).toMatchInlineSnapshot('"504k"')
const modules = await analyzeSizes('node_modules/**/*', serverDir) const modules = await analyzeSizes('node_modules/**/*', serverDir)
expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"71.4k"') expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"71.4k"')