Commit Graph

12 Commits

Author SHA1 Message Date
Xin Du (Clark)
d149e9fb64
chore: upgrade boxen to v4 (#5830) 2019-05-30 10:25:36 +01:00
Kevin Marrec
a11afd4537 refactor(ts): add warning for nuxt-ts deprecation (#5301) 2019-03-21 13:38:01 +03:30
Kevin Marrec
920f444b6e refactor(ts): better DX for typescript support (#5079)
Breaking change : `build.useForkTsChecker` renamed to `build.typescript.typeCheck`
2019-03-14 13:37:47 +03:30
Kevin Marrec
4f887f6963 fix(nuxt-ts): error catch in nuxt-ts binary (#5086)
* fix: nuxt-ts binary error catch

* test: update cli snapshot
2019-02-25 21:09:26 +01:00
Kevin Marrec
f18ce4e5d4 fix(ts): better tsconfig.json handling & improve tests (#4856)
* fix(ts): make ts-node register the right `tsconfig.json`

* setup guard & change require in nuxt-ts bin

* improve tests + test guard

* remove typescript-custom fixture

* Move TS unit test from `test/unit` to `packages/typescript/test`

* fix tests
2019-01-28 16:59:13 +03:30
Kevin Marrec
6e60aa49b8 fix(ts): fix nuxt-ts binary when running nuxt commands (#4844) 2019-01-24 14:24:00 +03:30
Kevin Marrec
2a1ee96a4b feat(ts): auto generate tsconfig.json (#4776)
* Bundle `@types/node` into `nuxt-ts` distribution

* feat(ts): Autogenerated tsconfig.json

* fix(examples): Update typescript examples

* fix(ts): Add `dist` & `tsconfig.json` to `pakage.json` files

* fix: add missing new line at the end of generated `tsconfig.json`

* add suffix if needed to `tsconfig.json` types during package build

* use `readJSON` over `readJSONSync`

* fix indentation in `nuxt-ts/tsconfig.json`

* use writeJson instead of writeFile

* split `nuxt-ts/src` in 2 functions + rootDir parametr + add tests

* add `fs-extra` to dependencies to prevent build warning

* JSON everywhere instead of JSON/Json

* fix: missing call to generateTsConfigIfMissing

* ask confirmation for tsconfig.json generation

* improvement: let compilerOptions.module as default

* improvements

* move from github link to friendly linkable local path

* add resolveJsonModule in default config

Co-Authored-By: kevinmarrec <kevin@marrec.io>

* Move `nuxt-ts` logic to `@nuxt/typescript`

* Upgrade to `ts-node@8.0.1`
2019-01-23 10:53:52 +01:00
Dmitry Molotkov
a7ba73ed13 fix: exit with proper error code on errors (#4806) 2019-01-19 16:19:57 +03:30
Kevin Marrec
e22e14bba5 fix(ts): set ts-node register compilerOptions.module to 'commonjs' (#4752) 2019-01-13 02:06:22 +03:30
pooya parsa
b6457545be update nuxt-ts perm 2019-01-07 15:14:08 +03:30
pooya parsa
98c1922770 fix(dist): use -edge suffix to require cli
also prefer lazy requires. [release]
2019-01-05 00:40:18 +03:30
Pooya Parsa
ee0096bf59
feat: nuxt-ts (#4658)
[release]
2019-01-04 23:00:28 +03:30