Commit Graph

661 Commits

Author SHA1 Message Date
Daniel Roe
858e31c7fc
fix(nitro): promisify proxy handler (#398) 2021-07-28 19:24:19 +02:00
Matt Kane
4a989e9b7a
fix(nitro): detect NETLIFY_LOCAL (#400) 2021-07-28 18:42:59 +02:00
Anthony Fu
8e5e229031
feat(components): build time sync loader (#383) 2021-07-28 14:11:32 +02:00
Daniel Roe
bb757045ec
fix(webpack): use cjs for emitted webpack files (#395) 2021-07-28 14:00:39 +02:00
renovate[bot]
f6f7d771ee
chore(deps): update all non-major dependencies (#389)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-28 13:52:01 +02:00
Daniel Roe
2da82ce5cf
feat(meta): add default head values (#382)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-07-28 13:48:17 +02:00
pooya parsa
cc212cedc8
refactor: improved template utils (#393) 2021-07-28 13:35:24 +02:00
Daniel Roe
c9ed8bc341
fix(nitro): import externals as esm namespace (#394)
[workaround]
2021-07-28 09:58:07 +02:00
Daniel Roe
bbfa41f811
fix(nitro): handle ssr redirects (#392) 2021-07-27 15:55:01 +02:00
renovate[bot]
2e2a09968a
chore(deps): update dependency @rollup/plugin-commonjs to ^19.0.2 (#384)
[skip-release]
2021-07-26 22:26:56 +02:00
Anthony Fu
0e93d752fd
feat(kit): extendWebpackConfig and extendViteConfig utils (#386) 2021-07-26 21:06:27 +02:00
Daniel Roe
57a2974450
feat(cli): add prepare command to stub module types (#370)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-07-26 16:46:19 +02:00
Daniel Roe
8c09d05ad2
refactor: improve cli and kit types (#369)
[skip-release] 

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-07-26 16:04:35 +02:00
renovate[bot]
b3526ba0a4
chore(deps): update all non-major dependencies (#371)
[skip-release]
2021-07-26 15:44:55 +02:00
Daniel Roe
956f442e29
fix(nitro): filter out duplicate imports (#378) 2021-07-26 15:44:35 +02:00
Matt Kane
bad2a74805
fix(nitro): disable moduleSideEffects by default (#377) 2021-07-26 13:32:35 +02:00
Anthony Fu
864d2683ab
feat(kit): addWebpackPlugin and addVitePlugin utils (#368) 2021-07-26 12:45:42 +02:00
Matt Kane
e43e9cf71a
fix(nitro): generate correct netlify entrypoint (#372) 2021-07-26 12:37:39 +02:00
renovate[bot]
a57b9e1887
chore(deps): update all non-major dependencies (#350)
[skip-release]
2021-07-23 17:22:54 +02:00
Daniel Roe
f980ef235f
fix(app): separate plugin entrypoints (#366) 2021-07-23 16:58:38 +02:00
Anthony Fu
a01dd69fcc
fix(vite): prod build hang, close #336 (#361)
* fix(vite): prod build hang, close #336

* chore: update
2021-07-23 16:45:06 +02:00
Daniel Roe
928d10ab77
fix(vite): add transpile options to noExternal list (#364) 2021-07-23 16:43:06 +02:00
Daniel Roe
5d78c14ed6
fix(nuxt3): reresolve app entrypoint when changes to app.vue are detected (#363) 2021-07-23 16:42:49 +02:00
Daniel Roe
5d5516dd1d
feat: nitro endpoint for viewing _vfs (#362) 2021-07-23 16:41:36 +02:00
Pooya Parsa
7fee983b52 fix(nitro): watch .mjs and .cjs extensions (closes #352) 2021-07-22 16:25:26 +02:00
Daniel Roe
77874bf4d2
fix(app): finish hydration when the page is loaded (#346) 2021-07-21 22:06:05 +02:00
pooya parsa
be255772b2
feat: support ssr: false (#351)
Co-Authored-By: Daniel Roe <daniel@roe.dev>
2021-07-21 22:05:22 +02:00
renovate[bot]
9c7085da58
chore(deps): update all non-major dependencies (#347)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-21 19:18:45 +02:00
renovate[bot]
e33b6f7241
chore(deps): update dependency @rollup/plugin-replace to v3 (#338)
[skip-release]
2021-07-20 12:22:28 +02:00
Daniel Roe
9d8fd61fcf
chore: update dependencies (#342)
[skip-release]
2021-07-20 12:21:30 +02:00
renovate[bot]
17a2d18486
chore(deps): update all non-major dependencies (#344)
[skip-release]
2021-07-20 12:20:35 +02:00
Daniel Roe
8d3f296e40
chore(app): entry types (#345)
[skip-release]
2021-07-20 12:20:17 +02:00
renovate[bot]
19794ddd21
chore(deps): update all non-major dependencies (#333)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-19 15:27:51 +02:00
Daniel Roe
64d3585959
fix(app): make renderMeta optional (#340) 2021-07-19 15:27:20 +02:00
Daniel Roe
98cf97d269
fix: remove vue alias (#335) 2021-07-16 11:12:11 +02:00
Daniel Roe
5d7ded368b
fix(vite): exclude optimising vue-router (#332) 2021-07-15 16:42:11 +02:00
renovate[bot]
e0d2c78e05
chore(deps): update all non-major dependencies (#324)
[skip-release]
2021-07-15 13:33:13 +02:00
Daniel Roe
b263b4f930
feat: @nuxt/meta module for head rendering (#179)
Co-authored-by: Anthony Fu <hi@antfu.me>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-07-15 13:28:04 +02:00
Pooya Parsa
0bbbddecba fix(cli): handle build error and exit with code(1) 2021-07-15 13:24:26 +02:00
Pooya Parsa
7eecc84f4d fix(nitro): fix externals regex for scoped packages
closes #238
2021-07-15 13:08:14 +02:00
Pooya Parsa
e1d44262a5 fix(vite): add missing #build alias 2021-07-15 12:50:09 +02:00
Pooya Parsa
a3b11c0ea8 chore: fix nuxt3 stub script 2021-07-15 12:49:57 +02:00
Pooya Parsa
c4387e8ec2 chore: fix vite entry path
in stubbed mode, we use .ts extension
2021-07-15 12:49:38 +02:00
pooya parsa
bec2720930
feat: use virtual filesystem for templates (#292)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-07-15 12:18:34 +02:00
Daniel Roe
ea0d2788a4
feat: use @nuxt/design (#322)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-07-15 11:47:15 +02:00
renovate[bot]
6d0bb7c740
chore(deps): update dependency css-loader to v6 (#323)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-15 11:38:53 +02:00
pooya parsa
6318438415
feat(nitro, vite): use native module (#252)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-07-15 11:38:06 +02:00
renovate[bot]
569d4f3cb3
chore(deps): update all non-major dependencies (#307) 2021-07-14 16:52:08 +02:00
renovate[bot]
20927bc341
chore(deps): update dependency @nuxt/devalue to v2 (#320)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-14 16:41:45 +02:00
Anthony Fu
d995e83a31
fix(vite): set vite's root to current directory (#239) 2021-07-14 16:40:40 +02:00
Anthony Fu
9e8b042bad
fix: vite build (#311) 2021-07-14 16:39:48 +02:00
Anthony Fu
ea0fdc2aa2
fix(vite): make vite server strict by default (#321) 2021-07-14 16:37:07 +02:00
Daniel Roe
0a3041cdf9
fix: allow use of nuxt3 in non-wsl windows environment (#308) 2021-07-12 12:54:24 +02:00
Daniel Roe
1bd0b74299
fix: use esm syntax for webpack module hot (#316) 2021-07-12 12:19:34 +02:00
renovate[bot]
be835de180
chore(deps): update all non-major dependencies (#300)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-07 20:42:12 +02:00
Daniel Roe
b53d8a77ff
fix(components): augment 'vue' module rather than overwriting (#305) 2021-07-07 20:41:51 +02:00
Daniel Roe
2abac1d78c
chore(app): fix tutorial typo (#306) 2021-07-07 20:40:51 +02:00
renovate[bot]
68cd6dd68a
chore(deps): update dependency mini-css-extract-plugin to v2 (#295)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 14:45:49 +02:00
renovate[bot]
1dc68c0a84
chore(deps): update all non-major dependencies (#293)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-07-02 14:45:36 +02:00
pooya parsa
e70978d1c0
fix(cli): restart issues (#299) 2021-07-02 14:45:15 +02:00
pooya parsa
fb08be37e2
chore: edge release on each commit (#294) 2021-07-01 14:58:27 +02:00
Daniel Roe
1126255835
fix(nitro): generate netlify _redirects in public (#298) 2021-07-01 14:49:42 +02:00
Daniel Roe
b1948b1921
feat(pages): page layouts (#276) 2021-06-30 18:32:22 +02:00
Daniel Roe
8faf069778
fix(app): temporary webpack5 'hotfix' (#290)
https://github.com/webpack-contrib/webpack-hot-middleware/issues/390
2021-06-30 18:02:57 +02:00
Daniel Roe
6cd5f8816f
fix(kit): make resolvePath case-sensitive (#291) 2021-06-30 15:55:11 +02:00
Daniel Roe
53f6756178
feat(app): backwards-compatible options asyncData support (#286) 2021-06-30 12:53:10 +02:00
renovate[bot]
79523399d2
chore(deps): update all non-major dependencies (#257)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-30 12:49:42 +02:00
Daniel Roe
04c3f65539
refactor: rename static to public (#284) 2021-06-30 12:29:48 +02:00
Daniel Roe
1370dd6719
fix(cli): loading html fix (#288) 2021-06-30 12:26:11 +02:00
Daniel Roe
3829a21729
fix(app): do not call handler twice on navigation (#280) 2021-06-30 11:22:16 +02:00
Daniel Roe
86af8457a9
fix(app): use nuxt-page by default in app.vue (#283) 2021-06-29 17:12:41 +02:00
Daniel Roe
dfbb047be6
fix(kit): don't rely on ModuleThis (#272) 2021-06-25 11:37:18 +02:00
pooya parsa
debe5a98b0
feat(kit, nuxt3): use single nuxt instance (#271) 2021-06-24 16:06:16 +02:00
Pooya Parsa
a25d7b1617 fix(nitro): use unenv 0.3.x (closes #266) 2021-06-24 13:56:19 +02:00
Daniel Roe
c399f142b9
fix(nitro): use nuxt2 compatible template (#268)
closes #265
2021-06-24 13:35:21 +02:00
Pooya Parsa
9797642d78 chore: release
- @nuxt/app@0.5.0
 - nuxt-cli@0.3.8
 - @nuxt/component-discovery@0.2.0
 - @nuxt/kit@0.6.4
 - @nuxt/nitro@0.9.1
 - nuxt3@0.8.0
 - @nuxt/pages@0.3.0
 - @nuxt/vite-builder@0.5.0
 - @nuxt/webpack-builder@0.5.0
2021-06-24 11:06:54 +02:00
Daniel Roe
c124967d8c
fix(components): remove invalid chars from component names (#253) 2021-06-22 12:03:47 +02:00
Daniel Roe
1518a2a070
feat(pages): add catchall support ([...id].vue) (#254) 2021-06-21 14:09:08 +02:00
Daniel Roe
01b2c2c972
fix(components): don't ascend directories (#251) 2021-06-21 13:50:28 +02:00
renovate[bot]
8ef48ce993
chore(deps): update all non-major dependencies (#246)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-21 11:37:16 +02:00
renovate[bot]
d44a607a4e
chore(deps): update all non-major dependencies (#233)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-18 19:17:07 +02:00
Daniel Roe
f8435681d4
feat(app): defineNuxtPlugin + legacy plugin handling (#237)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-06-18 19:16:51 +02:00
Pooya Parsa
36a3d285d8 chore: add fixes for components discovery 2021-06-18 18:57:42 +02:00
pooya parsa
a0f81cd1fb
feat: components discovery (#243)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-06-18 18:50:03 +02:00
Pooya Parsa
1ed3387243 fix: use nitro plugin with explicit mjs extension 2021-06-18 14:34:07 +02:00
Pooya Parsa
3398d5a7d6 refactor: use # prefex for internal aliases
leftovers
2021-06-18 11:54:35 +02:00
Pooya Parsa
98a0c727c9 fix nitro client import 2021-06-18 11:53:39 +02:00
Daniel Roe
62b19c63f3
fix(app): add 'inject' param for nuxt3 plugins (#226) 2021-06-17 12:02:22 +02:00
Anthony Fu
3e855c280f
fix(types): type vite options (#235) 2021-06-17 12:01:24 +02:00
Anthony Fu
58327824fb
fix: source map for webpack nuxt-setup-loader (#236) 2021-06-17 11:56:21 +02:00
Pooya Parsa
f32af4bdb6 chore: add implicit dependencies from #220
TODO: unjs/unbuild#9
2021-06-16 15:32:29 +02:00
Pooya Parsa
68e65bd468 chore: update esbuild (#232)
closes #43 closes #231
2021-06-16 15:26:33 +02:00
renovate[bot]
59998eef51
chore(deps): update all non-major dependencies (#219)
* chore(deps): update all non-major dependencies

* fix nuxt-windicss version

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-06-16 15:01:15 +02:00
Anthony Fu
11a5a3e14f
feat(app): make asyncData working with <script setup nuxt> (#220) 2021-06-16 14:42:58 +02:00
Daniel Roe
77e489aae3
fix(nitro): update nitro internal hook name (#218) 2021-06-16 13:48:16 +02:00
Daniel Roe
4095f96559 chore: release
- @nuxt/app@0.4.3
 - nuxt-cli@0.3.7
 - @nuxt/kit@0.6.3
 - @nuxt/nitro@0.9.0
 - nuxt3@0.7.4
 - @nuxt/pages@0.2.3
 - @nuxt/vite-builder@0.4.3
 - @nuxt/webpack-builder@0.4.3
2021-06-16 12:36:06 +01:00
Daniel Roe
2c5ceab003
fix(kit): add build.babel.plugins default option and docs (#224)
* fix(kit): add `build.babel.plugins` default option and docs

* refactor: reorder options
2021-06-16 13:22:27 +02:00
Daniel Roe
5c67408191
fix(nuxt3): add support for custom templates (#225) 2021-06-16 13:22:01 +02:00
Daniel Roe
e2d5a2f4b3
fix: add nitro client plugin ($fetch support) (#223)
* fix(nuxt3): add nitro client plugin ($fetch support)

closes #213

* refactor: put hook in more logical place

* docs: update comment
2021-06-16 13:20:18 +02:00
Daniel Roe
9750009cc5
feat(nitro): support netlify zero-config deployments (#175) 2021-06-15 00:10:17 +02:00