-
Node.js Compatibility: npm 8 is included with Node.js 16 and is expected to be included with Node.js 17. It drops support for Node.js 10, which is no longer maintained.
-
Package Lockfile Format: npm 8 uses
package-lock.json
format v2 by default, which is backwards compatible with npm 7. -
Override Option: npm 8 introduces the
--override
option, which allows you to individually override the configurations in the.npmrc
files. -
Updated Dependencies: npm 8 updates many dependencies and removes others, which can lead to different behaviors and new features.
-
Strict Peer Dependencies: npm 7 introduced automatic installation of peer dependencies, which continues in npm 8. However, npm 8 has made this installation stricter. If a package cannot be installed due to a conflicting peer dependency, npm 8 will block the installation.
This file contains hidden or 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
name: promote-dev-cool-package | |
on: | |
push: | |
paths: | |
- packages/cool-package/** | |
branches-ignore: | |
- master | |
- refs/tags/* |
This file contains hidden or 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
/** | |
* @see {@link https://hyper.is/} | |
*/ | |
module.exports = { | |
config: { | |
updateChannel: 'stable', | |
fontSize: 14, | |
fontFamily: 'Operator Mono', | |
fontWeight: 'normal', | |
fontWeightBold: 'bold', |
This file contains hidden or 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
/** | |
* SVG Fixer | |
* | |
* Fixes references to inline SVG elements when the <base> tag is in use. | |
* Firefox won't display SVG icons referenced with | |
* `<svg><use xlink:href="#id-of-icon-def"></use></svg>` when the <base> tag is on the page. | |
* | |
* More info: | |
* - http://stackoverflow.com/a/18265336/796152 | |
* - http://www.w3.org/TR/SVG/linking.html |