Skip to content

Commit

Permalink
Fix build issues in Create-templates (#5775)
Browse files Browse the repository at this point in the history
  • Loading branch information
deleonio authored Dec 14, 2023
2 parents aa5e2e3 + 0098ae2 commit 8b40a4c
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"target": "es2015",
"typeRoots": ["node_modules/@types"],
"lib": ["es2018", "dom"],
"types": ["mocha", "node"],
"forceConsistentCasingInFileNames": true,
"removeComments": false,
"strict": false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"sourceMap": true,
"moduleResolution": "node",
"lib": ["es2017", "dom"],
"types": ["@public-ui/components", "mocha", "node"],
"typeRoots": ["node_modules/@types", "src/types"],
"noUnusedLocals": true,
"resolveJsonModule": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"forceConsistentCasingInFileNames": true,
"importHelpers": true,
"removeComments": true,
"types": ["@public-ui/components", "node", "jest"],
"typeRoots": ["node_modules/@types"],
"strict": true
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"forceConsistentCasingInFileNames": true,
"importHelpers": true,
"removeComments": true,
"types": ["@public-ui/components", "node"],
"typeRoots": ["node_modules/@types"],
"strict": true
},
Expand Down
1 change: 0 additions & 1 deletion packages/create-kolibri/templates/preact-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"preserveSymlinks": true,
"moduleResolution": "node",
"lib": ["es2017", "dom"],
"types": ["@public-ui/components", "mocha", "node"],
"typeRoots": ["node_modules/@types", "src/types"],
"noUnusedLocals": true,
"resolveJsonModule": true,
Expand Down
2 changes: 1 addition & 1 deletion packages/create-kolibri/templates/react-app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function App() {
<KolButton
_hideLabel
_label="Danger"
_icon="codicon codicon-trash"
_icons="codicon codicon-trash"
_on=\{{
onClick: () => {
console.log('Clicked danger');
Expand Down
1 change: 0 additions & 1 deletion packages/create-kolibri/templates/react-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"types": ["@public-ui/components", "react", "react-dom"],
"typeRoots": ["node_modules/@types", "src/types"],
},
"include": ["./src"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function App() {
<KolButton
_hideLabel
_label="Danger"
_icon="codicon codicon-trash"
_icons="codicon codicon-trash"
_on=\{{
onClick: () => {
console.log('Clicked danger');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"isolatedModules": true,
"noEmit": true,
"jsx": "react-jsx",
"types": ["@public-ui/components", "react", "react-dom"],
"typeRoots": ["node_modules/@types", "src/types"],
},
"include": ["./src"]
Expand Down
1 change: 0 additions & 1 deletion packages/create-kolibri/templates/solid-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"sourceMap": true,
"moduleResolution": "node",
"lib": ["es2017", "dom"],
"types": ["@public-ui/components", "mocha", "node"],
"typeRoots": ["node_modules/@types", "src/types"],
"noUnusedLocals": true,
"resolveJsonModule": true,
Expand Down
1 change: 0 additions & 1 deletion packages/create-kolibri/templates/vue-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
"sourceMap": true,
"moduleResolution": "node",
"lib": ["es2017", "dom"],
"types": ["@public-ui/components", "mocha", "node", "vue"],
"typeRoots": ["node_modules/@types", "src/types"],
"noUnusedLocals": true,
"resolveJsonModule": true,
Expand Down

0 comments on commit 8b40a4c

Please sign in to comment.