-
Notifications
You must be signed in to change notification settings - Fork 406
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: switch to yarn 3 with legacy node modules
- Loading branch information
Mohan Raj Rajamanickam
committed
May 2, 2022
1 parent
cc06f2e
commit 041242d
Showing
4 changed files
with
802 additions
and
8 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
Large diffs are not rendered by default.
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
yarnPath: .yarn/releases/yarn-3.2.0.cjs | ||
# Use legacy mode with node modules | ||
nodeLinker: node-modules | ||
npmRegistryServer: https://registry.yarnpkg.com |
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,5 +1,5 @@ | ||
{ | ||
"name": "salesforcedx-vscode", | ||
"name": "salesforcedx-vscode-mono-repo", | ||
"repository": "forcedotcom/salesforcedx-vscode", | ||
"license": "BSD-3-Clause", | ||
"private": true, | ||
|
@@ -10,10 +10,6 @@ | |
"node": ">=16.13.0", | ||
"yarn": ">=1.22.15" | ||
}, | ||
"dependencies": { | ||
"node": "^16.13.0", | ||
"npm": "^8.1.2" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^15.0.0", | ||
"@commitlint/config-conventional": "^15.0.0", | ||
|
@@ -49,7 +45,7 @@ | |
"webpack-cli": "3.3.12" | ||
}, | ||
"scripts": { | ||
"postinstall": "lerna bootstrap --no-ci -- --no-package-lock && node scripts/reformat-with-prettier && npm run check:peer-deps && npm run check:typescript-project-references", | ||
"postinstall": "node scripts/reformat-with-prettier && npm run check:peer-deps && npm run check:typescript-project-references", | ||
"bootstrap": "lerna bootstrap --no-ci -- --no-package-lock && node scripts/reformat-with-prettier", | ||
"circleci:artifacts": "node scripts/download-vsix-from-circleci.js", | ||
"commit-init": "commitizen init cz-conventional-changelog --save-dev --save-exact --force", | ||
|
@@ -101,5 +97,6 @@ | |
"commitizen": { | ||
"path": "./node_modules/cz-conventional-changelog" | ||
} | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |