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
pooya parsa
1672148a87
feat(kit): support config extends
using unjs/c12
( #3008 )
2022-01-31 22:13:58 +01:00
renovate[bot]
18d8bb2019
chore(deps): update dependency dotenv to v15 ( #3002 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-31 11:59:21 +01: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
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
renovate[bot]
538b4ab98d
chore(deps): update all non-major dependencies ( #2895 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-25 13:29:23 +01:00
renovate[bot]
d5cbe09ced
chore(deps): update dependency globby to v13 ( #2881 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-24 14:21:52 +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
Daniel Roe
b38e394dfe
fix(nuxt3): import top-level files and subdirectory indices ( #2774 )
2022-01-18 17:43:41 +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
Daniel Roe
0ed2d4a00b
fix(kit): don't ignore @
alias ( #2737 )
2022-01-17 13:51:08 +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]
0eed770104
chore(deps): update dependency dotenv to v14 ( #2750 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-17 11:50:18 +01:00
renovate[bot]
4de167e246
chore(deps): update dependency globby to v12 ( #2659 )
2022-01-13 19:21:49 +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
renovate[bot]
4d5e9b2930
chore(deps): update dependency dotenv to v11 ( #2666 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-01-11 18:42:10 +01:00
Pooya Parsa
5a7a979dcb
fix(kit): add backward compatibility for deprecated module definition as function
2021-12-22 21:40:18 +01:00
pooya parsa
045b9edb5d
feat(kit, schema)!: finalize nuxt 3 module spec and utils ( #2275 )
2021-12-21 14:57:26 +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
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
d52acbffd8
fix(bridge, kit): don't modify template array whilst traversing it ( #2244 )
2021-12-01 12:58:07 +01:00
pooya parsa
d68318f9d5
refactor: split schema to @nuxt/schema
and simplify kit ( #2059 )
2021-11-21 17:14:46 +01:00
Nozomu Ikuta
583679f9c8
fix(kit): add hooks installation for bridge ( #2045 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-21 13:35:37 +01:00
pooya parsa
b1371373c8
docs: improve schema generation ( #2035 )
2021-11-19 17:26:15 +01:00
Daniel Roe
4fe1fc881c
feat(kit): add more specific typings for schema ( #1988 )
2021-11-19 13:22:27 +01:00
renovate[bot]
cdb287bd5c
chore(deps): update all non-major dependencies ( #2023 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-19 12:36:50 +01:00
pooya parsa
232fdd8cf3
fix(kit): support chainable extendRoutes
in container ( #1966 )
2021-11-16 17:13:19 +01:00
pooya parsa
b16cfea689
feat: typescript
options ( #1940 )
2021-11-16 13:32:21 +01:00
fgiraud
6b873f15bc
chore(nuxt3): add tests, comments and example for components scan ( #1455 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-11-15 17:22:46 +01:00
renovate[bot]
5786949d9b
chore(deps): update all non-major dependencies ( #1837 )
2021-11-15 13:09:26 +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
fgiraud
9b9843b501
docs: update doc meta ( #1790 )
...
Co-authored-by: Daniel Roe <daniel@roe.dev>
2021-11-10 21:16:20 +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
Daniel Roe
95cbe67f99
feat(kit, nuxt3): add pages:extend
and extendPages
( #1740 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
Co-authored-by: fgiraud <hello@florent.dev>
2021-11-09 11:16:23 +01:00
Emil Akhadov
82d1741d52
fix(kit): normalize plugin imports paths ( #1779 )
2021-11-09 10:44:00 +01:00
renovate[bot]
6bbe8153f6
chore(deps): update all non-major dependencies ( #1736 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-05 16:13:41 +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
pooya parsa
292b5243c7
fix(nuxi): allow starting nuxi dev
with self signed certificate ( #1699 )
2021-11-04 19:40:02 +01:00
pooya parsa
9b8d44d130
fix(kit): use closest nuxt package for loadNuxt
( #1686 )
2021-11-04 13:33:33 +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
0dd86de586
fix(nuxt3): use nuxt extensions for component discovery ( #1649 )
2021-11-02 16:27:42 +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
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
Daniel Roe
47e0721413
fix(nuxi, kit): import individual semver function ( #1598 )
2021-11-02 10:43:08 +01:00
Tasuku Uno
a8b969a4dd
feat(nuxt3): support async function as nuxt.config ( #1612 )
2021-11-02 10:37:48 +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
Levi (Nguyễn Lương Huy)
4c17b92b66
chore(docs): add code format using markdownlint ( #1498 ) ( #1556 )
2021-10-29 13:26:01 +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
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
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
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
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
8f119ab0cf
feat(kit): add registerComponentDirectory
helper ( #1379 )
...
Co-authored-by: pooya parsa <pyapar@gmail.com>
2021-10-23 00:28:18 +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
f0b9474b40
feat(nuxi): bundle analyzer ( #701 )
...
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2021-10-21 21:51:44 +02:00
pooya parsa
f04d6e3b53
fix(kit): use native import for esm modules ( #1327 )
2021-10-21 19:02:26 +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
Daniel Roe
7df4590d77
fix(kit): remove globalName from v3 schema ( #1277 )
2021-10-20 12:32:17 +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
Yaël Guilloux
c49f9ca648
fix(kit): improve ScanDir
type ( #1238 )
2021-10-19 16:55:02 +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
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
0ab477cad0
feat(auto-imports): allow extending with config and hooks ( #1167 )
2021-10-18 15:39:53 +02:00
Pooya Parsa
807f4a325f
fix(deps): upgrade jiti to 2.12.9 ( #1171 )
2021-10-18 15:38:04 +02:00
pooya parsa
cb912c3c0c
fix(nuxi): update version and vite detection ( #1169 )
2021-10-18 15:11:17 +02:00
Xin Du (Clark)
dbbce5fcfa
feat(kit): add components types ( #1164 )
2021-10-18 14:49:02 +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