Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm v7 & dependency improvements #233

Closed
arcticicestudio opened this issue Sep 25, 2021 · 0 comments · Fixed by #234
Closed

npm v7 & dependency improvements #233

arcticicestudio opened this issue Sep 25, 2021 · 0 comments · Fixed by #234

Comments

@arcticicestudio
Copy link
Contributor

arcticicestudio commented Sep 25, 2021

The npm CLI v7 introduced the new package-lock.json format v2 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 must be updated to the new format.

At the same time outdated dependencies will be upgraded to their latest, compatible version. This will also change the versionsto use the ^ caret range selector to reduce the overhead of updating dependencies.

@arcticicestudio arcticicestudio added this to the 0.19.0 milestone Sep 25, 2021
arcticicestudio added a commit that referenced this issue Sep 25, 2021
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>

GH-233
arcticicestudio added a commit that referenced this issue Sep 25, 2021
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
arcticicestudio added a commit that referenced this issue Sep 25, 2021
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants