Skip to content

Commit

Permalink
Merge pull request #47 from hqwuzhaoyi/changeset2
Browse files Browse the repository at this point in the history
Changeset2
  • Loading branch information
hqwuzhaoyi authored Aug 22, 2023
2 parents 30e4a8f + 3eb5137 commit 9b8f543
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches:
- master
- changeset
- changeset2

concurrency: ${{ github.workflow }}-${{ github.ref }}

Expand Down
14 changes: 14 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Contribution Guide

Considering contributing? Thank you so much!

There's a [test framework](./test/README.md) that should be pretty straightforward, one thing that HunchJS could always use more of are thoughtful tests for the different features!

Please consider these simple guidelines when filing a pull request:

- Make pull requests to the `master` branch.
- Features and bug fixes should be covered by test cases. (If you find a bug and don't know how to write a test, that's okay, feel free to open a PR anyway and we can learn together!)
- Commits should follow the [Angular commit convention](https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#-git-commit-guidelines) but just try your best and it can be sorted out later!
- It should be automatically configured via [.editorconfig](.editorconfig), but use [tabs for indentation, spaces for alignment](https://gist.github.com/saibotsivad/06021a81865226cfc140)

This repo uses [changesets](https://github.com/changesets/changesets) to make releasing updates easier. For you, the contributor, this means you should run `npm run changeset` (or `npx changeset`) when you've got your changes ready. For more details, see this short document on [adding a changeset](https://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md#i-am-in-a-single-package-repository).
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"changeset": "changeset",
"changeset-publish": "changeset publish",
"changeset-tag": "changeset tag",
"ci:publish": "pnpm changeset tag",
"ci:publish": "pnpm build-package && git status && pnpm publish -r --no-git-checks && pnpm changeset tag",
"ci:version": "pnpm changelog && pnpx changeset version && pnpm install --no-frozen-lockfile && git add .",
"clean": "turbo run clean",
"deploy:dev": "./check-pm2.sh npm run build && pm2 startOrRestart ecosystem.config.js --env development",
Expand Down

0 comments on commit 9b8f543

Please sign in to comment.