Commit Graph

496 Commits

Author SHA1 Message Date
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
Pooya Parsa d341e844fe chore(nitro): add nitro config types for nuxt.config 2021-04-20 14:51:34 +02:00
Pooya Parsa 96649cc876 types: allow unknown config keys in nuxt.config 2021-04-20 14:43:44 +02:00
Pooya Parsa ac9c0b044e chore(cli): Show config diff only with DEBUG 2021-04-20 14:22:47 +02:00
renovate[bot] 8ffb15200e
chore(deps): update all non-major dependencies (#91)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-20 14:20:38 +02:00
pooya parsa a63347b0ba
types: add global and shims for app and nitro (#102) 2021-04-20 13:57:18 +02:00
pooya parsa 5646770cd1
refactor(nitro): use # prefix for aliases (#101) 2021-04-20 13:03:18 +02:00
Pooya Parsa 1b10a1f091 fix(nitro): only serve placeholders for `publicPath` 2021-04-20 12:30:12 +02:00
Pooya Parsa 9497a3d340 chore(cli): make open and clipboard optional 2021-04-19 22:49:20 +02:00
Pooya Parsa 49e4c038b5 fix(nitro): resolve default export for assets 2021-04-19 22:41:47 +02:00
Pooya Parsa 4e1865358c fix: issues with externals outside of rootDir 2021-04-19 22:41:02 +02:00
Pooya Parsa bef9f82a8d feat(nitro): allow extending nitro context 2021-04-19 22:39:11 +02:00
Pooya Parsa 75b412bf0f chore(vite): allow extending with `vite:extend`
(temp until moving nuxt-vite)
2021-04-19 22:30:06 +02:00
Pooya Parsa 586709a82d fix(cli): provide default NODE_ENV for build and dev commands 2021-04-19 22:29:39 +02:00
Pooya Parsa f0443c2ba6 fix(cli): clear screen before new nuxt creation
also disables unused watching system (wip)
2021-04-18 18:39:07 +02:00
Pooya Parsa 4bcb8fa791 fix(kit): resolve alias for `installModule` source 2021-04-18 18:38:30 +02:00
Pooya Parsa 7ee7a7a7b5 fix(nuxt3): binary proxy for cli 2021-04-18 18:37:59 +02:00
Pooya Parsa daaf02f5e4 fix(webpack): exclude ! for externals 2021-04-18 18:37:21 +02:00
Pooya Parsa f51eb015d2 chore: release
- @nuxt/nitro@0.5.2
 - nuxt3@0.5.1
2021-04-17 17:55:16 +02:00
Pooya Parsa 4dac07a104 fix(nitro): support vue-meta (compat) 2021-04-17 17:50:03 +02:00
Pooya Parsa c06dbd6c6e chore: release
- @nuxt/app@0.3.1
 - nuxt-cli@0.3.0
 - @nuxt/kit@0.5.0
 - @nuxt/nitro@0.5.1
 - nuxt3@0.5.0
 - @nuxt/vite-builder@0.3.0
 - @nuxt/webpack-builder@0.3.1
2021-04-16 22:07:53 +02:00
Pooya Parsa cd00e5a92a chore: update unbuild 2021-04-16 22:05:53 +02:00
Pooya Parsa 958bf3f2ad chore(cli): fix fsevents dep 2021-04-16 22:05:49 +02:00
Pooya Parsa e5df083f60 fix(nitro): workaround for vue2 global style injection 2021-04-16 21:36:19 +02:00
Pooya Parsa 64fe3f735c chore: enable declaration for app and nitro runtime 2021-04-15 21:38:19 +02:00
renovate[bot] f4d9354d7e
chore(deps): update all non-major dependencies (#87)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 21:31:13 +02:00
renovate[bot] 8cfba5399a
chore(deps): update devdependency @types/webpack-bundle-analyzer to v4 (#88)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-15 21:18:27 +02:00
pooya parsa e224818395
feat: improve dev experience (#89) 2021-04-15 21:17:44 +02:00
Daniel Roe ce72ce6b07
docs(kit): initial documentation (#86) 2021-04-15 20:49:29 +02:00
Pooya Parsa 6a30a6fd10 chore: release
- @nuxt/kit@0.4.0
 - @nuxt/nitro@0.5.0
 - nuxt3@0.4.0
 - @nuxt/vite-builder@0.2.1
 - @nuxt/webpack-builder@0.3.0
2021-04-13 00:13:14 +02:00
Daniel Roe dacde63063
feat: add hook signatures and basic typings (#79) 2021-04-13 00:12:30 +02:00
Pooya Parsa bf0132f3e1 chore(nitro): opt in to makeAbsoluteExternalsRelative: 'ifRelativeSource' 2021-04-13 00:08:18 +02:00
Pooya Parsa f8cb2586cf perf(nitro): externalize buildDir in development
TODO: supporting ignore patterns to include/exclude (rootDir but not buildDir)
2021-04-13 00:06:27 +02:00
Pooya Parsa b5c77b4c6b chore: fix lint error 2021-04-12 23:54:46 +02:00
renovate[bot] 95e475b2f9
chore(deps): update all non-major dependencies (#73)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 23:53:08 +02:00
Pooya Parsa 9a23c2a553 fix(nitro): absolute external resolution (#80) 2021-04-12 23:52:46 +02:00
renovate[bot] 6e07ff1b92
chore(deps): update dependency css-minimizer-webpack-plugin to v2 (#74)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-12 23:41:20 +02:00
pooya parsa babb70a4bd
feat(nitro): server assets (#83) 2021-04-12 23:28:48 +02:00
pooya parsa 31f06e9f69
feat(nitro): storage support (#76) 2021-04-11 23:22:02 +02:00
pooya parsa 2d60e71fcb
feat(nitro): raw loader (#75) 2021-04-11 20:20:41 +02:00
Pooya Parsa bb797fcbb6 chore: release
- @nuxt/app@0.3.0
 - nuxt-cli@0.2.0
 - @nuxt/kit@0.3.0
 - @nuxt/nitro@0.4.0
 - nuxt3@0.3.0
 - @nuxt/vite-builder@0.2.0
 - @nuxt/webpack-builder@0.2.0
2021-04-09 18:02:40 +02:00
Pooya Parsa 6bca511b19 chore: remove globby and chokidar stub types 2021-04-09 17:56:54 +02:00
pooya parsa a030c62d29
feat: initial version of nu cli (#54) 2021-04-09 17:52:45 +02:00
renovate[bot] b0a8ec6368
chore(deps): update all non-major dependencies (#62)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-09 15:55:58 +02:00
pooya parsa c351574043
chore: update build scripts (#69) 2021-04-09 15:48:39 +02:00
Daniel Roe 00c7ede623
fix(nitro): exclude `rootDir` from externals and reinstate automock warning (#66) 2021-04-09 10:03:49 +02:00
Pooya Parsa 3eb3927779 chore: release
- @nuxt/nitro@0.3.0
 - nuxt3@0.2.6
2021-04-08 16:56:32 +02:00
Pooya Parsa b536ab4ba7 feat: basic support for netlify_builder target (#18)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-04-08 16:54:50 +02:00
Pooya Parsa 4d69c9fb55 chore: release
- @nuxt/nitro@0.2.4
 - nuxt3@0.2.5
2021-04-06 15:09:01 +02:00
Pooya Parsa f66d917729 fix(nitro): add temporary workarouind for ufo resolution in nuxt2 2021-04-06 14:57:10 +02:00
Pooya Parsa 7b5bd53a02 chore: release
- @nuxt/app@0.2.1
 - @nuxt/nitro@0.2.3
 - nuxt3@0.2.4
 - @nuxt/webpack-builder@0.1.2
2021-04-06 14:27:17 +02:00
Pooya Parsa 3d1f0ae64c chore: mark nuxt-cli as implicit dep of nuxt3 2021-04-06 14:26:42 +02:00
renovate[bot] dfe99caaf1
chore(deps): update all non-major dependencies (#40)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-06 14:18:17 +02:00
pooya parsa b12cbc5ed2
fix: use `globalThis` instead of `global` (#59) 2021-04-06 14:10:57 +02:00
Daniel Roe 7f97015c74
fix(app, nitro): fix `app:rendered` hook (#53)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-04-06 11:26:53 +02:00
Alexander Lichter 07e70ac35a
chore(nitro,nuxt3): add READMEs again (#55) 2021-04-06 11:21:47 +02:00
Pooya Parsa 07e1126508 chore(nitro): fix types 2021-04-05 21:08:53 +02:00
Daniel Roe 2db79adfb8
chore(nuxt3): add more types (#51)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-04-05 00:15:34 +02:00
Daniel Roe 06f1ba9853
chore(nitro): add some more types (#49)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-04-04 23:06:56 +02:00
Pooya Parsa 0ba484b99a chore: release
- @nuxt/nitro@0.2.2
 - nuxt3@0.2.3
2021-04-04 22:56:15 +02:00
Pooya Parsa 922fc109dc chore: release
- @nuxt/nitro@0.2.1
 - nuxt3@0.2.2
2021-04-04 19:57:49 +02:00
Pooya Parsa 16cc09bd76 fix(nitro): pass req, res to ssr context (resolves #39) 2021-04-04 19:57:42 +02:00
Pooya Parsa c864c5a30c fix(nitro): resolve alias for serverMiddleware 2021-04-04 19:54:12 +02:00
Pooya Parsa 6e1cb62231 fix(nitro): add missing kit dependency 2021-04-04 19:46:18 +02:00
Pooya Parsa 9c21ea52ea fix(nitro): add back compat entry 2021-04-04 19:39:54 +02:00
Pooya Parsa f26daa7a60 chore: release
- nuxt3@0.2.1
2021-04-04 17:59:08 +02:00
Pooya Parsa 3e794a36f2 fix(nuxt3): install nuxt-cli by default 2021-04-04 17:57:02 +02:00
Pooya Parsa ada29d411b Publish
- @nuxt/app@0.2.0
 - nuxt-cli@0.1.1
 - @nuxt/kit@0.2.0
 - @nuxt/nitro@0.2.0
 - nuxt3@0.2.0
 - @nuxt/vite-builder@0.1.1
 - @nuxt/webpack-builder@0.1.1
2021-04-04 17:51:31 +02:00
Pooya Parsa 236cb3f7a1 chore: rename nu to nuxt-cli 2021-04-04 17:48:19 +02:00
pooya parsa ef2f9993cb
chore: switch to berry (#50) 2021-04-04 16:22:40 +02:00
Pooya Parsa 5d5183ee82 perf(webpack): use fs cache by default 2021-04-04 14:28:55 +02:00
Pooya Parsa 5ed6fa7612 fix(kit): properly resolve _nuxtConfigFiles 2021-04-04 14:28:31 +02:00
Pooya Parsa 94d36976c7 fix(app): provide appDir via meta export 2021-04-03 17:08:42 +02:00
pooya parsa f47808f59a
refactor: extract vite and webpack builders (#45) 2021-04-03 15:38:07 +02:00
pooya parsa 2c1eb87671
fix: webpack compilation (#41) 2021-04-03 14:42:02 +02:00
Daniel Roe efabacd8e2
feat(app): asyncData with global state and explicit key (#37)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2021-04-03 12:03:20 +02:00
Pooya Parsa 2849559598 ✔️ 2021-04-02 22:47:23 +02:00
Pooya Parsa 4829d89b17 chore: fix type and imports 2021-04-02 21:38:11 +02:00
Pooya Parsa 6fb4028850 fix(dep): pin esbuild to 0.10.x due to module breaking changes 2021-04-02 19:42:53 +02:00
renovate[bot] c0b8d08819
chore(deps): update all non-major dependencies (#35)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-04-02 13:48:20 +02:00
pooya parsa b3f3dc94f3
feat: module utils and improvements (#38) 2021-04-02 13:47:01 +02:00
Pooya Parsa fe318d483d chore: udate @nuxt/app imports 2021-03-29 11:40:51 +02:00
Pooya Parsa 823e1a1eb4 refactor: nuxt3 utils 2021-03-29 11:33:38 +02:00
Pooya Parsa 5b146c0c88 chore: fix lint error 2021-03-28 23:15:24 +02:00
Pooya Parsa 636d1e38bb refactor: flatten nuxt3 src
some packages yet to be externalized
2021-03-28 23:12:37 +02:00
Pooya Parsa 547b8ec2a7 refactor: move utils to kit
to be rewritten
2021-03-28 23:12:37 +02:00