Commit Graph

1554 Commits

Author SHA1 Message Date
renovate[bot]
60c3bc6b9e
chore(deps): update all non-major dependencies (#8623) 2021-01-12 09:47:50 +00:00
Xin Du (Clark)
2b3eefc3a1
refactor(vue-app): simplify scrollToTop checking (#8621) 2021-01-12 09:47:29 +00:00
Daniel Roe
3265e94979
fix(vue-app): check for Page.options before looking within (#8612)
closes #8234
2021-01-11 17:04:33 +00:00
renovate[bot]
db5cea1d17
chore(deps): update all non-major dependencies (#8595) 2021-01-11 16:54:27 +00:00
Daniel Roe
71a3df8443
fix(vue-app): don't remove req/res/query unless in full static mode (#8611)
closes #7965
2021-01-11 11:11:00 +01:00
Daniel Roe
3bba4c6a7f
fix(vue-app): check that link.__prefetch exists before calling it (#8608)
closes #8173
2021-01-08 19:23:55 +01:00
Ahad Birang
746b14319a
fix(vue-app): add id attribute to noopApp (#8596) 2021-01-05 14:14:39 +01:00
Pooya Parsa
c15078fa64 _fix(cjs): always use native require for jest environemnt
[release]
2021-01-04 13:58:05 +01:00
Pooya Parsa
cd7b9ca5d8 _fix(config): always use jiti to load config
closes #8576 [release]
2021-01-04 13:40:41 +01:00
renovate[bot]
c59868e1a6
chore(deps): update all non-major dependencies (#8575)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-04 13:32:46 +01:00
renovate[bot]
8edafbeb44
chore(deps): update dependency jiti to ^0.1.19 (#8573)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-30 15:07:36 +01:00
renovate[bot]
1f23f12fa3
chore(deps): update all non-major dependencies (#8572)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-30 11:04:13 +00:00
Xin Du (Clark)
fd0352cc8f
feat(postcss): support postcss v8 with explict postcss installation (#8546)
* feat(postcss): support postcss v8 with explict postcss installation

* fix options name

* use postcss.vendor to check postcss 8
2020-12-29 13:16:01 +01:00
Xin Du (Clark)
6b4d451b66
fix(dev): resolve module required by create-require in jiti (#8556)
* fix(dev): resolve module required by create-require in jiti

* fix test

* add useJITI to create require

* refactor default options.createRequire
2020-12-29 13:15:12 +01:00
renovate[bot]
80605294b2
chore(deps): update dependency caniuse-lite to ^1.0.30001171 (#8565)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-29 12:17:10 +01:00
renovate[bot]
ef25695579
chore(deps): update dependency boxen to v5 (#8567)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-29 12:16:51 +01:00
Xin Du (Clark)
b2e38f5c92
fix(webpack): can't resolve absolute url in css (#8555) 2020-12-27 23:53:05 +00:00
Beorn Facchini
ac762299a1
fix(vue-app): scroll to top on route changes only (#8557) 2020-12-26 20:19:33 +01:00
renovate[bot]
e9650c744f
chore(deps): update all non-major dependencies (#8540)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-26 12:57:09 +00:00
Xin Du (Clark)
0bc9d249c3
fix(babel): enable polyfilling of proposal supported by core-js (#8545) 2020-12-23 15:16:02 +01:00
Pooya Parsa
b4663d2bfb _fix(webpack): resolve from rootDir with higher periority
[release]
2020-12-23 11:47:56 +01:00
Pooya Parsa
d3ef163004 _fix(pnp): resolve module dependencies 2020-12-23 11:43:55 +01:00
Pooya Parsa
5bd4fe08c6 chore: fix pnp issues [release] 2020-12-23 01:37:44 +01:00
Pooya Parsa
57c6f23a52 _fix: use pwd as last option for resolveModule
[release]
2020-12-23 00:36:15 +01:00
Pooya Parsa
a31a878db5 fix(babel-preset-app): add implicit dependencies compact-data and core-js-compat 2020-12-23 00:34:20 +01:00
Pooya Parsa
d4461a56e4 refactor: consistent behavior for resolveModule
- always prefer explicit paths config
- avoid implicitly depending on pwd
2020-12-23 00:29:50 +01:00
Pooya Parsa
4295c6ca26 _fix(webpack): resolve postcss plugins including package 2020-12-23 00:10:20 +01:00
Pooya Parsa
7b59b21511 refactor: rename requirePath to path
more constency with require.resolve(id, { paths })
2020-12-23 00:07:58 +01:00
Pooya Parsa
ed6e8cd307 chore(builder): remove validateTemplate check
by introducing pnp support, there is no stable way to resolve same as webpack
2020-12-23 00:06:08 +01:00
Pooya Parsa
49ceba698c chore: fix issues with pnp [release] 2020-12-22 21:05:25 +01:00
Pooya Parsa
108cd8216a chore: reorder deps 2020-12-22 18:40:31 +01:00
renovate[bot]
21954ba1a3
chore(deps): update all non-major dependencies (#8537)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-22 18:23:04 +01:00
Pooya Parsa
7529d65d75 chore: migrate from @nuxt/ufo to ufo 2020-12-22 18:20:41 +01:00
Daniel Roe
9681a8937d
feat(config, vue-app, vue-renderer): support dynamic base and publicPath (#8520)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-12-22 18:15:59 +01:00
pooya parsa
dec8f99fc3
feat: support plug-and-play, typescript runtime and native modules (#8389)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-12-22 18:07:50 +01:00
Flo Edelmann
df87597098
fix(types): add missing redirect overload to Context interface (#8530) 2020-12-22 12:32:23 +01:00
renovate[bot]
b64ee2c8ef
chore(deps): update all non-major dependencies (#8518)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-12-20 12:21:46 +01:00
Daniel Roe
8c8793073f
fix(vue-app): set push on router instance rather than prototype (#8523)
resolves #7479
resolves #8522
2020-12-20 12:21:20 +01:00
pooya parsa
b06df71753
fix: trailingSlash and child routes not working (#8423) 2020-12-17 14:34:53 +01:00
Daniel Roe
fb191d2fbd
fix(vue-app, vue-renderer, utils): respect trailingSlash setting for payloads (#8489)
* fix(utils): don't inject a trailing slash on catchall routes (e.g. `/*/`)

closes #8488

* fix(vue-app, vue-renderer): respect `trailingSlash` setting for payloads

* refactor: use new ufo `parsePath` utility

Co-authored-by: pooya parsa <pyapar@gmail.com>
2020-12-17 12:51:14 +01:00
renovate[bot]
33143038b1
chore(deps): update dependency vue-loader to ^15.9.6 (#8506)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-17 12:50:48 +01:00
Daniel Roe
92018e586b
feat(vue-app): support custom fetchKey for full static generation (#8466)
[release]
2020-12-17 12:49:59 +01:00
renovate[bot]
5a5161aa52
chore(deps): update dependency @nuxt/ufo to ^0.5.2 (#8499)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 15:22:23 +01:00
renovate[bot]
fedba22f73
chore(deps): update all non-major dependencies (#8463)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-16 14:42:38 +01:00
Pooya Parsa
a78427c165 v2.14.12 [hotfix] [release] 2020-12-16 14:21:30 +01:00
Pooya Parsa
bde4c5f6b0 v2.14.12 2020-12-16 14:13:06 +01:00
pooya parsa
a25bdd622d
fix: fix issues with url handling (#8494) 2020-12-16 14:12:16 +01:00
Daniel Roe
1269773d9d
fix(vue-app): do not preserve state when registering client-side dynamic module (#8486) 2020-12-14 10:52:02 +01:00
Sébastien Chopin
dd7f767d13
fix(generator): ensure manifest dir exists (#8474) 2020-12-11 13:34:13 +01:00
Pooya Parsa
07a6bbe2b0 chore: fix router base handling with dev-middleware (closes #8440)
[release]
2020-12-10 11:40:20 +01:00
Pooya Parsa
568f9fddd9 chore: add missing url-polyfill dependency 2020-12-10 11:35:56 +01:00
renovate[bot]
31483310f0
chore(deps): update all non-major dependencies (#8449)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-10 11:34:28 +01:00
Pooya Parsa
79c6cb5ee3 v2.14.11 [hotfix] 2020-12-10 00:25:44 +01:00
Pooya Parsa
d85f4b9264 v2.14.11 [release] 2020-12-10 00:20:26 +01:00
pooya parsa
966796fbdf
fix: fix issues with route normalization (#8462)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-12-10 00:19:31 +01:00
Pooya Parsa
85bb97906c v2.14.10 [hotfix] 2020-12-07 11:37:14 +01:00
Pooya Parsa
e97051adfa v2.14.10 [release] 2020-12-07 11:28:46 +01:00
pooya parsa
fc51ca3330
fix: normalize routes and decode resolved query (#8430) 2020-12-06 18:32:39 +01:00
renovate[bot]
31d6abcdb8
chore(deps): update all non-major dependencies (#8441)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-06 16:38:42 +01:00
renovate[bot]
f4ed68360e
chore(deps): update dependency execa to v5 (#8434)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-03 12:01:55 +01:00
renovate[bot]
47c4054d23
chore(deps): update all non-major dependencies (#8424)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-03 12:01:23 +01:00
renovate[bot]
f8c616037e
chore(deps): update dependency chalk to v4 (#8428)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-03 12:01:13 +01:00
Pooya Parsa
dad4590613 chore: 2.14.9 hotfix 2020-12-02 11:39:55 +01:00
Pooya Parsa
e9f380c9e6 v2.14.9 [release] 2020-12-02 11:34:18 +01:00
pooya parsa
49c293b25f
fix: only encode non dynamic path params (#8421) 2020-12-01 16:01:25 +01:00
renovate[bot]
8139352afe
chore(deps): update all non-major dependencies (#8418)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-01 13:03:21 +01:00
Xin Du (Clark)
ab039f051a
feat: update all dependencies that require node 10.x (#8346) 2020-12-01 12:40:50 +01:00
Daniel Roe
8d9d6a94d2
feat(vue-renderer): allow adding async attribute to <script> tags (#8347) 2020-12-01 12:10:44 +01:00
Pooya Parsa
68d8fb8487 v2.14.8 [release] 2020-12-01 12:05:12 +01:00
renovate[bot]
c0ec003da5
chore(deps): update all non-major dependencies (#8417)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-12-01 10:15:00 +01:00
Perlover
0bd21413cb
fix(server): remove virtualConsole option when disabled (#8263) 2020-12-01 10:14:45 +01:00
Pooya Parsa
3b19e3f4b8 chore: update tests 2020-11-30 23:54:30 +01:00
pooya parsa
c15fc421ab
refactor: use nuxt everywhere (#8210) 2020-11-30 23:44:04 +01:00
padinko
da38f96f03
fix(webpack): allow transpiling package in nested node_modules (#8205) 2020-11-30 23:26:46 +01:00
Pooya Parsa
a8cc430574 chore: remove extra import 2020-11-30 23:25:44 +01:00
renovate[bot]
8d20da91c3
chore(deps): update all non-major dependencies (#8396)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-30 23:18:57 +01:00
pooya parsa
cc1f6d94b5
fix: handle route encoding (#8325)
Co-authored-by: farnabaz <farnabaz@users.noreply.github.com>
2020-11-30 23:10:02 +01:00
Ahad Birang
7cac3c7fc9
fix(vue-router): force chidren to be required if default child is present (#8394) 2020-11-30 23:08:33 +01:00
Daniel Roe
09748d489e
fix(cli): respect router.trailingSlash when serving static files (#8398) 2020-11-30 15:57:37 +01:00
Pooya Parsa
e02fecdf5b chore(pkg): removed unused dependency @nuxt/static 2020-11-25 15:53:32 +01:00
Cain Hall
b80056c96c
fix(generator): nested route missing trailingSlash (#8237)
[release]
2020-11-25 15:24:13 +01:00
Zuckjet
135456f051
fix(csp): apply right csp header when status code is 304 (#8352) 2020-11-25 15:22:32 +01:00
Sébastien Chopin
691f21c683
fix(vue-app): handle missing payloads on full static (#8314)
* fix(vue-app): handle missing payloads on full static

Fixes #7717

* chore: rename routesManifest to manifest

* chore: remove console.log

* chore(vue-app): don't have staticAssetsBase if undefined

* chore: add manifest option

* test: update snapshot

* chore: use foundRoute to avoid multiple vars name

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2020-11-25 15:19:29 +01:00
renovate[bot]
e635cc5044
chore(deps): update all non-major dependencies (#8326)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-25 15:15:58 +01:00
Daniel Roe
9ce75c5dfe
fix(types): correct vue.config types (#8362) 2020-11-18 10:30:54 +01:00
Daniel Roe
7278b10112
fix(vue-app): warn if promises and functions are in fetch state (#8348) 2020-11-16 09:43:20 +01:00
Mathieu TUDISCO
f36a6a0ff6
fix(types): add missing isFetching and nbFetching to NuxtApp interface (#8349) 2020-11-16 09:31:21 +01:00
renovate[bot]
57aa7cc54d
chore(deps): update dependency node-html-parser to v2 (#8329) 2020-11-14 23:20:24 +00:00
Daniel Roe
b050861332
fix(generator): respect publicPath for static assets (#8344)
* fix: respect publicPath for static assets

* test: add test for correct `publicPath` URL handling
2020-11-14 23:10:16 +01:00
renovate[bot]
e934da3c36
chore(deps): update devdependency @nuxtjs/eslint-config to v5 (#8345)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-11-14 17:10:53 +00:00
Audrius Jakumavicius
80571bc05d
fix(cli): handle generate.cache.ignore as a function in ensureBuild (#8337) 2020-11-12 15:03:06 +01:00
Pooya Parsa
8b8eb84c89 chore: pin vue-router to 3.4.8 2020-11-09 20:01:54 +01:00
Orkhan Alikhanov
3e480fdadc fix(types): NuxtOptionsHead can be a function (#8319)
[deprecated]
2020-11-09 18:26:38 +01:00
Sébastien Chopin
e601f0a0d6
chore(server): redirect if router.base specified in development (#8313) 2020-11-09 18:17:32 +01:00
renovate[bot]
63f5a0ed8c
chore(deps): update all non-major dependencies (#8300)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-11-09 18:11:56 +01:00
Pim
2c6610cfb8
fix(vue-app): triggerScroll when transitions is disabled (#8225) 2020-11-06 09:38:08 +01:00
Daniel Roe
005daebfce
fix(types): add missing ssrContext and next typings to Context (#8302)
closes #8296
2020-11-06 09:36:40 +01:00
renovate[bot]
8a25a91b60
chore(deps): update all non-major dependencies (#8267) 2020-11-04 13:59:02 +00:00
Xin Du (Clark)
418405c216
chore(actions): speed up windows build (#8265) 2020-11-04 13:38:38 +00:00
Daniel Roe
442b6c07c9
fix(vue-app): use nuxt globalName correctly in nuxt-link and fetch mixin (#8289) 2020-11-04 13:35:29 +00:00
Daniel Roe
e14b7201b4
fix(vue-app): prevent redirection loop with uri encoded path (#8280) 2020-11-04 13:35:12 +00:00
renovate[bot]
44df8cc1b1
chore(deps): update dependency caniuse-lite to ^1.0.30001154 (#8264)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-29 22:15:26 +00:00
renovate[bot]
918b589772
chore(deps): update all non-major dependencies (#8224)
* chore(deps): update all non-major dependencies

* fix lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-10-29 21:47:05 +00:00
renovate[bot]
d5c05054fe
chore(deps): update all non-major dependencies (#8211)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-19 11:59:14 +02:00
Steve Perkins
2547605164
fix(cli): grammatical errors (#8219)
* Fixed grammatical errors

* Update packages/cli/src/commands/generate.js

Co-authored-by: Daniel Roe <daniel@roe.dev>

Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2020-10-19 11:58:42 +02:00
pooya parsa
265d0e7aac v2.14.7
[release]
2020-10-15 18:17:49 +02:00
Sébastien Chopin
7e7190b90d
fix: add better logs for DX with target option (#8206)
* fix: add better logs for DX with target option

* chore: add warning for old nuxt build in ssr false

* Update generator.js

* Update generate.js

* chore: better logs

* fix: update
2020-10-15 18:12:06 +02:00
renovate[bot]
044d07cb17
chore(deps): update all non-major dependencies to ^7.12.0 (#8207)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-15 13:11:27 +02:00
pooya parsa
c75ac80f36
fix(babel-preset-app): always transpile optional chaining and nullish-coalescing for server (#8203) 2020-10-14 16:02:13 +02:00
pooya parsa
d9f48228fe
fix(cli): rebuild if process.env changes in nuxt.config (#8200) 2020-10-14 10:30:44 +02:00
renovate[bot]
b533877b6a
chore(deps): update all non-major dependencies (#8197)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-13 21:07:29 +02:00
pooya parsa
819afcdeb4
fix(cli): avoid error about nuxt-edge if installed in parent node_modules (#8194) 2020-10-13 12:20:04 +02:00
renovate[bot]
5b87d1cfc0
chore(deps): update all non-major dependencies (#8177)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-13 12:19:36 +02:00
Daniel Roe
9c4dac3c61
fix(vue-app): use getter to provide this.$nuxt (#8170) 2020-10-13 12:19:08 +02:00
Daniel Roe
a748cf0ca3
fix(types): add type for serverMiddleware object format (#8182) 2020-10-11 00:34:37 +02:00
renovate[bot]
00c9dc3fc2
chore(deps): update dependency @types/node to ^12.12.67 (#8171)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-09 12:03:26 +02:00
Daniel Roe
81030bef6b
fix(types): make NuxtConfig an interface (#8169) 2020-10-09 12:03:04 +02:00
renovate[bot]
1b1ef37fcb
chore(deps): update dependency upath to v2 (#8157)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-08 16:36:19 +02:00
renovate[bot]
f0c1375477
chore(deps): update all non-major dependencies (#8137)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-10-08 16:34:45 +02:00
Xin Du (Clark)
202f35584b
fix(cli): mode deprecation with explicit spa or universal flag (#8134) 2020-10-08 16:30:02 +02:00
Sébastien Chopin
34f32113b4
fix(generator): handle when no routes.json defined (#8166) 2020-10-08 16:29:30 +02:00
Clark Du
61e93d01f9 Revert "fix(vue-app): use mixin to provide this.$nuxt (#8068)"
This reverts commit 8abdc177be.
2020-09-30 12:08:57 +01:00
Daniel Roe
8abdc177be
fix(vue-app): use mixin to provide this.$nuxt (#8068)
Co-authored-by: Clark Du <clark.duxin@gmail.com>
2020-09-30 11:16:16 +01:00
Dmitriy
79440f3ce5
fix(vue-app): scrollRestoration hasn't set (#8055) 2020-09-30 10:57:36 +01:00
renovate[bot]
3aa02cf00c
chore(deps): update all non-major dependencies (#8131)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2020-09-30 10:55:52 +01:00
renovate[bot]
d7a8548d53
chore(deps): update all non-major dependencies (#8101) 2020-09-28 10:57:10 +01:00
pooya parsa
41176577ad v2.14.6
[release]
2020-09-21 12:30:19 +02:00
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