Commit Graph

197 Commits

Author SHA1 Message Date
pooya parsa 265db50515
refactor(nuxt)!: cleanup schema and split nuxt 2 types (#8487) 2022-10-27 12:36:37 +02:00
pooya parsa 9415f54a1a
fix(nuxi): update analzye main handler (#8339) 2022-10-19 17:29:20 +02:00
Daniel Roe 931ebec376
fix(nuxi): don't include`workspaceDir` in tsconfig by default (#8256) 2022-10-17 19:53:04 +02:00
Christian Preston 8f7a7ec06e
feat(nuxi): `nuxi build-module` command (#7610)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-10-16 11:40:03 +02:00
pooya parsa 895ecc7677
feat!: upgrade to `nitropack@0.6` and `h3@0.8` (#8218) 2022-10-15 20:42:57 +02:00
Cupid Valentine c905a23b1f
fix(nuxi): replace lazyHandle to defineLazyHandler (#8049) 2022-10-09 18:17:38 +02:00
Christian Preston 2e080c259f
feat(nuxi): support `--dotenv` for `dev`, `build` and `preview` commands (#7660) 2022-09-26 12:36:10 +02:00
Daniel Roe 084188e7de
fix(nuxi): stub `defineNuxtConfig` for `nuxi info` (#7728) 2022-09-22 15:51:13 +02:00
Daniel Roe 230af9c186
fix(nuxi): include `workspaceDir` in tsconfig include (#7726) 2022-09-22 15:50:40 +02:00
pooya parsa 720da64b12
fix(nuxi, vite): support https with custom domain and hmr (#7680) 2022-09-20 12:54:52 +02:00
Daniel Roe 2b57bfe36c
fix(nuxi): backward compatibility for kit <= rc.10 without `useNitro` (#7593) 2022-09-16 19:27:50 +02:00
Daniel Roe f0ad1b02d9
fix(nuxi): print resolved public directory after generate (#7577) 2022-09-16 11:26:28 +02:00
pooya parsa 43b9bcaeaf
fix(nuxi, vite): ipv6 support for `nuxi dev` (#7560)
* fix(nuxi): ipv6 support for `nuxi dev`

* fix vite: use listener url directly

* add url to schema
2022-09-15 18:10:36 +02:00
pooya parsa a18f17797a
fix(nuxi): improved self-signed certificate for `nuxi dev --https` (#7545) 2022-09-15 12:49:12 +02:00
pooya parsa 270055b86d
feat(cli)!: use giget 0.1x with template registry for `nuxi init` (#7404) 2022-09-10 15:37:25 +02:00
Daniel Roe e05f8ee126
fix(nuxi): don't include an array of paths within an array (#7378) 2022-09-09 12:17:44 +02:00
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
AndreyYolkin b97cc27469
fix(kit, nuxi): semver regexp to support `nuxt-edge` current releases (bridge) (#7193) 2022-09-03 15:08:23 +02:00
pooya parsa 62e38cd7e5
fix(nuxi): fix version search path (#7133) 2022-09-01 12:56:18 +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
Ennio Visconti 9d28c0adbb
refactor(nuxi): improve env update message (#5430) 2022-06-13 00:13:59 +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
Daniel Roe 2d202b59e3
fix(nuxi): don't strip file extensions from dirs in `tsconfig` (#4595) 2022-04-25 19:07:01 +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 eed7036627
fix(nuxi): strip extensions from absolute paths (for types) (#4300) 2022-04-19 21:14: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 0b12666d49
refactor(nuxi): remove `rimraf` dependency (#4308) 2022-04-12 21:06:44 +02:00
pooya parsa 396472778f
fix(cli): close process by default after command invokation (#4192) 2022-04-09 12:02:56 +02:00
Dizzy Rogers 8874728842
fix(nuxi): update `api` template to event format (#4183) 2022-04-07 23:25:39 +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
Daniel Roe 30b8059d6d
fix(bridge): handle missing `experimental` key on bridge (#3763) 2022-03-18 11:45:30 +01:00
Anthony Fu f69126e8f4
feat: support reactivity transform (#3737)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-17 23:17:59 +01:00
pooya parsa a50b8ca712
feat(test-utils): test in development mode (#3753) 2022-03-17 22:31:06 +01:00
pooya parsa 621ce975b4
feat(nuxi): expose `runCommand` (#3749) 2022-03-17 19:49:59 +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 7b6252a444
feat(nuxi): add jsx option to generated tsconfig (#3449) 2022-03-01 19:25:23 +01:00
Daniel Roe 754ff0c9e7
feat: `.nuxtignore` support and `isIgnored` kit utility (#3424) 2022-02-28 17:11:46 +01:00
Daniel Roe 271289c4d6
fix(nuxi): don't clear screen on `nuxi dev --help` (#3372) 2022-02-24 17:18:13 +00: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
Daniel Roe c1148d4d77
refactor: write declarations to `<buildDir>/types` (#3067)
* refactor: write declarations to `<buildDir>/types`

* fix: update relative imports
2022-02-07 11:20:01 +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
Pooya Parsa 1ef6e3f525 fix(nuxi): ensure buildDir exists before write 2021-12-01 21:40:40 +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
Anthony Fu 1e0e8818da
fix(bridge): exclude bridge alias types to support Volar (#2013) 2021-11-18 19:11:43 +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 f3a1ac5c59
fix(nuxi): handle missing typescript options in build (#1972) 2021-11-16 16:20:27 +01:00
pooya parsa b16cfea689
feat: `typescript` options (#1940) 2021-11-16 13:32:21 +01:00
Daniel Roe 36f3691bf8
fix(nuxi): create buildDir before writing types (#1930) 2021-11-15 16:55:32 +01:00
Daniel Roe 89aa7aa303
fix(nuxi): set `allowSyntheticDefaultImports` (#1827) 2021-11-10 17:39:19 +01:00
Daniel Roe f2d4c65edb
fix(nuxi): default to skipping lib check (#1824) 2021-11-10 14:18:25 +01:00
Daniel Roe 13a8e2b163
fix(nitro, nuxi): add runtimeConfig types (for `#config` and `useRuntimeConfig()`) (#1783)
Co-authored-by: Tobias Diez <code@tobiasdiez.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-10 13:40:02 +01:00
pooya parsa 292b5243c7
fix(nuxi): allow starting `nuxi dev` with self signed certificate (#1699) 2021-11-04 19:40:02 +01:00
Daniel Roe 37f86a06c1
fix(nuxi): satisfies isn't always default export (#1643) 2021-11-02 16:56:12 +01:00
James George 3056c26a48
chore: update help information (#1605) 2021-11-02 10:50:04 +01:00