Commit Graph

1661 Commits

Author SHA1 Message Date
Thomas Beduneau
04d33829f9
fix(vue-app): use app.context.route for resolving components (#9050) 2021-04-01 12:00:51 +02:00
vcordes79
c04a793b4a
fix(vue-app): fallback to global nuxt instance of $root is not available (#9008) 2021-03-31 19:52:32 +02:00
renovate[bot]
b602cfa2be
chore(deps): update all non-major dependencies (#9081)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-31 18:21:10 +02:00
Daniel Roe
4ff279ba5e
fix(types): use options from sass-loader rather than sass (#9086) 2021-03-31 18:16:39 +02:00
Xin Du (Clark)
1be68ca129
types: inline @types/terser-webpack-plugin (#9078) 2021-03-31 17:55:57 +02:00
renovate[bot]
558227f628
chore(deps): update all non-major dependencies (#9068)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-30 22:10:03 +01:00
Daniel Roe
ca020cf9cb
refactor: move internal app runtime config to _app namespace (#9075) 2021-03-30 18:38:51 +02:00
renovate[bot]
589f3c0fa1
chore(deps): update all non-major dependencies (#9042)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-28 20:29:05 +02:00
rinu
3fb9194416
fix(vue-app): reload page once after loading chunk error (#8978) 2021-03-28 20:25:05 +02:00
Daniel Roe
248a5c85a9
chore(types): add stub entrypoint to allow node resolution of @nuxt/types (#9059)
see https://github.com/microsoft/TypeScript/issues/18008#issuecomment-804299674

closes #9030
2021-03-28 20:19:45 +02:00
zzzmisa
9065f63edf
fix(types): css-loader v4 type definitions (#9053) 2021-03-26 11:34:28 +01:00
Daniel Roe
a6fc5da5f8
fix(config): merge app namespace rather than overriding (#9039) 2021-03-25 11:20:17 +01:00
renovate[bot]
3e94b6a245
chore(deps): update all non-major dependencies (#9032)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-23 19:17:43 +01:00
Daniel Roe
1474f14fc0
fix(server): avoid caching .js assets in development to fix HMR for safari (#9034) 2021-03-23 19:07:35 +01:00
Daniel Roe
2c4cc04b49
fix(vue-app): re-call $fetch if data is missing in payload (#9026) 2021-03-23 19:04:54 +01:00
renovate[bot]
24c71dc3c3
chore(deps): update all non-major dependencies (#9029)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-22 19:33:48 +00:00
renovate[bot]
94e98c624b
chore(deps): update dependency node-html-parser to v3 (#8886)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-22 11:35:39 +01:00
Evan Ma
89e8fe07b8
fix(config): compile type compatibility in css-loader v4 (#9014) 2021-03-22 11:30:19 +01:00
Daniel Roe
bc3b21a9bb
fix(vue-app): handle redirect functions in routes (#9024)
closes #8979
2021-03-22 11:29:27 +01:00
renovate[bot]
e90eb1515c
chore(deps): update dependency globby to ^11.0.3 (#9025)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-22 11:29:03 +01:00
Thomas Beduneau
e8ea37673f
fix(vue-app): use app.context.route to match components in server 2021-03-22 11:24:34 +01:00
renovate[bot]
6f1c658c90
chore(deps): update all non-major dependencies (#9019)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-22 11:21:29 +01:00
renovate[bot]
9247190ca2
chore(deps): update all non-major dependencies (#9007) 2021-03-19 18:22:54 +00:00
Daniel Roe
b765552104
fix(types): don't require all csp policies as keys (#9018) 2021-03-19 15:28:03 +00:00
ChangJoo Park(박창주)
0921ceeb2e
chore(lint): add indent result of createApp (#8982) 2021-03-16 21:41:57 +00:00
renovate[bot]
ddc256622a
chore(deps): update all non-major dependencies (#8974)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-16 21:40:03 +00:00
Daniel Roe
683dd1739f
fix(cli): remove warning if postcss 8 is installed (#8996)
[release]
2021-03-16 13:37:09 +01:00
Pooya Parsa
f08f4efcde v2.15.3 2021-03-10 13:28:36 +01:00
renovate[bot]
f4417eeed2
chore(deps): update dependency caniuse-lite to ^1.0.30001198 (#8965)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-10 12:51:07 +01:00
Daniel Roe
69b5264ef3
fix: allow relative public paths (#8935) 2021-03-10 12:48:41 +01:00
renovate[bot]
3fd9a659ed
chore(deps): update all non-major dependencies (#8944)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-09 19:11:58 +01:00
Daniel Roe
0d68679947
fix(types): export interface for NuxtConfig instead of type (#8953) 2021-03-08 14:21:15 +00:00
Daniel Roe
7841bd0614
fix(webpack): update hmr option for extract-css-chunks-webpack-plugin (#8951)
closes #5390
2021-03-08 11:15:47 +00:00
Xin Du (Clark)
c610d95507
chore(deps): upgrade to @nuxtjs/eslint-config v6 (#8942) 2021-03-07 12:40:05 +00:00
pooya parsa
94fff623f1
fix: allow force overriding resolve paths (#8936)
[release]
2021-03-05 18:19:26 +01:00
renovate[bot]
0bcf5b8dbe
chore(deps): update all non-major dependencies (#8917)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-03-05 18:10:19 +01:00
Hannes Küttner
07e97f168a
fix(vue-renderer): respect injectScripts for target:static (#8912) 2021-03-01 20:29:51 +00:00
renovate[bot]
880fe4abd7
chore(deps): update all non-major dependencies (#8909) 2021-03-01 20:28:23 +00:00
renovate[bot]
59fa54ffeb
chore(deps): update dependency caniuse-lite to ^1.0.30001192 (#8902)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-25 16:05:42 +00:00
pooya parsa
4d8077f8fe
feat(webpack): use watchpack2 (#8890) 2021-02-24 22:01:25 +01:00
Amon Sawamura
380ffb6481
feat(generator): add nojekyll option (#8813)
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2021-02-24 22:01:01 +01:00
pooya parsa
931d1cf89e
fix: update @babel/preset-env to 2.13.x (#8887)
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
2021-02-24 22:00:07 +01:00
Pooya Parsa
b7f9cdc2a4 v2.15.2 [release] 2021-02-23 10:16:01 +01:00
Pooya Parsa
173f48b20e fix(babel-preset-app): pin @babel/preset-env to ~7.12 2021-02-23 09:55:38 +01:00
renovate[bot]
308fd426d3
chore(deps): update all non-major dependencies (#8870)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-23 09:37:12 +01:00
Huáng Jùnliàng
4e3613f96f
fix(babel-preset-app): avoid rely on preset-env utils (#8883) 2021-02-23 09:34:39 +01:00
renovate[bot]
55b522cc8f
chore(deps): update dependency lodash to ^4.17.21 (#8865)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-20 16:49:08 +00:00
renovate[bot]
a893367e2f
chore(deps): update all non-major dependencies (#8861)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-20 16:23:49 +00:00
Pooya Parsa
95daddf43c chore: add missing defu dep to vue-renderer 2021-02-19 17:38:07 +01:00
Pooya Parsa
608a380e1d v2.15.1 [release] 2021-02-19 17:36:59 +01:00
pooya parsa
1b9a9d6449
fix(renderer): deep merge runtimeConfig for server (#8856) 2021-02-19 17:33:00 +01:00
renovate[bot]
5346963585
chore(deps): update all non-major dependencies (#8853)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-19 17:04:16 +01:00
renovate[bot]
98750a2658
chore(deps): update all non-major dependencies (#8842)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-18 12:35:56 +01:00
Kenny
ba44b0f9ca
fix(webpack): transpile ufo (#8846) 2021-02-17 18:50:17 +01:00
Daniel Roe
d58c4f7299
fix(cli): don't early return when a dependency isn't installed (#8841) 2021-02-16 23:46:35 +01:00
Harlan Wilton
b4a31d780d
fix(types): build.html.minify can be false (#8835) 2021-02-16 12:13:45 +01:00
Sébastien Chopin
8b1a70476a
fix(builder): use path.resolve for pages dir (#8832) 2021-02-15 21:53:03 +01:00
Pooya Parsa
dcfb42b772 v2.15.0 [release] 2021-02-15 12:04:09 +01:00
renovate[bot]
3aa8ae3612
chore(deps): update all non-major dependencies (#8825)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-15 11:02:39 +01:00
renovate[bot]
dd0eea4090
chore(deps): update all non-major dependencies (#8816)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-14 20:51:13 +00:00
Pooya Parsa
53c40b9db2 chore(pkg): drop engines field
each package should specify it's engine requirements. also for nuxt we use runtime check to warn about minimum
2021-02-13 11:54:16 +01:00
Daniel Roe
e277bb284b
fix(vue-app): align client fetch key with server (#8809) 2021-02-12 12:55:27 +01:00
Daniel Roe
9c24c110b6
fix(cli): re-enable serve-static redirect (#8814)
closes #8684
2021-02-12 12:54:59 +01:00
Daniel Roe
9d33456e69
fix(vue-app): add leading slash for payload hydration (#8802) 2021-02-10 13:18:27 +01:00
renovate[bot]
c221f60780
chore(deps): update dependency ufo to ^0.6.5 (#8805)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-10 12:33:54 +01:00
Daniel Roe
6d64ea580a
fix(generator): normalize trailing slashes before extendRoutes (#8803) 2021-02-10 11:27:57 +01:00
Daniel Roe
d0e7dd1c51
test(cli): fix dependency test (#8801) 2021-02-09 17:55:23 +00:00
Daniel Roe
e5d202badb
feat(cli): warn if incompatible node/package versions detected (#8792)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-02-09 18:35:22 +01:00
Daniel Roe
119091c8d1
refactor(utils, vue-app): use ufo to parse queries and join urls (#8765) 2021-02-09 17:01:37 +01:00
Daniel Roe
c8a4b91ad4
fix: ignore trailing slash in static payloads manifest (#8794) 2021-02-09 16:58:49 +01:00
renovate[bot]
da318a5e1a
chore(deps): lock file maintenance (#8787)
* chore(deps): lock file maintenance

* test: don't override fs to resolve issue with graceful-fs

* restore existsSync after each test

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-02-09 00:49:58 +01:00
renovate[bot]
87ec80603a
chore(deps): update dependency ufo to ^0.6.2 (#8791)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-08 11:54:41 +01:00
renovate[bot]
c3f3a18506
chore(deps): update all non-major dependencies (#8755)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-08 09:05:35 +01:00
Daniel Roe
073157f535
fix(config): prevent invalid css filenames in webpack output (#8778) 2021-02-08 09:01:47 +01:00
Rafał Chłodnicki
d343d85985
fix(utils): serializeFunction fails with certain functions (#8780) 2021-02-08 00:08:13 +01:00
Maarten Van Hoof
201ae447ac
fix(types): add missing ssr option to config types (#8784) 2021-02-07 21:21:33 +01:00
Daniel Roe
fffb1a19f6
fix(types): vue.configtypes should be optional (#8767)
closes #8766
2021-02-05 15:33:26 +01:00
Daniel Roe
1196c17a2a
fix(vue-app): enable dynamic publicPath on server-side (#8759) 2021-02-04 21:56:18 +01:00
Daniel Roe
07dd2cce9b
fix(server, vue-app): address encoding issues with query params (#8748)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-02-04 18:52:13 +00:00
renovate[bot]
be79532715
chore(deps): update all non-major dependencies (#8751)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-03 13:26:37 +00:00
Daniel Roe
6a8339e4c4
fix: encoding issues with payload paths (#8738)
- fix(generator): decode full static filesystem paths
- fix(vue-app): check decoded path against manifest
- fix(vue-app): prevent double encoding for urls

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-02-02 13:38:54 +01:00
renovate[bot]
f917297a70
chore(deps): update all non-major dependencies (#8742)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-02 12:17:06 +00:00
renovate[bot]
7931d1b619
chore(deps): update all non-major dependencies (#8734)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-02-01 17:28:54 +00:00
renovate[bot]
0fd5f7dfce
chore(deps): update all non-major dependencies (#8721) 2021-01-29 20:41:23 +00:00
renovate[bot]
ae87226bcc
chore(deps): update dependency caniuse-lite to ^1.0.30001180 (#8703)
[release]
2021-01-27 11:27:25 +01:00
pooya parsa
febd7ee43c
fix(vue-app): static payload fetching bugfixes (#8701) 2021-01-27 11:26:34 +01:00
Xin Du (Clark)
dc551f9709
fix(dev): clearnup vue installed plugins from server in dev mode (#8697) 2021-01-27 11:26:08 +01:00
Daniel Roe
0bcbaacfa6
fix(cli): disable parallel build behaviour when generating (#8683)
closes #7390
2021-01-26 23:10:32 +01:00
renovate[bot]
db29fcdbc3
chore(deps): update all non-major dependencies (#8698)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-26 23:07:49 +01:00
renovate[bot]
592342fe72
chore(deps): update all non-major dependencies (#8694)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-26 09:32:27 +00:00
renovate[bot]
067f8ebedf
chore(deps): update all non-major dependencies (#8668) 2021-01-23 21:48:14 +00:00
GeopJr
083505603f
chore(cli): fix typo (#8674) 2021-01-22 12:04:46 +01:00
Jonas Thelemann
61ed873125
chore(deps): upgrade webpack-bundle-analyzer to ^4.4.0 (#8678) 2021-01-22 12:03:32 +01:00
renovate[bot]
498f85532d
chore(deps): update all non-major dependencies (#8663)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-20 12:31:29 +00:00
renovate[bot]
1f1db80651
chore(deps): update dependency @types/serve-static to ^1.13.9 (#8659)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-18 17:09:36 +00:00
renovate[bot]
eae3acb732
chore(deps): update all non-major dependencies (#8650)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-17 12:07:51 +01:00
Xin Du (Clark)
b0e6277615
fix(webpack): disable stats output from webpack-dev-middleware (#8651) 2021-01-17 12:05:20 +01:00
Alexander Lichter
80af61c09e
types: add enablePreview to context (#8638)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-01-17 11:59:56 +01:00
renovate[bot]
3b644b0621
chore(deps): update all non-major dependencies (#8627)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-15 10:42:03 +00:00
gekkedev
78ba994550
types: add missing loadingScreen type definition (#8648) 2021-01-14 19:31:06 +01:00
Xin Du (Clark)
14f741d492
chore: update webpack-dev-middleware to ^4.0.4 [release] (#8640)
* chore: update webpack-dev-middleware to ^4.0.4

* fix(build): disable webpack-dev-middle stats printing

* use stats options

* use stats none

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-01-14 09:57:48 +01:00
Alexander Lichter
cff123cc9d
chore(types): lint types (#8630) 2021-01-13 12:22:49 +01:00
Pooya Parsa
1d13284660 chore(deps): pin webpack-dev-middleware to 4.0.2 [release]
to be fixed by https://github.com/webpack/webpack-dev-middleware/pull/813
2021-01-13 11:52:14 +01:00
renovate[bot]
3ee2b440a8
chore(deps): update dependency jiti to v1 (#8628)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-01-12 21:40:24 +01:00
Xin Du (Clark)
e2e604ea3b
_fix(webpack): remove absolute wanrning messge in css-loader (#8629) 2021-01-12 21:25:37 +01:00
LKHO
1405968d89
fix(server): fix HMR issue with serverMiddleware when router.base is set (#8593) 2021-01-12 13:17:20 +01:00
renovate[bot]
c0732e2fe4
chore(deps): update dependency @types/webpack-dev-middleware to v4 (#8624) 2021-01-12 09:51:19 +00:00
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