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
Kevin Marrec
b202361a1b
fix(ts): prevent checking types twice in modern mode & use consola as logger ( #4803 )
2019-01-19 15:40:21 +03:30
Alexander Lichter
40fbe5ba47
refactor: cleanups and code style improvements ( #4788 )
2019-01-18 00:48:29 +03:30
Xin Du (Clark)
f85ac94a87
fix(builder, module): addLayout and nuxt.config precedence over auto-scanned layouts ( #4702 )
2019-01-09 14:27:46 +03:30
Clark Du
ecf76d91f1
fix: SafariFix is not injected in client modern mode
2019-01-08 13:21:13 +00:00
Xin Du (Clark)
af76e07b56
fix(builder): js layout ( #4701 )
...
[release]
2019-01-07 15:44:51 +03:30
Pooya Parsa
ee0096bf59
feat: nuxt-ts ( #4658 )
...
[release]
2019-01-04 23:00:28 +03:30
Alexander Lichter
8786ff7317
fix: require serverMiddleware object with path and handler ( #4656 )
2018-12-30 01:04:47 +03:30
Sébastien Chopin
f319033928
feat(nuxt-link): Smart prefetching and $nuxt.isOffline ( #4574 )
...
* feat(nuxt-link): Improve <n-link> and add automatic prefetch
* Update packages/vue-app/template/components/nuxt-link.js
Co-Authored-By: Atinux <seb@orion.sh>
* add missing space
* feat(nuxt-link): Split in two components for smaller bundle
* fix(vue-app): Use requestIdleCallback
* chore(vue-app): Improve nuxt prefetch strategy for nuxt links
* chore(vue-app): Add .isOnline and handle it for prefetch
* chore(vue-app): Add .isOffline and use it
* chore(vue-app): Add .isOffline
* chore(server): Check is options.modern is given in dev mode
* chore(vue-app): Add intersection-observer polyfill if router.prefetchLinks is 'polyfill'
* chore(vue-app): Remove polyfill
* chore(vue-app): Use only process.client
* chore(vue-app): Add TS typings for .isOnline and isOffline
* chore(vue-app): Update typings by @kevinmarrec
* chore(vue-app): Reorder names
* examples(nuxt-prefetch): Add Nuxt prefetching example
* chore(vue-app): Add router.linkPrefetchedClass
* lint(vue-app): Fix lint
* chore(vue-app): Use intersectionRatio, recommend by @maoberlehner
* fix(lint): Fix linting issues
* lint(vue-app): Fix again (lol)
* types(vue-app): Update TS typings
* chore(vue-app): Update Vetur tags description
* fix(vue-app): Use prefetchClass
* chore(vue-app): Disable linkPrefetchedClass by default
2018-12-28 17:27:03 +01:00
Sébastien Chopin
498c4f11d3
feat: better stack traces for SSR error, show error with correct URL and use eventsource-polyfill ( #4600 )
...
[release]
2018-12-23 12:10:36 +03:30