-
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
npm v7 & dependency improvements (#234)
The npm CLI v7 [1] introduced the new `package-lock.json` format v2 [2] that unlocks the ability to do deterministically reproducible builds and includes everything npm needs to fully build the package tree. Since this is a new major version the current `package-lock.json` file has been updated to the new format. At the same time outdated dependencies have been upgraded to their latest, compatible version. This also changes the versions to use the `^` caret range selector [7] to reduce the overhead of updating dependencies. - `@arcticicestudio/eslint-config-base` [5] - the minimum versions have been bumped from `0.5.0` to `0.11.0` [6]. - `babel-eslint` [3] -> [`@babel/eslint-parser`][4] - the `babel-eslint` package is deprecated and is now available as `@babel/eslint-parser`. - `eslint-plugin-json` [8] -> [`eslint-plugin-jsonc`][9] - since Visual Studio Code uses JSONC [10] the `eslint-plugin-jsonc` matches better to the scope of this repository. It also utilizies the ESLint engine by passing the AST to it. - `del-cli` [13] - updated from version `1.1.0` [11] to `^4.0.1` [12]. - `eslint` [14] - updated from version `5.16.0` [15] to `^7.32.0` [16]. - `eslint-plugin-import` [17] - updated from version `2.17.3` [18] to `^2.24.2` [19]. - `eslint-plugin-prettier` [20] - updated from version `3.1.0` [18] to `^4.0.0` [22]. - `prettier` [23] - updated from version `1.17.1` [24] to `^2.4.1` [25]. - `remark-cli` [26] - updated from version `6.0.1` [27] to `^9.0.0` [28]. - `remark-preset-lint-arcticicestudio` [29] -> `@arcticicestudio/remark-preset-lint` [30] - the `remark-preset-lint-arcticicestudio` package is deprecated and is now available as `@arcticicestudio/remark-preset-lint`. This also includes the linting and adjusting for matches that are found after running with the new rules. - `vsce` [31] - updated from version `6.0.1` [32] to `^1.100.0` [33]. [1]: https://github.blog/2020-10-13-presenting-v7-0-0-of-the-npm-cli [2]: https://blog.npmjs.org/post/621733939456933888/npm-v7-series-why-keep-package-lockjson [3]: https://github.com/babel/babel-eslint [4]: https://github.com/babel/babel/tree/main/eslint/babel-eslint-parser [5]: https://github.com/arcticicestudio/styleguide-javascript/tree/main/packages/%40arcticicestudio/eslint-config-base [6]: https://github.com/arcticicestudio/styleguide-javascript/releases/tag/v0.11.0 [7]: https://semver.npmjs.com [8]: https://github.com/azeemba/eslint-plugin-json [9]: https://github.com/ota-meshi/eslint-plugin-jsonc [10]: https://komkom.github.io [11]: https://github.com/sindresorhus/del-cli/releases/tag/v1.1.0 [12]: https://github.com/sindresorhus/del-cli/releases/tag/v4.0.1 [13]: https://github.com/sindresorhus/del-cli [14]: https://eslint.org [15]: https://github.com/eslint/eslint/releases/tag/v5.16.0 [16]: https://github.com/eslint/eslint/releases/tag/v7.32.0 [17]: https://github.com/import-js/eslint-plugin-import [18]: https://github.com/import-js/eslint-plugin-import/releases/tag/v2.17.3 [19]: https://github.com/import-js/eslint-plugin-import/releases/tag/v2.24.2 [20]: https://github.com/prettier/eslint-plugin-prettier [21]: https://github.com/prettier/eslint-plugin-prettier/releases/tag/v3.1.0 [22]: https://github.com/prettier/eslint-plugin-prettier/releases/tag/v4.0.0 [23]: https://prettier.io [24]: https://github.com/prettier/prettier/releases/tag/2.4.1 [25]: https://github.com/prettier/prettier/releases/tag/2.4.1 [26]: https://remark.js.org [27]: https://github.com/remarkjs/remark/releases/tag/remark-cli%406.0.1 [28]: https://github.com/remarkjs/remark/releases/tag/remark-cli%409.0.0 [29]: https://www.npmjs.com/package/remark-preset-lint-arcticicestudio [30]: https://github.com/arcticicestudio/styleguide-markdown/tree/main/packages/%40arcticicestudio/remark-preset-lint [31]: https://github.com/microsoft/vscode-vsce [32]: https://github.com/microsoft/vscode-vsce/releases/tag/v1.62.0 [33]: https://github.com/microsoft/vscode-vsce/releases/tag/v1.100.0 Co-authrored-by: Sven Greb <development@svengreb.de> Closes GH-233
- Loading branch information
1 parent
98842da
commit caf5083
Showing
17 changed files
with
10,161 additions
and
4,239 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
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
_ |
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,18 @@ | ||
#!/bin/sh | ||
|
||
# Copyright (C) 2017-present Arctic Ice Studio <development@arcticicestudio.com> | ||
# Copyright (C) 2017-present Sven Greb <development@svengreb.de> | ||
# | ||
# Project: Nord Visual Studio Code | ||
# Repository: https://github.com/arcticicestudio/nord-visual-studio-code | ||
# License: MIT | ||
|
||
# Git "pre-commit" hook for husky. | ||
# | ||
# References: | ||
# 1. https://github.com/typicode/husky | ||
# 2. https://git-scm.com/docs/githooks#_pre_commit | ||
|
||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npm exec lint-staged |
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 |
---|---|---|
|
@@ -6,4 +6,4 @@ | |
# License: MIT | ||
|
||
package-lock=true | ||
save-exact=true | ||
save-exact=false |
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 |
---|---|---|
|
@@ -6,6 +6,5 @@ | |
# License: MIT | ||
|
||
assets/* | ||
**/node_modules/* | ||
package-lock.json | ||
node_modules/* | ||
*.vsix |
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
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.