Commit Graph

104 Commits

Author SHA1 Message Date
Daniel Roe
d0c8e7fb4a
fix(nuxt): generate hi-res sourcemaps (#20280) 2023-04-14 18:21:08 +01:00
Daniel Roe
f366ab4eb8
chore: remove @ts-ignore and fix some issues (#20273) 2023-04-14 13:53:21 +01:00
Daniel Roe
9878c5b6e4
style: enable sort-imports eslint rule (#20133) 2023-04-07 09:02:47 -07:00
Daniel Roe
99ac1d5976
fix(webpack): transpile rest of nuxt runtime directories (#19936) 2023-03-30 09:24:18 -07:00
Daniel Roe
5a1cfa8b66
fix(webpack): transpile app directory (#19773) 2023-03-17 18:59:57 +00:00
Daniel Roe
60d07df4cc
feat(nuxt): support custom keyed composables (#19490) 2023-03-07 13:06:15 -08:00
renovate[bot]
6c53c8b550
chore(deps)!: update dependency fork-ts-checker-webpack-plugin to v8 (main) (#19468)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>

BREAKING CHANGE: Using the webpack builder, `typescript.typeCheck` has not been properly type-checking vue files _anyway_, so this shouldn't be a breaking change. But the underlying plugin we have been using (`fork-ts-checker-webpack-plugin`) has now formally removed support for type-checking `.vue` files to make this clearer.
2023-03-07 06:25:27 -08:00
Jakub Andrzejewski
3f1e02351d
feat(nuxi,schema): add support for setting nuxt logLevel (#19369) 2023-03-07 04:18:47 -08:00
Daniel Roe
d4a75240ac
feat(nuxt): add versions to runtime nuxtApp (#19064) 2023-03-01 07:08:23 -08:00
Daniel Roe
d2481f9675
fix(webpack): use default export from webpack (#19166) 2023-02-20 12:34:33 -08:00
Daniel Roe
96b09ea982
feat(nuxt): add experimental app:chunkError hook and reload strategy (#19038) 2023-02-16 04:43:58 -08:00
renovate[bot]
9f3b38ca37
chore(deps): update dependency esbuild-loader to v3 (main) (#18883)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-02-08 04:09:30 -08:00
Daniel Roe
d998c16bac
fix(webpack): client-side typechecking when ssr: false (#18828) 2023-02-06 10:35:47 -08:00
Daniel Roe
081dc3254f chore: update internal repo/issue links to usenuxt/nuxt 2023-01-19 19:37:07 +00:00
Jose Morel
baf9d950db
feat(vite): support build.transpile as function (#7767)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-19 10:56:34 +00:00
renovate[bot]
0b1cdcc70d
chore(deps): update devdependency @nuxtjs/eslint-config-typescript to v12 (#9086)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2023-01-14 01:13:48 +00:00
Daniel Roe
a68da6d6a7
chore: case police update (#10085) 2023-01-13 15:00:57 +00:00
Daniil Chudo
ab2456c295
refactor: split out type imports from value imports (#9225) 2022-12-11 21:44:52 +00:00
Nathan Chase
13e4f8b679
fix: remove postcss.config from schema (#9181) 2022-11-19 14:49:37 +01:00
pooya parsa
265db50515
refactor(nuxt)!: cleanup schema and split nuxt 2 types (#8487) 2022-10-27 12:36:37 +02:00
Daniel Roe
e7e7568288
fix(webpack): print build errors (#8388) 2022-10-24 10:44:19 +02:00
Daniel Roe
5bf4461faa
fix(webpack): add global to new line (#8226) 2022-10-16 11:03:02 +02:00
pooya parsa
895ecc7677
feat!: upgrade to nitropack@0.6 and h3@0.8 (#8218) 2022-10-15 20:42:57 +02:00
Daniel Roe
eab4706614
feat: allow client-side sourcemaps in production (#7313) 2022-09-07 13:32:10 +02:00
Daniel Roe
2bb898fa98
fix(webpack): promisify webpack dev/hot handlers using h3.promisifyHandler (#7275) 2022-09-07 10:35:21 +02:00
HomWang
1fc34e6c06 chore: lint (#7213) 2022-09-04 10:31:57 +02:00
renovate[bot]
386407ec84
chore(deps): update all non-major dependencies (#7161) 2022-09-03 12:03:06 +02:00
Anthony Fu
9db2229f70
refactor: enable strict type checking everywhere (#6943) 2022-08-26 17:47:29 +02:00
Pooya Parsa
80875b7960 chore: fix type check
csp is not boolean but typed as boolean. we need to fix schema.
2022-08-26 13:03:48 +02:00
Daniel Roe
94214d6b32
feat(nuxt): exclude page chunks from being prefetched (#6662) 2022-08-16 13:19:39 +02:00
Daniel Roe
41d6f372a7
feat(nuxt): update to vue-bundle-renderer@0.4 (#6210) 2022-08-07 11:52:34 +02:00
Daniel Roe
fa8b0f7c79
feat(vite)!: upgrade vite to v3 (#5398) 2022-07-21 12:44:33 +02:00
Daniel Roe
23546a270c
feat(nuxt): automatically generate unique keys for keyed composables (#4955)
Co-authored-by: Pooya Parsa <pyapar@gmail.com>
2022-07-07 18:26:04 +02:00
Daniel Roe
8ffe2a33a7
fix(webpack): transpile vue-demi (#5721) 2022-07-06 20:23:05 +02:00
Daniel Roe
4fdea30cbb
fix(webpack): enable extractCSS by default (#4388) 2022-06-13 14:52:27 +02:00
Daniel Roe
5d4586a322
fix(webpack): respect build.transpile (#5043) 2022-06-10 15:18:31 +02:00
Xin Du (Clark)
139fc11c5a
refactor: fix typo and code improvements (#5344) 2022-06-08 21:49:11 +02:00
Anthony Fu
256df28124
chore: enable typecheck ci for packages (#4664) 2022-04-29 11:38:22 +02:00
Daniel Roe
650d12fa9c
feat: allow disabling sourcemap generation (#4509) 2022-04-22 17:35:42 +02:00
pooya parsa
4712e99411
refactor!: rename nuxt3 to nuxt (#4449) 2022-04-20 10:52:39 +02:00
pooya parsa
756693ce7f
feat!: migrate to nitro 0.3x (#4438) 2022-04-19 21:10:32 +02:00
Daniel Roe
ea14a5c1c1
feat(vite,webpack): build/dev typechecking (#4379) 2022-04-15 17:28:42 +02:00
Daniel Roe
e0b2a3bfe4
chore: use node: prefix for built-in modules (#4384) 2022-04-15 17:19:05 +02:00
Daniel Roe
7fb29b3a6e
fix(webpack): add css, sass, scss to asset patterns to transpile (#4375) 2022-04-15 12:58:22 +02:00
FL3NKEY
2bedebe5ee
fix(webpack): add exportOnlyLocals: true for css modules options in server build. (#3778)
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-04-07 13:51:10 +02: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
ade3378a00
refactor(bridge): align bridge with vite and inline systemjs polyfill in entry (#4005) 2022-04-01 15:22:22 +02:00
Daniel Roe
7458dd1aa6
fix(nuxt3): use shared module for dynamic paths (#3757)
* test: add tests for dynamic paths + relative assets

Co-authored-by: Anthony Fu <hi@antfu.me>

* fix: rework client config and use shared module for dynamic paths

* resolves webpack public path regression

* refactor: use more similar names to nitro equivalent

* fix: align config exports

* refactor: remove `__` prefix within dynamic paths module

* refactor: use '#_config' to indicate internal alias

* Update packages/nuxt3/src/core/templates.ts

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

* refactor: use `#_config` alias and rename to `paths.mjs`

Co-authored-by: Anthony Fu <hi@antfu.me>
Co-authored-by: pooya parsa <pyapar@gmail.com>
2022-03-22 16:51:26 +01:00
Anthony Fu
f69126e8f4
feat: support reactivity transform (#3737)
Co-authored-by: pooya parsa <pyapar@gmail.com>
Co-authored-by: Daniel Roe <daniel@roe.dev>
2022-03-17 23:17:59 +01:00
Ahad Birang
e891ea0cca
feat(webpack): add webpack:devMiddleware and webpack:hotMiddleware hooks (#3606) 2022-03-13 19:43:41 +01:00