@ezetech/eslint-config
v4.9.1
Published
Sharable eslint config
Keywords
Readme
eslint-config
Sharable eslint config
development
npm installInstall the correct versions of each package, which are listed by the command:
npm info "@ezetech/eslint-config@latest" peerDependenciesMore info: ESLint sharable configuration
To publish NPM package:
- Make sure you have empty working status and the working directory is clean
git status --porcelain- Pull the latest changes
git checkout main
git pull origin main- Update the version in package.json and package-lock.json files with next commands. For major version (^.0.0) use next command
npm version ---no-commit-hooks majorFor minor version (0.^.0) use next command
npm version --no-commit-hooks minorFor patch version (0.0.^) use next command
npm version --no-commit-hooks patchCommit and push changes.
- Push new tag version.
git push origin <new_version>- Publish a public package
npm publish --access publicNote: npm publish require authorization. For NPM access ask PM.
- Publish a private package
npm publish --access restricted --@ezetech:registry=https://npm.pkg.github.comNote: npm publish require Github token.
NOTICE: you NEED to publish both versions: public and private
