Skip to content

Commit

Permalink
chore: update frontend deps and CI
Browse files Browse the repository at this point in the history
fix: eslint errors
  • Loading branch information
CNSeniorious000 committed Jun 14, 2024
1 parent d552898 commit 91dd3fc
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 19 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install dependencies
working-directory: frontend
run: |
yarn install
bun install
- name: Run svelte-check
working-directory: frontend
run: |
yarn check
bun check
- name: Run prettier
working-directory: frontend
run: |
yarn prettier --check . --ignore-path ../.gitignore
bun prettier --check . --ignore-path ../.gitignore
2 changes: 1 addition & 1 deletion frontend/app/HeroPage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import { tweened } from "svelte/motion";
const length = 20;
let i = tweened(length * 1.3, { easing: sineInOut, duration: 700 });
const i = tweened(length * 1.3, { easing: sineInOut, duration: 700 });
onMount(() => ($i = 0));
</script>
Expand Down
30 changes: 15 additions & 15 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,24 @@
"check": "svelte-check --tsconfig ./tsconfig.json"
},
"devDependencies": {
"@antfu/eslint-config": "^2.15.0",
"@antfu/eslint-config": "^2.21.1",
"@promplate/pattern": "^0.0.1",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@tsconfig/svelte": "^5.0.4",
"@unocss/eslint-plugin": "^0.59.3",
"@unocss/extractor-svelte": "^0.59.3",
"@unocss/reset": "^0.59.3",
"eslint": "^8.57.0",
"@unocss/eslint-plugin": "^0.61.0",
"@unocss/extractor-svelte": "^0.61.0",
"@unocss/reset": "^0.61.0",
"eslint": "^9.4.0",
"eslint-plugin-format": "^0.1.1",
"eslint-plugin-svelte": "^2.37.0",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.2.3",
"svelte": "^4.2.15",
"svelte-check": "^3.6.9",
"svelte-eslint-parser": "^0.33.1",
"tslib": "^2.6.2",
"eslint-plugin-svelte": "^2.39.3",
"prettier": "^3.3.2",
"prettier-plugin-svelte": "^3.2.4",
"svelte": "^4.2.18",
"svelte-check": "^3.8.0",
"svelte-eslint-parser": "^0.37.0",
"tslib": "^2.6.3",
"typescript": "^5.4.5",
"unocss": "^0.59.3",
"vite": "^5.2.9"
"unocss": "^0.61.0",
"vite": "^5.3.1"
}
}

0 comments on commit 91dd3fc

Please sign in to comment.