-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #284 from lume/update-to-yarn-4.0
infra: update to Yarn 4.0
- Loading branch information
Showing
6 changed files
with
9,526 additions
and
9,532 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,6 @@ jobs: | |
run: | | ||
npm run fresh | ||
npm run build:all | ||
npm run test:all:ci | ||
npm run test:all | ||
env: | ||
CI: true |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,29 @@ | ||
checksumBehavior: ignore | ||
nmHoistingLimits: workspaces | ||
progressBarStyle: patrick # "patrick" | "simba" | "jack" | "hogsfather" | "default", | ||
|
||
# without this, Windows was failing to pass checksum validation. | ||
# checksumBehavior: ignore | ||
|
||
# Tells Yarn to install packages to `node_modules`. Without this, it uses its | ||
# more magical .pnp files, which change the Node runtime to find packages in a | ||
# different way outside of node_modules, and this does not work for our | ||
# client-side projects and import maps that we've set up to find packages in | ||
# node_modules. It would be too cubersome to have the import maps map to .yarn/ | ||
# cache locations which include ugly hashes in their name. | ||
nodeLinker: node-modules | ||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs | ||
spec: '@yarnpkg/plugin-workspace-tools' | ||
|
||
# Hoist dependencies up to workspace boundaries, rather than all the way up to | ||
# the root. Without this, importmaps in a client-side examples would not be able | ||
# to access dependencies because node_modules would not exist in the local | ||
# project. | ||
nmHoistingLimits: workspaces | ||
|
||
# Yarn recommends enabling this with Yarn 4.0.0 to catch version constraint | ||
# errors locally before running in CI. In particular, when enabled, Yarn | ||
# enforces that no two workspaces depend on different versions of any given | ||
# dependencies, unless explicitly allowed. | ||
# (https://yarnpkg.com/blog/release/4.0) | ||
enableConstraintsChecks: true | ||
|
||
# Define whether to reuse most common dependency ranges or not when adding dependencies to a package. | ||
# If true, yarn add will attempt to reuse the most common dependency range in other workspaces. | ||
preferReuse: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"packages": [".", "apps/*", "packages/*"], | ||
"$schema": "node_modules/lerna/schemas/lerna-schema.json", | ||
"version": "independent" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.