Commit Graph

1242 Commits

Author SHA1 Message Date
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
Sébastien Chopin
d8dace9748
fix: handle nuxt static command (#7647)
[release]
2020-07-01 17:45:56 +02:00
pooya parsa
1edac29eba
fix(webpack): use compact name for concatenated modules (#7639)
[release]
2020-06-30 19:47:42 +02:00
renovate[bot]
62282853a8
chore(deps): update all non-major dependencies (#7634)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-30 19:20:53 +02:00
Konstantin Barabanov
b4d3ebf472
fix(vue-app): sanitize path with trailing slash in getLocation (#6744) (#6745) 2020-06-30 19:16:21 +02:00
Daniel Roe
6b06ab201e
types: import types for @nuxt/telemetry and @nuxt/components (#7626)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-06-30 10:49:31 +02:00
Xin Du (Clark)
23324b9eae
fix(webpack): modern build should wait for legacy assets (#7635)
#7562
2020-06-29 17:44:08 +02:00
renovate[bot]
ffb340cc5c
chore(deps): update all non-major dependencies (#7621)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-28 12:27:57 +02:00
pooya parsa
c998072c94 v2.13.2 2020-06-26 20:58:45 +02:00
renovate[bot]
000ad67f99
chore(deps): update dependency consola to ^2.14.0 (#7617) 2020-06-26 17:10:50 +02:00
pooya parsa
a52385361b
fix(vue-app): remove hash from payload path (#7614)
* fix(vue-app): remove hash from payload path

* test: add hash usage to full-static fixture
2020-06-26 17:10:24 +02:00
Denis Karabaza
a87218b745
fix(webpack): explicitly pass outputFileSystem to webpackDevMiddleware (#7613) 2020-06-26 14:55:45 +02:00
renovate[bot]
330c5643e8
chore(deps): update all non-major dependencies (#7609)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-26 13:35:31 +02:00
pooya parsa
b070e19a15 fix(core): only warn for duplicate module if metaKey is not specified 2020-06-25 16:52:40 +02:00
pooya parsa
b0274357b3
fix(cli): listen to a random port for export and generate (#7608) 2020-06-25 16:48:04 +02:00
Sébastien Chopin
fe01ec34d3
fix(vue-app): no need to set layout on App (#7606) 2020-06-25 15:23:06 +02:00
Michał Kędrzyński
4a0cf8f404
fix(utils): flat routes if child routes have absolute paths (#7604) 2020-06-25 14:42:16 +02:00
pooya parsa
d0056fbcc8 fix(core): avoid breaking change for duplicate modules (resolves #7605) 2020-06-25 14:34:31 +02:00
Dmitry Molotkov
d89812f241
fix(webpack): chunk name normalization for catch-all pages and windows (#7603) 2020-06-24 22:46:16 +02:00
pooya parsa
56b158e7d6 v2.13.1 [release] 2020-06-24 10:36:15 +02:00
pooya parsa
12d6702eba chore: fix dev version
fixes components version check during nuxt development
2020-06-24 10:23:29 +02:00
renovate[bot]
e1de5e8667
chore(deps): update all non-major dependencies (#7594)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-24 10:03:26 +02:00
Sébastien Chopin
6332aaa3a2 fix: check correct layout when navigating from error
Resolves #7567
2020-06-23 19:54:47 +02:00
pooya parsa
11a87d858d
fix(vue-app): always import resolveRouteComponents (#7591)
[release]
2020-06-23 17:48:09 +02:00
Kevin Marrec
c00407090a
types: fix module and typescript compatibility and add missing crawler definition (#7590)
[release]
2020-06-23 17:44:23 +02:00
renovate[bot]
68e7285358
chore(deps): update all non-major dependencies (#7583)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-23 13:30:36 +02:00
renovate[bot]
ce28f68d3c
chore(deps): update dependency @types/html-minifier to v4 (#7574)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-22 11:54:15 +02:00
renovate[bot]
4c410e351d
chore(deps): update all non-major dependencies (#7557)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-22 11:50:56 +02:00
Pooya Parsa
dbecbe4ada v2.13.0 [release] 2020-06-18 18:48:36 +02:00
Pooya Parsa
b6e8b74833 feat(types): add runtimeConfig types (nuxt/typescript#368)
Co-Authored-By: Kevin Marrec <kevin@marrec.io>
2020-06-18 18:07:08 +02:00
Sébastien Chopin
99432d5d94 fix(generator): rename export hook to distRemoved 2020-06-18 17:45:06 +02:00
Xin Du (Clark)
7f1429ebb3
fix(vue-app): not strip trailing slash for redirect external domain (#7533) 2020-06-18 17:32:39 +02:00
pooya parsa
a88953fe8f
feat(cli): improve banner lines dx (#7537)
* feat: improve banner ocdx

* chore: make NODE_ENV more clear

* chore: update tests and improvements

* shame on me

* chore: mode ~> rendering
2020-06-17 16:37:19 +02:00
Sébastien Chopin
5cfaf0aca1
refactor(banner): reduce boxen size (#7532)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-06-16 21:48:58 +01:00
Ryan Henning
838394815d
fix(vue-app): redirect no longer strips trailing slash from URL (#7475) 2020-06-16 20:37:47 +01:00
pooya parsa
92ef65c8ed
fix(generator): encode routes and show error summary (#7518) 2020-06-16 17:53:29 +02:00
Pooya Parsa
2faa30259f chore(deps): update @nuxt/loading-screen to 2.0.0-rc.4 2020-06-16 15:48:10 +02:00
renovate[bot]
f8c0b781ab
chore(deps): update dependency rc9 to v1 (#7528)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-16 15:44:18 +02:00
renovate[bot]
833ea4d585
chore(deps): update dependency destr to v1 (#7525)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-16 14:41:41 +02:00
renovate[bot]
f2f50115d7
chore(deps): update all non-major dependencies (#7512)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-16 11:28:39 +02:00
Sébastien Chopin
68d498b2f4
fix(generator): handle nuxt build --no-build (#7523) 2020-06-15 21:42:42 +02:00
Bogdan Gradinariu
3082567200 fix(core): improve module not found error (#7267)
Co-authored-by: pooya parsa <pooya@pi0.ir>
2020-06-15 17:45:50 +02:00
Xin Du (Clark)
8fb196c5d5
fix(modern): modern is wrongly enalbed in full static (#7509)
[release]
2020-06-12 21:36:08 +02:00
renovate[bot]
b13f9355dd
chore(deps): update dependency jiti to ^0.1.9 (#7508)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-12 20:41:40 +02:00
Sébastien Chopin
44f471f141 hotfx(vue-app): app is not defined
[release]
2020-06-12 19:41:41 +02:00
renovate[bot]
b19006d1c7
chore(deps): update all non-major dependencies (#7494)
[release]
2020-06-12 15:30:36 +02:00
Dumitru Motpan
c540b133a4
feat(server): add new render:beforeResponse hook (#7469) 2020-06-12 15:21:20 +02:00
Kevin Marrec
752d587ef1
fix(types): router types fix for vue-router 3.3.3 (#7503) 2020-06-12 15:15:50 +02:00
Xin Du (Clark)
245d32d0dc
fix(modern): modulepreload not work in generate (#7498) 2020-06-12 10:18:16 +01:00
Xin Du (Clark)
db65c2eb6b
feat: createRequire option and disable esm for jest (#7476) 2020-06-11 15:59:13 +02:00
renovate[bot]
87f1a8d144
chore(deps): update dependency serialize-javascript to v4 (#7482)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-11 11:30:49 +02:00
Pim
df7e1ad3a2
fix(vue-renderer): fix meta injection when ssr renderer generates a spa page (#7439) 2020-06-10 17:26:50 +02:00
Sébastien Chopin
7c6e170a89
fix: handle router.base for crawler and serve (#7486)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-06-10 09:51:29 +02:00
renovate[bot]
4ca3c769e3
chore(deps): update all non-major dependencies (#7487)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-10 09:30:01 +02:00
pooya parsa
796282ceec
feat: improve production debugging dx (#7463) 2020-06-09 21:45:52 +02:00
renovate[bot]
2abbb9957d
chore(deps): update all non-major dependencies (#7480)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-09 20:03:23 +02:00
Johannes Lamberts
846cfee170
fix(webpack): reduce false negatives in nodeExternals (#7462) (#7464) 2020-06-09 18:40:39 +02:00
Jonas Galvez
0acfc78932
fix(vue-app): prevent double layout execution (#5703) (#7442) 2020-06-09 18:39:51 +02:00
renovate[bot]
cbbf6652cd
chore(deps): update all non-major dependencies (#7457)
[release]
2020-06-08 13:01:40 +02:00
Deniz Temizer
b45f284771
chore(cli): enhance generate no-build description (#6031) (#7460) 2020-06-04 20:41:09 +02:00
Ahad Birang
be726e42b6
feat(generator): allow excluding exported pages using export:page hook (#7455) 2020-06-03 21:35:28 +02:00
pooya parsa
1e4ce5055e
refactor: ad-hoc modules (#7452) 2020-06-03 21:34:10 +02:00
renovate[bot]
15bc5b06e6
chore(deps): update all non-major dependencies (#7453)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-03 21:27:08 +02:00
Daniel Roe
0610f0b343
feat(webpack): allow babel plugins to be defined by function (#7443) 2020-06-03 21:26:37 +02:00
renovate[bot]
8933d375e9
chore(deps): update all non-major dependencies (#7447)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-02 12:37:55 +02:00
renovate[bot]
484e70fdd8
chore(deps): update all non-major dependencies (#7433)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-06-01 18:48:09 +02:00
Pooya Parsa
35f3ad7de3
fix: use different port for loading-screen sse (#7286)
* chore: read sse base from _loadingScreenBaseURL

* bump: @nuxt/loading-screen to 2.0.0-rc.1
2020-06-01 17:30:26 +02:00
Pooya Parsa
a544fc7241
types: move @nuxt/types to nuxt mono-repo (#7432)
[release]
2020-05-28 21:30:02 +02:00
Pooya Parsa
3db31abb05
feat(config): support .nuxtrc (#7430)
[release]
2020-05-28 18:27:49 +02:00
Alexander Lichter
c14471681c
fix(generator): respect options.router.trailingSlash for crawler (#7431) 2020-05-28 18:26:27 +02:00
renovate[bot]
2e711c143b
chore(deps): update all non-major dependencies (#7427)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-28 16:46:15 +02:00
renovate[bot]
48b11c095f
chore(deps): update all non-major dependencies (#7424)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-28 13:16:14 +02:00
renovate[bot]
5c348c0618
chore(deps): update all non-major dependencies (dev) (#7419)
* chore(deps): update all non-major dependencies

* update size limits
2020-05-27 23:27:20 +02:00
Pooya Parsa
a82f8d8b1f
feat(generator): export:route hook and setPayload (#7422)
* feat(generator): shared payload support for `nuxt export`

* feat: add `export:` hooks for upward compatibility

* fix: use setPayload to avoid breaking usage

* test: update test

* fix: deep assign

* chore: update tests

* fix: route payload has more periority than shared one

* test: update generator hook tests

* lint: remove unnecessary import
2020-05-27 16:51:51 +02:00
Kevin Marrec
618eb5fad0
fix(config): remove runtimeConfig string fallback (#7421)
[release]
2020-05-27 15:38:29 +02:00
Pooya Parsa
6cbcd59d4e
feat(config): improved runtimeConfig (#7420)
* fix: ensure interpolate value is a string

* feat: allow native values from dotenv

* test: update test for regression on native value check
2020-05-27 12:38:39 +02:00
renovate[bot]
2383bcbd0f
chore(deps): update all non-major dependencies (#7417)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-26 21:02:56 +02:00
renovate[bot]
ca32427d2e
chore(deps): update all non-major dependencies (#7403)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-25 21:33:34 +02:00
Sébastien Chopin
f13b3752b2
feat: experimental nuxt telemetry (#7408)
[release]

Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: pooya parsa <pooya@pi0.ir>
2020-05-22 20:51:53 +02:00
Pooya Parsa
1e53e38f8d
refactor: inline staticAssetsBase in state chunk for full-static (#7401)
* refactor(vue-app): use NUXT.serverRendered instead of NUXT.spa

* refactor: inline staticAssetsBase into state.js chunk

* revert: unwanted change

[release]
2020-05-20 19:31:31 +02:00
Sébastien Chopin
60ae0fb011
fix(generator): keep generating pages in SPA (#7400)
* fix(generator): keep generating pages in SPA

* chore: fix lint error

Co-authored-by: pooya parsa <pooya@pi0.ir>
2020-05-20 17:55:54 +02:00
Pooya Parsa
0bdc71c8d8
refactor(config): alias export to generate (#7399)
* refactor: alias option.export to options.generate

* chore: keep same references
2020-05-20 17:43:25 +02:00
renovate[bot]
51411268af
chore(deps): update all non-major dependencies (#7385)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-05-20 17:23:32 +02:00
Pooya Parsa
6a6794e020
feat: components (#7374)
[release]
2020-05-18 13:58:48 +02:00
Pooya Parsa
0337932115
feat: runtime config and built-in dotenv support (#7312)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Alexander Lichter <manniL@gmx.net>
2020-05-18 10:21:15 +02:00
Sibbngheid
0c81c52c41
fix: set build indicator icon height for ie11 (#7378) 2020-05-17 21:42:00 +02:00