Commit Graph

351 Commits

Author SHA1 Message Date
renovate[bot]
3fa32b9c22
chore(deps): update all non-major dependencies (#6173)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-29 11:40:44 +02:00
Anthony Fu
d4eba42f17
fix(kit): add implicit ohash dependency (#6216) 2022-07-29 10:44:28 +02:00
renovate[bot]
02b01013df
chore(deps): update all non-major dependencies (#6074) 2022-07-25 12:15:13 +02:00
Anthony Fu
d453729c75
fix(types): generate relative path in imports.d.ts (#6054) 2022-07-22 09:30:29 +02:00
Anthony Fu
d135608ef0
fix(nuxt): use relative path to generate plugin variables (#6030)
Co-authored-by: Pooya Parsa <pooya@pi0.io>
2022-07-21 20:09:27 +02:00
Daniel Roe
4d80c43d25
fix(kit): resolve aliases in plugin src (#6037) 2022-07-21 16:05:41 +02:00
renovate[bot]
6313f69a06
chore(deps): update all non-major dependencies (#6032)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-21 15:59:00 +02:00
Anthony Fu
b4b98041f0
fix(kit, nuxt): always sort globby results (#6029) 2022-07-21 12:46:50 +02:00
renovate[bot]
72c3af7fc5
chore(deps): update all non-major dependencies (#5982)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-20 18:58:21 +02:00
pooya parsa
88f4525a4f
v3.0.0-rc.6 (#5936) 2022-07-18 12:06:04 +02:00
pooya parsa
f5fd58ebfe
fix(pkg): use fixed version range for monorepo packages (#5933) 2022-07-16 00:43:43 +02:00
Daniel Roe
a54925f880
fix(kit): only call viteExtendConfig callback once if possible (#5929) 2022-07-15 23:34:29 +02:00
renovate[bot]
009d6762c5
chore(deps): update all non-major dependencies (#5891)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-14 15:59:43 +02:00
pooya parsa
7c45eeef7b
v3.0.0-rc.5 (#5825) 2022-07-13 17:38:59 +02:00
renovate[bot]
c695f71ed3
chore(deps): update all non-major dependencies (#5779)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-08 14:42:43 +02:00
renovate[bot]
5c323ca195
chore(deps): update all non-major dependencies (#5712)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-07 17:30:10 +02:00
renovate[bot]
b1470c0819
chore(deps): update all non-major dependencies (#5687)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-01 12:37:12 +02:00
renovate[bot]
9df6d2f1d2
chore(deps): update all non-major dependencies (#5588)
* chore(deps): update all non-major dependencies

* update lockfile

* update unimport

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-07-01 12:02:57 +02:00
Daniel Roe
a41644e084
fix(kit): support adding server-only/client-only components separately (#5686) 2022-07-01 12:02:34 +02:00
Daniel Roe
6f8b7a9043
feat(kit): add addLayout (#5537) 2022-06-27 13:47:54 +02:00
Anthony Fu
2db154fde4
feat(auto-import)!: auto unwrap for auto import in template (#5573) 2022-06-23 11:51:46 +02:00
Daniel Roe
308148977d
feat(kit): support client and server flags for addVitePlugin (#5560) 2022-06-22 19:29:51 +02:00
renovate[bot]
42c5428ee9
chore(deps): update all non-major dependencies (#5536)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-20 17:40:20 +02:00
renovate[bot]
9be0be2d68
chore(deps): update dependency mlly to ^0.5.3 (#5496)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-16 18:18:09 +02:00
Julien Huang
ccec0a3738
feat(kit): allow addServerHandler to use method suffix of the file path (#5465) 2022-06-15 13:53:31 +02:00
renovate[bot]
bea6cecb6e
chore(deps): update all non-major dependencies (#5448)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-15 13:28:17 +02:00
pooya parsa
c9d4b2ebc8
v3.0.0-rc.4 (#5393) 2022-06-13 16:19:31 +02:00
renovate[bot]
67d804400b
chore(deps): update all non-major dependencies (#5412)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-06-12 21:39:36 +02:00
Daniel Roe
93f6a1e4ca
fix(vite, kit, nuxt): generate safe variable names using knitwork (#4906) 2022-06-10 15:12:21 +02:00
Daniel Roe
6947d30f01
fix(kit): pass resolved path to isIgnored (#5375) 2022-06-10 14:28:48 +02:00
Xin Du (Clark)
139fc11c5a
refactor: fix typo and code improvements (#5344) 2022-06-08 21:49:11 +02:00
renovate[bot]
0825bc4022
chore(deps): update all non-major dependencies (#5281) 2022-06-03 18:10:22 +02:00
renovate[bot]
c071b1eb90
chore(deps): update all non-major dependencies (#5085) 2022-06-03 16:26:29 +02:00
renovate[bot]
5c8c0451a6
chore(deps): update all non-major dependencies (#4899)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-10 11:10:09 +02:00
pooya parsa
36512d0eaa
v3.0.0-rc.3 (#4852) 2022-05-10 10:58:29 +02:00
renovate[bot]
b633a9c106
chore(deps): update all non-major dependencies (#4867)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-05-09 16:11:59 +02:00
pooya parsa
92847ed924
feat(nuxt, kit): add shortcuts to register custom server handlers (#4850) 2022-05-06 15:31:52 +02:00
renovate[bot]
69b09f3af9
chore(deps): update all non-major dependencies (#4800)
* chore(deps): update all non-major dependencies

* update lock

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-05-05 23:43:26 +02:00
pooya parsa
a8d42d586f
v3.0.0-rc.2 (#4763) 2022-05-02 22:47:05 +02:00
renovate[bot]
ee64714771
chore(deps): update all non-major dependencies (#4674)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-29 11:37:31 +02:00
renovate[bot]
64f437a754
chore(deps): update all non-major dependencies (#4627)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-26 17:43:58 +02:00
Pooya Parsa
0c2f076957 chore(release): v3.0.0-rc.1 2022-04-20 23:09:37 +02:00
renovate[bot]
4f5a0d043e
chore(deps): update all non-major dependencies (#4470)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-20 20:39:35 +02:00
renovate[bot]
a2e71ad14a
chore(deps): update all non-major dependencies (#4441)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-20 13:02:16 +02:00
Pooya Parsa
fc8bcdb250 fix(kit): update schema dependency 2022-04-20 12:59:41 +02:00
Pooya Parsa
5f0fc19938 chore: update packages to 3.0.0-rc.0 2022-04-20 12:52:12 +02:00
Pooya Parsa
e006c5605b fix(kit): try canonical package name for edge release 2022-04-20 12:35:09 +02:00
pooya parsa
4712e99411
refactor!: rename nuxt3 to nuxt (#4449) 2022-04-20 10:52:39 +02:00
Daniel Roe
896d1404a3
chore: bump node dependencies (#4440) 2022-04-20 00:14:27 +02:00
Daniel Roe
b38dc097f6
feat(nuxt3): allow separating client and server components (#4390)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-04-19 21:13:55 +02:00
Daniel Roe
e0b2a3bfe4
chore: use node: prefix for built-in modules (#4384) 2022-04-15 17:19:05 +02:00
renovate[bot]
41663f6264
chore(deps): update all non-major dependencies (#4340)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-14 10:54:15 +02:00
renovate[bot]
b241e5061b
chore(deps): update all non-major dependencies (#4328)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-13 19:26:03 +02:00
renovate[bot]
021faf348f
chore(deps): update devdependency semver to ^7.3.7 (#4307)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-12 20:47:56 +02:00
renovate[bot]
5bb4e94c7c
chore(deps): update all non-major dependencies (#4175)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-07 19:13:37 +02:00
Ahad Birang
f0714d78b0
fix(kit): use route instead of path in ServerMiddleware (#4139) 2022-04-07 13:32:28 +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
Anthony Fu
e1e3f5063d
fix(deps): upgrade unimport (#4095) 2022-04-05 16:03:41 +02:00
pooya parsa
8a3d445bf8
fix(kit): ensure useNuxt returns nuxt instance (#4059) 2022-04-04 11:41:48 +02:00
Matteo Rigoni
01db83032a
fix(kit): add typings to kit server middleware (#3776)
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-04-04 10:21:30 +02:00
renovate[bot]
0c5d9872ac
chore(deps): update all non-major dependencies (#3979)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-31 21:59:36 +02:00
renovate[bot]
e534ffe22f
chore(deps): update all non-major dependencies (#3910)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-28 13:56:52 +02: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
renovate[bot]
e72e6d0d0f
chore(deps): update dependency unctx to ^1.1.2 (#3882)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-24 14:22:53 +01:00
Daniel Roe
23e7afb5ec
fix(bridge): replace nuxt 3 auto-imports (#3850) 2022-03-24 14:15:32 +01:00
renovate[bot]
a8317830a8
chore(deps): update all non-major dependencies (#3857)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-23 12:58:44 +01:00
renovate[bot]
7ce91d83c9
chore(deps): update dependency unctx to ^1.1.0 (#3836)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 16:30:07 +01:00
renovate[bot]
ae364f95cc
chore(deps): update all non-major dependencies (#3788)
* chore(deps): update all non-major dependencies

* update test

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-22 10:57:35 +01:00
renovate[bot]
d909bc6548
chore(deps): update dependency defu to v6 (#3816)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-22 10:32:28 +01:00
renovate[bot]
2ad93eb34d
fix(deps): update dependency c12 to ^0.2.3 (#3781)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-18 13:55:12 +01:00
pooya parsa
7d945952d8
fix(kit): avoid behavior change based on NODE_ENV (#3751) 2022-03-17 21:10:12 +01:00
renovate[bot]
93da7978fb
chore(deps): update all non-major dependencies (#3719)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-16 21:42:48 +01:00
pooya parsa
b03cdb7114
feat!(nuxt3): use individual config layers for extending (#3717) 2022-03-16 21:36:30 +01:00
Raja
f38cacec0f
feat(nuxt 3): support custom router options (#3485)
Co-authored-by: Raja Munisamy <raja.munisamy@carbar.com.au>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-15 17:57:41 +01:00
renovate[bot]
fa8daefb6e
chore(deps): update all non-major dependencies (#3660)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-15 15:51:53 +01:00
Anthony Fu
505acb820a
chore(deps): upgrade unimport (#3669) 2022-03-15 12:21:06 +01:00
Anthony Fu
cff2f37cc8
refactor!: migrate to unimport (#3386) 2022-03-11 09:09:11 +01:00
pooya parsa
20f31712c1
feat(nuxt3): auto generate runtime config type declarations (#3573)
Co-authored-by: Rodrigo Mesquita <rodrigoriome@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
Co-authored-by: Rodrigo Mesquita <30835404+rrmesquita@users.noreply.github.com>
2022-03-09 14:41:24 +01:00
Kevin Marrec
13dd2b98ea
feat(nuxt3): extends support for plugins/ directory (#3462) 2022-03-09 11:51:32 +01:00
renovate[bot]
3d5b695e34
chore(deps): update all non-major dependencies (#3554)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-03-08 19:01:22 +01:00
Daniel Roe
e12d2e9405
fix(kit): allow src for addPluginTemplate (#3542) 2022-03-08 18:42:46 +01:00
renovate[bot]
5b7fbc1569
chore(deps): update all non-major dependencies (#3450) 2022-03-08 18:17:01 +01:00
Daniel Roe
754ff0c9e7
feat: .nuxtignore support and isIgnored kit utility (#3424) 2022-02-28 17:11:46 +01:00
Daniel Roe
52d22feaea
fix(nuxt3): share scanned components with loader (#3396)
* fix(nuxt3): share scanned components with loader

* refactor: remove `src` type from input

* fix: remove old `src: ''` option

* fix: use shared context for extending components too

Co-authored-by: Sébastien Chopin <seb@nuxtjs.com>
2022-02-28 11:07:20 +01:00
Daniel Roe
73ba30fb69
refactor(schema,webpack)!: split out webpack and postcss build options (#2812)
* refactor: split out webpack and postcss build options

* feat(schema): set nuxt3 builder in config

* fix(schema): default postcss config file to false

* chore: update lockfile

* style: remove unused imports

* refactor(webpack): remove (previously disabled) babel config

* refactor: move shared vite options into schema

* fix(schema): omit __NUXT_BASE__ from defaults

* fix: move appDir-dependent options back to vite

* refactor: split out virtual modules

* refactor: extract compile/createDevMiddleware

* refactor: further improvements

* chore: remove `@nuxt/webpack-builder` dependency

* chore: update lockfile

* refactor: move `builder` option to top level

* fix: bind close to watcher instance

* chore: update lockfile

* fix: create portal between postcss & build.postcss.postcssOptions

* fix: remove duplicate

* fix: revert

* fix: use `postcss` directly

* fix: import builder from rootDir

* chore: dedupe webpack install

* test: update fixture to use `builder`

* fix: bind class in pify

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-02-25 20:11:01 +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]
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]
fd56fc62bb
chore(deps): update all non-major dependencies (#3149)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-10 18:30:59 +01:00
Daniel Roe
7825e2aa12
feat(nuxt3,bridge): add automatic schema augmentation declaration (#3096)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-02-08 20:09:44 +01:00
pooya parsa
82a7fd561b
feat(kit): createResolver utility (#3111) 2022-02-07 22:39:31 +01:00
pooya parsa
03d5fdde2d
feat(kit)!: expose resolvePath (#3110) 2022-02-07 22:00:20 +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
pooya parsa
c9c0171b2d
refactor: rename options.layers to options._extends (#3109) 2022-02-07 19:44:48 +01:00
Daniel Roe
29171bd105
fix: sanitize import filenames in generated imports (#2216) 2022-02-07 14:45:47 +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
Daniel Roe
fae2179ee9
chore: replace constructors with types (#3056) 2022-02-03 19:02:55 +01:00
Ricardo Gobbo de Souza
adc44a2d2b
feat(kit): add helper addAutoImport (#3030) 2022-02-03 12:31:15 +01:00
renovate[bot]
09dc06e138
chore(deps): update all non-major dependencies (#3013)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-03 11:21:51 +01:00
Ahad Birang
ed4f4f51ab
fix(kit): load dotenv if option is missing (#3029) 2022-02-02 10:59:00 +01:00