Commit Graph

16 Commits

Author SHA1 Message Date
Pooya Parsa
3348cd6cd5 release: 2.4.1 (#4889)
# Bugfixes 

* Handle `async` components correctly when using `nuxt-ts` (PR #4886)
* Fix `extractCSS` in `dev` mode (PR #4888)
* Correctly apply class when using `linkPrefetchedClass` (PR #4893)
2019-01-30 14:09:09 +00:00
Clark Du
5f221b4b7e v2.4.0 2019-01-28 17:41:28 +00: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
Clark Du
bacf0d40ef doc: resize contributors image [skip ci] 2019-01-24 11:24:34 +00:00
Clark Du
996ff36738 doc: add aldarund and kevinmarrec into pkg.json 2019-01-24 11:09:25 +00:00
pooya parsa
3043f15ad8 chore(pkg): add @aldarund and @kevinmarrec
[skip ci]
2019-01-24 14:32:31 +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
renovate[bot]
991da1acf4 chore(deps): update all non-major dependencies (#4790) 2019-01-19 15:50:25 +03:30
Kevin Marrec
e22e14bba5 fix(ts): set ts-node register compilerOptions.module to 'commonjs' (#4752) 2019-01-13 02:06:22 +03:30
renovate[bot]
4587a221df chore(deps): update all non-major dependencies (#4733) 2019-01-11 13:10:33 +03:30
pooya parsa
b6457545be update nuxt-ts perm 2019-01-07 15:14:08 +03:30
renovate[bot]
3ccfcedb65 chore(deps): update all non-major dependencies (#4692) 2019-01-06 12:36:24 +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