Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: "CodeQL"

on:
pull_request:
branches:
- main
push:
branches:
- main
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ jobs:

- name: "Version and publish 🚀"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
Expand Down
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

./node_modules/.bin/lint-staged

3 changes: 3 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"*.{js,ts}": ["biome lint . ", "git add"]
}
18 changes: 18 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"$schema": "https://biomejs.dev/schemas/1.6.4/schema.json",
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
},
"ignore": ["./.nx", "node_modules/", "dist/"]
},
"formatter": {
"indentStyle": "space",
"enabled": true,
"lineWidth": 80
}
}
5 changes: 1 addition & 4 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@
"version": {
"createRelease": "github",
"conventionalCommits": true,
"allowBranch": [
"main",
"develop"
],
"allowBranch": ["main", "develop"],
"message": "chore(release): publish"
}
}
Expand Down
12 changes: 3 additions & 9 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,18 @@
"targetDefaults": {
"dev": {
"cache": true,
"dependsOn": [
"^dev"
]
"dependsOn": ["^dev"]
},
"build": {
"cache": true,
"dependsOn": [
"^build"
]
"dependsOn": ["^build"]
},
"preview": {
"dependsOn": []
},
"test": {
"cache": true,
"dependsOn": [
"^test"
]
"dependsOn": ["^test"]
}
}
}
Loading