Commit Graph

209 Commits

Author SHA1 Message Date
pooya parsa 9fbb9bec8d
fix: regressions from nitropack migration (#4157) 2022-04-07 14:57:57 +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
renovate[bot] 2eedb589d7
chore(deps): update all non-major dependencies (#4134)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 21:16:56 +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
renovate[bot] 5fa9d79303
chore(deps): update all non-major dependencies (#3888)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-25 15:43:14 +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
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