Commit Graph

581 Commits

Author SHA1 Message Date
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
renovate[bot]
41982affee
chore(deps): update dependency postcss-loader to v6 (#203)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-14 21:23:24 +02:00
renovate[bot]
bf1b6dae74
chore(deps): update all non-major dependencies (#200)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-14 21:12:26 +02:00
Pooya Parsa
5bd639a493 fix(vite): add nuxt/app to noExternal 2021-06-14 20:52:40 +02:00
Pooya Parsa
b6104c6e83 chore(nitro): provide process.client and process.server
They should be handled in vite/webpack step but just in case
2021-06-14 20:37:35 +02:00
Pooya Parsa
eee45396d1 fix(kit): ignore @ alias without following slash (resolves #210) 2021-06-14 20:23:21 +02:00
Ahad Birang
8740ece29e
fix(webpack): find asset modules of chunk (#198) 2021-06-14 11:37:54 +02:00
Daniel Roe
7c85daa64e
fix(nitro): set esbuild target: '2019' (#189) 2021-06-14 11:03:44 +02:00
renovate[bot]
b6786c3ea6
chore(deps): update dependency esbuild to ^0.12.7 (#195)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-09 00:27:15 +02:00
renovate[bot]
d6da38a1fe
chore(deps): update all non-major dependencies (#182)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-08 23:59:13 +02:00
renovate[bot]
ef2fbe3e1b
chore(deps): update dependency webpack-dev-middleware to v5 (#176)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-06-07 11:18:44 +02:00
renovate[bot]
7d2cd2f356
chore(deps): update all non-major dependencies (#166)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-06-07 11:12:36 +02:00
Pooya Parsa
48b3c75194 chore: release
- @nuxt/nitro@0.8.0
 - nuxt3@0.7.3
2021-06-04 22:16:21 +02:00
Pooya Parsa
0b7790f6d0 feat(nitro): #config 2021-06-04 22:12:32 +02:00
Pooya Parsa
f98be4bfed fix(nitro): support ~/@ aliases and explicitly externalize buildDir 2021-06-04 22:04:08 +02:00
Pooya Parsa
8aae9ef7b2 chore: release
- @nuxt/app@0.4.2
 - nuxt-cli@0.3.6
 - @nuxt/kit@0.6.2
 - @nuxt/nitro@0.7.2
 - nuxt3@0.7.2
 - @nuxt/pages@0.2.2
 - @nuxt/vite-builder@0.4.2
 - @nuxt/webpack-builder@0.4.2
2021-06-04 21:19:13 +02:00
Daniel Roe
1bbd754f29
refactor(nitro): app template 2-3 normalization (#177) 2021-06-03 15:12:05 +02:00
Daniel Roe
f91f822ed4
chore: move vue dep to nuxt3 rather than pages (#173) 2021-05-27 13:42:22 +02:00
Daniel Roe
0009e8e950
chore: address another peerDep warning (#172) 2021-05-26 21:54:05 +02:00
Daniel Roe
4c0ba0151d
fix(kit): correct render result types (#170) 2021-05-26 20:44:08 +02:00
Pooya Parsa
6bde903273 chore: release
- @nuxt/app@0.4.1
 - nuxt-cli@0.3.5
 - @nuxt/kit@0.6.1
 - @nuxt/nitro@0.7.1
 - nuxt3@0.7.1
 - @nuxt/pages@0.2.1
 - @nuxt/vite-builder@0.4.1
 - @nuxt/webpack-builder@0.4.1
2021-05-24 13:30:14 +02:00
Pooya Parsa
423289d469 chore: try to fix shims
(for npm package usage)
2021-05-24 13:29:31 +02:00
Pooya Parsa
2e0fce88a6 chore(nitro): show middleware table only in debug mode 2021-05-24 13:27:15 +02:00
Pooya Parsa
9fcd746c72 chore(nitro): disable auto mock 2021-05-24 13:25:34 +02:00
Pooya Parsa
03173075da fix(nitro): sort middleware fron long to short 2021-05-24 13:24:56 +02:00
Pooya Parsa
a82e7b9008 fix(nitro): set makeAbsoluteExternalsRelative to false (resolves #160) 2021-05-24 13:21:37 +02:00
Pooya Parsa
838eae4a57 chore: apply latest eslint rules
closes #163
2021-05-24 13:14:10 +02:00
renovate[bot]
6d216d1255
chore(deps): update all non-major dependencies (#159)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-24 13:03:42 +02:00
renovate[bot]
47979a2645
chore(deps): update dependency dotenv to v10 (#161)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-24 12:53:58 +02:00
Daniel Roe
f497020f6e
fix(compat): add template variables for compat module (#162) 2021-05-24 12:53:04 +02:00
Pooya Parsa
de22e8f71b chore(nitro): add missing globby dependency
(included in release)
2021-05-20 15:41:49 +02:00
Pooya Parsa
2f2e818e32 chore: release
- @nuxt/app@0.4.0
 - nuxt-cli@0.3.4
 - @nuxt/kit@0.6.0
 - @nuxt/nitro@0.7.0
 - nuxt3@0.7.0
 - @nuxt/pages@0.2.0
 - @nuxt/vite-builder@0.4.0
 - @nuxt/webpack-builder@0.4.0
2021-05-20 15:34:30 +02:00
renovate[bot]
b58869c29a
chore(deps): update dependency vue-router to ^4.0.8 (#157)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-20 13:47:54 +02:00
Pooya Parsa
6b62d456d7 feat: optional pages and refactor nuxt3 (#142) 2021-05-20 13:42:41 +02:00
Pooya Parsa
d95e002d5b fix(automock): don't externalize .ts imports 2021-05-20 13:07:30 +02:00
renovate[bot]
82b585dbb0
chore(deps): lock file maintenance and fix lint issues (#141) 2021-05-20 12:58:30 +02:00
renovate[bot]
404838bcc8
chore(deps): update all non-major dependencies (#155)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-20 12:47:35 +02:00
renovate[bot]
c008b30660
chore(deps): update dependency defu to v5 (#153)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 17:54:58 +02:00
renovate[bot]
7db904af77
chore(deps): update all non-major dependencies (#139)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 17:54:46 +02:00
renovate[bot]
77c4b3cb2d
chore(deps): update dependency @rollup/plugin-node-resolve to v13 (#144)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 17:35:59 +02:00
renovate[bot]
9e5751bf71
chore(deps): update dependency css-minimizer-webpack-plugin to v3 (#151)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 17:35:52 +02:00
renovate[bot]
6e2128f995
chore(deps): update dependency @rollup/plugin-commonjs to v19 (#146)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 17:35:28 +02:00
renovate[bot]
672dea47c6
chore(deps): update dependency dotenv to v9 (#145)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 17:35:19 +02:00
renovate[bot]
f26614aeea
chore(deps): update dependency fs-extra to v10 (#143)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-05-19 17:35:09 +02:00
Daniel Roe
c7328732fb
fix(nitro): add body + body prepended scripts to template (#154) 2021-05-19 17:34:44 +02:00
Sébastien Chopin
0346d6e88a chore(app): small refactor on $nuxt.hooks 2021-05-06 23:25:48 +02:00
Alexander Lichter
520f48a9d2
fix(nitro) set requireReturnsDefault to auto (#131) 2021-04-29 15:00:31 +02:00
Pooya Parsa
d8423a2f9a chore(nitro): lazy load renderer resources 2021-04-29 14:08:10 +02:00
renovate[bot]
717b26f3ce
chore(deps): update all non-major dependencies (#123)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-29 14:06:45 +02:00
pooya parsa
9732d63c74
feat: update vite implementation (#130) 2021-04-29 13:51:54 +02:00
Pooya Parsa
bfcd3b0e9c chore: release
- nuxt-cli@0.3.3
 - @nuxt/kit@0.5.3
 - @nuxt/nitro@0.6.3
 - nuxt3@0.6.3
 - @nuxt/vite-builder@0.3.3
 - @nuxt/webpack-builder@0.3.4
2021-04-28 19:17:42 +02:00
Pooya Parsa
b0b7879403 chore(nitro): remove iife wrapper from worker presets 2021-04-28 18:20:30 +02:00
Pooya Parsa
f0dfb42a58 fix(cli): support nuxt2-edge 2021-04-28 17:51:42 +02:00
Pooya Parsa
325c6b8fea chore(nitro): avoid optional chaining due to wrangler issue
https://github.com/nuxt/framework/issues/97
2021-04-28 17:37:35 +02:00
Pooya Parsa
f723cc6fcd chore: disable webpack fs cache 2021-04-28 16:50:41 +02:00
Pooya Parsa
7255a890a0 chore: release
- @nuxt/app@0.3.3
 - nuxt-cli@0.3.2
 - @nuxt/kit@0.5.2
 - @nuxt/nitro@0.6.2
 - nuxt3@0.6.2
 - @nuxt/vite-builder@0.3.2
 - @nuxt/webpack-builder@0.3.3
2021-04-28 16:24:45 +02:00
Pooya Parsa
51538bfcb1 fix(nitro): handle esm imports from cjs files
fixes fs mock for vue-server-renderer
2021-04-28 16:16:42 +02:00
renovate[bot]
83e28a71ac
chore(deps): update dependency scule to ^0.2.1 (#122)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 15:42:17 +02:00
Alexander Lichter
813df279ec
fix(nitro): ensure that nitro runtime is not externalized (#121) 2021-04-28 15:32:26 +02:00
Alexander Lichter
2a2c4d5e46
fix(nitro): remove depd unenv alias (#120) 2021-04-28 15:25:13 +02:00
Pooya Parsa
5e0abbcb1b fix(nitro): don't externalize @nuxt, virtual: and # 2021-04-28 15:13:27 +02:00
renovate[bot]
a806e8ca01
chore(deps): update all non-major dependencies (#116)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-28 13:06:06 +02:00
Pooya Parsa
4482fd79e9 chore: release
- @nuxt/nitro@0.6.1
 - nuxt3@0.6.1
2021-04-23 23:02:36 +02:00
Pooya Parsa
47c28551c8 fix(nitro): avoid using fs/promises
node 12 compat for vercel
2021-04-23 23:01:00 +02:00
Pooya Parsa
0d92f1a042 chore: release
- @nuxt/app@0.3.2
 - nuxt-cli@0.3.1
 - @nuxt/kit@0.5.1
 - @nuxt/nitro@0.6.0
 - nuxt3@0.6.0
 - @nuxt/vite-builder@0.3.1
 - @nuxt/webpack-builder@0.3.2
2021-04-23 22:57:57 +02:00
Pooya Parsa
ee918c91e7 chore: fix eslint 2021-04-23 22:57:11 +02:00
Pooya Parsa
342bf06659 fix(kit): auto detect version if not specified 2021-04-23 22:36:56 +02:00
renovate[bot]
79f46748f1
chore(deps): update all non-major dependencies (#113)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-23 22:30:55 +02:00
pooya parsa
5aa59c2ca5
test: add nitro preset tests (v2 & v3) (#104) 2021-04-23 21:52:32 +02:00
renovate[bot]
3f712f3d46
chore(deps): update all non-major dependencies (#110)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-23 21:26:28 +02:00
renovate[bot]
c0e4fc007d
chore(deps): update dependency defu to v4 (#112)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-23 21:26:15 +02:00
Pooya Parsa
91e74b9364 chore: update h3 2021-04-21 18:35:44 +02:00
renovate[bot]
ab0ff594d9
chore(deps): update all non-major dependencies (#103)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-21 18:35:08 +02:00
Pooya Parsa
5a3f4b7800 fix(nitro): use globalThis 2021-04-21 17:35:20 +02:00
pooya parsa
de9dffb0d6 chore: migrate to unenv and mkbuild 0.2 (#108) 2021-04-21 17:10:53 +02:00
Alexander Lichter
4c0dba202f
fix(nitro): mock consola (#106) 2021-04-21 13:16:04 +02:00
Pooya Parsa
8f8551cd67 fix(nitro): ovrride by user input 2021-04-20 16:10:49 +02:00
Pooya Parsa
60e1ee387c fix(cli): replace not instance regardless of DEBUG 2021-04-20 15:27:10 +02:00
Pooya Parsa
fbe658ffc7 chore: hide esbuild sourcemap warning 2021-04-20 15:22:42 +02:00
Pooya Parsa
0a74f1e239 fix(webpack): don't inline scoped packages 2021-04-20 15:22:24 +02:00
Pooya Parsa
d9bb3fa2ee fix types 2021-04-20 15:22:07 +02:00