Skip to content

Commit

Permalink
chore: willboosterify this repo
Browse files Browse the repository at this point in the history
  • Loading branch information
WillBooster-bot committed May 16, 2024
1 parent 20a34e8 commit 339abfa
Show file tree
Hide file tree
Showing 27 changed files with 3,833 additions and 3,014 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{cjs,cpp,cts,dart,htm,html,js,json,json5,jsx,mjs,mts,pu,puml,rb,ts,tsx,vue,yaml,yml}]
[*.{cjs,cpp,cts,dart,htm,html,js,json,json5,jsonc,jsx,mjs,mts,pu,puml,rb,ts,tsx,vue,xml,yaml,yml}]
indent_size = 2
indent_style = space

Expand Down
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ test-fixtures/
.pnp.js
dist.zip

.idea/copilot/chatSessions/
.devcontainer/
dist/
temp/
Icon[]
!.keep
*/mount/*.hash

test-results/
# Created by https://www.toptal.com/developers/gitignore/api/windows
# Edit at https://www.toptal.com/developers/gitignore?templates=windows
Expand Down
4 changes: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
*.js text eol=lf
*.json text eol=lf
*.json5 text eol=lf
*.jsonc text eol=lf
*.jsx text eol=lf
*.mjs text eol=lf
*.mts text eol=lf
Expand All @@ -20,9 +21,12 @@
*.ts text eol=lf
*.tsx text eol=lf
*.vue text eol=lf
*.xml text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.go text eol=lf
*.gradle text eol=lf
*.py text eol=lf
*.md text eol=lf

dist/** linguist-generated=true
17 changes: 17 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Close #<IssueNumber>

## Self Check

- [ ] I've confirmed `All checks have passed` on PR page. (You may leave this box unchecked due to long workflows.)
- PR title follows [Angular's commit message format](https://github.com/angular/angular/blob/main/CONTRIBUTING.md#-commit-message-format).
- PR title doesn't have `WIP:`.
- All tests are passed.
- Test command (e.g., `yarn test`) is passed.
- Lint command (e.g., `yarn lint`) is passed.
- [ ] I've reviewed my changes on PR's diff view.

<!-- Please add screenshots if you modify the UI.
| Current | In coming |
| ------------------------ | ------------------------ |
| <img src="" width="400"> | <img src="" width="400"> |
-->
2 changes: 1 addition & 1 deletion .github/workflows/add-issue-to-project.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Add issue to github project
name: Add issue to GitHub project
on:
issues:
types:
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/add-ready-issue-to-project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Add ready issue to GitHub project
on:
issues:
types:
- labeled
jobs:
add-ready-issue-to-project:
uses: WillBooster/reusable-workflows/.github/workflows/add-issue-to-project.yml@main
with:
labeled: 'ready :rocket:'
secrets:
GH_PROJECT_URL: https://github.com/orgs/WillBoosterLab/projects/5
GH_TOKEN: ${{ secrets.PUBLIC_GH_BOT_PAT }}
3 changes: 1 addition & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ on:
branches:
- main
- wbfy
- renovate/**
paths-ignore:
- '**.md'
- '**/docs/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@ dist.zip

# Generated by @willbooster/willboosterify

.idea/copilot/chatSessions/
.devcontainer/
dist/
temp/
Icon[]
!.keep
*/mount/*.hash

test-results/
# Created by https://www.toptal.com/developers/gitignore/api/windows
# Edit at https://www.toptal.com/developers/gitignore?templates=windows
Expand Down
3 changes: 0 additions & 3 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)"

run_if_changed() {
Expand Down
3 changes: 0 additions & 3 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

node node_modules/.bin/lint-staged
3 changes: 0 additions & 3 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

node node_modules/.bin/tsc --noEmit --Pretty

0 comments on commit 339abfa

Please sign in to comment.