Skip to content

Commit

Permalink
chore: update package-starter
Browse files Browse the repository at this point in the history
  • Loading branch information
FranciscoKloganB committed May 12, 2024
1 parent fd18a97 commit d5fe081
Show file tree
Hide file tree
Showing 9 changed files with 1,213 additions and 1,395 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version: ${{ matrix.node }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/essential-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version: ${{ matrix.node }}
Expand All @@ -25,7 +25,7 @@ jobs:
run: npm audit --production

- name: Lint and Format Check
run: npm run tidy:ci
run: npm run biome:ci

- name: Test Unit
run: npm run test:ci:coverage
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: npm
node-version: 22
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
env:
CI_JOB_NUMBER: 1
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- uses: andresz1/size-limit-action@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"

npm run tidy -- --staged
npm run biome:precommit
4 changes: 1 addition & 3 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{
"recommendations": [
"biomejs.biome"
]
"recommendations": ["biomejs.biome"]
}
48 changes: 2 additions & 46 deletions biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,37 +11,7 @@
},
"files": {
"ignoreUnknown": true,
"include": [
"src",
"test",
"*.js",
"*.cjs",
"*.mjs",
"*.ts",
"*.cts",
"*.mts",
"*.json",
"*.md"
],
"ignore": [
".github",
".husky",
".vscode",
"app",
"build",
"coverage",
"dist",
"docs",
"out",
"node_modules",
".env",
".env.*",
".env.*.*",
".envrc",
"package.json",
"package-lock.json",
"**/mockServiceWorker.js"
]
"include": ["src", "test", "*.js", "*.cjs", "*.mjs", "*.ts", "*.cts", "*.mts", "*.json", "*.md"]
},
"formatter": {
"enabled": true,
Expand Down Expand Up @@ -117,21 +87,7 @@
"useGetterReturn": "error",
"useValidTypeof": "error"
}
},
"ignore": [
"**/.env.local",
"**/.env.template",
"**/.gitignore",
"**/.vscode/",
"**/build/",
"**/bun.lockb",
"**/package-lock.json",
"**/dist/",
"**/node_modules/",
"**/package.json",
"**/README.md",
"**/tsconfig.json"
]
}
},
"javascript": {
"formatter": {
Expand Down
Loading

0 comments on commit d5fe081

Please sign in to comment.