eslint-config
Packages
This monorepo contains multiple packages. Take a look at their READMEs for more details.
How are they related to each other?
JavaScript
-
eslint-config-ns-base
is the base package for JavaScript projects. -
eslint-config-ns
extendseslint-config-ns-base
package and can be used in React projects.
TypeScript
-
eslint-config-ns-ts-base
extendseslint-config-ns-base
package and is the base package for TypeScript projects. -
eslint-config-ns-ts
is the last one in the chain and extendseslint-config-ns-ts-base
and is best used in React TypeScript projects.
How to release
This repository uses GitHub Actions (debug locally) to create a release and update the CHANGELOG. The implementation is inspired and based on github.com/babel/actions.
Either push the tags after running this command to origin, or run the release workflow manually on GitHub.
Manually trigger release
yarn lerna:version
git push --follow-tags
# wait until GitHub Action finishes and then run
yarn lerna:publish
Manually create Changelog entry
npx lerna-changelog --from <tag> --to <tag>
Automatically with GitHub Actions
Manually invoke the GitHub Action release and wait until it finishes.
Once the release was created with GitHub Actions, publish the packages manually
to npm with yarn lerna:publish
.
Attention: make sure the Pull Requests have labels before you merge them. The
label (e.g. enhancement
and bug
) will be used to create the CHANGELOG.
LICENSE
Stefan Natter |