Commit Graph

124 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
renovate[bot] 97ebf24cb1 chore(deps): update all non-major dependencies (#5663) 2019-05-08 21:03:35 +04:30
Pooya Parsa 5ebf1cc78c
fix: avoid using aliases in templates (#5656) 2019-05-06 15:16:04 +04:30
renovate[bot] 8327023fc7 chore(deps): update dependency chokidar to v3 (#5631) 2019-05-02 09:23:00 +01:00
Xin Du (Clark) 9fb720d518 fix(builder): call `watch:restart` after `watch:fileChanged` hook (#5620) 2019-04-29 22:50:38 +04:30
pooya parsa a5cf705ed8 v2.6.3 2019-04-25 13:13:50 +04:30
Pooya Parsa 111132df23
refactor: avoid using `_path` variable (#5582) 2019-04-22 23:20:07 +04:30
Sébastien Chopin 01acf66c67 feat(vue-app): rename `transition` to `pageTransition` and deprecate it (#5558) 2019-04-20 14:31:59 +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] 82bde15622 chore(deps): update dependency consola to ^2.5.8 (#5416) 2019-03-29 23:01:21 +04:30
renovate[bot] 87e0ac4637 chore(deps): update dependency semver to v6 (#5393) 2019-03-27 14:52:53 +04:30
renovate[bot] a6ee8bfea0 chore(deps): update all non-major dependencies (#5346) 2019-03-23 11:22:12 +04:30
Pooya Parsa 439b914fd0
fix: fail in case of missing core-js dependency (#5342) 2019-03-23 11:18:18 +04:30
renovate[bot] 3c50876d73 chore(deps): update all non-major dependencies (#5325) 2019-03-22 18:01:04 +04:30
pooya parsa 5d7757bf29 v2.5.1 2019-03-22 02:18:39 +04:30
pooya parsa e2c296321b v2.5.0 2019-03-21 16:37:34 +03:30
renovate[bot] f8ff8b5d62 chore(deps): update dependency consola to ^2.5.7 (#5283) 2019-03-19 21:09:36 +03:30
renovate[bot] ffe5f4df5d chore(deps): update all non-major dependencies (#5261) 2019-03-19 10:27:06 +00:00
renovate[bot] 5f6f12eea7 chore(deps): update dependency @nuxt/devalue to ^1.2.2 (#5240) 2019-03-14 13:01:52 +00:00
renovate[bot] 1336ac9c56 chore(deps): update all non-major dependencies (#5180) 2019-03-11 13:37:29 +00:00
Pooya Parsa 13cb0f73d9 refactor: remove builder coupling from server (#5157) 2019-03-08 20:43:23 +00:00
renovate[bot] 2cbddeb142 chore(deps): update all non-major dependencies (#5174) 2019-03-07 23:04:30 +03:30
Dmitry Molotkov a867dbd34b fix(builder, vue-app): order of plugin execution based on order in array (#5163) 2019-03-07 23:03:20 +03:30
renovate[bot] 4b9ea2919d chore(deps): update all non-major dependencies (#5122) 2019-03-02 22:41:23 +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
pooya parsa 85c7869641 v2.4.4 2019-02-26 13:56:12 +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] 27b30caee5 chore(deps): update all non-major dependencies (#5057) 2019-02-19 16:48:30 +00:00
Xin Du (Clark) 9860eb6a7c
refactor: unify context in webpack module (#5054) 2019-02-18 17:00:51 +00:00
Pooya Parsa 2015140d12 feat(vue-app): universal fetch (#5028)
* 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
renovate[bot] 6d90ec2a50 chore(deps): update dependency consola to ^2.4.1 (#5012) 2019-02-12 11:44:29 +03:30
renovate[bot] 960f8cab5c chore(deps): update all non-major dependencies (#5009) 2019-02-12 10:48:11 +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
Pim 5ec5932bad fix: refactor file watchers (chokidar/linux workaround) (#4950) 2019-02-06 22:16:17 +03:30
pooya parsa 4e30bda44e v2.4.3 2019-02-06 19:37:24 +03:30
pooya parsa 1be455f5af manually bump all versions to 2.4.3 2019-02-06 19:27:43 +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
Clark Du 858c9eeb5d fix(test): unhandled open handles 2019-02-04 12:39:54 +00:00
Clark Du fabf1c07eb test: add await for promisable expect 2019-02-04 11:31:24 +00:00
Xin Du (Clark) 43491f6e53
feat(test): unit tests for @nuxt/builder (#4834) 2019-02-04 10:34:04 +00:00
Xin Du (Clark) ca191240fb fix: extra properties in templateFiles (#4925) 2019-02-01 19:55:32 +03:30