Guide
Nightly 渠道
¥Nightly Channel
Nitro 有一个夜间发布渠道,每次提交到
main
分支时都会自动发布,以尝试最新更改。
你可以通过更新 package.json
选择加入夜间发布渠道:
¥You can opt-in to the nightly release channel by updating your package.json
:
{
"devDependencies": {
-- "nitropack": "^2.0.0"
++ "nitropack": "npm:nitropack-nightly@latest"
}
}
如果你使用的是 Nuxt,请选择 use the Nuxt nightly channel,因为它已经包含
nitropack-nightly
。删除锁定文件(package-lock.json
、yarn.lock
、pnpm-lock.yaml
或 bun.lockb
)并重新安装依赖。
¥Remove the lockfile (package-lock.json
, yarn.lock
, pnpm-lock.yaml
, or bun.lockb
) and reinstall the dependencies.