-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #219 from KenEucker/develop
3.2.7 -- FIRST RELEASE
- Loading branch information
Showing
29 changed files
with
881 additions
and
78 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- production | ||
|
||
jobs: | ||
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Reconfigure git to use HTTP authentication | ||
run: > | ||
git config --global url."https://github.com/".insteadOf | ||
ssh://git@github.com/ | ||
- name: Install dependencies | ||
run: npm ci --ignore-scripts | ||
- name: Run linters | ||
run: npm run lint | ||
- name: Build | ||
run: npm run pub:build | ||
- name: Expose build | ||
run: npm run pub:expose | ||
- name: Release | ||
env: | ||
GH_TOKEN: ${{ secrets.GH_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: npx semantic-release |
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,34 @@ | ||
*.code-workspace | ||
.github | ||
.husky | ||
.vscode | ||
.netlify | ||
dist | ||
examples | ||
src | ||
public | ||
functions | ||
coverage | ||
test | ||
|
||
.env* | ||
|
||
.eslintignore | ||
.editorconfig | ||
.browserslistrc | ||
.eslintrc.js | ||
.stylelintrc.js | ||
.gitattributes | ||
.prettierignore | ||
.prettierrc.json | ||
.releaserc.json | ||
|
||
conduct.md | ||
contributing.md | ||
index.md | ||
tsconfig-server.json | ||
tsconfig.json | ||
tsconfig.node.json | ||
vite.config.ts | ||
publish.config.ts | ||
postcss.config.js |
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,6 @@ | ||
{ | ||
"branches": [ | ||
{ "name": "production" }, | ||
{ "name": "develop", "channel": "develop", "prerelease": true } | ||
] | ||
} |
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
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,33 @@ | ||
# How to Contribute | ||
|
||
Thanks for taking the time to contribute! | ||
|
||
- [Code of Conduct][code of conduct] | ||
|
||
|
||
## Submitting Changes | ||
|
||
We use [commitizen][commitizen] to enforce [conventional commits][conventional commits]. This enables us to automate both semantic versioning and npm releases. | ||
|
||
Install the `commitizen` command line tool: | ||
|
||
```bash | ||
npm install -g commitizen | ||
``` | ||
|
||
Now simply use `git cz` or just `cz` instead of `git commit` when committing. | ||
|
||
If you prefer not to install the `commitizen` command globally, alternatively you can use `npm run commit` instead of `git commit`. | ||
|
||
## Coding Conventions | ||
|
||
- Prettier is ran and applied automatically as part of a precommit hook, so you don't have to worry about semicolons or trailing commas | ||
|
||
## Inspirations | ||
|
||
This package follows the lead of the Open-Source API [biketag][biketag], with it's configurations for compiling, testing, and contributing to Javascript APIs written in TypeScript. Also, the BikeTag API utilizes the `node-imgur` package to do it's thing, with admiration. | ||
|
||
[commitizen]: https://github.com/commitizen/cz-cli | ||
[conventional commits]: https://www.conventionalcommits.org/ | ||
[code of conduct]: code_of_conduct.md | ||
[biketag]: https://github.com/kneucker/biketag |
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.