Commit Graph

1327 Commits

Author SHA1 Message Date
Yihao Gao
4374e541ee
fix(babel-preset-app): allow to specify corejs.version as string (#8085) 2020-09-21 12:21:39 +02:00
renovate[bot]
761d2abb7f
chore(deps): update all non-major dependencies (#8086)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-21 12:21:07 +02:00
renovate[bot]
b9b55de654
chore(deps): update all non-major dependencies (#8083)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-16 12:51:11 +02:00
Daniel Roe
89a64161d0
fix(vue-app): always import error layout (#8067) 2020-09-15 18:33:26 +02:00
renovate[bot]
3eff45477f
chore(deps): update all non-major dependencies (#8058)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-15 16:03:42 +01:00
Dmitriy
45b7838710
fix(vue-app): empty $fetch function for SSR with static target (#8053) 2020-09-10 21:16:00 +02:00
renovate[bot]
b93ba5c688
chore(deps): update all non-major dependencies (#8052)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-10 19:44:09 +02:00
renovate[bot]
7f8b3a9550
chore(deps): update dependency serialize-javascript to ^5.0.1 (#8051)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-10 15:11:13 +02:00
pooya parsa
3b037720f2 v2.14.5
[release]
2020-09-10 14:35:08 +02:00
pooya parsa
d864b2bd75
chore(config): deprecate mode option (#8044) 2020-09-09 16:39:20 +02:00
renovate[bot]
c9513010eb
chore(deps): update dependency serialize-javascript to v5 (#8045)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-09 16:11:47 +02:00
Dmitriy
757d5d46da
fix(vue-app): missing layout in error page with splittedChunks.layout (#8016) 2020-09-09 12:32:10 +02:00
remigermain
7e3532ea59
fix(config): normalize build.indicator: true to default value (#8030)
* fix(config): indicator set to true

* fix eslint

* Update options.js

* indicator is not ad-hoc

Co-authored-by: rgermain <germain.remi@protonmail.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-09-09 11:37:49 +02:00
pooya parsa
7961e539da
fix(utils): support chaining functions with promise (#8038) 2020-09-09 11:22:43 +02:00
pooya parsa
4de44e6c52
fix(config): avoid recursion when interpolating env (#8014) 2020-09-09 10:50:27 +02:00
pooya parsa
a3d836401c
fix: revert production js chunk names (#8012) 2020-09-09 10:49:31 +02:00
renovate[bot]
0bafd77306
chore(deps): update all non-major dependencies (#8005)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-09 10:22:44 +02:00
pooya parsa
a7da6fd56f
fix(config): don't interpolate variables with undefined value (#8013) 2020-09-03 13:42:17 +02:00
renovate[bot]
866b4ddfed
chore(deps): update all non-major dependencies (#7980)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-02 12:02:36 +02:00
Florent Catiau-Tristant
ff6717904e
types: expose Inject type (#7985)
Co-authored-by: florent.catiau <florent.catiau@veepee.com>
2020-09-02 11:58:19 +02:00
pooya parsa
1a77fba4eb v2.14.4 2020-08-27 12:25:35 +02:00
Per Anders Ljusbäck
2f76702291
fix(vue-renderer): add crossorigin for styles (#7954)
* Added ability for styles to get crossorigin if set

* refactor to addAttrs

Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-08-26 13:03:31 +01:00
renovate[bot]
c44420cd5f
chore(deps): update dependency caniuse-lite to ^1.0.30001118 (#7969)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-26 11:39:28 +02:00
Ahad Birang
9f05febe08
fix(cjs): fix HMR issue with mongoose (#7938) 2020-08-26 11:38:29 +02:00
netkin-paris
7cecbccabd
fix(module): protect clearRequireCache against infinite recursion (#7966) 2020-08-26 11:36:39 +02:00
SHO-ZY
e0af2ed679
fix(cli): handle error in full static mode with --fail-on-error (#7948) 2020-08-25 21:38:12 +02:00
Florent Catiau-Tristant
51b037fea6
fix(vue-app): var names shadowing in chrome debugger (#7939)
* fix: var names shadowing in debug

* fix: new appropriate variable name

Co-authored-by: florent.catiau <florent.catiau@veepee.com>
2020-08-25 21:31:36 +02:00
Xin Du (Clark)
11646ba2f6
fix(webpack): no module scripts in spa modern client mode (#7967)
[release]
2020-08-25 21:26:04 +02:00
renovate[bot]
e72d03a49a
chore(deps): update all non-major dependencies (#7929)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-25 15:11:17 +01:00
Alexander Lichter
a969e87014
chore: add avif format as image (#7961) 2020-08-25 15:10:22 +01:00
pooya parsa
5e9d759d7b v2.14.3 [release] 2020-08-16 19:03:06 +02:00
Daniel Roe
f1a95c8af8
fix(vue-renderer): apply nomodule to legacy chunks (#7928)
closes #7927
2020-08-16 19:02:10 +02:00
pooya parsa
34c56722c8 v2.14.2 [release] 2020-08-16 12:57:53 +02:00
Jonas Galvez
fe0498cecd
fix(vue-app): prevent router.registerModule reallocation (#7915) (#7916) 2020-08-15 22:29:17 +02:00
pooya parsa
44471ec9df
fix(webpack): avoid using node_modules for chunk names (#7906)
[release]
2020-08-14 23:59:54 +02:00
Xin Du (Clark)
68b9183c4c
fix(modern): missing nomodule on legacy modules (#7919) 2020-08-14 23:59:10 +02:00
Ahad Birang
10e82b24da
fix(vue-app): use anchor to / if route is undefined in error page (#7877) 2020-08-14 23:58:17 +02:00
Matthew Gamble
ec9a78a3d2
types: improve definitions for component transition property (#7902) 2020-08-14 23:54:35 +02:00
pooya parsa
9f4d420b1f
fix(vue-app): fix regression with scrollToTop (#7920) 2020-08-14 23:42:04 +02:00
renovate[bot]
9914fbd017
chore(deps): update all non-major dependencies (#7914)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-14 19:31:22 +02:00
Ahad Birang
e03563b3dc
fix(router): resolve redirect errors (#7912) 2020-08-14 00:31:00 +02:00
renovate[bot]
5fdfba2279
chore(deps): update all non-major dependencies (#7853)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-13 15:05:54 +02:00
Ahad Birang
4a9c9a15f3
fix(cli): improve project dir detection for external commands (#7860) 2020-08-05 22:23:25 +02:00
pooya parsa
c30499d7e0 v2.14.1
[release]
2020-08-04 17:33:56 +02:00
Ahad Birang
c609b4b93d
fix(webpack): support string values for corejsVersion (#7849) 2020-08-04 17:12:59 +02:00
Ahad Birang
2eb42876a2
fix(utils): remove optional params in routes ending with index (#7845) 2020-08-04 15:03:00 +02:00
Ahad Birang
ec534d05b9
fix(router): optional dynamic routing in children routes (#7843) 2020-08-04 11:49:12 +02:00
renovate[bot]
c16d199f0f
chore(deps): update dependency caniuse-lite to ^1.0.30001110 (#7842)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-04 11:48:50 +02:00
Matthieu Sieben
128c9743c4
fix(vue-app): handle server-side routing errors (#7801) 2020-08-04 11:29:23 +02:00
Xin Du (Clark)
f130901ab1
fix(core, config): disabe esm cache (#7839) 2020-08-04 11:28:31 +02:00
renovate[bot]
3204f30186
chore(deps): update all non-major dependencies (#7820)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-08-03 15:57:59 +02:00
renovate[bot]
73a87536b5
chore(deps): update all non-major dependencies (#7811)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-30 19:47:08 +02:00
Pooya Parsa
5909de70ea fix: enforce name for all groups to avoid regression (#7808) 2020-07-30 17:10:43 +02:00
Ahad Birang
19e68e770c
fix(crawler): skip external link with no schema (#7806) 2020-07-30 16:22:53 +02:00
pooya parsa
2e1025f2de
fix(webpack): avoid grouping with default name (#7808)
[release]
2020-07-30 16:22:03 +02:00
renovate[bot]
0a4aacc946
chore(deps): update dependency @types/serve-static to ^1.13.5 (#7793)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-29 11:29:26 +02:00
lihbr
3d1526364a
fix(cli): generate still run cache when disabled (#7802)
Co-authored-by: lihbr <lihbr@users.noreply.github.com>
2020-07-29 11:19:46 +02:00
lihbr
4db7e432df
fix(cli): normalize win32 paths for nuxt generate cache snapshots (#7796)
Co-authored-by: lihbr <lihbr@users.noreply.github.com>
2020-07-28 14:38:06 +02:00
Rafał Chłodnicki
e295ae7ffd
fix: add types for build.corejs option and use number (#7789) 2020-07-28 14:33:15 +02:00
pooya parsa
60f68638cb v2.14.0 [release] 2020-07-27 19:23:49 +02:00
pooya parsa
1c8cc4c8e6 fix: add missing create-require dependency for webpack 2020-07-27 18:20:37 +02:00
pooya parsa
b51a4a97e7 fix: use core-js package.json to read version 2020-07-27 18:20:05 +02:00
Matthieu Sieben
aebf0ffefd
fix(webpack): ensure loaders are first searched from @nuxt/webpack (#7787)
[release]

Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-07-27 17:19:47 +02:00
Yaroslav Vorobev
66b4aa2f62
fix(vue-app): nuxt-link prefetch error on fallback page (#7766) 2020-07-27 15:44:10 +02:00
Ahad Birang
6a2576b6f6
feat(webpack): auto detect core-js version (#7785)
* feat: add build option to set corejs version

* fix tests

* refactor: improve error handling and warn for invalid corejs version

* fix: only pick major part

* simplify as we are already using try/catch

Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-07-27 15:36:46 +02:00
renovate[bot]
c9a096f4d0
chore(deps): update dependency caniuse-lite to ^1.0.30001107 (#7781)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-27 11:03:30 +02:00
Kevin Marrec
1977b06d1c
types: fix generate types (#7780) 2020-07-27 11:03:11 +02:00
Ahad Birang
298c3e3ef7
fix(generator): avoid duplicate slashes for routes ending with hash (#7776)
* fix: remove duplicate slashes from crawled routes

* fixture: use trailing slash for hash

* refactor: do trailing slash sanetization after hash removal

* test: enable trailing slash for full-static fixture

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2020-07-27 11:01:24 +02:00
Daniel Roe
5f7d675807
fix(cli): don't use absolute path of .cache/nuxt as transpilation pattern (#7775) 2020-07-27 10:54:56 +02:00
renovate[bot]
775831eb30
chore(deps): update all non-major dependencies (#7760)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-26 17:51:34 +02:00
Ahad Birang
4f27cdded8
fix(webpack): font-family hex issue (#7763) 2020-07-26 17:48:58 +02:00
Ahad Birang
6af76334c5
fix(utils): include routes with children for generation (#7761) 2020-07-26 17:47:56 +02:00
renovate[bot]
45f204c12c
chore(deps): update all non-major dependencies (#7751)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-23 09:51:30 +02:00
Timothy R. Chavez
2dc11a71dc
fix(vue-renderer): read target from class instead of serverContext (#7752) 2020-07-22 14:51:31 +02:00
Martin Novák
b469f931f8
feat(builder): support async extendRoutes (#7754)
Co-authored-by: Martin Novák <martin.novak@cleverlance.com>
2020-07-22 12:30:50 +02:00
renovate[bot]
925220da9a
chore(deps): update all non-major dependencies (#7728)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-21 10:10:29 +02:00
Sébastien Chopin
6ab65fbf4f
fix(vue-app): handle fallback on generated page (#7718)
* fix(vue-app): handle fallback on generated page

* chore: improvements and small refactor

* fix: lint

Co-authored-by: pooya parsa <pyapar@gmail.com>

* chore: add force-build option to nuxt generate

Co-authored-by: pooya parsa <pyapar@gmail.com>

[release]
2020-07-16 19:32:09 +02:00
renovate[bot]
361afcb747
chore(deps): update all non-major dependencies (#7721)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-16 17:15:01 +02:00
pooya parsa
c5a4465572
feat: static target DX improvements (#7712)
[release]

Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: pimlie <pimlie@hotmail.com>
2020-07-16 17:10:54 +02:00
Sébastien Chopin
f81c588bf6
fix(vue-app): don't fetch payload for store mutation for preview and spa fallback (#7723) 2020-07-16 17:10:06 +02:00
renovate[bot]
d1221aab13
chore(deps): update all non-major dependencies (#7693)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-15 13:13:14 +02:00
IKKO-Ohta
e7c01a10f0
types: add cross-origin property to NuxtOptionsRender (#7709) 2020-07-13 11:32:37 +02:00
Harlan Wilton
124cb0994a
feat(vue-renderer): add vue-renderer:spa:prepareContext hook (#7633)
[release]
2020-07-09 15:15:41 +02:00
Alexander Lichter
c5465e65c8
fix(router): show default child if trailingSlash is false (#6594) 2020-07-09 15:08:12 +02:00
Pooya Parsa
5272a48ea9 refactor(server): externalsWhitelist ~> externalsAllowlist 2020-07-09 13:33:20 +02:00
Piotr Tomiak
8d51eebe0c
feat(vue-app): add web-types.json for better code insight in WebStorm (#7611)
* feat(vue-app): add web-types.json for better code insight in WebStorm (#7607)

* fix: add web-types to files section

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2020-07-09 13:11:20 +02:00
renovate[bot]
6bfb7b5bc1
chore(deps): update dependency webpack-node-externals to ^2.3.0 (#7688)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-09 13:00:37 +02:00
Pooya Parsa
2e5bc24f44 chore(deps): update webpack-node-externals to 2.x 2020-07-09 12:55:18 +02:00
Pooya Parsa
ee9553c24d feat(cli): install @nuxt/static by default 2020-07-09 12:52:03 +02:00
renovate[bot]
a4fdbf8aa2
chore(deps): update all non-major dependencies (#7671)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-09 12:39:06 +02:00
renovate[bot]
4da7fb6e23
chore(deps): update all non-major dependencies (#7668)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-05 23:00:22 +02:00
Kevin Marrec
4833915a1b
types: fix module options type (#7670)
[release]
2020-07-05 22:31:57 +02:00
Simon Tretter
b4ffdab790
fix(webpack): fallback for empty chunk name (#7667)
[release]

Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-07-04 17:28:46 +02:00
pooya parsa
e3821ba78c v2.13.3 [release] 2020-07-02 20:06:42 +02:00
Xin Du (Clark)
03424513ce
refactor(csp): remove unsafe-eval in dev mode (#7659) 2020-07-02 19:37:55 +02:00
Denis Karabaza
d4363d4477
fix(vue-app): check plugin key on Vue.prototype instead of Vue (#7656) 2020-07-02 18:43:32 +02:00
Sébastien Chopin
191f66a19b
fix(vue-app): handle layout on client error (#7654)
[release]
2020-07-02 18:22:12 +02:00
Sébastien Chopin
2f07f66fb8
fix(vue-app): don't fetch payload on first spa fallback render (#7657) 2020-07-02 18:19:32 +02:00
pooya parsa
2302ffa40b fix(webpack): use group hash if compact name is long
Similar fix of webpack/webpack#6429 [release]
2020-07-02 16:27:10 +02:00
renovate[bot]
6979b304ee
chore(deps): update all non-major dependencies (#7642)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-07-02 10:59:38 +02:00