Commit Graph

1591 Commits

Author SHA1 Message Date
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
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
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