Commit Graph

239 Commits

Author SHA1 Message Date
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
pooya parsa 12a95ad86c
test: rework tests using `@nuxt/test-utils` (#3308) 2022-02-18 19:14:57 +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
renovate[bot] cc9d525650
chore(deps): update all non-major dependencies (#3204)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-15 10:53:20 +01:00
renovate[bot] 7701c125ea
chore(deps): update all non-major dependencies (#3176)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-11 10:19:53 +01:00
renovate[bot] a1b2d09438
chore(deps): update all non-major dependencies (#3097)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-07 21:50:53 +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
renovate[bot] a43757b082
chore(deps): update all non-major dependencies (#2970)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-31 11:55:56 +01: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
renovate[bot] 4b1ea5741e
chore(deps): update dependency jiti to ^1.12.14 (#2929)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-26 13:03:01 +01:00
renovate[bot] 0affa39b62
chore(deps): update all non-major dependencies (#2912)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-01-26 12:57:33 +01:00
renovate[bot] b0a56ad807
chore(deps): update all non-major dependencies (#2902)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-25 15:51:19 +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
renovate[bot] c80870ad8c
chore(deps): update all non-major dependencies (#2767)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-18 17:59:31 +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
renovate[bot] 0e984fe496
chore(deps): update all non-major dependencies (#2756)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 18:25:38 +01:00
renovate[bot] 91032cdd64
chore(deps): update all non-major dependencies (#2717)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 11:56:28 +01:00
renovate[bot] 303b5bd220
chore(deps): update all non-major dependencies (#2707)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-13 18:21:05 +01:00
renovate[bot] 47cac4c597
chore(deps): update all non-major dependencies (#2637)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-11 18:45:11 +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
renovate[bot] 85f0547ca4
chore(deps): update all non-major dependencies (#2379)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-12-20 12:33:18 +01:00
renovate[bot] 23397e603c
feat(deps): update all non-major dependencies (#2252)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-12-14 16:46:05 +01:00
Pooya Parsa 1ef6e3f525 fix(nuxi): ensure buildDir exists before write 2021-12-01 21:40:40 +01:00
renovate[bot] ceec9fdba8
chore(deps): update all non-major dependencies (#2214)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-01 12:58:38 +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
Anthony Fu 202617bdd1
fix(bridge): plugin default detection (#1847)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-11 14:58:43 +01:00
renovate[bot] 02f3fd1451
chore(deps): update all non-major dependencies (#1828)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-10 21:15:39 +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
renovate[bot] 6f934aa9d9
chore(deps): update all non-major dependencies (#1641)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 14:32:25 +01:00
Daniel Roe 37f86a06c1
fix(nuxi): satisfies isn't always default export (#1643) 2021-11-02 16:56:12 +01:00
renovate[bot] 266578b76e
chore(deps): update all non-major dependencies (#1591)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-02 12:26:26 +01:00
James George 3056c26a48
chore: update help information (#1605) 2021-11-02 10:50:04 +01:00
Daniel Roe 47e0721413
fix(nuxi, kit): import individual semver function (#1598) 2021-11-02 10:43:08 +01:00
Daniel Roe 348c82d55a
fix(nuxi): generate types with `nuxi generate` (#1625) 2021-11-02 10:31:35 +01:00
renovate[bot] ddf45fbcc7
chore(deps): update all non-major dependencies (#1546)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-29 14:24:28 +02:00
Pooya Parsa b24c9348f7 fix(nuxt3): expose `nuxi` command 2021-10-29 13:31:56 +02:00
Levi (Nguyễn Lương Huy) 4c17b92b66
chore(docs): add code format using markdownlint (#1498) (#1556) 2021-10-29 13:26:01 +02:00
Anthony Fu c420e46efe
fix(nuxi): forward `nuxi generate` to `nuxt` on nuxt 2 (#1571) 2021-10-29 12:42:55 +02:00
Pooya Parsa 8d1fcf3d69 fix(nuxi): remove nu alias
avoid conflicting with ni global install
2021-10-29 12:10:36 +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
renovate[bot] 59de0f9218
chore(deps): update all non-major dependencies (#1519)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-28 16:49:07 +02:00
renovate[bot] 0520db6b22
chore(deps): update all non-major dependencies (#1508)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-27 16:01:11 +02:00
Anthony Fu 0c1860a056
feat(nuxi): support pnpm for nuxi upgrade (#1516) 2021-10-27 13:46:09 +02:00
renovate[bot] 3bc984d0c0
chore(deps): update all non-major dependencies (#1488)
close #1243, close #944
2021-10-27 10:19:32 +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
Anthony Fu 4f9c87b99a
fix(pkg): support node 17.x in the engines field (#1443)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-25 16:14:52 +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 7d918e1457
refactor(nuxi): move `nuxt.d.ts` within `buildDir` (#1369) 2021-10-23 00:33:22 +02:00
Daniel Roe 281790e036
feat: define nitro `#storage` and `#assets` types (#1377) 2021-10-23 00:25:49 +02:00
renovate[bot] c8cb6c7ad1
chore(deps): update all non-major dependencies (#1333)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-22 19:04:28 +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
Levi (Nguyễn Lương Huy) a3058eebae
test(nuxt3): add unit tests for `generateRoutesFromFiles` (#261) (#1227)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-20 20:12:55 +02:00
renovate[bot] 22acd39508
chore(deps): update all non-major dependencies (#1240)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-20 12:13:35 +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 4526af78a9 fix(pkg): downgrade node version to 14.16.x due to stackblitz issue
14.16.0 was released at 2021-02-23. hopefully most of platforms had time to migrate LTS.
2021-10-19 13:37:59 +02:00
Pooya Parsa 8db76fcf2e fix(pkg): downgrade node version to 14.17.x due to codesandbox issue 2021-10-19 13:24:51 +02:00
pooya parsa d8d10febd5
feat!: add `engines.node` field and node.js version check (#1197) 2021-10-18 21:31:15 +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
renovate[bot] 9357d0895d
chore(deps): update dependency mlly to ^0.2.10 (#1170)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 15:40:56 +02:00
Pooya Parsa 807f4a325f fix(deps): upgrade jiti to 2.12.9 (#1171) 2021-10-18 15:38:04 +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
renovate[bot] cba4c4202b
chore(deps): update all non-major dependencies (#1156)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-18 11:41:29 +02:00
renovate[bot] 4f050e50bf
chore(deps): update all non-major dependencies (#989) 2021-10-18 10:50:46 +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
Pooya Parsa 83862bb50a fix(cli): update listhen (resolves #1032, #1033) 2021-10-14 15:54:08 +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
Xin Du (Clark) 31b12d04c0
feat(cli): generate tsconfig.json in prepare command (#822)
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-13 22:01:50 +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
renovate[bot] 743160702a
chore(deps): update devdependency jiti to ^1.12.7 (#785)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 17:22:17 +02:00
renovate[bot] 2e87a76721
chore(deps): update all non-major dependencies (#742)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-12 16:04:31 +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 9c619b8772
fix(nuxt3): provide `NuxtWelcome` component from design (#745) 2021-10-12 13:16:52 +02:00
pooya parsa 096b0e3305
feat(cli): add placeholder generate command (#738) 2021-10-12 10:52:28 +02:00
Sébastien Chopin 95779c3d5f
chore: add readme to packages (#727)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-12 03:38:17 +02:00
renovate[bot] 27666063ea
chore(deps): update all non-major dependencies (#649)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-08 16:22:23 +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
Pooya Parsa 2b1bf4824e chore: update base major versions to 3.x for simplicity 2021-10-05 17:09:24 +02:00
renovate[bot] 5d86bfad78
chore(deps): update devdependency colorette to ^2.0.14 (#633)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-03 22:55:02 +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
renovate[bot] 03754d9ff7
chore(deps): update dependency mlly to ^0.2.4 (#622)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-02 19:00:10 +02:00
pooya parsa 6e496373f3
feat: use native esm for all packages (#539) 2021-10-02 18:01:17 +02:00
Pooya Parsa f21b7de3d1 chore(deps): update jiti to 1.12.6
also force resolve to ensure using latest and v8-compile-cache is disabled
2021-10-02 16:09:06 +02:00
Pooya Parsa 0c4b442ccb fix(nuxi): fix issue with dynamic cjs chunks
resolves #621 via hotfix
2021-10-02 16:05:26 +02:00
renovate[bot] d2214c4ee4
chore(deps): update all non-major dependencies (#606)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-02 13:54:10 +02:00
Daniel Roe 40d3aae439
fix(nuxi): don't restart when build directory changes (#613) 2021-10-02 13:44:51 +02:00
renovate[bot] a5f446ca6a
chore(deps): update all non-major dependencies (#593)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-29 20:28:57 +02:00
Sébastien Chopin 0b8ae9abdd
fix(cli): restart on `app.vue` creation and removal (#597) 2021-09-29 20:09:43 +02:00
renovate[bot] aaaeb826ba
chore(deps): update all non-major dependencies (#565) 2021-09-29 12:53:41 +02:00
pooya parsa 6329a681e4
refactor: migrate from upath to pathe (#553) 2021-09-27 14:49:36 +02:00
renovate[bot] 7be43456a4
chore(deps): update all non-major dependencies (#554)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-23 20:39:49 +02:00
Sébastien Chopin 8513654e6c chore: update design version 2021-09-23 15:36:52 +02:00
renovate[bot] 2bae698c18
chore(deps): update all non-major dependencies (#548)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-22 17:58:48 +02:00
Pooya Parsa 317fc55539 fix(pkg): enable declaration for for and webpack 2021-09-21 19:07:24 +02:00
renovate[bot] b06e90d336
chore(deps): update all non-major dependencies (#540)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-21 18:53:25 +02:00
pooya parsa 62647844b5
chore: update to unbuild 0.5.x (#545) 2021-09-21 18:49:36 +02:00
renovate[bot] 758bf3ef6f
chore(deps): update all non-major dependencies (#521) 2021-09-20 20:59:49 +02:00
renovate[bot] 9db312beb1
chore(deps): update devdependency colorette to v2 (#531)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-20 20:12:56 +02:00
Pooya Parsa 35f7f10c43 fix(pkg): avoid conflicting `nuxt` binraries (resolves #512) 2021-09-09 09:31:06 +02:00
renovate[bot] f468ad59e4
chore(deps): update all non-major dependencies (#502)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-07 20:11:07 +02:00
pooya parsa 49f7b39f6b
feat(cli): `nuxi info` (#503) 2021-09-07 15:17:17 +02:00
renovate[bot] 09824d9167
chore(deps): update all non-major dependencies (#428)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-08-11 22:39:46 +02:00
pooya parsa ee0163c273
refactor: merge modules to `nuxt3` (#439) 2021-08-11 22:28:38 +02:00
pooya parsa 084b4e2123
refactor: rename `nuxt-cli` to `nuxi` (#430) 2021-08-10 19:37:03 +02:00