Daniel Roe
754ff0c9e7
feat: .nuxtignore
support and isIgnored
kit utility ( #3424 )
2022-02-28 17:11:46 +01:00
Dizzy
d6102de08f
fix: remove redundant call to generateApp
( #3426 )
2022-02-28 15:49:41 +01:00
renovate[bot]
a104f61683
chore(deps): update devdependency vitest to ^0.5.8 ( #3415 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-28 12:29:16 +01:00
Daniel Roe
720e31d498
fix(schema): make postcss plugins a record type ( #3403 )
2022-02-28 12:28:16 +01:00
Daniel Roe
0958a61322
docs: add examples for useLazyFetch
and useLazyAsyncData
( #3418 )
2022-02-28 11:21:06 +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
renovate[bot]
9b19b9f366
chore(deps): update all non-major dependencies ( #3400 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-27 19:38:00 +00:00
Plat
ccce543c17
docs: remove await
in front of useQuery
in example ( #3407 )
2022-02-27 08:53:30 +00:00
Daniel Roe
4cfad4d719
fix(vite): add cssnano dependency ( #3402 )
2022-02-26 00:01:54 +00:00
Anthony Fu
4ff1a954b3
test: add more tests ( #3392 )
2022-02-25 21:14:53 +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
Daniel Roe
2b3dbed594
fix(nuxt3): only warn within error handling routine ( #3394 )
2022-02-25 17:33:27 +01:00
Daniel Roe
e45a780714
fix(vite,webpack): disable async entrypoint by default ( #3375 )
...
* fix(vite): don't use async entry
* fix: use async entry when built
* refactor: default to sync entry, with option to enable async
* refactor: move to experimental.asyncEntry
* Update packages/webpack/src/presets/base.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
* Update packages/vite/src/vite.ts
Co-authored-by: pooya parsa <pyapar@gmail.com>
* style: remove double space
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-25 13:42:34 +01:00
renovate[bot]
a51bdd259e
chore(deps): update dependency @rollup/plugin-replace to v4 ( #3367 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-25 12:47:08 +01:00
Daniel Roe
c806d05b7a
fix(bridge): use typescript directory entry ( #3365 )
2022-02-25 12:45:45 +01:00
renovate[bot]
9121bee926
chore(deps): update actions/setup-node action to v3 ( #3388 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-25 12:44:21 +01:00
renovate[bot]
5c1f2fad83
chore(deps): update all non-major dependencies ( #3347 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-25 12:39:10 +01:00
Daniel Roe
d007d02356
fix: only warn about error handlers on client-side ( #3345 )
2022-02-25 12:04:58 +01:00
Daniel Roe
ac63401700
fix(nuxt3): don't add superfluous templates ( #3366 )
2022-02-25 11:16:24 +01:00
Daniel Roe
271289c4d6
fix(nuxi): don't clear screen on nuxi dev --help
( #3372 )
2022-02-24 17:18:13 +00:00
Daniel Roe
bb31df9944
fix(nuxt3): respect dirs as objects ( #3364 )
2022-02-24 17:20:49 +01:00
Sébastien Chopin
34f1c510b2
docs(example): fix typo on with-universal-router ( #3363 )
2022-02-22 21:40:20 +00:00
Sébastien Chopin
c68215e3fb
docs(examples): Add playground for with-universal-router
( #3358 )
2022-02-22 16:25:47 +00:00
Daniel Roe
dbab979a2e
feat(nuxt3): add universal routing utilities ( #3274 )
2022-02-21 14:03:42 +01:00
tramplay
ed411c687d
docs: auto imports don't work in server/api
( #3330 )
2022-02-21 13:36:16 +01:00
renovate[bot]
a358bdad93
chore(deps): update all non-major dependencies ( #3327 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-21 12:29:59 +01:00
Xin Du (Clark)
48cc6086e4
fix(config): add analyze plugin options in bridge mode ( #3292 )
2022-02-21 12:25:31 +01:00
Rodrigo Mesquita
070de5ba45
chore(docs): improve useAsyncData
docs ( #3333 )
2022-02-21 12:24:57 +01:00
Xin Du (Clark)
f1b84ac14a
chore(ci): cache build packages dist on ci jobs ( #3335 )
2022-02-21 11:26:51 +01:00
Daniel Roe
16e2a54528
test: re-enable type testing ( #3328 )
2022-02-18 23:37:28 +01:00
renovate[bot]
69f24d262e
chore(deps): update all non-major dependencies ( #3306 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-18 19:27:21 +01:00
Daniel Roe
70542a3af7
feat(nuxt3): expose /app
export paths ( #3323 )
2022-02-18 19:26:43 +01:00
Clément Ollivier
22c3e33c1e
docs: document auto-imports and avoid #app
and #imports
in examples ( #3296 )
2022-02-18 19:20:55 +01:00
renovate[bot]
916ab563ce
chore(deps): update devdependency object-hash to v3 ( #3325 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-18 19:15:14 +01:00
pooya parsa
12a95ad86c
test: rework tests using @nuxt/test-utils
( #3308 )
2022-02-18 19:14:57 +01:00
Daniel Roe
87eb7d0d39
perf!(nuxt3): disable global components by default ( #3305 )
2022-02-18 10:37:11 +01:00
renovate[bot]
3d258d304e
chore(deps): update dependency @babel/core to ^7.17.5 ( #3300 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-17 18:11:36 +01:00
Daniel Roe
56aabd606d
fix(nuxt3,bridge): correctly reference router from client-side helper ( #3281 )
2022-02-17 18:11:21 +01:00
renovate[bot]
65d51d67ce
chore(deps): update all non-major dependencies ( #3273 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-17 17:32:49 +01:00
Daniel Roe
8adff2edf7
fix(nuxt3): generate imports for components with named exports correctly ( #3288 )
2022-02-17 15:23:55 +01:00
Daniel Roe
65d16a58c0
chore: reverse target/from in eslint rule ( #3280 )
2022-02-17 12:01:24 +00: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
Dizzy
ad52b795e2
fix: apply subsequent meta changes ( #3271 )
2022-02-16 22:34:06 +01:00
pooya parsa
77aeaa3288
fix(nuxt3)!: custom response type for useFetch
using first generic ( #3268 )
2022-02-16 21:50:19 +01:00
renovate[bot]
7c3327a772
chore(deps): update all non-major dependencies ( #3240 )
2022-02-16 20:11:21 +01:00
Anthony Fu
16c2b6113a
chore: use @nuxt/test-utils
to import test utils ( #3261 )
2022-02-16 19:07:33 +01:00
Daniel Roe
289d54eb24
fix(bridge): execute metaInfo function ( #3258 )
2022-02-16 18:57:11 +01:00
Daniel Roe
3fccbfa252
fix(nuxt3): update meta return type to bodyScriptsPrepend
( #3257 )
2022-02-16 18:56:30 +01:00
renovate[bot]
4cd931e5ea
chore(deps): update dependency @netlify/functions to v1 ( #3241 )
...
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-02-16 18:55:51 +01:00
Daniel Roe
7c9b0a358d
fix(bridge): add modules with hooks after all other modules ( #3239 )
2022-02-16 18:54:45 +01:00