Commit Graph

228 Commits

Author SHA1 Message Date
Ustun Ozgur ae9d3519f7 fix(vue-renderer): clone spa meta to prevent cache modification (#5964) 2019-06-28 00:47:43 +04:30
William Chong cf39c75711 feat(vue-renderer): add csp option for csp v1 compatibility (#5975) 2019-06-26 16:22:45 +01:00
Clark Du d009bdeb17
chore: not match non-alphabetical characters 2019-06-25 10:52:13 +01:00
Xin Du (Clark) 3195f34531 feat: upgrade css-loader to v3 (#5929) 2019-06-15 14:43:05 +04:30
Kevin Marrec 262ea5c31a refactor: prepare for external typescript support (#5854) 2019-06-05 00:18:01 +04:30
Pooya Parsa 7e50fe744f
fix(vue-renderer): add vary header for ‍`user-agent‍` in modern server mode (#5807) 2019-05-26 00:24:00 +04:30
Yama-Tomo 1e4708e90f feat(webpack): suppress not found typescript warnings (#5635) 2019-05-10 14:48:44 +04:30
Xin Du (Clark) b7284e1b4a refactor(vue-renderer): remove chalk in renderer (#5609) 2019-04-26 16:24:37 +04:30
Pooya Parsa 001ba775fa
revert(core): call ready to prevent breaking changes (#5413) 2019-03-30 23:23:56 +04:30
Pooya Parsa 832bd12091
refactor(typescript): use an object for _typescript (#5418) 2019-03-30 00:39:20 +04:30
Sam Bowler 97db6a4b41 fix(vue-renderer): add the csp hash if `unsafe-inline` hasn't been specified (#5387) 2019-03-29 20:39:53 +04:30
noe132 2d73e8aeba fix(vue-app): prevent mounting page twice on redirect (#5361) 2019-03-29 18:36:35 +04:30
Johan Roxendal 77dcfe6ee8 fix(vue-app): decode uri in `getlocation` (#5337) 2019-03-23 13:10:38 +04:30
Alexander Lichter 3ac01df488 fix(vue-app): decode router base to support unicode characters (#5297) 2019-03-20 20:16:09 +03:30
Xin Du (Clark) d094c4a974 feat: support core-js 3 (#5291) 2019-03-20 15:40:10 +03:30
Xin Du (Clark) 0eb5ed9763 fix(webpack): loaders in extend config is broken (#5292) 2019-03-20 15:38:24 +03:30
Sébastien Chopin ef41e205e6 feat: loading screen (#5251)
[release]
2019-03-20 12:47:53 +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
Pooya Parsa aabb1f69e7
perf(core): skip esm for node_modules and non .js files (#5220) 2019-03-13 13:54:39 +03:30
Alexander Lichter adf423a57f fix(postcss): default to preset-env and cssnano last (#5215) 2019-03-13 13:40:05 +03:30
Clark Du 2f2baacbcc test: try to fix unhandled request 2019-03-11 13:22:09 +00:00
Pooya Parsa 13cb0f73d9 refactor: remove builder coupling from server (#5157) 2019-03-08 20:43:23 +00:00
Clark Du 3e678793b9 test: skip reqest in dev test for now 2019-03-08 16:43:45 +00:00
Pooya Parsa d07aefa5db feat(vue-renderer): use async fs (#5186) 2019-03-08 12:20:03 +00:00
Dmitry Molotkov 39c9ab5933 chore: don`t ignore .nuxtignore (#5169) 2019-03-06 14:53:27 +00:00
Xin Du (Clark) 05299d6738 refactor: improve modern middleware and spa modern rendering (#5037) 2019-03-03 11:22:59 +03:30
Xin Du (Clark) 9860eb6a7c
refactor: unify context in webpack module (#5054) 2019-02-18 17:00:51 +00:00
Clark Du 5f9b1044ff Merge remote-tracking branch 'origin/2.x' into dev 2019-02-15 13:18:09 +00:00
Xin Du (Clark) 3516580701
fix(hotfix): preload modern resource in spa modern mode (#5043) 2019-02-15 13:08:27 +00:00
Andrey Shertsinger bcd672f931 fix: generate failure (#5007) 2019-02-13 09:18:41 +00:00
Xin Du (Clark) 90ba0cd6b7
feat: upgrade to jest 24 (#4868) 2019-02-12 13:05:37 +00:00
Pim 75a74543f4 test: improve nuxt-loading component tests (#5005) 2019-02-12 00:32:30 +03:30
Pooya Parsa 408680046c
fix(vue-app): fix `asyncData` memory leak on client-side (#4966)
Co-authored-by: Sébastien Chopin <seb@chopin.io>
2019-02-08 20:03:45 +03:30
Xin Du (Clark) 68f6880f54 refactor(test): change cli.test to be more accurate (#4957) 2019-02-06 22:15:39 +03:30
Pooya Parsa 93089543be
feat: upgrade vue to 2.6 (#4953) 2019-02-05 14:00:57 +03:30
Clark Du 5c053f5cb0 test: turn off cli dev test 2019-02-05 00:15:35 +00:00
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
Clark Du e9ba2f97d2 test: add describe.posix and win 2019-01-29 11:29:55 +00:00
Xin Du (Clark) 59be77a2f3
feat: .nuxtignore (#4647) 2019-01-29 09:31:14 +00:00
Clark Du d0aadd4357 fix(test): jest describe.skip does not work fine 2019-01-28 14:30:04 +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
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
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
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
Xin Du (Clark) b23f5c9b4b feat(server): timing option for `Server-Timing` header (#4800) 2019-01-19 21:44:54 +03:30
Amos Wong 602cf12216 fix(server): allow listening on number 0 port (#4781) 2019-01-19 15:53:18 +03:30