Pooya Parsa
318aad2aed
fix(server): HMR for sub-app serverMiddleware without path ( #7146 )
2020-03-27 22:30:43 +01:00
Jt Whissel
51b5bf565b
feat(builder): ignore option to function the same as .nuxtignore
( #7132 )
2020-03-27 11:53:23 +01:00
pooya parsa
4b34941df8
fix(builder): ensure entry is in graph for HMR ( #7097 )
2020-03-18 11:05:37 +01:00
Mark Honeychurch
084a1ca1af
chore(builder): analyze mode warning rewording ( #6924 )
2020-02-25 00:16:43 +01:00
Pooya Parsa
2707bdb37e
feat: improve programatic usage ( #6868 )
2020-01-19 09:36:06 +01:00
Pooya Parsa
8907e1553f
feat: HMR support for serverMiddleware ( #6881 )
2020-01-19 09:34:35 +01:00
Xin Du (Clark)
9ada4e63a9
feat(config): add ignoreOptions
for node-ignore
( #6597 )
2019-11-24 13:28:37 +01: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
Pim
174c13d56c
feat(vue-app): support configurable features ( #6287 )
2019-09-05 17:15:27 +02: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
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
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
Sébastien Chopin
f7cb3dae0f
feat(vue-app): support app/router.scrollBehavior.js
and deprecate scrollBehavior
( #6055 )
2019-07-24 16:05:50 +04:30
Kevin Marrec
81b5ce22ce
feat: externalize typescript support ( #5858 )
2019-07-24 11:56:44 +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
Kevin Marrec
262ea5c31a
refactor: prepare for external typescript support ( #5854 )
2019-06-05 00:18:01 +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
Sébastien Chopin
e75d65b268
fix(builder): watch for pages/
creation when default page displayed ( #5753 )
2019-05-23 14:49:37 +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
Pooya Parsa
62a593dcfd
fix(builder): use warn only for mismatched deps ( #5723 )
2019-05-14 18:05:31 +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
Pooya Parsa
5ebf1cc78c
fix: avoid using aliases in templates ( #5656 )
2019-05-06 15:16:04 +04:30
Xin Du (Clark)
9fb720d518
fix(builder): call watch:restart
after watch:fileChanged
hook ( #5620 )
2019-04-29 22:50:38 +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
Pooya Parsa
439b914fd0
fix: fail in case of missing core-js dependency ( #5342 )
2019-03-23 11:18:18 +04:30
Pooya Parsa
13cb0f73d9
refactor: remove builder coupling from server ( #5157 )
2019-03-08 20:43:23 +00:00
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
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
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
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
Xin Du (Clark)
4c5a59e149
refactor: generate routes and template files in builder ( #4883 )
2019-01-30 16:54:26 +00:00
Xin Du (Clark)
59be77a2f3
feat: .nuxtignore ( #4647 )
2019-01-29 09:31:14 +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