Skip to content

Commit

Permalink
chore: replace release-it with auto (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
HipsterBrown authored Sep 9, 2024
1 parent c964d2c commit 888ef7b
Show file tree
Hide file tree
Showing 6 changed files with 996 additions and 1,642 deletions.
14 changes: 14 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"projectName": "xs-dev",
"projectOwner": "HipsterBrown",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"imageSize": 100,
"commit": true,
"commitConvention": "none",
"contributors": [],
"contributorsPerLine": 7
}
9 changes: 1 addition & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: Changesets
on:
push:
branches:
- main
paths-ignore:
- 'docs/**'

Expand Down Expand Up @@ -44,12 +42,7 @@ jobs:

- name: Release It
run: |
npm config set //registry.npmjs.org/:_authToken $NPM_TOKEN
pnpm release --npm.skipChecks
pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}




2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ build/
.vscode
!src/toolbox/build/
.npmrc

.env
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,16 @@ Starlight looks for `.md` or `.mdx` files in the `src/content/docs/` directory.
Images can be added to `src/assets/` and embedded in Markdown with a relative link.

Static assets, like favicons, can be placed in the `public/` directory.

## Contributors ✨

Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore-start -->
<!-- markdownlint-disable -->
<!-- markdownlint-restore -->
<!-- prettier-ignore-end -->
<!-- ALL-CONTRIBUTORS-LIST:END -->

This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
84 changes: 21 additions & 63 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"ci:version": "pnpm ci:version:changeset && pnpm ci:version:install",
"ci:version:install": "pnpm install --frozen-lockfile=false",
"ci:publish": "changeset publish",
"release": "release-it"
"release": "auto shipit"
},
"files": [
"tsconfig.json",
Expand Down Expand Up @@ -57,10 +57,13 @@
},
"devDependencies": {
"@astrojs/starlight": "^0.25.4",
"@auto-it/all-contributors": "^11.2.1",
"@auto-it/conventional-commits": "^11.2.1",
"@auto-it/first-time-contributor": "^11.2.1",
"@auto-it/magic-zero": "^11.2.1",
"@babel/core": ">=7.20.12 <8.0.0",
"@changesets/cli": "^2.19.0",
"@justinribeiro/lite-youtube": "^1.5.0",
"@release-it/conventional-changelog": "^5.1.1",
"@types/jest": "^27.4.0",
"@types/node": "^18.11.19",
"@types/serve-handler": "^6.1.1",
Expand All @@ -69,6 +72,7 @@
"@typescript-eslint/eslint-plugin": "^8.1.0",
"@typescript-eslint/parser": "^8.1.0",
"astro": "4.13.3",
"auto": "^11.2.1",
"eslint": "^8.57.0",
"eslint-config-love": "^62.0.0",
"eslint-config-prettier": "^8.3.0",
Expand All @@ -78,7 +82,6 @@
"eslint-plugin-promise": "^7.1.0",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"release-it": "^15.11.0",
"rollup": "^2.78.1",
"solid-js": "^1.4.3",
"tailwindcss": "^3.0.24",
Expand Down Expand Up @@ -106,65 +109,20 @@
"minimatch@<3.0.5": ">=3.0.5"
}
},
"release-it": {
"git": {
"commitMessage": "chore: release v${version} [skip ci]"
},
"github": {
"release": true,
"comments": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": "conventionalcommits",
"infile": "CHANGELOG.md",
"types": [
{
"section": "Features",
"type": "feat"
},
{
"section": "Bug fixes",
"type": "fix"
},
{
"section": "Documentation",
"type": "docs"
},
{
"section": "Styles",
"type": "style"
},
{
"section": "Code refactoring",
"type": "refactor"
},
{
"section": "Performance improvements",
"type": "perf"
},
{
"section": "Tests",
"type": "test"
},
{
"section": "Builds",
"type": "build"
},
{
"section": "Continuous integrations",
"type": "ci"
},
{
"section": "Chores",
"type": "chore"
},
{
"section": "Reverts",
"type": "revert"
}
]
}
}
"author": "HipsterBrown <[email protected]>",
"auto": {
"plugins": [
"magic-zero",
"npm",
"all-contributors",
[
"conventional-commits",
{
"preset": "conventionalcommits"
}
],
"first-time-contributor",
"released"
]
}
}
Loading

0 comments on commit 888ef7b

Please sign in to comment.