Commit Graph

293 Commits

Author SHA1 Message Date
renovate[bot]
d2d0e11455 chore(deps): update all non-major dependencies (#6603) 2019-10-28 14:57:09 +01:00
Pooya Parsa
f6aa45dda6 v2.10.2 [release] 2019-10-21 23:16:29 +02:00
renovate[bot]
3d51c0341b chore(deps): update dependency glob to ^7.1.5 (#6602) 2019-10-21 23:09:36 +02:00
renovate[bot]
2b6589cca8 chore(deps): update all non-major dependencies (#6573) 2019-10-17 20:16:52 +01:00
Pooya Parsa
624c4c058e v2.10.1 [release] 2019-10-11 10:08:40 +02:00
Pooya Parsa
c17afa77a7 v2.10.0
[release]
2019-10-02 13:40:59 +02:00
renovate[bot]
0f8428fae7 chore(deps): update all non-major dependencies (#6494) 2019-10-01 19:36:12 +02:00
renovate[bot]
7286e83ff7 chore(deps): update dependency chokidar to ^3.2.0 (#6489)
[release]
2019-10-01 13:08:27 +02:00
Snir Shechter
92c7f4ed24 feat(builder): followSymlinks option to allow for symlinks (#6368) 2019-09-29 11:06:44 +02:00
Pooya Parsa
13331a02b4 fix(webpack): revert pause/resume 2019-09-26 14:13:43 +02:00
Pim
06a288376a fix(webpack): dont push to compilersWatching in callback (#6448) 2019-09-25 17:11:39 +02:00
renovate[bot]
2f0b33f5ed chore(deps): update dependency chokidar to ^3.1.1 (#6440) 2019-09-19 20:24:03 +01:00
renovate[bot]
622bd9989c chore(deps): update all non-major dependencies (#6407) 2019-09-18 15:56:51 +02:00
Pim
174c13d56c feat(vue-app): support configurable features (#6287) 2019-09-05 17:15:27 +02:00
renovate[bot]
a972849406 chore(deps): update dependency serialize-javascript to v2 (#6359) 2019-09-05 09:11:42 +01:00
Jonas Galvez
81f0c8af33 feat(builder): extendPlugins option and builder:extendPlugins hook (#6285) 2019-09-04 14:19:50 +02:00
xxRockOnxx
519ced4c4a refactor(builder): await build.createRoutes to allow async functions inside it (#6352) 2019-09-04 12:00:58 +02:00
renovate[bot]
f1edd8220b chore(deps): update dependency upath to ^1.2.0 (#6344) 2019-09-03 11:31:56 +02:00
Pim
ad223583fc feat(builder): add builder:prepared hook (#6329) 2019-09-02 15:26:21 +02:00
Pim
e78e8b4b7d feat(builder): support adding custom middlewares (#6342) 2019-09-02 12:53:52 +02:00
Alexander Lichter
7c90310166 feat(builder, router): enforce uniform trailing slash handling (#6331) 2019-09-01 16:37:25 +02:00
renovate[bot]
75f8d00b68 chore(deps): update all non-major dependencies (#6323) 2019-08-31 19:19:14 +01:00
Clark Du
c8ee9a6608 v2.9.2 2019-08-28 12:32:12 +01:00
Pim
3eb1710b6d test(vue-app): add template compiler helper (#6299) 2019-08-25 13:31:17 +01:00
Pooya Parsa
7f542e08e5
fix(builder): apply overrides from app dir only (#6283)
[release]
2019-08-24 21:40:39 +04:30
Pooya Parsa
81b92b6395
fix: improve watching experience for generated files (#6257) 2019-08-21 23:34:04 +04:30
renovate[bot]
6a06dfb39a chore(deps): update dependency serialize-javascript to ^1.8.0 (#6254) 2019-08-20 21:46:28 +04:30
pooya parsa
0157b971de v2.9.1 2019-08-20 15:41:35 +04:30
pooya parsa
ce3b456961 v2.9.0 2019-08-20 12:51:10 +04:30
renovate[bot]
8f5244cabd chore(deps): update all non-major dependencies (#6213) 2019-08-17 15:54:58 +01:00
renovate[bot]
cb22d841fe chore(deps): update all non-major dependencies (#6193) 2019-08-09 15:04:17 +04:30
renovate[bot]
275c4dc2f1 chore(deps): update dependency consola to ^2.10.0 (#6189) 2019-08-05 13:54:24 +01:00
Sébastien Chopin
f7cb3dae0f feat(vue-app): support app/router.scrollBehavior.js and deprecate scrollBehavior (#6055) 2019-07-24 16:05:50 +04:30
renovate[bot]
ac00f7a627 chore(deps): update all non-major dependencies (#6114)
[release]
2019-07-24 12:26:16 +04:30
Kevin Marrec
81b5ce22ce feat: externalize typescript support (#5858) 2019-07-24 11:56:44 +04:30
renovate[bot]
39e41acb47 chore(deps): update all non-major dependencies (#6089) 2019-07-23 12:05:35 +01:00
renovate[bot]
a974834073 chore(deps): update all non-major dependencies (#6056) 2019-07-15 18:12:59 +01:00
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
renovate[bot]
2b86e31ab2 chore(deps): update all non-major dependencies (#6037) 2019-07-10 14:06:25 +04:30
renovate[bot]
efd242ad35 chore(deps): update all non-major dependencies (#6013) 2019-07-02 14:49:41 +01:00
renovate[bot]
9d04b8fb52 chore(deps): update all non-major dependencies (#6003) 2019-07-01 18:41:18 +01:00
renovate[bot]
ae82a03a28 chore(deps): update all non-major dependencies (#6001)
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-06-29 05:49:55 +01:00
renovate[bot]
346e1e1704 chore(deps): update dependency hash-sum to v2 (#6002) 2019-06-29 05:37:43 +01:00
renovate[bot]
2a0a34f629 chore(deps): update all non-major dependencies (#5997) 2019-06-28 11:53:20 +04:30
Xin Du (Clark)
d1395a032a chore: upgrade fs-extra to v8 (#5994) 2019-06-28 00:33:44 +04:30
Ricardo Gobbo de Souza
43a43bc924 fix: downgrade fs-extra to v7 for fixing jest crashing (#5977) 2019-06-25 15:58:20 +01:00
renovate[bot]
99176aa261 chore(deps): update all non-major dependencies (#5955) 2019-06-24 10:00:31 +01:00
renovate[bot]
7d08ff1f4a chore(deps): update dependency consola to ^2.8.0 (#5953) 2019-06-18 17:41:23 +04:30
pooya parsa
2fabea9402 v2.8.1 2019-06-05 00:55:47 +04:30
Kevin Marrec
262ea5c31a refactor: prepare for external typescript support (#5854) 2019-06-05 00:18:01 +04:30
renovate[bot]
8296e942ff chore(deps): update all non-major dependencies (#5848) 2019-06-04 20:05:37 +04:30
pooya parsa
7622d66866 v2.8.0 2019-05-30 21:37:38 +04:30
renovate[bot]
e963dafc74 chore(deps): update all non-major dependencies (#5823) 2019-05-30 14:14:25 +04:30
Pooya Parsa
a759196865 feat(vue-app): build indicator (#5820)
* feat: inline HMR progress indicator

* support router base

* fix nuxt err

* fix space

* fix indentation

* return in case of ws message parsing error

* close ws on beforeDestroy

* ui: Update loading indicator UI

* builder: Add build.indicator option

* ui: Use only logo and %

* hotfix: Alphabetical order

* hotfix: Add fixed with and add back v-if

* minor style change

* rename component to build-indicator

* feat: animated progress

* assign name to component

* update test

* naming consistency

* render into app to prevent dom wrapping

* extra new line

* better App.js formatting

* update snapshot

* clear interval
2019-05-29 16:44:15 +02:00
Pim
1f2bf1c3d3 fix(builder): only listen for file changes for supported extensions (#5812) 2019-05-27 13:36:53 +04:30
renovate[bot]
1f74362d38 Update dependency consola to ^2.7.1 (#5809) 2019-05-26 14:44:05 +04:30
renovate[bot]
f00f02171f Update all non-major dependencies (#5808) 2019-05-26 14:28:57 +04:30
Sébastien Chopin
e75d65b268 fix(builder): watch for pages/ creation when default page displayed (#5753) 2019-05-23 14:49:37 +04:30
renovate[bot]
b2a8b9f3f2 chore(deps): update all non-major dependencies (#5787) 2019-05-23 13:24:46 +04:30
Xin Du (Clark)
737d5f0fe7 refactor(builder): pass nuxt options to template as nuxtOptions (#5792) 2019-05-23 13:19:40 +04:30
Xin Du (Clark)
b49dc0fe99 fix(builder): preserve templateVars.options in templates (#5730) (#5776) 2019-05-21 22:41:34 +04:30
Alexander Lichter
d08ce2f628 refactor: small readability improvements (#5748) 2019-05-16 14:38:44 +04:30
renovate[bot]
c2c2945f05 chore(deps): update all non-major dependencies (#5735) 2019-05-15 15:56:07 +04:30
pooya parsa
0f609dfb37 v2.7.1 2019-05-14 23:24:56 +04:30
Pooya Parsa
62a593dcfd
fix(builder): use warn only for mismatched deps (#5723) 2019-05-14 18:05:31 +04:30
pooya parsa
5a98230ec6 v2.7.0 2019-05-14 17:05:38 +04:30
renovate[bot]
017d3a490a chore(deps): update all non-major dependencies (#5715) 2019-05-14 12:36:07 +04:30
renovate[bot]
8019c9c7db chore(deps): update dependency fs-extra to v8 (#5702) 2019-05-11 21:12:55 +04:30
Pooya Parsa
67750245ab
fix(builder): corretly detect mode of hashed plugins (#5695) 2019-05-11 13:53:37 +04:30
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
Alexander Lichter
569b6aab9c refactor: typos (#4922) 2019-02-01 16:38:47 +03:30
Xin Du (Clark)
f70645e5aa fix: revert templatFiles name (#4924) 2019-02-01 15:26:26 +03:30
Clark Du
fb13b41cf1 Merge remote-tracking branch 'upstream/2.x' into dev 2019-01-30 20:24:13 +00:00
Xin Du (Clark)
4c5a59e149
refactor: generate routes and template files in builder (#4883) 2019-01-30 16:54:26 +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
renovate[bot]
1501592581 chore(deps): update all non-major dependencies (#4872) 2019-01-29 11:07:10 +00:00
Xin Du (Clark)
59be77a2f3
feat: .nuxtignore (#4647) 2019-01-29 09:31:14 +00:00
Clark Du
5f221b4b7e v2.4.0 2019-01-28 17:41:28 +00:00
Xin Du (Clark)
e3cc28c31e refactor: encapsulate pages validation into a separate function (#4826)
* refactor: encapsulate pages validation into a separate function

* refactor: remove else
2019-01-21 22:10:37 +03:30
Xin Du (Clark)
3966b265f9
fix: watch custom patterns only when it exists (#4823) 2019-01-21 15:14:17 +00:00
Clark Du
9b3e7be3e7
fix: invalid plugin mode warning for all 2019-01-19 12:27:15 +00:00
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
Pim
9c6df495d8 fix: add option to rewatch on path after raw fs event (#4717) 2019-01-09 14:18:28 +03:30
Alexander Lichter
eef2af35e4 fix: no false positives for plugins with index.js (#4714)
resolves #4713 [release]
2019-01-08 22:55:56 +03:30
Xin Du (Clark)
af76e07b56 fix(builder): js layout (#4701)
[release]
2019-01-07 15:44:51 +03:30
renovate[bot]
3ccfcedb65 chore(deps): update all non-major dependencies (#4692) 2019-01-06 12:36:24 +03:30
Ricardo Gobbo de Souza
6436e3b080 fix(builder): layouts condition (#4641) 2019-01-06 11:35:11 +03:30
renovate[bot]
438b430a2e chore(deps): update all non-major dependencies (#4670) 2019-01-03 01:22:25 +03:30
Pooya Parsa
7dd33fedd2 feat(builder): validate vue-app dependencies and suggest fix (#4669) 2019-01-02 14:17:19 +00:00
Alexander Lichter
867e8e1e84 fix: plugins for modern mode (#4659) 2018-12-30 14:28:42 +00:00
renovate[bot]
cf451ebb9b chore(deps): update all non-major dependencies (#4640) 2018-12-29 13:51:23 +03:30
renovate[bot]
8cd19f0bd4 chore(deps): update dependency serialize-javascript to ^1.6.0 (#4625) 2018-12-24 19:10:45 +03:30
Kevin Marrec
4d5274215a feat(ts): add TSX support (#4613) 2018-12-23 02:12:20 +03:30
Xin Du (Clark)
324135df51 refactor: @nuxt/utils (#4609) 2018-12-23 00:35:13 +03:30
Kevin Marrec
5458ba5b10 chore: fix dependencies order (#4612)
[skip ci]
2018-12-22 01:44:16 +03:30
Ricardo Gobbo de Souza
add80004ba feat(router): custom route name splitter (#4598) 2018-12-20 13:42:42 +01:00
Pooya Parsa
8b366fd216
chore: use @nuxt for all core dependencies (#4596)
[skip release]
2018-12-20 14:45:12 +03:30
renovate[bot]
46f0eee83d chore(deps): update dependency @nuxtjs/devalue to ^1.2.0 (#4595) 2018-12-20 14:33:57 +03:30