Commit Graph

1045 Commits

Author SHA1 Message Date
Daniel Roe 5b8e10f28e
fix(nuxt3): add missing auto imports (#1735) 2021-11-05 15:39:14 +01:00
Daniel Roe 90487fde0c
fix(vite): use `forEach` on NodeList not Element (#1734) 2021-11-05 14:54:13 +01:00
renovate[bot] 596c8c5476
chore(deps): update all non-major dependencies (#1708)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 14:15:10 +01:00
Anthony Fu 4da062a120
refactor(vite): move analyzePlugin to a seperate file (#1710) 2021-11-05 09:58:03 +01:00
Anthony Fu 85d173d653
fix(vite): swap `<link>` style on dev ssr (#1712) 2021-11-05 09:55:53 +01:00
Anthony Fu 91b428eeea
fix(bridge): enable vite build by default (#1709) 2021-11-05 09:51:15 +01:00
renovate[bot] 6bd7186976
fix(deps): update dependency ohmyfetch to ^0.4.4 (#1705)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 00:23:56 +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] de04b321d4
chore(deps): update all non-major dependencies (#1692)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-04 19:19:41 +01:00
Daniel Roe 6f1f12af16
fix(vite): expose underlying import errors (#1696) 2021-11-04 19:18:36 +01:00
pooya parsa 9b8d44d130
fix(kit): use closest nuxt package for `loadNuxt` (#1686) 2021-11-04 13:33:33 +01:00
Daniel Roe 2166661b17
fix(vite): remove relative vite workaround (#1646) 2021-11-04 12:25:46 +01:00
Daniel Roe 875deefafc
docs: add migration guide for bridge composition api (#1669)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-11-04 12:20:40 +01:00
renovate[bot] 529880ee6c
chore(deps): update all non-major dependencies (#1673)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-04 09:17:05 +01:00
Anthony Fu 929a634013
refactor: plugin templates (#1678)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-04 09:16:54 +01:00
Anthony Fu 85f39858e5
fix(vite, bridge): avoid vite resolving `tsconfig.json` (#1677) 2021-11-04 09:13:29 +01:00
renovate[bot] 89b1ea5385
chore(deps): update dependency mime to v3 (#1658)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-03 16:08:55 +01:00
pooya parsa 3cd4494770
fix(nitro): use random port for stackblitz (#1666) 2021-11-03 16:06:42 +01:00
pooya parsa c8b07a6a1c
chore: upgrade to std-env 3 (#1665) 2021-11-03 15:39:38 +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 d30f4d86d2
fix: sanitize rollup-generated filenames (#1648)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-03 14:04:42 +01:00
Daniel Roe a62351af4d
fix(vite): normalize full windows paths (#1650) 2021-11-02 19:10:56 +01:00
Daniel Roe 37f86a06c1
fix(nuxi): satisfies isn't always default export (#1643) 2021-11-02 16:56:12 +01:00
Daniel Roe 0dd86de586
fix(nuxt3): use nuxt extensions for component discovery (#1649) 2021-11-02 16:27:42 +01:00
Anthony Fu aba2d224d0
fix(nitro): skip copying symlinks and directories (#1510) 2021-11-02 13:26:43 +01:00
Daniel Roe eb67eb919e
fix(vite): remove conflicting vite aliases (#1624) 2021-11-02 13:01:44 +01:00
Daniel Roe f010d0912b
feat(nuxt3): add `importMeta` types for vite and webpack (#1439)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-02 12:53:28 +01:00
Xin Du (Clark) 52cce01962
chore: remove duplicate camelCase import (#1637) 2021-11-02 12:38:12 +01:00
Daniel Roe f3ff87c812
fix(nuxt3): enable legacy access to $config and static flags (#1588) 2021-11-02 12:28:19 +01:00
pooya parsa efe1fea1d1
feat(kit): `addComponent` utility (#1579) 2021-11-02 12:27:25 +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
Ahad Birang bd654364b9
fix(nuxt3): pass css text into children props (#1635) 2021-11-02 11:32:52 +01:00
James George 3056c26a48
chore: update help information (#1605) 2021-11-02 10:50:04 +01:00
Anthony Fu e58270a50f
fix(nuxt3): allows plugins without default export (#1618) 2021-11-02 10:49:45 +01:00
Daniel Roe 5aa33b807c
feat(bridge): allow accessing injections from `useNuxtApp` (#1623) 2021-11-02 10:45:44 +01:00
Daniel Roe 47e0721413
fix(nuxi, kit): import individual semver function (#1598) 2021-11-02 10:43:08 +01:00
Daniel Roe b49c62b335
fix(bridge): expose `nuxi` command (#1599) 2021-11-02 10:40:56 +01:00
Daniel Roe 2b35e92bd7
fix(nuxt3): add `vue-router` types when used (#1603) 2021-11-02 10:39:42 +01:00
Daniel Roe 8ad5d89a15
fix(nuxt3): only add ref if types were generated (#1606) 2021-11-02 10:38:32 +01:00
Tasuku Uno a8b969a4dd
feat(nuxt3): support async function as nuxt.config (#1612) 2021-11-02 10:37:48 +01:00
Daniel Roe 348c82d55a
fix(nuxi): generate types with `nuxi generate` (#1625) 2021-11-02 10:31:35 +01:00
Daniel Roe 288e771205
fix(nitro): narrow replace call for template name (#1626) 2021-11-02 10:30:44 +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 4e424d0d10
feat(nuxt3): support components with `global: false` and always enable transform (#1578) 2021-10-29 13:36:55 +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
Anthony Fu f60f461410
fix(bridge): detect existence of `@nuxt/bridge-edge` (#1575) 2021-10-29 12:13:59 +02:00
Pooya Parsa 8d1fcf3d69 fix(nuxi): remove nu alias
avoid conflicting with ni global install
2021-10-29 12:10:36 +02:00
Daniel Roe bdbfa36987
fix(vite): improve external checks for dev-bundler (#1538) 2021-10-29 10:43:07 +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
Daniel Roe 84e299f280
fix(kit): remove invalid portion of version from semver (#1555) 2021-10-29 10:27:37 +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
Daniel Roe f5aea9f742
fix(vite): don't replace `process.env` (#1543) 2021-10-28 16:48:42 +02:00
Daniel Roe f78ec933fe
fix(vite): remove aliases from inline list (#1520) 2021-10-27 16:41:52 +02:00
Daniel Roe 07ad7254e6
fix(nitro): resolve firebase package versions with `pkg-types` (#1490)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-27 16:29:04 +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
Anthony Fu 0f329ea871
fix(bridge): fix fouc on vite (#1515) 2021-10-27 13:35:06 +02:00
Anthony Fu cf99fd2862
fix(vite): add missing `import.meta` functions (#1513) 2021-10-27 13:32:26 +02:00
Anthony Fu 00e25fa8e8
fix(vite): dev-bundler externality (#1507) 2021-10-27 12:55:08 +02:00
Anthony Fu 0326a31990
fix(nitro): fix regex for tracedFiles scanning (#1509) 2021-10-27 12:53:25 +02:00
Anthony Fu 7ede9b14d9
fix(bridge): can't enable vite mode (#1505) 2021-10-27 09:48:17 +00:00
ziga 245aa6b68f
fix(nitro): type inference for api routes returning promise (#1483) 2021-10-27 10:19:53 +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
Daniel Roe 096f0679f7
fix(vite): set `#build/plugins` alias to empty string (#1489) 2021-10-27 08:03:10 +00:00
renovate[bot] 5ad4d3eae0
chore(deps): update dependency css-loader to ^6.5.0 (#1482)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 19:38:18 +02:00
Daniel Roe 41ff3b8efe
fix(nitro): support built `publicPath` (#1479) 2021-10-26 19:37:52 +02:00
renovate[bot] 876857db5e
chore(deps): update all non-major dependencies (#1481)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 19:36:52 +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
renovate[bot] 83139d07e9
chore(deps): update all non-major dependencies (#1448)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 16:46:19 +02:00
Daniel Roe a0da91839a
fix(kit): ensure directory exists before writing virtual template (#1473) 2021-10-26 16:42:10 +02:00
Anthony Fu 46f858dd82
chore: move `nuxt-vite` to bridge (#1180)
Co-authored-by: Xin Du (Clark) <clark.duxin@gmail.com>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-26 14:59:05 +02:00
Daniel Roe c672d8990a
feat(vite): pass vue options to vite plugin (#1452) 2021-10-26 14:49:18 +02:00
Levi (Nguyễn Lương Huy) 3761b064d0
chore(kit): refactor some configs with defu (#1459) 2021-10-26 11:47:30 +02:00
Pooya Parsa d2cc9e4bd0 fix(nitro): revert to main rollup import (closes #1445) 2021-10-25 18:32:20 +02:00
renovate[bot] a382bf02ff
chore(deps): update all non-major dependencies (#1425)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-25 16:25:51 +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
Daniel Roe c6f769e94d
fix(nitro): inject payload for spa renderer (#1434) 2021-10-25 12:36:38 +02:00
Pooya Parsa ad7e7551ec fix(nitro): import rollup as cjs 2021-10-25 11:23:15 +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
renovate[bot] 9e3dfad172
chore(deps): update all non-major dependencies (#1384)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-24 13:24:58 +02:00
Daniel Roe 7d918e1457
refactor(nuxi): move `nuxt.d.ts` within `buildDir` (#1369) 2021-10-23 00:33:22 +02:00
Daniel Roe 8f119ab0cf
feat(kit): add `registerComponentDirectory` helper (#1379)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-23 00:28:18 +02:00
Daniel Roe 281790e036
feat: define nitro `#storage` and `#assets` types (#1377) 2021-10-23 00:25:49 +02:00
pooya parsa 06e9c7ebc1
fix(pkg): remove vue3 from peerDependencies (#1382) 2021-10-23 00:25:25 +02:00
Pooya Parsa 6943b7dd93 chore(deps): update unstorage to 0.3.x 2021-10-23 00:21:08 +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
pooya parsa c80353637e
feat(nitro): update dependencies for node-fetch 3.x support (#1373) 2021-10-22 19:04:15 +02:00
Francisco Buceta 54549cfc61
fix(nitro): omit `/index` from generated api urls (#1371) 2021-10-22 19:04:02 +02:00
Pooya Parsa 1e69bc56bb fix(nitro): handle terminating uninitialized worker 2021-10-22 15:36:29 +02:00
Daniel Roe 018302cb0b
fix(nitro): update firebase preset to handle mjs output (#1360) 2021-10-22 13:57:21 +02:00
Daniel Roe fb4359e1a3
fix(nuxi): correct analyzer html (#1339) 2021-10-21 22:38:17 +02:00
Pooya Parsa 776539b809 fix(vite): add missing esbuild dependency 2021-10-21 22:18:39 +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) 694e95b2b4
feat(nuxt3): support `NuxtChild` component (#1301) (#1312) 2021-10-21 21:16:52 +02:00
pooya parsa bbeb6b50f5
fix(vite): inline incompatible extensions (#1332) 2021-10-21 21:02:10 +02:00