1
0
mirror of https://github.com/nuxt/nuxt.git synced 2025-02-24 01:19:58 +00:00
Commit Graph

670 Commits

Author SHA1 Message Date
Xin Du (Clark)
159123feea feat(babel-preset-app): support specifying core-js version () 2019-03-30 23:53:17 +04:30
Alexander Lichter
1bd4fb14ab chore(postcss): deprecate config support () 2019-03-30 23:42:12 +04:30
Pooya Parsa
001ba775fa
revert(core): call ready to prevent breaking changes () 2019-03-30 23:23:56 +04:30
Pooya Parsa
832bd12091
refactor(typescript): use an object for _typescript () 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 () 2019-03-29 20:39:53 +04:30
noe132
2d73e8aeba fix(vue-app): prevent mounting page twice on redirect () 2019-03-29 18:36:35 +04:30
Kevin Marrec
9a3fc8a44e refactor(ts): only generate tsconfig.json if missing () ()
Co-authored-by: SAWADA Takayoshi <sawadasuiren@gmail.com>
2019-03-29 18:30:49 +04:30
Johan Roxendal
77dcfe6ee8 fix(vue-app): decode uri in getlocation () 2019-03-23 13:10:38 +04:30
Alexander Lichter
3ac01df488 fix(vue-app): decode router base to support unicode characters () 2019-03-20 20:16:09 +03:30
Xin Du (Clark)
d094c4a974 feat: support core-js 3 () 2019-03-20 15:40:10 +03:30
Xin Du (Clark)
0eb5ed9763 fix(webpack): loaders in extend config is broken () 2019-03-20 15:38:24 +03:30
Sébastien Chopin
ef41e205e6 feat: loading screen ()
[release]
2019-03-20 12:47:53 +03:30
Michael Leaney
d03a61b040 fix(vue-app): multiple named views cause invalid syntax () 2019-03-19 10:25:20 +00:00
Pooya Parsa
d6b505aa50
test: fail tests in case of unhandled errors () 2019-03-16 16:12:35 +03:30
Kevin Marrec
920f444b6e refactor(ts): better DX for typescript support ()
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 () 2019-03-13 13:54:39 +03:30
Alexander Lichter
adf423a57f fix(postcss): default to preset-env and cssnano last () 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 () 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 () 2019-03-08 12:20:03 +00:00
Dmitry Molotkov
39c9ab5933 chore: don`t ignore .nuxtignore () 2019-03-06 14:53:27 +00:00
Kevin Marrec
92f81e01e7 feat(ts): nuxt configuration typedefs () 2019-03-04 10:18:40 +03:30
Xin Du (Clark)
05299d6738 refactor: improve modern middleware and spa modern rendering () 2019-03-03 11:22:59 +03:30
Xin Du (Clark)
9860eb6a7c
refactor: unify context in webpack module () 2019-02-18 17:00:51 +00:00
Clark Du
b9391d7ea0 chore: fix eslint warning 2019-02-18 10:44:03 +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 () 2019-02-15 13:08:27 +00:00
Pooya Parsa
2015140d12 feat(vue-app): universal fetch ()
* pkg(nuxt-start): add node-fetch, unfetch

* pkg(vue-app): add node-fetch, unfetch

* add yarn.lock

* feat(config): _app.fetch options

* feat(builder): add fetch to templateVars

* feat(vue-app): polyfill global with fetch

* feat(fixtures/basic): /api/test

* add fetch example to fixtures

* remove unfetch from nuxt-start

* update template snapshot

* revert extra new line in server.js

* single line if
2019-02-14 16:56:58 +01:00
Andrey Shertsinger
bcd672f931 fix: generate failure () 2019-02-13 09:18:41 +00:00
Xin Du (Clark)
90ba0cd6b7
feat: upgrade to jest 24 () 2019-02-12 13:05:37 +00:00
Pim
75a74543f4 test: improve nuxt-loading component tests () 2019-02-12 00:32:30 +03:30
Pooya Parsa
408680046c
fix(vue-app): fix asyncData memory leak on client-side ()
Co-authored-by: Sébastien Chopin <seb@chopin.io>
2019-02-08 20:03:45 +03:30
Xin Du (Clark)
855705bd73 test: add chrome detector () 2019-02-08 16:46:17 +03:30
Pooya Parsa
29297160a1
feat(vue-renderer): improvements () 2019-02-08 13:35:01 +03:30
Pooya Parsa
2c763df176 test: fix macos e2e tests 2019-02-07 20:18:47 +03:30
Xin Du (Clark)
68f6880f54 refactor(test): change cli.test to be more accurate () 2019-02-06 22:15:39 +03:30
Pooya Parsa
93089543be
feat: upgrade vue to 2.6 () 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
Pooya Parsa
940a36fd65
chore: use puppeteer-core () 2019-02-03 10:06:01 +03:30
Kevin Marrec
792e9f4763 fix tsconfig + remove forgotten duplicated test () 2019-01-29 23:04:23 +03:30
Xin Du (Clark)
96bab9f09c test: unit tests for @nuxt/util () 2019-01-29 22:53:42 +03:30
Kevin Marrec
774823ba41 fix tsconfig + remove forgotten duplicated test () 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 () 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 ()
* 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 () 2019-01-24 14:14:02 +03:30
Kevin Marrec
c39cf841a3 fix(ts): fix default tsconfig.json ()
[release]
2019-01-24 01:11:00 +03:30
Kevin Marrec
2a1ee96a4b feat(ts): auto generate tsconfig.json ()
* 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