Skip to content

Commit

Permalink
Merge pull request #5 from codersforcauses/chore/template_sync_7ebbdfe
Browse files Browse the repository at this point in the history
upstream merge template repository
  • Loading branch information
dct0 authored Jun 22, 2024
2 parents 1d7cab9 + 55957ac commit bf6d697
Show file tree
Hide file tree
Showing 6 changed files with 189 additions and 47 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-backend.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Backend code checks

on:
push:
branches: [main]
pull_request:
types: ["opened", "synchronize", "reopened", "edited"]
workflow_dispatch:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-frontend.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
name: Frontend code checks

on:
push:
branches: [main]
pull_request:
types: ["opened", "synchronize", "reopened", "edited"]
workflow_dispatch:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/template-sync.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
# cronjob trigger
# schedule:
# - cron: "0 0 1 * *"
# cronjob trigger once a day
schedule:
- cron: "0 0 * * 0"
# manual trigger
workflow_dispatch:
jobs:
Expand Down
4 changes: 2 additions & 2 deletions client/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"extends": [
"next/babel",
"next/core-web-vitals",
"plugin:@next/next/recommended",
"plugin:@tanstack/eslint-plugin-query/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": ["simple-import-sort", "import"],
"rules": {
"simple-import-sort/imports": "warn",
Expand Down
217 changes: 177 additions & 40 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"lint:fix": "eslint src --fix && npm run format",
"lint:strict": "eslint src",
"lint:fix": "eslint --fix && npm run format",
"lint:strict": "eslint",
"format": "prettier -w src",
"format:check": "prettier -c src",
"typecheck": "tsc --noEmit",
Expand Down Expand Up @@ -36,6 +36,7 @@
"@types/node": "^20.14.6",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/parser": "^7.13.1",
"eslint": "^8.57.0",
"eslint-config-next": "^14.2.4",
"eslint-plugin-simple-import-sort": "^12.1.0",
Expand Down

0 comments on commit bf6d697

Please sign in to comment.