Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: lock @typescript-eslint/eslint-plugin version in range minor version of @typescript-eslint/eslint-plugin breaks its utils * ci: ignore built and dependecies files * chore: add table of contents and fix commit hook * docs: add troubleshooting note * docs: fix lint-staged example and add note about "git add" * chore: restrict using `npm i` in root * chore: fix tagging for prerelease
- Loading branch information
Dmitry Naumov
committed
Jan 23, 2020
1 parent
73bfa11
commit 45d8553
Showing
9 changed files
with
2,454 additions
and
1,944 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
*.fixture.* | ||
packages/linters/tslint/rules | ||
packages/linters/tslint/src | ||
node_modules | ||
dist |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = { | ||
'packages/**/*.{ts,js}': ['eslint --fix'], | ||
'**/README.md': [ | ||
files => files.map(file => `markdown-toc -i ${file}`), // single file per command | ||
'prettier --write', | ||
'git add' // fixes 'Changes not staged for commit' | ||
], | ||
'**/*.{md,json,template.html}': ['prettier --write --loglevel=warn'] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
## Development | ||
|
||
- Intall deps with `npm run bootstrap`. | ||
- Run tests with `npm run test:ci`. | ||
- Follow [Conventional Commits specification](https://conventionalcommits.org/) for every commitmessage. | ||
|
||
## Release | ||
|
||
- Prepare your release into `master` or `release/*` branch. | ||
- Run `npm run version` and look what happens. | ||
- Or `npm run version -- --no-push` and `git push --follow-tags` you are not sure. | ||
- Run `npm run publish`. | ||
|
||
**Pre-release:** | ||
|
||
Do the same as above, except this cases: | ||
|
||
- prev version isn't prerelease, but next must be prerelease: `npm run version -- --conventional-prerelease` | ||
- prev version is prerelease, but next must be release: `npm run version -- --conventional-graduate` |
This file contains 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
Oops, something went wrong.