Skip to content

Commit

Permalink
chore: update to nitropack 2.7.0 (#23780)
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 authored Oct 19, 2023
1 parent ed9a6e2 commit bfaf56c
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 23 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"happy-dom": "12.9.1",
"jiti": "1.20.0",
"markdownlint-cli": "0.37.0",
"nitropack": "2.6.3",
"nitropack": "2.7.0",
"nuxi": "3.9.0",
"nuxt": "workspace:*",
"nuxt-vitest": "0.11.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"@types/lodash-es": "4.17.10",
"@types/semver": "7.5.3",
"lodash-es": "4.17.21",
"nitropack": "2.6.3",
"nitropack": "2.7.0",
"unbuild": "latest",
"vite": "4.5.0",
"vitest": "0.33.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"knitwork": "^1.0.0",
"magic-string": "^0.30.5",
"mlly": "^1.4.2",
"nitropack": "^2.6.3",
"nitropack": "^2.7.0",
"nuxi": "^3.9.0",
"nypm": "^0.3.3",
"ofetch": "^1.3.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"esbuild-loader": "4.0.2",
"h3": "1.8.2",
"ignore": "5.2.4",
"nitropack": "2.6.3",
"nitropack": "2.7.0",
"ofetch": "1.3.3",
"unbuild": "latest",
"unctx": "2.3.1",
Expand Down
49 changes: 33 additions & 16 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion scripts/bump-edge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { consola } from 'consola'
import { determineBumpType, loadWorkspace } from './_utils'

const nightlyPackages = {
nitropack: 'nitropack-edge',
nitropack: 'nitropack-nightly',
h3: 'h3-nightly',
nuxi: 'nuxi-nightly'
}
Expand Down
4 changes: 2 additions & 2 deletions test/bundle.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM
const serverDir = join(rootDir, '.output/server')

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)
expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"1826k"')
Expand Down Expand Up @@ -71,7 +71,7 @@ describe.skipIf(process.env.SKIP_BUNDLE_SIZE === 'true' || process.env.ECOSYSTEM
const serverDir = join(rootDir, '.output-inline/server')

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)
expect.soft(roundToKilobytes(modules.totalBytes)).toMatchInlineSnapshot('"71.4k"')
Expand Down

0 comments on commit bfaf56c

Please sign in to comment.