Avatar for the nuxt user
nuxt
nuxt
BlogDocsChangelog

feat(kit): add `onInstall` and `onUpgrade` module hooks

#32397Merged
Comparing
romhml:feat/module-install-hooks
(
db42300
) with
main
(
9674aaf
)
CodSpeed Performance Gauge
0%
Untouched
10

Benchmarks

10 total
initial production build in the minimal test fixture
packages/nuxt/test/build-plugins.bench.ts::build
CodSpeed Performance Gauge
0%
5.3 s5.3 s
writeTypes in the basic-types fixture
packages/kit/test/write-types.bench.ts::writeTypes
CodSpeed Performance Gauge
0%
136.4 ms136 ms
loadNuxt in an empty directory
packages/nuxt/test/load-nuxt.bench.ts::loadNuxt
CodSpeed Performance Gauge
0%
222.7 ms222.7 ms
loadNuxtConfig in the basic test fixture (types)
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig
CodSpeed Performance Gauge
0%
18.1 ms18.1 ms
loadNuxtConfig in the minimal test fixture
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig
CodSpeed Performance Gauge
0%
14.6 ms14.6 ms
loadNuxtConfig in the basic test fixture
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig
CodSpeed Performance Gauge
0%
38.4 ms38.4 ms
loadNuxtConfig in the minimal test fixture (types)
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig
CodSpeed Performance Gauge
0%
13.2 ms13.2 ms
loadNuxtConfig in the empty directory
packages/kit/test/load-nuxt-config.bench.ts::loadNuxtConfig
CodSpeed Performance Gauge
0%
21.2 ms21.3 ms
loadNuxt in the basic test fixture
packages/nuxt/test/load-nuxt.bench.ts::loadNuxt
CodSpeed Performance Gauge
0%
616.6 ms618.5 ms
initial dev server build in the basic test fixture
packages/nuxt/test/build.bench.ts::build
CodSpeed Performance Gauge
-2%
969.8 ms985.9 ms

Commits

Click on a commit to change the comparison range
Base
main
9674aaf
-0.08%
feat(kit): add `onInstall` and `onUpgrade` module hooks
09d23d5
10 months ago
by romhml
-0.04%
fix(kit): onUpgrade module signature
99945df
10 months ago
by romhml
+0.11%
feat(kit): improve module hooks error handling
6534125
10 months ago
by romhml
+0.42%
Merge remote-tracking branch 'origin/main' into feat/module-install-hooks
0af7308
8 months ago
by danielroe
-0.57%
perf(kit): only read meta if hooks are present
db42300
8 months ago
by danielroe
© 2026 CodSpeed Technology
Home Terms Privacy Docs