Commit Graph

54 Commits

Author SHA1 Message Date
Sébastien Chopin 03eb049677
fix(builder): watch store dir and `serverMiddleware` paths (#5681)
* fix(builder): Watch store dir to restart Nuxt app when options.store=false

* hotfix: Linting issues

* hotfix: Use path.resolve instead of path.join

* test: Update test for watcher

* hotfix: revert to path.join and fix tests

* hotfix: Fix coverage for hard to test condition

* hotfix: Fix test for Windows

* Update builder.js

* fix lint error

* fix: Cache serverMiddlewarePaths
2019-05-10 15:03:07 +02:00
renovate[bot] 2fd05e0fe3 chore(deps): update dependency consola to ^2.6.1 (#5674) 2019-05-08 21:36:11 +04:30
Xin Du (Clark) a21555c8cd fix(utils): node v8 not support dotAll in regex (#5608) 2019-04-26 23:47:51 +04:30
pooya parsa a5cf705ed8 v2.6.3 2019-04-25 13:13:50 +04:30
pooya parsa a354d9761f atomic children removal 2019-04-24 20:43:59 +04:30
Xin Du (Clark) 31a15559e5 refactor: move modern detection from server to utils (#5584) 2019-04-23 13:46:56 +04:30
Pooya Parsa 111132df23
refactor: avoid using `_path` variable (#5582) 2019-04-22 23:20:07 +04:30
Jonas Galvez 88a78ffa58 fix(utils): serialize inline functions (#5051) (#5580) 2019-04-22 23:17:42 +04:30
renovate[bot] 7176ab2d4b chore(deps): update all non-major dependencies (#5538) 2019-04-20 13:56:37 +04:30
pooya parsa 6cee89324f v2.6.2 2019-04-15 20:45:03 +04:30
Pooya Parsa ff340abe6f
v2.6.2 (#5523) 2019-04-15 20:43:27 +04:30
pooya parsa c0776eb2d7 v2.6.1 2019-04-04 22:28:06 +04:30
pooya parsa 0e51676731 v2.6.0 2019-04-04 21:36:17 +04:30
renovate[bot] 75e8a89309 chore(deps): update all non-major dependencies (#5454) 2019-04-03 22:36:50 +04:30
renovate[bot] 82bde15622 chore(deps): update dependency consola to ^2.5.8 (#5416) 2019-03-29 23:01:21 +04:30
Pim 39bbe46ecb fix(cli): catch all possible errors thrown from proper-filelock (#5347) 2019-03-23 11:16:00 +04:30
pooya parsa 5d7757bf29 v2.5.1 2019-03-22 02:18:39 +04:30
Pim 7c24280a7a fix: apply default lock options before setting lock (#5320) 2019-03-21 23:37:50 +03:30
pooya parsa e2c296321b v2.5.0 2019-03-21 16:37:34 +03:30
pooya parsa 665f15ad36 fix(pkg): add missing dependencies
[release]
2019-03-20 22:22:36 +03:30
renovate[bot] f8ff8b5d62 chore(deps): update dependency consola to ^2.5.7 (#5283) 2019-03-19 21:09:36 +03:30
Pim 65a431d68c fix: relax lock settings (#5280) 2019-03-19 14:54:23 +01:00
renovate[bot] ffe5f4df5d chore(deps): update all non-major dependencies (#5261) 2019-03-19 10:27:06 +00:00
renovate[bot] 650a80d744 chore(deps): update dependency proper-lockfile to v4 (#5226) 2019-03-14 00:02:18 +03:30
Pim 4e51723efc feat(cli): lock project during build or generate (#4985) 2019-03-03 11:42:46 +03:30
pooya parsa 83db959506 v2.4.5 2019-02-26 14:20:41 +03:30
pooya parsa 0ad13e04d2 v2.4.5 2019-02-26 14:01:42 +03:30
renovate[bot] e2bdaa3880 chore(deps): update dependency consola to ^2.5.6 (#5107) 2019-02-25 22:10:29 +03:30
renovate[bot] 27a201ca54 chore(deps): update dependency consola to ^2.5.5 (#5106) 2019-02-25 21:24:39 +03:30
renovate[bot] e789a8e727 chore(deps): update all non-major dependencies (#5098) 2019-02-25 21:07:28 +03:30
renovate[bot] 6d90ec2a50 chore(deps): update dependency consola to ^2.4.1 (#5012) 2019-02-12 11:44:29 +03:30
Alexander Lichter 69dfd848d7 refactor: some small stuff (#4979)
* refactor: flatten ifs

* refactor: unnecessary curly brackets

* refactor: unnecessary else

* refactor: promise.all instead of for-await

* refactor: apply changes suggested by @clarkdo

* chore: fix typo

* refactor: early return

* refactor: add removal TODOs

* refactor: more descriptive variable name

* refactor: prefer template string

* refactor: one-line

* refactor: early returns

* refactor: early return

* refactor: parallel promises

* refactor: early return and no else

* refactor: spread operator

* refactor: spread operator and early return

* fix: remove error and throw string instead

* fix: always return true

* refactor: clear multiline ternary

* refactor: err stack assignment

* refactor: early return and async/await

* refactor: one line

* refactor: early return

* refactor: early return

* refactor: promise.all

* refactor: args spread
2019-02-08 17:25:11 +01:00
pooya parsa 4e30bda44e v2.4.3 2019-02-06 19:37:24 +03:30
pooya parsa 13e494c0f0 v2.4.3 2019-02-06 19:26:54 +03:30
renovate[bot] 76736f8ac7 chore(deps): update all non-major dependencies (#4954) 2019-02-06 01:17:01 +03:30
pooya parsa a96355e497 merge branch 2.x 2019-02-05 01:07:21 +03:30
Jonas Galvez 14f43da9b2 fix: serialize external function (#4916) 2019-02-01 17:01:16 +03:30
Clark Du fb13b41cf1 Merge remote-tracking branch 'upstream/2.x' into dev 2019-01-30 20:24:13 +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
Xin Du (Clark) 96bab9f09c test: unit tests for @nuxt/util (#4880) 2019-01-29 22:53:42 +03:30
Clark Du 5f221b4b7e v2.4.0 2019-01-28 17:41:28 +00:00
Xin Du (Clark) b23f5c9b4b feat(server): timing option for `Server-Timing` header (#4800) 2019-01-19 21:44:54 +03:30
Alexander Lichter 40fbe5ba47 refactor: cleanups and code style improvements (#4788) 2019-01-18 00:48:29 +03:30
Clark Du e594f09914
test: mock require.main 2019-01-14 20:31:39 +00:00
Alexander Lichter eef2af35e4 fix: no false positives for plugins with index.js (#4714)
resolves #4713 [release]
2019-01-08 22:55:56 +03:30
renovate[bot] 3ccfcedb65 chore(deps): update all non-major dependencies (#4692) 2019-01-06 12:36:24 +03:30
Pim 605b76073b chore: lint vue-app templates (#4689) 2019-01-06 11:26:59 +03:30
renovate[bot] 438b430a2e chore(deps): update all non-major dependencies (#4670) 2019-01-03 01:22:25 +03:30