Commit Graph

154 Commits

Author SHA1 Message Date
pooya parsa e0c5907f0a
feat(nuxi): switch to `unjs/giget` for `nuxi init` (#7361) 2022-09-08 17:43:04 +02:00
Daniel Roe 524ba557eb
fix(nuxi): pass value of `https` through to vite-node (#7271) 2022-09-06 11:45:14 +02:00
pooya parsa 2d30a1db8b
feat(nuxi): display nuxt and nitro versions for dev and build commands (#7118) 2022-09-01 11:34:56 +02:00
Anthony Fu 9db2229f70
refactor: enable strict type checking everywhere (#6943) 2022-08-26 17:47:29 +02:00
Alex Kozack 422d5c4fb5
fix(nuxi): build all types on typecheck command (#5437) 2022-08-23 23:04:26 +02:00
Conrawl Rogers 5ef135650f
feat(nuxi): support mode flags for `add` command (#3921)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-08-23 22:44:25 +02:00
pooya parsa 94f76ea930
feat(nuxt): `app.config` with hmr and reactivity support (#6333)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-08-17 17:23:13 +02:00
Harlan Wilton 99c960fb05
fix(nuxi): properly detect hash and tag for upgrade changelog (#6708) 2022-08-17 15:45:45 +02:00
Harlan Wilton e93f88c1e4
fix(nuxi): ensure `nuxi upgrade` runs in rootDir (#6707) 2022-08-17 15:44:10 +02:00
pooya parsa 4d5f768aaf
feat(nuxi): auto cleanup with project manifest changes (#6672) 2022-08-16 15:14:26 +02:00
pooya parsa b4bea517df
fix(nuxi): update `server.port` and `server.host` with listener info (#6595) 2022-08-13 13:52:03 +02:00
pooya parsa 4f9337adcc
fix(nuxi): fix issues with `nuxi upgrade` (#6514) 2022-08-11 13:41:53 +02:00
pooya parsa e3534bcda5
fix(nuxi, kit): enable `esmResolve` flag for `jiti` (#6356) 2022-08-04 15:22:32 +02:00
pooya parsa 25ac652652
feat(nuxi): `nuxi cleanup` command (#6125) 2022-07-25 17:19:17 +02:00
Daniel Roe 40defd9f36
fix(nuxi): load `.env` file before starting dev server (#6119) 2022-07-25 14:01:18 +02:00
Anthony Fu 100dfa6653
fix(nuxi): show base url in terminal (#5337)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-12 14:12:33 +02:00
Daniel Roe a9c061cd2e
fix(nuxi): always override `NODE_ENV` (#5417) 2022-06-12 23:26:36 +02:00
Harlan Wilton c1f728ee54
refactor(nuxi): provide better advice on failing clone (#5155) 2022-06-01 08:43:24 +02:00
Daniel Roe 2886dfdaea
fix(nuxi): only reload for top level dirs (#4912) 2022-05-13 12:59:04 +02:00
Max Programming 22954d08ca
fix(nuxi): improve `nuxi init` output (#4612)
* Prevent redundant cd statement

* some more improvements

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-29 21:03:46 +02:00
Anthony Fu 256df28124
chore: enable typecheck ci for packages (#4664) 2022-04-29 11:38:22 +02:00
Ben Sheedy cb42d3e6ad
fix(nuxi): typo in init message (#4685) 2022-04-29 10:53:58 +02:00
pooya parsa 975ec0c417
chore(nuxi): add notice for generate deployment (#4474) 2022-04-20 21:22:59 +02:00
pooya parsa 9df0a2b036
fix(nuxi): use `rc` tag for upgrade command of nuxt (#4468) 2022-04-20 20:36:26 +02:00
Sébastien Chopin 4c19b2652f
fix(nuxi): don't kill analyze command (#4462) 2022-04-20 16:47:43 +02:00
pooya parsa 4712e99411
refactor!: rename nuxt3 to nuxt (#4449) 2022-04-20 10:52:39 +02:00
Daniel Roe e0b2a3bfe4
chore: use `node:` prefix for built-in modules (#4384) 2022-04-15 17:19:05 +02:00
Daniel Roe 32c798cfc4
fix(nuxi): call listen hook on each restart (#4346) 2022-04-14 10:39:27 +02:00
pooya parsa 396472778f
fix(cli): close process by default after command invokation (#4192) 2022-04-09 12:02:56 +02:00
pooya parsa 11626eea4f
feat!: migrate to nitropack (#3956)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-07 13:28:04 +02:00
Daniel Roe 301f242422
fix(nuxi): use rm rather than rmdir (#4100) 2022-04-05 16:47:08 +02:00
Daniel Roe 02d2d1ae35
feat(nuxi): load `.env` when previewing builds (#4016) 2022-04-01 12:28:39 +02:00
Daniel Roe e4956c555f
fix(nuxi): ignore buildDir on windows too (#3999) 2022-03-31 18:09:57 +02:00
Daniel Roe df188d7734
fix(nuxi): respect `NUXT_PORT` and `NUXT_HOST` vars in dev mode (#3973) 2022-03-30 21:07:26 +02:00
Jakub Andrzejewski 19842ce471
feat(nuxi): scaffold files with `nuxi add` (#3841)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Clément Ollivier <clement.o2p@gmail.com>
2022-03-25 15:56:36 +01:00
jfavlam 7a994bc7a7
chore(nuxi): add pnpm to `init` instructions (#3826)
* Add pnpm instructions

Add pnpm commands to install the dependencies and start the development server

* Update packages/nuxi/src/commands/init.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-22 10:35:07 +01:00
pooya parsa a50b8ca712
feat(test-utils): test in development mode (#3753) 2022-03-17 22:31:06 +01:00
Anthony Fu 452a7730e0
feat(nuxi): init `nuxi test` support (#3307)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-16 13:34:27 +01:00
Daniel Roe ff88d91bae
fix: use `perfect-debounce` to handle trailing run of promise (#3679)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-16 12:11:30 +01:00
Daniel Roe 14b32258e8
fix: ensure debounced/async handlers run in order (#3656) 2022-03-15 11:56:16 +01:00
Daniel Roe a7ce6d53b7
fix(nuxi): use new `builder` option for vite/webpack info (#3658) 2022-03-15 11:39:49 +01:00
Daniel Roe 5d58ef48af
feat(nitro, nuxt3): allow handling otherwise unhandled runtime errors (#3464)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-11 09:22:16 +01:00
Daniel Roe 754ff0c9e7
feat: `.nuxtignore` support and `isIgnored` kit utility (#3424) 2022-02-28 17:11:46 +01:00
Xin Du (Clark) 48cc6086e4
fix(config): add analyze plugin options in bridge mode (#3292) 2022-02-21 12:25:31 +01:00
Anthony Fu 467ab693b9
feat: shared logger and silent test logs (#3259)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-16 22:34:32 +01:00
Keith Bremner a3579b7a1c
docs: fix typo in nuxi analyze output (#3022) 2022-02-01 15:34:06 +00:00
nandi95 88da7197ba
fix(nuxi): updated rmdir to rm and checked paths exists (#2968) 2022-01-28 12:32:09 +01:00
Daniel Roe 6e06d2b4c9
feat(nuxi): clear cache on upgrade (#2936) 2022-01-26 18:25:11 +01:00
Daniel Roe 03cc1913a3
fix(nuxi,nuxt3,bridge): generate all templates with `nuxi prepare` (#2409) 2022-01-24 14:28:47 +01:00
Daniel Roe 7f62ed1e32
fix(nuxi): respect custom pages directory (#2813) 2022-01-19 19:07:25 +01:00
Harlan Wilton 4bd7adae4a
feat(nuxi): call nuxt `listen` hook for dev (#2772) 2022-01-18 17:36:01 +01:00
Pooya Parsa 21b664cc74 feat(nuxi): use nuxt/starter by default for templates 2022-01-17 22:29:32 +01:00
Daniel Roe b5618e976b
feat(nuxi): add `nuxi preview` command for local testing (#2162)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-12-21 12:46:42 +01:00
Daniel Roe f3082ca601
fix(nuxi): add `nuxt3` to dev deps in upgrade command (#2143) 2021-11-24 21:13:12 +01:00
Daniel Roe f5307f9d13
feat(nuxi): add `typecheck` command using `vue-tsc` (#2132)
* feat(nuxi): add `typecheck` command using `vue-tsc`

* perf: use local install with execa + set rootDir as cwd
2021-11-24 17:02:57 +01:00
Daniel Roe 2a29c6aa1a
fix(cli): enable `usage` command (#2079) 2021-11-22 18:19:34 +01:00
pooya parsa d68318f9d5
refactor: split schema to `@nuxt/schema` and simplify kit (#2059) 2021-11-21 17:14:46 +01:00
renovate[bot] ca8b97d69b
chore(deps): update devdependency execa to v6 (#1986)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-18 19:12:19 +01:00
Xin Du (Clark) a08b435f51
refactor: remove unnecessary optional chaining (#1991) 2021-11-17 15:37:34 +01:00
Daniel Roe 496ea09777
fix(nuxi): ignore static check with `prepare` command (#1971) 2021-11-16 17:10:28 +01:00
Daniel Roe 36f3691bf8
fix(nuxi): create buildDir before writing types (#1930) 2021-11-15 16:55:32 +01:00
pooya parsa 292b5243c7
fix(nuxi): allow starting `nuxi dev` with self signed certificate (#1699) 2021-11-04 19:40:02 +01:00
James George 3056c26a48
chore: update help information (#1605) 2021-11-02 10:50:04 +01:00
Daniel Roe 348c82d55a
fix(nuxi): generate types with `nuxi generate` (#1625) 2021-11-02 10:31:35 +01:00
Anthony Fu c420e46efe
fix(nuxi): forward `nuxi generate` to `nuxt` on nuxt 2 (#1571) 2021-10-29 12:42:55 +02:00
Anthony Fu 5eb8e072ee
refactor(nuxi): info output package manager version (#1564) 2021-10-29 10:41:04 +02:00
Daniel Roe d623fc0419
fix(nuxi): write types after nuxt is ready (#1551) 2021-10-29 10:31:39 +02:00
Anthony Fu 0c1860a056
feat(nuxi): support pnpm for nuxi upgrade (#1516) 2021-10-27 13:46:09 +02:00
Mgs. M. Rizqi Fadhlurrahman 1f0cea6e7f
feat(nuxi): nuxi upgrade command (#1468)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-26 19:36:22 +02:00
Daniel Roe 79664ad611
fix(nuxi): ensure types are calculated on current nuxt instance (#1432) 2021-10-25 13:04:27 +02:00
James George 110b2b2680
fix(nuxi): validations for `--template` flag (#1412) 2021-10-24 16:48:02 +02:00
James George bd010313db
fix(nuxi): validate template argument (#1409) 2021-10-24 13:39:17 +02:00
Daniel Roe fb4359e1a3
fix(nuxi): correct analyzer html (#1339) 2021-10-21 22:38:17 +02:00
Daniel Roe f0b9474b40
feat(nuxi): bundle analyzer (#701)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-21 21:51:44 +02:00
Levi (Nguyễn Lương Huy) 7f7794787b
fix(nuxi): support `build:error` hook (#1298) 2021-10-20 20:50:01 +02:00
Anthony Fu 550a9f2e12
feat: auto-import for composables (#1176)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-20 11:47:18 +02:00
Pooya Parsa 225e3bafd4 fix(nuxi): ignore watch events if nuxt instance is not ready 2021-10-18 20:38:46 +02:00
Daniel Roe 6546fccbf9
fix(nuxi): write `tsconfig` when generating `buildDir` (#1161) 2021-10-18 16:22:02 +02:00
Pooya Parsa 8714731892 chore: fix eslint issue 2021-10-18 15:25:11 +02:00
pooya parsa cb912c3c0c
fix(nuxi): update version and vite detection (#1169) 2021-10-18 15:11:17 +02:00
Abderrahim SOUBAI-ELIDRISI 870a62855c
chore(deps): replace degit by tiged (#1052) 2021-10-18 12:04:06 +02:00
Levi (Nguyễn Lương Huy) c9c6f37ae3
chore(nuxi): improve typing in nuxi dev script (#1064) 2021-10-15 12:13:04 +02:00
Levi (Nguyễn Lương Huy) 0b45721b8e
feat(nuxi): support `--host`, `--ssl-cert`, and `--ssl-key` args (#993) 2021-10-14 13:36:04 +02:00
renovate[bot] ff97e2558c
chore(deps): update devdependency clipboardy to v3 (#974) 2021-10-13 22:11:45 +02:00
Daniel Roe 1fbfdefe70
refactor: use `p-debounce` everywhere (#977) 2021-10-13 21:04:12 +02:00
Xin Du (Clark) d8332d6ad6 chore(eslint): fix lint error 2021-10-13 12:16:15 +01:00
Daniel Roe f0ce5f78f8
fix(nuxi): warn if user does not have `@nuxt/kit` installed (#915) 2021-10-13 12:44:54 +02:00
Anthony Fu 8f38280978
fix(nuxi): respect `--port` arg (#919) 2021-10-13 12:33:21 +02:00
Daniel Roe 81293ff195
fix(nuxi): provide install advice if git fails (#923) 2021-10-13 12:30:27 +02:00
Sébastien Chopin b35b111032
fix(nuxi): dx improvements when creating `components/` directory (#749) 2021-10-12 14:32:49 +02:00
pooya parsa 096b0e3305
feat(cli): add placeholder generate command (#738) 2021-10-12 10:52:28 +02:00
Daniel Roe 06c1222e1f
feat(nuxi): invoke `prepare` step for nuxi dev/build (#689) 2021-10-07 15:53:31 +02:00
Daniel Roe abfaaa97eb
chore(nuxi): use consola for consistency (#686) 2021-10-07 12:15:15 +02:00
Daniel Roe cc2279bd8a
refactor(nuxi): extract nitro types to corresponding modules (#668)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-07 12:09:09 +02:00
Daniel Roe 485c97645a
fix(nuxi): don't include `nuxt3` for bridge projects (#663) 2021-10-05 22:49:56 +02:00
pooya parsa baa4ddbae0
feat(nuxi): basic `nuxi init` (#659) 2021-10-05 22:35:23 +02:00
Xin Du (Clark) eb794f3f85
chore(eslint): forbid modules importing from core (#556)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-02 20:40:10 +02:00
pooya parsa 6e496373f3
feat: use native esm for all packages (#539) 2021-10-02 18:01:17 +02:00
Daniel Roe 40d3aae439
fix(nuxi): don't restart when build directory changes (#613) 2021-10-02 13:44:51 +02:00
Sébastien Chopin 0b8ae9abdd
fix(cli): restart on `app.vue` creation and removal (#597) 2021-09-29 20:09:43 +02:00