nrwl / nx-cloud-workflows

MIT License
8 stars 6 forks source link

feat(launch-templates): bump image to ubuntu22.04-node20.11-v7 #48

Closed barbados-clemens closed 4 months ago

barbados-clemens commented 4 months ago

ubuntu22.04-node20.11-v7 has corepack enabled by default and java version bumps, this will unblock people relying on corepack (like yarn v4 users) to have their correct package manager version installed automatically (yarn/pnpm)

this image was also created right when pnpm v9 was released which has some lockfile issues with Nx, so this image contains pnpm v8 similar to the previous v5 image. If people want to use v9, they can do so via corepack packageManager field in the package.json https://nodejs.org/api/packages.html#packagemanager

Example workspace using yarn v4 https://github.com/barbados-clemens/yarn-workspace

With CIPE using correct package manager with corepack: https://staging.nx.app/cipes/6633b88d2e3c7202bb72d5bc?step=32fbd017-70d7-4e91-aa77-876e184974e5&instance=job-6633b88d2e3c7202bb72d5bd-agent-2#step-list-pane