Commit Graph

3716 Commits

Author SHA1 Message Date
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
renovate[bot]
3d0bc199ed chore(deps): update all non-major dependencies (#4864) 2019-01-28 00:09:39 +03:30
renovate[bot]
2a3107a8e5 chore(deps): update jest monorepo to v24 (#4858) 2019-01-27 18:26:03 +03:30
renovate[bot]
4325feb072 chore(deps): update all non-major dependencies (#4860) 2019-01-27 18:25:52 +03:30
renovate[bot]
351f5c7bac chore(deps): update all non-major dependencies (#4851) 2019-01-25 14:28:14 +03:30
Xin Du (Clark)
43ce8e97bc fix: match subdir under node_module in transpile (#4850) 2019-01-24 16:42:02 +01:00
Clark Du
a51ba8dd93 fix: remove unnecessary isDev in template/server 2019-01-24 14:01:33 +00:00
Clark Du
2d4d294178 chore: change profile line for kevinmarrec [skip ci] 2019-01-24 11:44:05 +00:00
Clark Du
0fe8061019 chore: tune azure test run in bound 2019-01-24 11:30:04 +00:00
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
Clark Du
8444fa0b66 doc: regenerate contributors [skip release] 2019-01-24 10:59:57 +00:00
Clark Du
4ad2e49d91 doc: adjust contributor img size [skip release] 2019-01-24 10:58:45 +00:00
Kevin Marrec
6e60aa49b8 fix(ts): fix nuxt-ts binary when running nuxt commands (#4844) 2019-01-24 14:24:00 +03:30
Clark Du
fc91b2efb2 doc: add aldarund and kevinmarrec into core team 2019-01-24 10:50:47 +00:00
Kevin Marrec
55dc7f4475 fix(ts): keep baseUrl property in generated tsconfig.json (#4843) 2019-01-24 14:14:02 +03:30
renovate[bot]
5f94120f95 chore(deps): update dependency jsdom to ^13.2.0 (#4845) 2019-01-24 14:13:24 +03:30
Sébastien Chopin
2f1fbf426b
chore(readme): Add Otechie official partner for consulting 2019-01-24 11:01:03 +01:00
Sébastien Chopin
4b72b978ee
Update ISSUE_TEMPLATE.md 2019-01-24 10:57:40 +01:00
Kevin Marrec
c39cf841a3 fix(ts): fix default tsconfig.json (#4842)
[release]
2019-01-24 01:11:00 +03:30
Pooya Parsa
2184df4251 chore: fix dependency locks 2019-01-23 23:01:34 +03:30
andoshin11
762305b468 feat(webpack): options.build.loaders.vueStyle (#4837) 2019-01-23 22:18:02 +03:30
renovate[bot]
ec732ee1ac chore(deps): update all non-major dependencies (#4835) 2019-01-23 22:17:17 +03:30
Kevin Marrec
e57c20a5e8 fix(ts): missing tsconfig.json on npm published version (#4840) 2019-01-23 22:15:37 +03:30
Clark Du
89f097e1bd fix(ci): run in bound for now 2019-01-23 17:12:47 +00:00
pooya parsa
efda2414cd [release] 2019-01-23 16:47:05 +03:30
pooya parsa
14b922a82b i love windows 2019-01-23 16:37:21 +03:30
pooya parsa
45f708ce7b chore(ci): use NODE_OPTIONS=--max_old_space_size=4096 2019-01-23 16:33:48 +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
Kevin Marrec
06a18ca09e fix(config): define once default nuxt config filename (#4814) 2019-01-22 23:22:43 +03:30
renovate[bot]
675e3b6e99 chore(deps): update all non-major dependencies (#4829) 2019-01-22 17:18:18 +00:00
Dmitry Molotkov
ee7ad7741e fix(examples): fix deps on codesandbox (#4828)
[skip ci]
2019-01-22 11:04:19 +03:30
pooya parsa
f8c86f2aef chore: sync distributions/nuxt/README.md 2019-01-22 00:06:39 +03:30
renovate[bot]
4ab3524551 chore(deps): update all non-major dependencies (#4816) 2019-01-21 23:40:08 +03:30
Alexander Lichter
4b321441e5 fix(examples): add pug dependencies (#4824)
[skip ci]
2019-01-21 23:21:20 +03:30
Dmitry Molotkov
6542dffa97 fix(examples): deps [skip ci] (#4827) 2019-01-21 19:01:34 +00:00
Xin Du (Clark)
e3cc28c31e refactor: encapsulate pages validation into a separate function (#4826)
* refactor: encapsulate pages validation into a separate function

* refactor: remove else
2019-01-21 22:10:37 +03:30
Xin Du (Clark)
3966b265f9
fix: watch custom patterns only when it exists (#4823) 2019-01-21 15:14:17 +00:00
Xingkai Wang
fe57a5a929 fix: $nuxt is used instead of globalName (#4743) 2019-01-21 16:53:07 +03:30
Xingkai Wang
dcdbaba710 feat(webpack): support build.hotMiddleware.client (#4796) 2019-01-21 15:25:49 +03:30
Alexander Lichter
fa78f5396e Update README.md (#4820) 2019-01-21 11:42:50 +01:00
Sébastien Chopin
5f0b34fcd4
fix: hotfix for vuex hmr (#4801)
* hotfix: Vuex HMR and warning when exporting an object for state

* hotfix: Handle sub modules too

* Update store.js
2019-01-21 11:42:06 +01:00
Clark Du
70775e121a fix(test): typescirpt modern mode only check once 2019-01-21 09:26:59 +00:00
pooya parsa
6504e108ea chore(test): reduce use of NUXT_TS 2019-01-21 00:53:03 +03:30
Kevin Marrec
6a68f4e981 fix(webpack): prevent terser mangling html/vue reserved tags (#4821) 2019-01-21 00:49:53 +03:30
pooya parsa
6a5d0725d2 fix lint
Co-authored-by:  Kevin Marrec <kevin@marrec.io>
2019-01-20 22:29:06 +03:30
pooya parsa
b170864134 fix typo 2019-01-20 22:23:27 +03:30
pooya parsa
e1d4dd59c7 chore: simplify loadFixture 2019-01-20 22:20:01 +03:30
pooya parsa
2f2ec7ac30 fix(test): fallback to config if no config.default 2019-01-20 22:14:55 +03:30