-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: update to node v16 with npm v6 for packaging (#4092)
* ci: update to node v16 from node v14 * build: update package engine and deps to node 16 with npm 6 as npm 7/8 breaks vsce packaging * build: enable npm workspaces; thus updating lock file to account for all deps in the monorepo * build: add npm script to install locally built vsix packages into insiders * docs: add info about new pkgs install script * build: fix mismatch peer dep versions in soql pkg; remove legacy peer deps config * refactor: rename vscode:install to vsix:install * build: switch to lock file v3 for reduced file size and hopefully faster installs (from 2.9M to 1.6M) * refactor: npm run scripts to reuse targets * refactor: reinstall script to use git checkout to reset package lock instead of removing it * docs: add info about npm v6 vs npm v8 * docs: add info about legacy circle image and node version
- Loading branch information
1 parent
ccf4b1c
commit 191cfce
Showing
8 changed files
with
44,959 additions
and
17,328 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
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
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,10 @@ | ||
#save exact versions of dependencies from the package.json | ||
# https://docs.npmjs.com/cli/v8/using-npm/config | ||
|
||
# Save dependencies to package.json with an exact version rather than using npm's default semver range operator | ||
save-exact=true | ||
|
||
#enforces usage of the minimum node version in our .nvmrc | ||
engine-strict=true | ||
# Refuse to install (or even consider installing) any package that claims to not be compatible with the current Node.js version. | ||
engine-strict=true | ||
|
||
# Smaller on disk than lockfile version 2, but not interoperable with older npm versions. Ideal if all users are on npm version 7 and higher. | ||
lockfile-version=3 |
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 +1 @@ | ||
v14.16.0 | ||
v16.13.0 |
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.