From 81cdd21060f3c8815b23b304a553260d2bb774fd Mon Sep 17 00:00:00 2001 From: Malin Fossum Date: Thu, 16 Jul 2026 02:18:05 +0200 Subject: [PATCH] Add jsconfig and Zed tasks to web-vite scaffold --- scaffolds/web-vite/.zed/tasks.json | 6 ++++++ scaffolds/web-vite/jsconfig.json | 20 ++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 scaffolds/web-vite/.zed/tasks.json create mode 100644 scaffolds/web-vite/jsconfig.json diff --git a/scaffolds/web-vite/.zed/tasks.json b/scaffolds/web-vite/.zed/tasks.json new file mode 100644 index 0000000..e496d37 --- /dev/null +++ b/scaffolds/web-vite/.zed/tasks.json @@ -0,0 +1,6 @@ +[ + { "label": "dev", "command": "npm", "args": ["run", "dev"], "use_new_terminal": true, "reveal": "always" }, + { "label": "build", "command": "npm", "args": ["run", "build"], "reveal": "always" }, + { "label": "preview", "command": "npm", "args": ["run", "preview"], "use_new_terminal": true, "reveal": "always" }, + { "label": "check (biome)", "command": "npm", "args": ["run", "check"], "reveal": "always" } +] diff --git a/scaffolds/web-vite/jsconfig.json b/scaffolds/web-vite/jsconfig.json new file mode 100644 index 0000000..d17c04e --- /dev/null +++ b/scaffolds/web-vite/jsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "Bundler", + "allowJs": true, + "checkJs": false, + "baseUrl": ".", + "lib": ["ESNext", "DOM", "DOM.Iterable"] + }, + "include": [ + "src/**/*", + "tests/**/*", + "scripts/**/*", + "design-system/**/*", + "*.js", + "*.mjs" + ], + "exclude": ["node_modules", "dist"] +}