diff --git a/.changeset/tall-monkeys-sip.md b/.changeset/tall-monkeys-sip.md new file mode 100644 index 0000000..2550c3b --- /dev/null +++ b/.changeset/tall-monkeys-sip.md @@ -0,0 +1,6 @@ +--- +"website": patch +"earwurm": patch +--- + +Update project dependencies. diff --git a/.github/labeler.yml b/.github/labeler.yml index b9b59a8..adc32db 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -24,18 +24,12 @@ - '.github/**' - '.vscode/**' - .editorconfig - - .eslintignore - - .eslintrc - - .eslintrc.cjs - - .gitignore - - .npmignore - - .nvmrc - - .prettierignore - - .prettierrc + - '.env*' + - '.*ignore' + - '.*rc' - 'config/**' - - package.json - - tsconfig.json - - 'tsconfig.*.json' - - vite.config.ts + - '*.config.*' + - 'package*.json' + - 'tsconfig*.json' - '**/*/env.d.ts' - '**/*/lightningcss-plugins.ts' diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 97e55ae..c04d217 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -34,7 +34,7 @@ jobs: - name: 🧰 Configure PNPM uses: pnpm/action-setup@v4 - - name: 🔧 Setup Node 20.x + - name: 🔧 Setup Node 22.x uses: actions/setup-node@v4 with: node-version-file: .nvmrc @@ -47,7 +47,7 @@ jobs: run: pnpm build - name: 📄 Configure Pages - uses: actions/configure-pages@v4 + uses: actions/configure-pages@v5 - name: 📈 Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 974691c..b9990a3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ jobs: - name: 🧰 Configure PNPM uses: pnpm/action-setup@v4 - - name: 🔧 Setup Node 20.x + - name: 🔧 Setup Node 22.x uses: actions/setup-node@v4 with: node-version-file: .nvmrc diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ff16f91..34abe3a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: - name: 🧰 Configure PNPM uses: pnpm/action-setup@v4 - - name: 🔧 Setup Node 20.x + - name: 🔧 Setup Node 22.x uses: actions/setup-node@v4 with: node-version-file: .nvmrc diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1c832d3..15766dd 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: - name: 🧰 Configure PNPM uses: pnpm/action-setup@v4 - - name: 🔧 Setup Node 20.x + - name: 🔧 Setup Node 22.x uses: actions/setup-node@v4 with: node-version-file: .nvmrc diff --git a/.nvmrc b/.nvmrc index 1bdd901..8b84b72 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -20.16 +22.11 diff --git a/.vscode/extensions.json b/.vscode/extensions.json index 7658c5e..05f7952 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -9,6 +9,7 @@ "DavidAnson.vscode-markdownlint", "dbaeumer.vscode-eslint", "esbenp.prettier-vscode", + "yoavbls.pretty-ts-errors", "vue.volar", "csstools.postcss" ], diff --git a/.vscode/settings.json b/.vscode/settings.json index 7ba80dd..a1b8d10 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -67,7 +67,9 @@ "gql", "graphql", "astro", + "svelte", "css", + "less", "scss", "pcss", "postcss" diff --git a/app/website/README.md b/app/website/README.md index 61f6a01..e7afa02 100644 --- a/app/website/README.md +++ b/app/website/README.md @@ -1,63 +1,3 @@ # Earwurm app This repo hosts the website for the `earwurm` project. - -## TsConfig - -Originally, we isolated the `app` vs `node` configs. This had to be changed however because of the following bug: - -As a result, the following packages were removed: - -```json -{ - "@tsconfig/node20": "^20.1.4", - "@vue/tsconfig": "^0.5.1" -} -``` - -### Record keeping - -In case we ever restore the original `tsconfig`: - -#### tsconfig.app.json - -```json -{ - "extends": "@vue/tsconfig/tsconfig.dom.json", - "compilerOptions": { - "composite": true, - "baseUrl": ".", - "paths": { - "@/*": ["./src/*"] - } - }, - "include": ["env.d.ts", "src/**/*", "src/**/*.vue"] -} -``` - -#### tsconfig.node.json - -```json -{ - "extends": "@tsconfig/node20/tsconfig.json", - "compilerOptions": { - "composite": true, - "module": "esnext", - "moduleResolution": "bundler", - "types": ["node"] - }, - "include": ["lightningcss-plugins.ts", "vite.config.ts"] -} -``` - -#### tsconfig.json - -```json -{ - "references": [ - { "path": "./tsconfig.node.json" }, - { "path": "./tsconfig.app.json" } - ], - "files": [] -} -``` diff --git a/app/website/eslint.config.mjs b/app/website/eslint.config.mjs index da5cd20..60a4f71 100644 --- a/app/website/eslint.config.mjs +++ b/app/website/eslint.config.mjs @@ -4,8 +4,8 @@ import antfu from '@antfu/eslint-config'; export default antfu( // Websites config { + name: 'website', type: 'app', - // ignores: [], formatters: { // Formats .css and .scss files, but also the `