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 6e335f7..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 `