Commit Graph

37 Commits

Author SHA1 Message Date
izzy goldman 373d015ae7
refactor(schema,vite,webpack): rework `postcss` module loading (#27946)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2024-07-02 19:28:48 +01:00
Daniel Roe 8f95cac34c
feat(kit,nuxt,schema,vite,webpack): nitropack v3 nightly (#27702) 2024-06-26 15:18:05 +02:00
Anthony Fu f209158352
chore: cleanup eslint rules with latest `@nuxt/eslint-config` (#26653) 2024-04-05 19:08:32 +01:00
Daniel Roe 9bb8976470
fix(schema): update webpack `transformAssetUrls` + pass `hoistStatic` to vite plugin (#26563) 2024-04-03 10:16:15 +01:00
Andrea Basile 3258cacc28
fix(schema): add `vueCompilerOptions` property to `tsConfig` (#25924) 2024-02-27 16:31:46 +01:00
Daniel Roe 37d24eed7d
fix(schema): use `rootDir`, not `process.cwd`, for `modulesDir` (#25766) 2024-02-13 11:19:25 +00:00
Pooya Parsa dab2188d58
feat: experimental client-side Node.js compatibility (#25028) 2024-01-18 16:09:27 +00:00
Pooya Parsa 2050d1bfa3
chore: upgrade to c12 1.5 with configurable layers (#23782) 2023-10-19 15:20:11 +01:00
Daniel Roe 5652346d7a
feat(nuxt): allow customising defaults for data composables (#23725) 2023-10-18 15:25:25 +01:00
Daniel Roe 9dd304628a
feat(nuxt): allow configuring default `<NuxtLink>` options (#23724) 2023-10-18 13:43:42 +01:00
Lehoczky Zoltán 7ff0c2d97a
fix(schema): add more explicit types for config schema (#21475) 2023-06-08 22:50:29 +01:00
Daniel Roe 525a06af38
feat(webpack): allow configuring `esbuild-loader` options (#21436) 2023-06-07 13:50:12 +01:00
Daniel Roe 6d62b65f97
fix(schema): remove obsolete terser option from webpack config (#21407) 2023-06-07 12:46:08 +01:00
Lehoczky Zoltán fd6a9b2ead
fix(schema): update `vue-loader` options type (#21363) 2023-06-04 23:07:53 +01:00
Daniel Roe 038c84c4b1
fix(nuxt): add types for webpack/vite environments (#20749) 2023-05-15 17:17:39 +01:00
Daniel Roe 83f0103a47
fix(schema): rely on installed telemetry types (#19640) 2023-04-19 22:02:15 +01:00
Daniel Roe d6c3c2439a
feat(nuxt): support async transform of object properties (#20182) 2023-04-10 14:57:13 -07:00
Nick Williams 9dc5413cbd
fix(vite): respect `isCustomElement` config for jsx transform (#19053) 2023-02-16 04:45:08 -08:00
Harlan Wilton 4cb7e425a1
refactor(nuxt): remove `vue-meta` for head support (#9638) 2022-12-12 11:07:31 +01:00
Harlan Wilton fddc8b2e6e
feat(nuxt, schema): official @vueuse/head v1 support (#8975) 2022-11-15 17:26:38 +01:00
pooya parsa 265db50515
refactor(nuxt)!: cleanup schema and split nuxt 2 types (#8487) 2022-10-27 12:36:37 +02:00
Harlan Wilton 9e6d292ba6
feat(nuxt): migrate to latest `@vueuse/head` (#8000) 2022-10-12 18:00:17 +01:00
Daniel Roe 3753ea0ead
feat(nuxt): add `workspaceDir` option and add it to `modulesDir` (#7439) 2022-09-12 22:06:17 +02:00
Daniel Roe 2bb898fa98
fix(webpack): promisify webpack dev/hot handlers using `h3.promisifyHandler` (#7275) 2022-09-07 10:35:21 +02:00
Anthony Fu 9db2229f70
refactor: enable strict type checking everywhere (#6943) 2022-08-26 17:47:29 +02:00
Daniel Roe 94214d6b32
feat(nuxt): exclude page chunks from being prefetched (#6662) 2022-08-16 13:19:39 +02:00
Daniel Roe 968087bcc5
fix(schema): add typings for `vite.vue` options (#6220)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2022-07-29 11:57:45 +01: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
Daniel Roe 5c9cf9cf9e
fix(pkg): add implicit dependencies (#3682)
* chore: prevent unintentional inlinings

* fix: workaround hoisting by moving `unimport` to peerDeps

* add missing dep

* add unimport as bridge dpeendency

* fix(nuxt3): explicitly type presets

Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-03-16 13:13:50 +01:00
Daniel Roe 754ff0c9e7
feat: `.nuxtignore` support and `isIgnored` kit utility (#3424) 2022-02-28 17:11:46 +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
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
Daniel Roe 4b17f0cbaf
docs(schema): clarify aliases and use more obvious example path (#3143)
* docs(schema): clarify aliases and use more obvious example path

* docs: add note

* Update packages/schema/build.config.ts

Co-authored-by: pooya parsa <pyapar@gmail.com>

* docs: add more info about tsconfig

Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-02-09 22:27:35 +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] 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
Daniel Roe 15dad0e039
fix(schema): remove stray `nuxt3` import (#2105) 2021-11-23 11:55:24 +01:00
pooya parsa d68318f9d5
refactor: split schema to `@nuxt/schema` and simplify kit (#2059) 2021-11-21 17:14:46 +01:00