Skip to content

Commit 9710e13

Browse files
committed
Update dependencies
1 parent 7d2c854 commit 9710e13

File tree

18 files changed

+509
-480
lines changed

18 files changed

+509
-480
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Set up Node.js
15-
uses: actions/setup-node@v4
15+
uses: actions/setup-node@v6
1616
- name: Checkout repo
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818
- name: Install dependencies
1919
run: npm ci
2020
- name: Check
@@ -28,16 +28,16 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Set up Node.js
31-
uses: actions/setup-node@v4
31+
uses: actions/setup-node@v6
3232
- name: Checkout repo
33-
uses: actions/checkout@v4
33+
uses: actions/checkout@v5
3434
- name: Install dependencies
3535
run: npm ci
3636
- name: Build
3737
run: npm run build
3838
- name: Upload artifact
3939
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
40-
uses: actions/upload-pages-artifact@v3
40+
uses: actions/upload-pages-artifact@v4
4141
with:
4242
path: ./build
4343

.prettierignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,8 @@
22
package-lock.json
33
pnpm-lock.yaml
44
yarn.lock
5+
bun.lock
6+
bun.lockb
7+
8+
# Miscellaneous
9+
/static/

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The bespinian homepage available at <https://bespinian.io>. Powered by [`create-
66

77
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
88

9-
```bash
9+
```sh
1010
npm run dev
1111

1212
# or start the server and open the app in a new browser tab
@@ -17,7 +17,7 @@ npm run dev -- --open
1717

1818
To create a production version of your app:
1919

20-
```bash
20+
```sh
2121
npm run build
2222
```
2323

eslint.config.js

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,41 @@
11
import prettier from 'eslint-config-prettier';
2-
import js from '@eslint/js';
2+
import { fileURLToPath } from 'node:url';
33
import { includeIgnoreFile } from '@eslint/compat';
4+
import js from '@eslint/js';
45
import svelte from 'eslint-plugin-svelte';
6+
import { defineConfig } from 'eslint/config';
57
import globals from 'globals';
6-
import { fileURLToPath } from 'node:url';
78
import ts from 'typescript-eslint';
9+
import svelteConfig from './svelte.config.js';
10+
811
const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url));
912

10-
export default ts.config(
13+
export default defineConfig(
1114
includeIgnoreFile(gitignorePath),
1215
js.configs.recommended,
1316
...ts.configs.recommended,
14-
...svelte.configs['flat/recommended'],
17+
...svelte.configs.recommended,
1518
prettier,
16-
...svelte.configs['flat/prettier'],
19+
...svelte.configs.prettier,
1720
{
1821
languageOptions: {
19-
globals: {
20-
...globals.browser,
21-
...globals.node
22-
}
22+
globals: { ...globals.browser, ...globals.node }
23+
},
24+
rules: {
25+
// typescript-eslint strongly recommend that you do not use the no-undef lint rule on TypeScript projects.
26+
// see: https://typescript-eslint.io/troubleshooting/faqs/eslint/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors
27+
'no-undef': 'off',
28+
'svelte/no-navigation-without-resolve': 'off'
2329
}
2430
},
2531
{
26-
files: ['**/*.svelte'],
27-
32+
files: ['**/*.svelte', '**/*.svelte.ts', '**/*.svelte.js'],
2833
languageOptions: {
2934
parserOptions: {
30-
parser: ts.parser
35+
projectService: true,
36+
extraFileExtensions: ['.svelte'],
37+
parser: ts.parser,
38+
svelteConfig
3139
}
3240
}
3341
}

0 commit comments

Comments
 (0)