Commit Graph

1640 Commits

Author SHA1 Message Date
Pooya Parsa
3ebab89da0 fix(deps): update ua-parser-js to 1.x (#9979) 2021-10-25 13:34:03 +02:00
Thibault Vlacich
034b9901df
fix(types): return type of $fetch (#9854) 2021-09-27 12:56:44 +00:00
jon-ht
dc64e4eb98
fix: nuxt-child-key in web-types.json (#9792) 2021-09-17 14:48:53 +01:00
Pooya Parsa
3e9d7e3e7c fix(cli): ensure nuxt instance is closed when skipping build
[release]

resolves nuxt/framework#494
2021-09-09 09:53:06 +02:00
Daniel Roe
dfcc26e3b7
fix(generator): decode path with ufo (#9739) 2021-09-07 18:40:15 +02:00
renovate[bot]
dc0e1b9ad7
chore(deps): update all non-major dependencies (#9662)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-07 18:39:45 +02:00
Michał Kędrzyński
2ef053735a
types: add prefetchPayloads to router options (#9715) 2021-08-27 08:45:03 +01:00
Daniel Roe
b0147772ec
fix(vue-renderer): ensure custom build indicator preserves some whitespace (#9705) 2021-08-24 11:10:14 +02:00
Daniel Roe
3c10f176e6
fix(vue-app): use correct $config for finding basePath (#9706) 2021-08-24 10:54:24 +02:00
mrazauskas
0145578493
chore(utils): improve stripWhitespace utility (#9668) 2021-08-13 13:22:16 +02:00
Pooya Parsa
17bbb21b5e chore: fix code formatting 2021-08-12 11:51:15 +02:00
mrazauskas
b565c38f48
fix(generator): throw an error when Builder is missing (#9663) 2021-08-12 10:49:25 +02:00
mrazauskas
1b66e9c688
fix(generator): allow passing builder to getGenerator (#9574) 2021-08-12 10:47:38 +02:00
Pooya Parsa
d4b9e4b055 v2.15.8 2021-08-11 23:07:42 +02:00
Daniel Roe
1ccd15191c fix(vue-app): don't normalise route path if it's valid (#9460)
[release]
2021-08-11 22:33:55 +02:00
Xin Du (Clark)
af491991eb fix(babel): loose option for babel private-property-in-object (#9631)
[release]
2021-08-11 22:33:28 +02:00
Loick Le Digabel
a418371e27
feat(vue-app): pass store to createRouter (#9629)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-08-11 22:30:18 +02:00
Payel Karmakar
20e7b99eb6
fix(vue-app): null check for $root access (#9150)
Co-authored-by: Payel <payelk@ngdata.com>
2021-08-11 16:32:35 +02:00
renovate[bot]
424ac7cb97
chore(deps): update dependency @nuxt/devalue to v2 (#9545)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 16:23:05 +02:00
renovate[bot]
85615360b4
chore(deps): update all non-major dependencies (#9400)
[release] 

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-08-11 16:15:56 +02:00
SlayerOfTheBad
457984a567
fix(vue-app): serialize route meta to allow functions (#9634)
Co-authored-by: Jacob <jacob@adivare.nl>
2021-08-11 14:33:02 +02:00
Xin Du (Clark)
7142497406
fix(babel): loose option for babel private-property-in-object (#9631)
[release]
2021-08-09 16:38:21 +02:00
Daniel Roe
8e725d34b3
fix(types): add typing for build.stats options (#9555) 2021-07-14 12:21:06 +02:00
Xin Du (Clark)
a3b2fd86ad
fix(vue-app): re-register components construtor in HMR (#9539)
* fix(vue-app): re-register components construtor in HMR

* simpilify checking
2021-07-12 12:21:04 +02:00
renovate[bot]
356de80e7d
chore(deps): update dependency serialize-javascript to v6 (#9462)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-06 14:44:19 +02:00
renovate[bot]
7e833dce7a
chore(deps): update dependency node-html-parser to v4 (#9524)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-06 14:43:28 +02:00
Daniel Roe
aa5d05f8b9
fix(types): add onNuxtLoaded and onNuxtReady types (#9510)
closes #9447
2021-07-02 15:37:19 +02:00
Mohammad Saleh Fadaei
20f481f6f8
fix(utils): trailingSlash causes error with dynamic nuxt-child routes (#9505) 2021-07-01 14:56:08 +02:00
Mohammad Saleh Fadaei
0742f59e24
fix(vue-app): redirect to external url replaces current history entry (#9500) 2021-06-30 19:35:22 +02:00
Daniel Roe
eb6bd9febc
fix(vue-app): don't normalise route path if it's valid (#9460)
[release]
2021-06-28 16:29:43 +02:00
Daniel Roe
82e4c2dc5f
fix(vue-renderer): decode route path for payload.js (#9494)
[release]
2021-06-28 16:28:46 +02:00
Pooya Parsa
4f370e2043 v2.15.7 2021-06-14 15:56:13 +02:00
Daniel Roe
85615a5dc5 fix(vue-app): check whether route exists within nuxt app before replacing (#9431)
[release]
2021-06-14 15:55:21 +02:00
Daniel Roe
35c6ac411d
fix(vue-app): check whether route exists within nuxt app before replacing (#9431)
[release]
2021-06-14 15:54:36 +02:00
Andrew Luca
5934f41f08
fix(types): add nuxt.config alias type (#9424) 2021-06-10 21:10:09 +01:00
renovate[bot]
af98868264
chore(deps): update all non-major dependencies (#9396)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 10:26:17 +02:00
renovate[bot]
cc3f43e145
chore(deps): update all non-major dependencies (#9376)
[release]
2021-06-04 16:21:41 +02:00
David Ovčačík
9f02e5dae7
feat(vue-app): context.beforeSerialize method (#9332)
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-06-04 16:21:16 +02:00
renovate[bot]
83547fc4ec
chore(deps): update dependency @types/node to v14 (#9320)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-02 16:57:48 +02:00
renovate[bot]
da055f0599
chore(deps): update dependency webpack-dev-middleware to v5 (#9374)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-02 16:57:33 +02:00
Daniel Roe
b52612ba67
chore(types): add types for new false option for render.static (#9372) 2021-06-02 15:52:46 +02:00
renovate[bot]
9a32fa18af
chore(deps): update all non-major dependencies (#9298)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-02 15:36:36 +02:00
carbotaniuman
e8281dded7
feat(types): add asyncData return types to component instance type (#9239)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-06-02 15:32:39 +02:00
renovate[bot]
a57ac94420
chore(deps): update dependency dotenv to v10 (#9323)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-02 15:31:57 +02:00
Daniel Roe
40521d0a0d
feat(server): allow disabling serve-static middleware (#9365)
closes #9362
2021-06-02 15:03:31 +02:00
Xin Du (Clark)
b9bfb9df01
fix(babel-preset-app): respect explicit options.targets for modern preset (#9337) 2021-05-30 18:13:36 +01:00
William L'Archeveque
b116d0ded4
feat(generator): add ignoreEnv generate option during ensureBuild(cmd) (#8955)
[release]
2021-05-26 09:05:11 +02:00
Matthieu Sieben
e687842536
fix(server): unregister error event listener (#9245)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-05-22 13:42:02 +02:00
renovate[bot]
c56d4840ad
chore(deps): update dependency fs-extra to v10 (#9234)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-17 20:57:43 +02:00
Daniel Roe
7955553070
fix(webpack): use javascript/auto for js rule (#9180) 2021-05-17 20:55:14 +02:00
renovate[bot]
db11f7bf93
chore(deps): update dependency defu to v5 (#9292)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-17 20:53:43 +02:00
Daniel Roe
186df335d9
feat(config): support nuxtrc in dist directory (#9280) 2021-05-17 20:53:20 +02:00
Daniel Roe
00aeff62e7
fix(vue-app): respect scroll-margin-top when navigating with hash (#9187) 2021-05-15 12:15:31 +01:00
renovate[bot]
877ebcd3a0
chore(deps): update all non-major dependencies (#9290)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-15 12:01:12 +01:00
Pooya Parsa
a53fd32d6b chore(release): v2.15.6 2021-05-12 12:51:18 +02:00
Pooya Parsa
0eae970e74 chore(release): v2.15.6 2021-05-11 20:59:00 +02:00
Pooya Parsa
fc5fb58c85 hotfix: revert feat additions
- 380ffb6481
- 4d8077f8fe
- 2ec62617ce
2021-05-11 20:58:30 +02:00
Pooya Parsa
cd1fc6277f chore(deps): update ufo to 0.7.4
https://github.com/unjs/ufo/issues/19 fixing https://github.com/nuxt/nuxt.js/pull/9283/checks?check_run_id=2558629137
2021-05-11 20:57:53 +02:00
renovate[bot]
a80ddeee6f
chore(deps): update all non-major dependencies (#9281)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-11 20:06:25 +02:00
renovate[bot]
6d1e217e9c
chore(deps): update all non-major dependencies (#9258)
* chore(deps): update all non-major dependencies

* revert @types/webpack-dev-middleware update

* renew yarn.lock (closes #9260)

* chore: ignore cve 1693

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-05-11 13:14:26 +02:00
Pooya Parsa
aaf38ee3d4 chore(types): pin @nuxt/types dependency versions
this helps avoiding regressions like #9268. in 2.16 we probably start bundling type dependencies
2021-05-11 11:04:21 +02:00
Daniel Roe
2b1c685f24
fix(types): pin to @types/webpack-dev-middleware@4.1.2 (#9270) 2021-05-10 13:05:06 +02:00
Pooya Parsa
9de997f164 v2.15.5 [release] 2021-05-09 10:19:03 +02:00
renovate[bot]
682d1a6636
chore(deps): update dependency dotenv to v9 (#9244)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-08 23:00:20 +02:00
renovate[bot]
0c1922607f
chore(deps): update all non-major dependencies (#9235) 2021-05-08 22:56:48 +02:00
renovate[bot]
ff38942c09
chore(deps): update dependency @types/file-loader to v5 (#9197)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-03 13:21:45 +01:00
renovate[bot]
7bb86e607a
chore(deps): update dependency core-js-compat to ^3.11.2 (#9233)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-03 13:20:45 +01:00
Xin Du (Clark)
1e249cc290 fix(babel): loose option for babel class-properties and private-methods (#9232) 2021-05-03 13:14:38 +01:00
renovate[bot]
65e62b96a3
chore(deps): update all non-major dependencies (#9188)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-03 10:53:43 +02:00
Thomas Beduneau
330e5c99bc
fix(vue-app): use route.replace instead of router.push to trigger navigation guards (#9201) 2021-05-03 10:51:18 +02:00
renovate[bot]
8e2cad5a8f
chore(deps): update all non-major dependencies (#9160)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-23 20:47:34 +02:00
renovate[bot]
16954e1962
chore(deps): update dependency defu to v4 (#9184)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-23 20:46:27 +02:00
renovate[bot]
a68b6e7bd5
chore(deps): update dependency webpack-node-externals to v3 (#9174)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-23 20:34:21 +02:00
Shogo Kawahara
2ec62617ce
feat(types): add declarations for ModuleContainer utils (#9164) 2021-04-19 09:33:13 +02:00
Daniel Roe
9f6131edd3
fix(builder): resolve aliases in build.watch paths (#9153) 2021-04-15 21:17:15 +02:00
renovate[bot]
8ebb92a9f6
chore(deps): update all non-major dependencies (#8806)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 20:14:54 +01:00
Daniel Roe
21020dff43
fix(cli): add warning for css-loader < 4.2 (#9152)
closes #9117
2021-04-14 22:48:51 +01:00
Xin Du (Clark)
9212d34edf
revert(9078): add terser webpack plugin types back (#9099) 2021-04-02 12:20:28 +02:00
Pooya Parsa
18d1cd086a v2.15.4 [release] 2021-04-01 13:25:16 +02:00
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