class-name-prop
Advanced tools
Changelog
6.0.0
^14.17.0 || ^16.0.0 || >= 18.0.0
.main
field.node:
URL scheme for Node.js builtin module imports in tests.jsconfig.json
:
compilerOptions.maxNodeModuleJsDepth
to 10
.compilerOptions.module
to nodenext
.actions/checkout
to v3.actions/setup-node
to v3.not IE > 0
from the Browserslist query.Changelog
5.0.0
types
script.jsdoc-md
dev dependency and the related package scripts, replacing the readme “API” section with a manually written “Exports” section.license.md
MIT License file.Changelog
4.0.0
^12.22.0 || ^14.17.0 || >= 16.0.0
.> 0.5%, not OperaMini all, not IE > 0, not dead
../package
from the package exports
field; the full package.json
filename must be used in a require
path..mjs
files instead of CJS in .js
files, accessible via import
but not require
../classNameProp.mjs
to the package exports
field.browserslist
field.description
field.main
field.singleQuote
to the default, false
.any
instead of *
for better TypeScript support.assertBundleSize
function to assert module bundle size in tests:
npm-debug.log
from the .gitignore
file as npm v4.2.0+ doesn’t create it in the current working directory.Changelog
3.0.0
^12.20 || >= 14.13
.exports
field.sideEffects
field..mjs
file instead of CJS in a .js
file.actions/checkout
to v2.actions/setup-node
to v2.npm install-test
command.CI
environment variable as it’s set by default.esbuild
and gzip-size
, removing size-limit
related dev dependencies, config, and scripts.jsdoc-md
v10 automatically generates a Prettier formatted readme.test:jsdoc
script that checks the readme API docs are up to date with the source JSDoc.test:prettier
script arguments.semi
to the default, true
.Changelog
2.0.0
coverage-node
for test code coverage..github/funding.yml
to display a sponsor button in GitHub.package.json
funding
field to enable npm CLI funding features.eslint-plugin-import-order-alphabetical
dev dependency.husky
and lint-staged
.