Commit Graph

415 Commits

Author SHA1 Message Date
pooya parsa
a96355e497 merge branch 2.x 2019-02-05 01:07:21 +03:30
pooya parsa
95ef1d4062 fix: update webpack to 4.29.1 2019-02-05 00:46:43 +03:30
pooya parsa
b1a5a19ac5 fix: update terser-webpack-plugin to 1.2.2 2019-02-05 00:46:24 +03:30
Clark Du
858c9eeb5d fix(test): unhandled open handles 2019-02-04 12:39:54 +00:00
Clark Du
fabf1c07eb test: add await for promisable expect 2019-02-04 11:31:24 +00:00
Xin Du (Clark)
43491f6e53
feat(test): unit tests for @nuxt/builder (#4834) 2019-02-04 10:34:04 +00:00
Alexander Lichter
422155ea14 fix: warn when using array postcss configuration (#4936) 2019-02-04 01:51:51 +03:30
renovate[bot]
efc2880829 chore(deps): update dependency caniuse-lite to ^1.0.30000934 (#4934) 2019-02-03 11:56:05 +00:00
renovate[bot]
cdec133cb3 chore(deps): update all non-major dependencies (#4894) 2019-02-02 14:39:07 +03:30
Xin Du (Clark)
ca191240fb fix: extra properties in templateFiles (#4925) 2019-02-01 19:55:32 +03:30
Xin Du (Clark)
268851fe85
fix: bundle resources other than js(x)/json in node_modules (#4913) 2019-02-01 16:04:06 +00:00
Jonas Galvez
14f43da9b2 fix: serialize external function (#4916) 2019-02-01 17:01:16 +03:30
Alexander Lichter
569b6aab9c refactor: typos (#4922) 2019-02-01 16:38:47 +03:30
Kevin Marrec
d7b57e0d97 improvement(ts): transpileOnly when using nuxt-ts start (#4906) 2019-02-01 16:35:03 +03:30
Xin Du (Clark)
0223e56dd4 fix: remove cache-loader for external resources (#4915) 2019-02-01 16:33:32 +03:30
Xin Du (Clark)
f70645e5aa fix: revert templatFiles name (#4924) 2019-02-01 15:26:26 +03:30
Clark Du
fb13b41cf1 Merge remote-tracking branch 'upstream/2.x' into dev 2019-01-30 20:24:13 +00:00
Xin Du (Clark)
4c5a59e149
refactor: generate routes and template files in builder (#4883) 2019-01-30 16:54:26 +00:00
Clark Du
32b0f155c9 v2.4.2 2019-01-30 15:15:05 +00:00
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
ade4bbe486 v2.4.1 2019-01-30 14:07:33 +00:00
phof
b2abb499f8 Fixes #4882 (#4893) 2019-01-30 14:01:39 +00:00
phof
0088b333f8 Fixes #4882 (#4893) 2019-01-30 11:34:33 +00:00
Xin Du (Clark)
a614fd3f81 hotfix: extractCSS error in dev mode (#4892) 2019-01-30 01:37:55 +03:30
Xin Du (Clark)
de6ca3a4f9 hotfix: extractCSS error in dev mode (#4892) 2019-01-30 01:37:13 +03:30
Xin Du (Clark)
2b30915950 hotfix: disable extract-css-chunks-webpack-plugin in dev mode (#4888) 2019-01-29 23:59:43 +03:30
Xin Du (Clark)
928a230f91 hotfix: disable extract-css-chunks-webpack-plugin in dev mode (#4888) 2019-01-29 23:59:21 +03:30
Kevin Marrec
792e9f4763 fix tsconfig + remove forgotten duplicated test (#4886) 2019-01-29 23:04:23 +03:30
Xin Du (Clark)
96bab9f09c test: unit tests for @nuxt/util (#4880) 2019-01-29 22:53:42 +03:30
Kevin Marrec
774823ba41 fix tsconfig + remove forgotten duplicated test (#4886) 2019-01-29 22:49:21 +03:30
renovate[bot]
1501592581 chore(deps): update all non-major dependencies (#4872) 2019-01-29 11:07:10 +00:00
Xin Du (Clark)
e22a282eab
test: unit tests for generator (#4857) 2019-01-29 10:16:45 +00:00
Xin Du (Clark)
59be77a2f3
feat: .nuxtignore (#4647) 2019-01-29 09:31:14 +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
renovate[bot]
3d0bc199ed chore(deps): update all non-major dependencies (#4864) 2019-01-28 00:09:39 +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
Kevin Marrec
55dc7f4475 fix(ts): keep baseUrl property in generated tsconfig.json (#4843) 2019-01-24 14:14:02 +03:30
Kevin Marrec
c39cf841a3 fix(ts): fix default tsconfig.json (#4842)
[release]
2019-01-24 01:11:00 +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
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
renovate[bot]
4ab3524551 chore(deps): update all non-major dependencies (#4816) 2019-01-21 23:40:08 +03:30
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