Skip to content

Commit

Permalink
feat(create-vite): lit templates will create application instead of l…
Browse files Browse the repository at this point in the history
…ibrary (#12459)
  • Loading branch information
fi3ework authored Mar 21, 2023
1 parent 6559fc7 commit 8186b9b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 60 deletions.
12 changes: 2 additions & 10 deletions packages/create-vite/template-lit-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,10 @@
"private": true,
"version": "0.0.0",
"type": "module",
"main": "dist/my-element.es.js",
"exports": {
".": "./dist/my-element.es.js"
},
"types": "types/my-element.d.ts",
"files": [
"dist",
"types"
],
"scripts": {
"dev": "vite",
"build": "tsc && vite build"
"build": "tsc && vite build",
"preview": "vite preview"
},
"dependencies": {
"lit": "^2.6.1"
Expand Down
7 changes: 2 additions & 5 deletions packages/create-vite/template-lit-ts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@
"compilerOptions": {
"module": "ESNext",
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"declaration": true,
"emitDeclarationOnly": true,
"outDir": "./types",
"noEmit": true,
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
Expand All @@ -18,6 +16,5 @@
"useDefineForClassFields": false,
"skipLibCheck": true
},
"include": ["src/**/*.ts"],
"references": [{ "path": "./tsconfig.node.json" }]
"include": ["src"]
}
9 changes: 0 additions & 9 deletions packages/create-vite/template-lit-ts/tsconfig.node.json

This file was deleted.

14 changes: 0 additions & 14 deletions packages/create-vite/template-lit-ts/vite.config.ts

This file was deleted.

10 changes: 2 additions & 8 deletions packages/create-vite/template-lit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,10 @@
"private": true,
"version": "0.0.0",
"type": "module",
"main": "dist/my-element.es.js",
"exports": {
".": "./dist/my-element.es.js"
},
"files": [
"dist"
],
"scripts": {
"dev": "vite",
"build": "vite build"
"build": "vite build",
"preview": "vite preview"
},
"dependencies": {
"lit": "^2.6.1"
Expand Down
14 changes: 0 additions & 14 deletions packages/create-vite/template-lit/vite.config.js

This file was deleted.

0 comments on commit 8186b9b

Please sign in to comment.