Closed rtritto closed 2 months ago
@brillout I did the change but the 0.21.5
version of eslint
is installed (not latest of 0.23.x).
That's because the https://github.com/vikejs/vike-node/blob/main/.npmrc is missing (resolution-mode=highest
option. It needs to be updated like https://github.com/vikejs/vike/blob/main/.npmrc.resolution-mode
is highest by default from pnpm v8.7.0)
Should the shamefully-hoist=true
option be removed?
Sounds good. Also, what I usually do is to add dependencies as well to devDependencies
so that it busts pnpm's lock file.
Sounds good. Also, what I usually do is to add dependencies as well to
devDependencies
so that it busts pnpm's lock file.
This should be a workaround.
Why should we prefer ^0.19.0 || ^0.20.0 || ^0.21.0 || ^0.22.0 || ^0.23.0
over ^0.23.0
?
In dependencies, I would use only ^0.23.0
.
To align with Vite, e.g. last time I checked Vite doesn't use ^0.23.0
yet.
Currently
esbuild
, as major (semantic) version, is 0 and not > 0. Imply that each upgrade of minor version can introduce breaking changes and is installed by pacakage manager (no deduped) as follow:Can
esbuild
, dependency invike-node
, be updated with the same version ofvike
one?