pooya parsa
f89227e968
fix typo in index.d.ts
2019-03-14 13:52:12 +03:30
Daniel Hritzkiv
29c3c4250c
fix(ts): deprecate isClient
, isServer
, isStatic
( #5211 )
2019-03-14 13:43:21 +03:30
Kevin Marrec
920f444b6e
refactor(ts): better DX for typescript support ( #5079 )
...
Breaking change : `build.useForkTsChecker` renamed to `build.typescript.typeCheck`
2019-03-14 13:37:47 +03:30
Julien Dargelos
821676511b
fix(webpack): clone config.entry
( fixes #4849 ) ( #5236 )
2019-03-14 13:35:19 +03:30
renovate[bot]
b22d97ea3a
chore(deps): update all non-major dependencies to ^2.6.9 ( #5234 )
2019-03-14 13:29:47 +03:30
renovate[bot]
0dd22deba3
chore(deps): update all non-major dependencies ( #5232 )
2019-03-14 09:25:52 +03:30
renovate[bot]
650a80d744
chore(deps): update dependency proper-lockfile to v4 ( #5226 )
2019-03-14 00:02:18 +03:30
Xin Du (Clark)
1fb7538dfe
fix: publicPath is not reactive in dev restarting ( #5227 )
2019-03-13 22:45:26 +03:30
renovate[bot]
ff93d14bbc
chore(deps): update all non-major dependencies ( #5224 )
...
[release]
2019-03-13 14:03:43 +03:30
Pooya Parsa
aabb1f69e7
perf(core): skip esm for node_modules and non .js files ( #5220 )
2019-03-13 13:54:39 +03:30
Alexander Lichter
adf423a57f
fix(postcss): default to preset-env and cssnano last ( #5215 )
2019-03-13 13:40:05 +03:30
Alexander Lichter
37006f6267
fix(vua-app): clone mount error to prevent mutating read-only error object ( #5214 )
2019-03-13 01:37:38 +03:30
Xin Du (Clark)
648062c308
fix: correct public path in generation and start ( #5202 )
2019-03-12 15:52:15 +00:00
Jarek Lipski
c6565c97c6
feat(generate): return non-zero code or page error ( fixes #4991 ) ( #5195 )
2019-03-11 23:25:54 +03:30
renovate[bot]
1336ac9c56
chore(deps): update all non-major dependencies ( #5180 )
2019-03-11 13:37:29 +00:00
Clark Du
2f2baacbcc
test: try to fix unhandled request
2019-03-11 13:22:09 +00:00
Pooya Parsa
13cb0f73d9
refactor: remove builder coupling from server ( #5157 )
2019-03-08 20:43:23 +00:00
Xin Du (Clark)
9e1ef888d8
fix: respect namespaced in store module ( #5189 )
2019-03-08 22:12:20 +03:30
Xin Du (Clark)
1ea86617ca
fix: keep-alive component data should not be updated ( #5188 )
2019-03-08 16:43:27 +00:00
Pooya Parsa
d07aefa5db
feat(vue-renderer): use async fs ( #5186 )
2019-03-08 12:20:03 +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
Yutaka Sasaki
41028a407b
fix(vue-app): avoid css chunk error ( #5173 )
2019-03-07 16:43:09 +03:30
renovate[bot]
688ab27596
chore(deps): update dependency fork-ts-checker-webpack-plugin to v1 ( #5172 )
2019-03-07 11:34:21 +03:30
renovate[bot]
50e9d6213d
chore(deps): update all non-major dependencies ( #5171 )
2019-03-07 10:42:51 +03:30
renovate[bot]
26bfa47112
chore(deps): update dependency webpack-dev-middleware to ^3.6.1 ( #5170 )
2019-03-06 16:37:49 +00:00
renovate[bot]
840ccb4bdf
chore(deps): update dependency extract-css-chunks-webpack-plugin to v4 ( #5160 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2019-03-06 11:16:07 +00:00
renovate[bot]
083ac57514
chore(deps): update dependency esm to ^3.2.11 ( #5165 )
2019-03-06 09:35:08 +00:00
Clark Du
a188f07f19
chore: remove unnecessary checks
2019-03-05 17:07:05 +00:00
renovate[bot]
43709fda15
chore(deps): update all non-major dependencies ( #5158 )
2019-03-05 09:21:06 +03:30
Xin Du (Clark)
cc573a4925
test: unit tests for server module ( #5154 )
2019-03-04 20:12:33 +00:00
renovate[bot]
e3991aacdf
chore(deps): update dependency extract-css-chunks-webpack-plugin to ^3.3.3 ( #5156 )
2019-03-04 20:11:51 +00:00
Clark Du
52fe145adc
feat(babel): include es6.object.assign by default
2019-03-04 16:39:58 +00:00
renovate[bot]
340c10736b
chore(deps): update all non-major dependencies ( #5149 )
2019-03-04 10:19:33 +03:30
Kevin Marrec
92f81e01e7
feat(ts): nuxt configuration typedefs ( #4854 )
2019-03-04 10:18:40 +03:30
renovate[bot]
be89ea1b87
chore(deps): update all non-major dependencies ( #5148 )
2019-03-04 00:50:45 +03:30
Pim
4e51723efc
feat(cli): lock project during build or generate ( #4985 )
2019-03-03 11:42:46 +03:30
Xin Du (Clark)
05299d6738
refactor: improve modern middleware and spa modern rendering ( #5037 )
2019-03-03 11:22:59 +03:30
HG
04cdd60211
chore(babel-preset): create readme with basic docs ( #5127 )
2019-03-03 11:20:42 +03:30
Jonas Galvez
e87711c5e7
feat: support devModules
option ( #5102 )
2019-03-03 11:19:46 +03:30
renovate[bot]
0751faa9c8
chore(deps): update dependency wrap-ansi to v5 ( #5145 )
2019-03-03 10:57:19 +03:30
renovate[bot]
4b9ea2919d
chore(deps): update all non-major dependencies ( #5122 )
2019-03-02 22:41:23 +03:30
Shingo Sato
f39205a796
chore(vue-app): suppress deprecated warning for classic vuex in prod ( #5137 )
2019-03-01 19:19:22 +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
pooya parsa
47dc297bd7
chore(deps): update @types/node to v11
2019-02-26 13:35:52 +03:30
pooya parsa
42e41cc2f3
update all remaining safe deps
2019-02-26 13:34:28 +03:30
Matjaž Lipuš
66273f4b4e
fix(types): reflect chainlable NuxtLoading methods ( #5104 )
2019-02-26 12:47:44 +03:30
Alexander Schwartz
7001312269
fix(vue-app): use browser to handle scrolling position on page reload and back-navigation from other sites ( #5080 )
2019-02-26 12:47:32 +03:30
Matjaž Lipuš
a6756a4188
fix(types): reflect chainlable NuxtLoading methods ( #5104 )
2019-02-25 23:48:06 +03:30
Alexander Schwartz
ee87f4ca82
fix(vue-app): use browser to handle scrolling position on page reload and back-navigation from other sites ( #5080 )
2019-02-25 23:46:44 +03:30
Kevin Marrec
4f887f6963
fix(nuxt-ts): error catch in nuxt-ts binary ( #5086 )
...
* fix: nuxt-ts binary error catch
* test: update cli snapshot
2019-02-25 21:09:26 +01:00
renovate[bot]
9bf3b32a7b
chore(deps): update babel to ^7.3.4 ( #5108 )
2019-02-25 23:01:30 +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]
fc4abddc5a
chore(deps): update all non-major dependencies ( #5095 )
2019-02-23 09:53:56 +03:30
renovate[bot]
21b1b865ee
chore(deps): update all non-major dependencies ( #5088 )
2019-02-22 16:28:14 +03:30
renovate[bot]
febcd6c524
chore(deps): update dependency vue-loader to ^15.6.4 ( #5070 )
2019-02-19 22:55:59 +03:30
renovate[bot]
58f6424570
chore(deps): update dependency boxen to v3 ( #5071 )
2019-02-19 22:54:12 +03:30
Clark Du
3dd1a28533
test: update cli snapshot
2019-02-19 17:30:46 +00:00
Clark Du
538378cf8c
Merge remote-tracking branch 'origin/2.x' into dev
2019-02-19 17:13:15 +00:00
Pim
4b82aa9d84
fix: dont force exit when it was explicitly disabled ( #4973 )
...
* fix: remove slash from warning text
* fix: dont force-exit when explicitly disabled
chore: add tests for force-exit behaviour
* feat: default option value can be fn
2019-02-19 17:12:24 +00:00
renovate[bot]
27b30caee5
chore(deps): update all non-major dependencies ( #5057 )
2019-02-19 16:48:30 +00:00
Pim
3d2deacd3a
feat: show warning on forced exit ( #4958 )
2019-02-19 16:40:34 +00:00
Xin Du (Clark)
71a70fe56c
fix: bundle resources other than js(x)/json in node_modules ( #4913 )
2019-02-18 20:05:07 +00:00
Xin Du (Clark)
9860eb6a7c
refactor: unify context in webpack module ( #5054 )
2019-02-18 17:00:51 +00:00
renovate[bot]
3ed9f3e6a6
chore(deps): update all non-major dependencies ( #5044 )
2019-02-18 12:25:43 +00:00
renovate[bot]
b51d7ec2fd
chore(deps): update all non-major dependencies ( #5038 )
2019-02-15 14:56:10 +00:00
Clark Du
5f9b1044ff
Merge remote-tracking branch 'origin/2.x' into dev
2019-02-15 13:18:09 +00:00
Xin Du (Clark)
3516580701
fix(hotfix): preload modern resource in spa modern mode ( #5043 )
2019-02-15 13:08:27 +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
Clark Du
d9a0b5f61b
fix: not send Server-Timing header if no timing info
2019-02-14 15:23:25 +00:00
Clark Du
c6d8e8ff66
refactor: isModernBrowser return boolean for avoiding duplicate call
2019-02-14 14:01:30 +00:00
Clark Du
2b4d79c199
refactor: not detect modern browser if modern mode is disabled
2019-02-14 13:21:11 +00:00
Alexander Lichter
0826d7e5fd
perf: await routeData promises in parallel ( #5027 )
2019-02-13 14:37:12 +00:00
Clark Du
176641f6cb
refactor: fallback to babel-preset-env defualt targets when buildTarget is not specified
2019-02-13 11:26:05 +00:00
Clark Du
aad46ed674
fix: disable parallel build when extractCSS is enabled
2019-02-13 10:32:13 +00:00
Andrey Shertsinger
bcd672f931
fix: generate failure ( #5007 )
2019-02-13 09:18:41 +00:00
Pim
ad6a8cda9a
test: mock enquirer in typescript tests ( #5025 )
2019-02-13 09:16:51 +00:00
renovate[bot]
9be8861b81
chore(deps): update all non-major dependencies ( #5019 )
2019-02-13 12:16:06 +03:30
renovate[bot]
8678d0d6ab
chore(deps): update dependency webpack-bundle-analyzer to ^3.0.4 ( #5015 )
2019-02-12 14:03:55 +03:30
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
Pim
75a74543f4
test: improve nuxt-loading component tests ( #5005 )
2019-02-12 00:32:30 +03:30
Alexander Lichter
3997d5049d
perf(webpack): use futureEmitAssets
( #5003 )
2019-02-11 14:12:37 +03:30
renovate[bot]
8106523311
chore(deps): update all non-major dependencies ( #5000 )
2019-02-11 12:10:42 +03:30
renovate[bot]
e083c38f8f
chore(deps): update all non-major dependencies ( #4992 )
2019-02-09 13:32:50 +03:30
Pooya Parsa
408680046c
fix(vue-app): fix asyncData
memory leak on client-side ( #4966 )
...
Co-authored-by: Sébastien Chopin <seb@chopin.io>
2019-02-08 20:03:45 +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
Clark Du
3c79b4c0d7
Merge branch '2.x' into dev
2019-02-08 12:35:44 +00:00
Pim
3e9eee2549
fix: dont force exit when it was explicitly disabled ( #4973 )
...
* fix: remove slash from warning text
* fix: dont force-exit when explicitly disabled
chore: add tests for force-exit behaviour
* feat: default option value can be fn
2019-02-08 13:36:47 +03:30
renovate[bot]
f791d786e0
chore(deps): update all non-major dependencies ( #4981 )
2019-02-08 13:35:47 +03:30
Pooya Parsa
29297160a1
feat(vue-renderer): improvements ( #4722 )
2019-02-08 13:35:01 +03:30
Clark Du
eac6d022f5
refactor: remove unnecessary onEmit in old webpack
2019-02-07 17:26:43 +00:00
Kevin Marrec
17cc12f005
improvement(ts): transpileOnly when using nuxt-ts start
( #4906 )
2019-02-07 18:36:30 +03:30
Alexander Lichter
574a2eb293
fix: disable "analyze" for nuxt generate ( #4975 )
2019-02-07 18:30:41 +03:30
Alexander Lichter
31cb18737b
refactor: use spread syntax for plugin push ( #4976 )
2019-02-07 18:30:04 +03:30
Cristian Pallarés
dbf70999e4
fix(vue-app): fix getNuxtChildComponents
method ( #4969 )
2019-02-07 10:14:38 +00:00
renovate[bot]
a03dafbe97
chore(deps): update dependency webpack to ^4.29.3 ( #4972 )
2019-02-07 12:12:39 +03:30
renovate[bot]
111455f99a
fix(deps): update serve-placeholder and esm ( #4970 )
2019-02-07 11:25:46 +03:30
renovate[bot]
fc604d1733
chore(deps): update all non-major dependencies ( #4970 )
2019-02-07 11:21:51 +03:30
renovate[bot]
995911d994
chore(deps): upgrade vue to ^2.6.3 ( #4968 )
2019-02-07 01:42:22 +03:30
renovate[bot]
bbcac17f34
chore(deps): update dependency webpack-dev-middleware to ^3.5.2 ( #4967 )
2019-02-07 01:01:55 +03:30
pooya parsa
562c62f982
update snapshot
2019-02-06 23:12:56 +03:30
pooya parsa
b1a16c995e
fix help message for force-exit
2019-02-06 23:12:04 +03:30
pooya parsa
a347ef9b94
fix: default for-exit to false to prevent dev exit
2019-02-06 23:10:43 +03:30
Pim
5094d9c75d
feat: show warning on forced exit ( #4958 )
2019-02-06 22:53:42 +03:30
pooya parsa
fb87a559c2
fix: fix non standard esm modifications
2019-02-06 22:28:43 +03:30
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]
00e2280c30
chore(deps): update dependency webpack to ^4.29.2 ( #4963 )
2019-02-06 18:53:37 +03:30
Ricardo Gobbo de Souza
e2c811a6d0
feat(module): support src as a function in addModule ( #4956 )
2019-02-06 18:53:28 +03:30
Xin Du (Clark)
f40f3f92c1
fix: await buildDone hook ( #4955 )
2019-02-06 18:53:14 +03:30
renovate[bot]
8b474cd256
chore(deps): update dependency webpack to ^4.29.2 ( #4963 )
2019-02-06 18:45:47 +03:30
renovate[bot]
76736f8ac7
chore(deps): update all non-major dependencies ( #4954 )
2019-02-06 01:17:01 +03:30
Ricardo Gobbo de Souza
4c7bd9c507
feat(cli): option to open the project in the browser ( #4930 )
2019-02-06 01:07:59 +03:30
Ricardo Gobbo de Souza
1e9eb4b70c
feat(module): support src as a function in addModule ( #4956 )
2019-02-05 15:05:42 +03:30
Pooya Parsa
93089543be
feat: upgrade vue to 2.6 ( #4953 )
2019-02-05 14:00:57 +03:30
Xin Du (Clark)
5c08db20b4
fix: await buildDone hook ( #4955 )
2019-02-05 13:23:47 +03:30
pooya parsa
a96355e497
merge branch 2.x
2019-02-05 01:07:21 +03:30
pooya parsa
95ef1d4062
fix: update webpack to 4.29.1
2019-02-05 00:46:43 +03:30
pooya parsa
b1a5a19ac5
fix: update terser-webpack-plugin to 1.2.2
2019-02-05 00:46:24 +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
Alexander Lichter
422155ea14
fix: warn when using array postcss configuration ( #4936 )
2019-02-04 01:51:51 +03:30
renovate[bot]
efc2880829
chore(deps): update dependency caniuse-lite to ^1.0.30000934 ( #4934 )
2019-02-03 11:56:05 +00:00
renovate[bot]
cdec133cb3
chore(deps): update all non-major dependencies ( #4894 )
2019-02-02 14:39:07 +03:30
Xin Du (Clark)
ca191240fb
fix: extra properties in templateFiles ( #4925 )
2019-02-01 19:55:32 +03:30
Xin Du (Clark)
268851fe85
fix: bundle resources other than js(x)/json in node_modules ( #4913 )
2019-02-01 16:04:06 +00:00
Jonas Galvez
14f43da9b2
fix: serialize external function ( #4916 )
2019-02-01 17:01:16 +03:30
Alexander Lichter
569b6aab9c
refactor: typos ( #4922 )
2019-02-01 16:38:47 +03:30
Kevin Marrec
d7b57e0d97
improvement(ts): transpileOnly when using nuxt-ts start
( #4906 )
2019-02-01 16:35:03 +03:30
Xin Du (Clark)
0223e56dd4
fix: remove cache-loader for external resources ( #4915 )
2019-02-01 16:33:32 +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
phof
b2abb499f8
Fixes #4882 ( #4893 )
2019-01-30 14:01:39 +00:00
phof
0088b333f8
Fixes #4882 ( #4893 )
2019-01-30 11:34:33 +00:00
Xin Du (Clark)
a614fd3f81
hotfix: extractCSS error in dev mode ( #4892 )
2019-01-30 01:37:55 +03:30
Xin Du (Clark)
de6ca3a4f9
hotfix: extractCSS error in dev mode ( #4892 )
2019-01-30 01:37:13 +03:30
Xin Du (Clark)
2b30915950
hotfix: disable extract-css-chunks-webpack-plugin in dev mode ( #4888 )
2019-01-29 23:59:43 +03:30
Xin Du (Clark)
928a230f91
hotfix: disable extract-css-chunks-webpack-plugin in dev mode ( #4888 )
2019-01-29 23:59:21 +03:30