Commit caf5083
committed
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-2331 parent 98842da commit caf5083
17 files changed
Lines changed: 10161 additions & 4239 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| 27 | + | |
25 | 28 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
17 | 14 | | |
18 | | - | |
19 | 15 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
31 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 8 | | |
16 | 9 | | |
17 | 10 | | |
18 | 11 | | |
19 | | - | |
20 | 12 | | |
21 | 13 | | |
22 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
0 commit comments