Commit Graph

77 Commits

Author SHA1 Message Date
Xin Du (Clark) db65c2eb6b
feat: `createRequire` option and disable esm for jest (#7476) 2020-06-11 15:59:13 +02:00
renovate[bot] 322aeb1042
chore(deps): update all non-major dependencies (dev) (#7375)
* chore(deps): update all non-major dependencies

* test: disable got decompress

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: pooya parsa <pooya@pi0.ir>
2020-05-18 14:35:20 +02:00
Pooya Parsa 0337932115
feat: runtime config and built-in dotenv support (#7312)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Alexander Lichter <manniL@gmx.net>
2020-05-18 10:21:15 +02:00
Xin Du (Clark) 8c7228f1e8
test: update jest to v26 (#7319) 2020-05-05 23:53:07 +02:00
Matteo Rigon 539c865533
fix(vue-app): use child transition name when navigating to parent (#6946) 2020-02-11 15:06:37 +01:00
renovate[bot] 73a4a8081a chore(deps): update dependency chalk to v3 (#6673)
Co-authored-by: WhiteSource Renovate <renovatebot@gmail.com>
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2020-01-24 01:06:49 +00:00
Xin Du (Clark) 5945845c76 test: use `got` instead of `request` (#6740) 2019-12-02 16:23:56 +01:00
Xin Du (Clark) edd054e2ed
test: fix chrome detection in macOS Catalina (#6638) 2019-11-09 22:15:12 +00:00
Pim 174c13d56c feat(vue-app): support configurable features (#6287) 2019-09-05 17:15:27 +02:00
Pim 3a125b09d1 test: disable terser/minify by default (#6290) 2019-08-24 18:43:03 +04:30
pooya parsa e7cc2757c3 refactor: update eslint-config to 1.x
Co-authored-by: Alexander Lichter <manniL@gmx.net>
2019-07-10 15:15:49 +04:30
Hyunje Jun 2a66d1952e fix(vue-app): consider `watchQuery` option in `routerViewKey` (#5516) 2019-05-09 16:23:59 +04:30
Clark Du 583e32a3ef test: fix macos chrome detection 2019-04-01 09:36:13 +01:00
Pooya Parsa d6b505aa50
test: fail tests in case of unhandled errors (#5255) 2019-03-16 16:12:35 +03:30
Xin Du (Clark) 855705bd73 test: add chrome detector (#4984) 2019-02-08 16:46:17 +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 (#4957) 2019-02-06 22:15:39 +03:30
Pooya Parsa 940a36fd65
chore: use puppeteer-core (#4929) 2019-02-03 10:06:01 +03:30
Clark Du e9ba2f97d2 test: add describe.posix and win 2019-01-29 11:29:55 +00:00
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
pooya parsa 5b66afc23a fix(test/utils): check both ts and js for nuxt.config 2019-01-20 22:13:27 +03:30
Pim 0c64410c6d chore: don't show stable version number when running from git/source (#4756) 2019-01-16 21:23:14 +03:30
Pooya Parsa ee0096bf59
feat: nuxt-ts (#4658)
[release]
2019-01-04 23:00:28 +03:30
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
Xin Du (Clark) 324135df51 refactor: @nuxt/utils (#4609) 2018-12-23 00:35:13 +03:30
Clark Du 52a92fbc48 refactor: use PascalCase for components names (#4396) 2018-11-24 22:19:19 +03:30
Pooya Parsa 7c4e77ffb9
feat: dx improvements (#4259) 2018-11-08 12:45:56 +03:30
Clark Du bed0714fad
feat: modern build (#4231)
* feat: modern build

* refactor: use single module import for lodash

* refactor: add credit comment for modern plugin

* feat: ssr modern build

* fix: not null check for request

* fix: not null check for request.headers

* feat: add modern argument on build command

* refactor: simpilfy filenames for modern

* refactor: use packages/webpack src instead of dist in test

* test: add feature test for modern build
2018-10-31 15:52:35 +00:00
Pooya Parsa 39b558f59c
refactor core into sub-packages (#4202) 2018-10-31 00:12:53 +03:30
Clark Du 79eb9c8010
Set up CI with Azure Pipelines (#4190) 2018-10-25 12:33:07 +01:00
Pooya Parsa 46103e72ea
chore: packaging and development improvements (#4193) 2018-10-25 14:52:31 +03:30
Clark Du 9df5f49e07 feat: split builder into more refined modules (#4171)
New packages:
- `@nuxt/webpack`
- `@nuxt/generator`
2018-10-24 20:25:18 +03:30
Jonas Galvez da7c01f0d4 chore: fix lint error (#4186) 2018-10-24 17:30:49 +03:30
Jonas Galvez 5ec5cda1f8 chore: test utils cleanup (#4180) 2018-10-24 17:23:34 +03:30
Pim 96bdcaba01 fix(app): lint all templates (#4175) 2018-10-24 17:16:06 +03:30
Clark Du 811234ea02 ci: revert travis windows changes 2018-10-23 10:55:08 +01:00
Clark Du 818c66f567
ci: use travis instead of appveyor (#4168)
<!--- Provide a general summary of your changes in the title above -->

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (a non-breaking change which fixes an issue)
- [ ] New feature (a non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)


## Description
<!--- Describe your changes in detail -->
<!--- Why is this change required? What problem does it solve? -->
<!--- If it resolves an open issue, please link to the issue here. For example "Resolves: #1337" -->


## Checklist:
<!--- Put an `x` in all the boxes that apply. -->
<!--- If your change requires a documentation PR, please link it appropriately -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly. (PR: #)
- [ ] I have added tests to cover my changes (if not applicable, please state why)
- [ ] All new and existing tests are passing.
2018-10-22 14:02:17 +01:00
Alexander Lichter f27939d4a7 feat(cli): support async nuxt.config.js (#4021) 2018-10-18 19:27:35 +03:30
Pooya Parsa 9c1e0d1743 feat: migrate nuxt into monorepo (#4051)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
Co-authored-by: Pooya Parsa <pooya@pi0.ir>
2018-10-18 00:58:25 +03:30
Jonas Galvez a3dd7dad6b feat: configurable global name (#4012)
Co-authored-by: JuliaNeumann <jn.julianeumann@gmail.com>
2018-10-09 15:38:33 +03:30
Pim 88c9bae57b feat: add tests to check for changed files (#3893)
* feat: add tests to check for changed files

Make sure that if we are building or generating only files in buildDir and generate.dir are changed. If files in another location would also be changed due to a new config option, those locations should be guarded in lib/common/options so you cant set them lower then rootDir or srcDir.

* fix running tests inBand

use simpler path comparisons

* add debug logs for ci

use process.hrtime for waitFor test

* add debug logs for ci

use process.hrtime for waitFor test

* use writeFileSync should probably help

* use forEach instead of map when not returning a value

update waitFor test to compare values with jest

* fix appeveyor

* use lower limit than delay in waitFor test

revert isAppveyor export
2018-09-18 16:26:41 +02:00
Clark Du 281e2dc600 test: skip sockets test in windows platform 2018-09-13 10:07:34 +01:00
Alexander Lichter b74d537cba feat(renderer): make compression middleware customizable (#3863) 2018-09-09 00:48:14 +04:30
Pooya Parsa f85465386c
feat: move nuxt-legacy and nuxt-start into packages (#3824) 2018-08-31 22:51:41 +04:30
Clark Du 432720b8c8 fix: appveyor test failure (#3754)
* fix: appveyor test failure

* ci: bring back yarn cache

* ci: turn off matrix

* refactor: use babel instead of esm in jest

* refactor: use es modules in fixtures
2018-08-17 22:25:23 +02:00
Clark Du c395e20e5b refactor: mock consola in test 2018-08-16 17:23:26 +01:00
Clark Du 50be809b1c
refactor: plugin sanity check (#3743) 2018-08-16 16:34:32 +01:00