Skip to content

Commit

Permalink
Clean publish (#54)
Browse files Browse the repository at this point in the history
* Add clean-publish dep

* Add release docs
  • Loading branch information
igorkamyshev committed Oct 6, 2021
1 parent 9af46f3 commit 57c9ba4
Show file tree
Hide file tree
Showing 8 changed files with 69 additions and 2 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,15 @@ To configure individual rules:
- [effector/no-ambiguity-target](/rules/no-ambiguity-target/no-ambiguity-target.md)
- [effector/prefer-sample-over-forward-with-mapping](/rules/prefer-sample-over-forward-with-mapping/prefer-sample-over-forward-with-mapping.md)
- [effector/no-watch](/rules/no-watch/no-watch.md)

## Maintenance

### Release flow

1. Bump `version` in [package.json](./package.json)
2. Fill [CHANGELOG.md](./CHANGELOG.md)
3. Commit changes by `git commin -m "Release X.X.X"
4. Create git tag for release by `git tag -a vX.X.X -m "vX.X.X"`
5. Push changes to remote by `git push --follow-tags`
6. Release package to registry by `yarn clean-publish`
7. Fill release page by changelog on GitHub
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"devDependencies": {
"@typescript-eslint/experimental-utils": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
"clean-publish": "^3.2.0",
"effector": "^22.0.0",
"eslint": "^7.32.0",
"glob": "^7.1.7",
Expand Down
58 changes: 56 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1427,6 +1427,21 @@ __metadata:
languageName: node
linkType: hard

"clean-publish@npm:^3.2.0":
version: 3.2.0
resolution: "clean-publish@npm:3.2.0"
dependencies:
cross-spawn: ^7.0.3
fast-glob: ^3.2.7
fs-extra: ^10.0.0
lilconfig: ^2.0.3
bin:
clean-publish: clean-publish.js
clear-package-json: clear-package-json.js
checksum: 371d1b022adce5bf15a92b690fe0f3c6be221e7309f204326cd88d2482fc66824d5a0bb46cd6ae673e5a95a8e9de6fdf99a6ac5a81863f43c632b6784c857e46
languageName: node
linkType: hard

"clean-stack@npm:^2.0.0":
version: 2.2.0
resolution: "clean-stack@npm:2.2.0"
Expand Down Expand Up @@ -1804,6 +1819,7 @@ __metadata:
dependencies:
"@typescript-eslint/experimental-utils": ^4.29.3
"@typescript-eslint/parser": ^4.29.3
clean-publish: ^3.2.0
effector: ^22.0.0
eslint: ^7.32.0
glob: ^7.1.7
Expand Down Expand Up @@ -2015,7 +2031,7 @@ __metadata:
languageName: node
linkType: hard

"fast-glob@npm:^3.1.1":
"fast-glob@npm:^3.1.1, fast-glob@npm:^3.2.7":
version: 3.2.7
resolution: "fast-glob@npm:3.2.7"
dependencies:
Expand Down Expand Up @@ -2116,6 +2132,17 @@ __metadata:
languageName: node
linkType: hard

"fs-extra@npm:^10.0.0":
version: 10.0.0
resolution: "fs-extra@npm:10.0.0"
dependencies:
graceful-fs: ^4.2.0
jsonfile: ^6.0.1
universalify: ^2.0.0
checksum: 5285a3d8f34b917cf2b66af8c231a40c1623626e9d701a20051d3337be16c6d7cac94441c8b3732d47a92a2a027886ca93c69b6a4ae6aee3c89650d2a8880c0a
languageName: node
linkType: hard

"fs-minipass@npm:^2.0.0":
version: 2.1.0
resolution: "fs-minipass@npm:2.1.0"
Expand Down Expand Up @@ -2261,7 +2288,7 @@ fsevents@^2.3.2:
languageName: node
linkType: hard

"graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6":
"graceful-fs@npm:^4.1.6, graceful-fs@npm:^4.2.0, graceful-fs@npm:^4.2.4, graceful-fs@npm:^4.2.6":
version: 4.2.8
resolution: "graceful-fs@npm:4.2.8"
checksum: 5d224c8969ad0581d551dfabdb06882706b31af2561bd5e2034b4097e67cc27d05232849b8643866585fd0a41c7af152950f8776f4dd5579e9853733f31461c6
Expand Down Expand Up @@ -3218,6 +3245,19 @@ fsevents@^2.3.2:
languageName: node
linkType: hard

"jsonfile@npm:^6.0.1":
version: 6.1.0
resolution: "jsonfile@npm:6.1.0"
dependencies:
graceful-fs: ^4.1.6
universalify: ^2.0.0
dependenciesMeta:
graceful-fs:
optional: true
checksum: 7af3b8e1ac8fe7f1eccc6263c6ca14e1966fcbc74b618d3c78a0a2075579487547b94f72b7a1114e844a1e15bb00d440e5d1720bfc4612d790a6f285d5ea8354
languageName: node
linkType: hard

"kleur@npm:^3.0.3":
version: 3.0.3
resolution: "kleur@npm:3.0.3"
Expand Down Expand Up @@ -3252,6 +3292,13 @@ fsevents@^2.3.2:
languageName: node
linkType: hard

"lilconfig@npm:^2.0.3":
version: 2.0.3
resolution: "lilconfig@npm:2.0.3"
checksum: 39fcd06c9f94bec0f7be969f89abcead96cf9334682007df63e6fbe9bdb0566cf8e1ca53a8f56d2acca802f28e8acbabe8ed4e6265ed5e419b6a1397db003741
languageName: node
linkType: hard

"locate-path@npm:^5.0.0":
version: 5.0.0
resolution: "locate-path@npm:5.0.0"
Expand Down Expand Up @@ -4525,6 +4572,13 @@ typescript@^4.4.2:
languageName: node
linkType: hard

"universalify@npm:^2.0.0":
version: 2.0.0
resolution: "universalify@npm:2.0.0"
checksum: 2406a4edf4a8830aa6813278bab1f953a8e40f2f63a37873ffa9a3bc8f9745d06cc8e88f3572cb899b7e509013f7f6fcc3e37e8a6d914167a5381d8440518c44
languageName: node
linkType: hard

"uri-js@npm:^4.2.2":
version: 4.4.1
resolution: "uri-js@npm:4.4.1"
Expand Down

0 comments on commit 57c9ba4

Please sign in to comment.