Skip to content
Closed
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
7 changes: 4 additions & 3 deletions .github/copilot-instructions.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# How to write code for this repository

- Code should document itself as much as possible. Only use comments where the code is not self-explanatory.
- Write as minimal code as possible to achieve the desired functionality.
- Embrace TypeScript's type system to ensure type safety and reduce runtime errors, create specific types and interfaces as needed.
Expand All @@ -7,7 +8,7 @@
- Ensure proper error handling and input validation throughout the codebase.
- RXJS should be used for state management and asynchronous operations where appropriate.


# Testing
- Unit tests can be written using vitest in "*.test.ts" files alongside the implementation files.
- Intergration tests can writen using Playwright in the "tests" folder.

- Unit tests can be written using vitest in "\*.test.ts" files alongside the implementation files.
- Intergration tests can writen using Playwright in the "tests" folder.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
- run: npm run build
- run: npm run test
- run: npm run lint
- run: npm run format
- uses: actions/upload-artifact@v4
with:
name: dist
Expand Down Expand Up @@ -57,4 +58,4 @@ jobs:
if: ${{ !cancelled() }}
with:
name: playwright-report-${{ matrix.os }}-${{ matrix.browser }}
path: playwright-report/
path: playwright-report/
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ jobs:
- run: npx wrangler deploy
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
4 changes: 4 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"experimentalSortImports": {}
}
8 changes: 3 additions & 5 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"$schema": "./node_modules/oxlint/configuration_schema.json",
"plugins": [
"react"
],
"plugins": ["react"],
"rules": {
"eslint/no-unused-vars": "allow",
"eslint/no-unused-vars": "allow"
}
}
}
7 changes: 2 additions & 5 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"oxc.oxc-vscode"
]
}
"recommendations": ["dbaeumer.vscode-eslint", "oxc.oxc-vscode"]
}
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
"trace": false
}
]
}
}
15 changes: 6 additions & 9 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
{
"[typescript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"editor.defaultFormatter": "oxc.oxc-vscode",
"editor.formatOnSave": true,
"oxc.typeAware": true,
"[typescriptreact]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "vscode.typescript-language-features"
"editor.defaultFormatter": "oxc.oxc-vscode"
},
"typescript.format.semicolons": "insert",
"oxc.typeAware": true
}
"oxc.enable.oxfmt": true
}
2 changes: 1 addition & 1 deletion java/gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ teavm-core = { group = "org.teavm", name = "teavm-core", version.ref = "teavm" }
teavm-jso = { group = "org.teavm", name = "teavm-jso-apis", version.ref = "teavm" }

[plugins]
teavm = { id = "org.teavm", version.ref = "teavm" }
teavm = { id = "org.teavm", version.ref = "teavm" }
Loading