-
-
Notifications
You must be signed in to change notification settings - Fork 429
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add typescript support using typescript-build (#328)
* typescript support using typescript-build * Remove trailing comma * remove @types/node * Add default / ts-runtime for none server + ts * set lang="ts" when using typescript * Remove ts-node * @nuxt/typescript-build version to 0.1.11 * Update ts script tag * Add typescript nuxt cookbook when completed * Using tsconfig.json using always when selected ts * only suggestion jsconfig.json when js users * fix typo * using js by default * tsconfig / jsconfig settings * add closing tag for ts * Delete package-lock.json * Update template/nuxt/pages/index.vue Co-Authored-By: Kevin Marrec <[email protected]> * support eslint when TypeScript. * set false tsRuntime when select TypeScript * support jest with typescript * Update saofile.js * Update template/tsconfig.json Co-Authored-By: Louis-Marie Michelin <[email protected]> * Add language and runtime to prompts.js * Update TypeScript relative package versions * @nuxt/core needs eslint-module * Update tsconfig.json * Update README for TypeScript * Install eslint-module when eslint && !typesciprt * Update template/_package.json Co-Authored-By: Kevin Marrec <[email protected]> * Update template/_package.json Co-Authored-By: Kevin Marrec <[email protected]> * Update template/_package.json Co-Authored-By: Kevin Marrec <[email protected]> * Update template/_package.json Co-Authored-By: Kevin Marrec <[email protected]> * Update template/tsconfig.json Co-Authored-By: Kevin Marrec <[email protected]> * Update template/_package.json Co-Authored-By: Kevin Marrec <[email protected]> * Update template/_package.json Co-Authored-By: Kevin Marrec <[email protected]> * Update template/_package.json Co-Authored-By: Kevin Marrec <[email protected]> * Update .eslintignore Add jest.config.js * Update template/nuxt/nuxt.config.js * Update template/nuxt/nuxt.config.js * bump some packages versions Co-authored-by: Kevin Marrec <[email protected]> Co-authored-by: Louis-Marie Michelin <[email protected]>
- Loading branch information
1 parent
ddcdcb7
commit e4b9cd8
Showing
10 changed files
with
127 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
_*.js | ||
template/nuxt/pages/index.vue | ||
template/frameworks/iview/pages/index.vue | ||
template/frameworks/jest/jest.config.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es2018", | ||
"module": "esnext", | ||
"moduleResolution": "node", | ||
"lib": [ | ||
"esnext", | ||
"esnext.asynciterable", | ||
"dom" | ||
], | ||
"esModuleInterop": true, | ||
"allowJs": true, | ||
"sourceMap": true, | ||
"strict": true, | ||
"noEmit": true, | ||
"experimentalDecorators": true, | ||
"baseUrl": ".", | ||
"paths": { | ||
"~/*": [ | ||
"./*" | ||
], | ||
"@/*": [ | ||
"./*" | ||
] | ||
}, | ||
"types": [ | ||
"@types/node", | ||
"@nuxt/types" | ||
] | ||
}, | ||
"exclude": [ | ||
"node_modules", | ||
".nuxt", | ||
"dist" | ||
] | ||
} |