hannoeru / vite-plugin-pages

File system based route generator for ⚡️Vite
MIT License
1.84k stars 127 forks source link

chore(deps): update all non-major dependencies #387

Closed renovate[bot] closed 1 year ago

renovate[bot] commented 1 year ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@solidjs/router ^0.8.0 -> ^0.8.2 age adoption passing confidence
@types/node (source) ^18.15.1 -> ^18.15.11 age adoption passing confidence
bumpp ^9.0.0 -> ^9.1.0 age adoption passing confidence
pnpm (source) 7.29.1 -> 7.30.5 age adoption passing confidence
solid-js (source) ^1.6.14 -> ^1.7.0 age adoption passing confidence
tsup (source) ^6.6.3 -> ^6.7.0 age adoption passing confidence
vite (source) ^4.1.4 -> ^4.2.1 age adoption passing confidence

Release Notes

antfu/bumpp ### [`v9.1.0`](https://togithub.com/antfu/bumpp/releases/tag/v9.1.0) [Compare Source](https://togithub.com/antfu/bumpp/compare/v9.0.0...v9.1.0) #####    🚨 Breaking Changes - Use `c12` loader configuration  -  by [@​KeJunMao](https://togithub.com/KeJunMao) and [@​antfu](https://togithub.com/antfu) in [https://github.com/antfu/bumpp/issues/4](https://togithub.com/antfu/bumpp/issues/4) [(fd66b)](https://togithub.com/antfu/bumpp/commit/fd66bd7) #####     [View changes on GitHub](https://togithub.com/antfu/bumpp/compare/v9.0.0...v9.1.0)
pnpm/pnpm ### [`v7.30.5`](https://togithub.com/pnpm/pnpm/releases/tag/v7.30.5) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.4...v7.30.5) #### Patch Changes - `pnpm audit` should work even if there are no `package.json` file, just a `pnpm-lock.yaml` file. - Dedupe direct dependencies after hoisting. - Don't remove automatically installed peer dependencies from the root workspace project, when `dedupe-peer-dependents` is `true` [#​6154](https://togithub.com/pnpm/pnpm/issues/6154). #### Our Gold Sponsors
#### Our Silver Sponsors
### [`v7.30.4`](https://togithub.com/pnpm/pnpm/compare/v7.30.3...v7.30.4) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.3...v7.30.4) ### [`v7.30.3`](https://togithub.com/pnpm/pnpm/releases/tag/v7.30.3) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.2...v7.30.3) #### Patch Changes - Should use most specific override rule when multiple rules match the same target [#​6210](https://togithub.com/pnpm/pnpm/issues/6210). - Fix regression introduced in v7.30.1 [#​6271](https://togithub.com/pnpm/pnpm/issues/6271). #### Our Gold Sponsors
#### Our Silver Sponsors
### [`v7.30.2`](https://togithub.com/pnpm/pnpm/compare/v7.30.1...v7.30.2) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.1...v7.30.2) ### [`v7.30.1`](https://togithub.com/pnpm/pnpm/releases/tag/v7.30.1) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.30.0...v7.30.1) #### Patch Changes - Don't write the `pnpm-lock.yaml` file if it has no changes and `pnpm install --frozen-lockfile` was executed [#​6158](https://togithub.com/pnpm/pnpm/issues/6158). - Fix git-hosted dependencies referenced via `git+ssh` that use semver selectors [#​6239](https://togithub.com/pnpm/pnpm/pull/6239). - When publish some package throws an error, the exit code should be non-zero [#​5528](https://togithub.com/pnpm/pnpm/issues/5528). - Only three paths are displayed in `pnpm audit` output [#​6203](https://togithub.com/pnpm/pnpm/issues/6203) - Aliased packages should be used to resolve peer dependencies too [#​4301](https://togithub.com/pnpm/pnpm/issues/4301). #### Our Gold Sponsors
#### Our Silver Sponsors
### [`v7.30.0`](https://togithub.com/pnpm/pnpm/releases/tag/v7.30.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.29.3...v7.30.0) #### Minor Changes - Allow to set a custom directory for storing patch files via the `patches-dir` setting [#​6215](https://togithub.com/pnpm/pnpm/pull/6215) #### Patch Changes - New directories should be prepended to NODE_PATH in command shims, not appended. - Retry copying file on EBUSY error [#​6201](https://togithub.com/pnpm/pnpm/issues/6201). #### Our Gold Sponsors
#### Our Silver Sponsors
### [`v7.29.3`](https://togithub.com/pnpm/pnpm/releases/tag/v7.29.3) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.29.2...v7.29.3) #### Patch Changes - Command shim should not set higher priority to the `node_modules/.pnpm/node_modules` directory through the `NODE_PATH` env variable, then the command's own `node_modules` directory [#​5176](https://togithub.com/pnpm/pnpm/issues/5176). - `extend-node-path` is set back to `true` by default. It was set to `false` in v7.29.2 in order to fix issues with multiple versions of Jest in one workspace. It has caused other issues, so now we keep extending `NODE_PATH`. We have fixed the Jest issue with a different solution [#​6213](https://togithub.com/pnpm/pnpm/issues/6213). #### Our Gold Sponsors
#### Our Silver Sponsors
### [`v7.29.2`](https://togithub.com/pnpm/pnpm/compare/v7.29.1...v7.29.2) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v7.29.1...v7.29.2)
solidjs/solid ### [`v1.7.0`](https://togithub.com/solidjs/solid/blob/HEAD/CHANGELOG.md#​170---2023-03-30) [Compare Source](https://togithub.com/solidjs/solid/compare/v1.6.16...v1.7.0) Solid has experienced incredible growth in usage the last 6 months. Companies are using it to power production applications and SolidStart Beta has been a big part of that. As a natural part of this growth and increased use at scale we are continuing to learn what works well and what the rough edges in Solid are today. This v1.7 release marks the beginning of the migration roadmap to v2.0. We are beginning to re-evaluate core APIs and will begin introducing new ones while reasonably deprecating older ones in a manner that eases breaking changes. Our intention is to ease the broader ecosystem into preparing for improvements that a major 2.0 will unlock for the whole community. ##### Improved TypeScript ##### Null-Asserted Control Flow One of the pains of using Solid with TypeScript has been that JSX control flows can't really type narrow. This is true, but starting with the migration to explicit `keyed` in v1.5 we now complete this story by introducing callback forms for `` and `` that work when non-keyed. The main difference is the callback form instead of passing in the value as it does when `keyed`, passes in a function that is type narrowed. ```js // keyed w/ callback - reruns full callback on change {nonNullUser =>
{nonNullUser.name}
}
// non-keyed w/o callback... - only updates the one expression, needs ! assertion
{user()!.name}
// NEW! // non-keyed w/ callback - only updates the one expression {nonNullUser =>
{nonNullUser().name}
}
``` Keep in mind because we are non-null asserting the input signal so it won't expect null in closures that execute when the condition is no longer satisfied. For this reason the accessor from the callback is special and will throw when attempted to be accessed when the condition is no longer true. This may be unexpected but it is our best attempt to keep TypeScript strict and not present inconsistency in reactivity. Luckily this only applies to things like timers which you should be cleaning up anyway and not things like event handlers. We recommend using the original conditions source in those closures if you must. ##### Better Event Types for Input Elements This has irked people for a while but we come by it honestly, `target` is gives you a type of `Element` rather than the specific element that is the target. That means no access to `.value` or `.checked`. The reason is there is no way to know at compile time what the target of an event will be. The `currentTarget` will be the element you attach the event to but the target can be anything. There is a way to work around this though, in that if we know the `currentTarget` is of type that generates the event and that the `currentTarget` is the the type of this element we can assume it is the `target` as well. Not perfect logic but it is what React does and we do too. Now `onInput`, `onChange`, `onBlur`, `onFocus`, `onFocusIn`, and `onFocusOut` all support more detailed `target` when applied to `HTMLInputElement`, `HTMLTextAreaElement`, and `HTMLSelectElement`. ##### Stricter JSX Elements Strict JSX elements have been tricky because we have to acknowledge at a certain point that TypeScript is to serve our purposes rather than to represent all possible values that could work. For us the ambiguity lies in functions. Solid's JSX needs to accept functions to handle dynamic insertion. However, in authoring it leads to awkward situations. The first you hit the first time use Solid. You create that counter and don't call `count` as a function and it works. ```js function Counter() { const [count, setCount] = createSignal(1); return ; } ``` This example works in some places and not others which might lead to the wrong conclusions. The second place you might hit this is when you get a little further on your journey and decide you need a component to re-render and decide that you can just wrap the whole thing in a function: ```js function MyComp(props) { return () => { // look working early returns if (props.count > 5) { return
Maximum Tries
; } return
Attempt {props.count}
; }; } ``` Again this seems fine, except the fact that every time `count` changes you are recreating all the DOM Elements even when it resolves to the same conditional. Eventually you might even not think twice about passing functions into children of arbitrary components: ```js {() =>
{resource()}
}
``` But what does this do? When is the function called? As it turns out removing functions from `JSX.Element` type makes all of these scenarios error. Components only expect the values dictated by their types. ```js function MyLayout(props: { children: JSX.Element }): JSX.Element; function MyFor(props: { each: T[], children: (item: T) => U }): JSX.Element; // valid Hello

Hello

{name()} {name() &&

Hello

}
{(() => { return })()} {untrack(() => { return

{name()}

})}
{(user) =>
{user.name}
}
// invalid {name} {() =>

Hello

}
{() => "Hello"} {() => name() &&

Hello

}
{(user) =>
{user.name}
}
Not a Function
``` The tradeoff here is that authoring components you can no longer just return a Signal or Memo without casting. If using JSX you can always return a Fragment. If not you will need to cast to `unknown as JSX.Element`. ##### Better Errors and Cleanup ##### `catchError` replaces `onError` Error Handling is complicated enough without having to try to guess how they propagate. `onError` admittedly is a lower level primitive but fundamentally had this flaw. It worked by registering an error handler on the parent scope, but left it ambiguous how to handle siblings. Is it a queue? Are they independent? As a result we are introducing `catchError` in this release which introduces its own scope to catch any errors below it. The first argument in the primitive is similar to the try and the second argument is the catch. ```js catchError( () => { // do stuff throw new Error("I've Errored"); }, err => console.log(err) ); ``` `onError` will still be present until it can be removed in a future major version. ##### Standardized Errors Error Handling has had many weird edge cases introduced by applications throwing unusual values. In v1.7 we wrap all thrown values that aren't of type `Error` in a `new Error` and attach the original thrown value as `.cause`. ##### More Performant Dev Tools Now that [Solid Dev Tools](https://togithub.com/thetarnav/solid-devtools) have been stabilizing, we have a much better idea what support we need for them. In so we were able to remove the very costly serialization we were doing for generating unique identifiers. Conventions around naming and exports were streamlined and standardized as well. ##### Others - Smaller compiled output, remove auxilary closing tags - Support for `prop:` and `attr:` in Spreads - Don't apply special props (like `readonly`) to custom elements - Introduced improved serializer, [seroval](https://togithub.com/lxsmnsyc/seroval) - Fixed quirks in Solid's treeshaking in Rollup - Minify inline class and style attributes - Update `solid-ssr` to type `"module"` ### [`v1.6.16`](https://togithub.com/solidjs/solid/compare/v1.6.15...v1.6.16) [Compare Source](https://togithub.com/solidjs/solid/compare/v1.6.15...v1.6.16) ### [`v1.6.15`](https://togithub.com/solidjs/solid/compare/v1.6.14...v1.6.15) [Compare Source](https://togithub.com/solidjs/solid/compare/v1.6.14...v1.6.15)
egoist/tsup ### [`v6.7.0`](https://togithub.com/egoist/tsup/releases/tag/v6.7.0) [Compare Source](https://togithub.com/egoist/tsup/compare/v6.6.3...v6.7.0) ##### Features - add function type for options.injectStyle ([#​855](https://togithub.com/egoist/tsup/issues/855)) ([01169b3](https://togithub.com/egoist/tsup/commit/01169b39756a26d84bd393e0f4c4a0c3bec922ca)) - support typescript 5.0 ([#​859](https://togithub.com/egoist/tsup/issues/859)) ([3e15867](https://togithub.com/egoist/tsup/commit/3e158674bdeb3d060404987e1b278fd7d21ccda1))
vitejs/vite ### [`v4.2.1`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small421-2023-03-20-small) [Compare Source](https://togithub.com/vitejs/vite/compare/9dbb7f7765fd7d255daf82ad44fe867d49f0befd...v4.2.1) - fix: add `virtual:` to virtual module source map ignore ([#​12444](https://togithub.com/vitejs/vite/issues/12444)) ([c4aa28f](https://togithub.com/vitejs/vite/commit/c4aa28f)), closes [#​12444](https://togithub.com/vitejs/vite/issues/12444) - fix(css): inject source content conditionally ([#​12449](https://togithub.com/vitejs/vite/issues/12449)) ([3e665f6](https://togithub.com/vitejs/vite/commit/3e665f6)), closes [#​12449](https://togithub.com/vitejs/vite/issues/12449) - fix(worker): using data URLs for inline shared worker ([#​12014](https://togithub.com/vitejs/vite/issues/12014)) ([79a5007](https://togithub.com/vitejs/vite/commit/79a5007)), closes [#​12014](https://togithub.com/vitejs/vite/issues/12014) - chore: changelog edits for 4.2 ([#​12438](https://togithub.com/vitejs/vite/issues/12438)) ([ce047e3](https://togithub.com/vitejs/vite/commit/ce047e3)), closes [#​12438](https://togithub.com/vitejs/vite/issues/12438) ### [`v4.2.0`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#​420-2023-03-16) [Compare Source](https://togithub.com/vitejs/vite/compare/v4.1.4...9dbb7f7765fd7d255daf82ad44fe867d49f0befd) Vite 4.2 is out! ##### Support env variables replacement in HTML files Vite now supports [replacing env variables in HTML files](https://vitejs.dev/guide/env-and-mode.html#html-env-replacement). Any properties in `import.meta.env` can be used in HTML files with a special `%ENV_NAME%` syntax: ```html

Vite is running in %MODE%

Using data from %VITE_API_URL%

``` ##### Sourcemaps improvements The Chrome Dev Tools team has been working to improve the DX of Vite and Vite-powered frameworks in the dev tools. Vite 4.2 brings an [improved experience](https://twitter.com/bmeurer/status/1631286267823439881) and tools for framework authors to [hide 3rd party code and build artifacts from the user](https://twitter.com/bmeurer/status/1631531492462526467) from console log traces using [`server.sourcemapIgnoreList`](https://vitejs.dev/config/server-options.html#server-sourcemapignorelist) and [`build.rollupOptions.output.sourcemapIgnoreList`](https://rollupjs.org/configuration-options/#output-sourcemapignorelist). ##### ESM subpath imports Vite 4.2 now supports [subpath imports](https://nodejs.org/api/packages.html#subpath-imports), thanks to [@​lukeed05](https://twitter.com/lukeed05)'s [resolve.exports](https://togithub.com/lukeed/resolve.exports) library. ##### TypeScript 5 support Vite 4.2 also supports TypeScript 5's `tsconfig` `extends` [array format](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0-beta/#supporting-multiple-configuration-files-in-extends), thanks to [tsconfck](https://togithub.com/dominikg/tsconfck). ##### esbuild 0.17 esbuild [v0.17.0](https://togithub.com/evanw/esbuild/releases/tag/v0.17.0) improved the design of its incremental, watch, and serve APIs. Check out [#​11908](https://togithub.com/vitejs/vite/pull/11908) for the rationale of why we didn't consider the backward-incompatible changes breaking for our use cases. The updated esbuild design now allows Vite to properly cancel in-fly builds and improve server restarts. ##### Use Rollup types from the vite package Expose Rollup types as a namespace. This is helpful to avoid type conflicts because of different versions of Rollup types in environments like [vite-ecosystem-ci](https://togithub.com/vitejs/vite-ecosystem-ci) ([#​12316](https://togithub.com/vitejs/vite/issues/12316)). ```ts import type { Rollup } from 'vite' ``` ##### Português Docs Translation The Vite documentation is now translated to Português at [pt.vitejs.dev](https://pt.vitejs.dev) thanks to [Nazaré Da Piedade](https://twitter.com/nazarepiedady) . ##### Features - feat: add status message for 504 caused by optimizer ([#​12435](https://togithub.com/vitejs/vite/issues/12435)) ([5cdd3fa](https://togithub.com/vitejs/vite/commit/5cdd3fa)), closes [#​12435](https://togithub.com/vitejs/vite/issues/12435) - feat: update tsconfck to 2.1.0 to add support for typescript 5 config syntax ([#​12401](https://togithub.com/vitejs/vite/issues/12401)) ([3f1c379](https://togithub.com/vitejs/vite/commit/3f1c379)), closes [#​12401](https://togithub.com/vitejs/vite/issues/12401) - feat: default esbuild jsxDev based on config.isProduction ([#​12386](https://togithub.com/vitejs/vite/issues/12386)) ([f24c2b0](https://togithub.com/vitejs/vite/commit/f24c2b0)), closes [#​12386](https://togithub.com/vitejs/vite/issues/12386) - feat(css): add `build.cssMinify` ([#​12207](https://togithub.com/vitejs/vite/issues/12207)) ([90431f2](https://togithub.com/vitejs/vite/commit/90431f2)), closes [#​12207](https://togithub.com/vitejs/vite/issues/12207) - feat(types): export Rollup namespace ([#​12316](https://togithub.com/vitejs/vite/issues/12316)) ([6e49e52](https://togithub.com/vitejs/vite/commit/6e49e52)), closes [#​12316](https://togithub.com/vitejs/vite/issues/12316) - feat: add `sourcemapIgnoreList` configuration option ([#​12174](https://togithub.com/vitejs/vite/issues/12174)) ([f875580](https://togithub.com/vitejs/vite/commit/f875580)), closes [#​12174](https://togithub.com/vitejs/vite/issues/12174) - feat: cancellable scan during optimization ([#​12225](https://togithub.com/vitejs/vite/issues/12225)) ([1e1cd3b](https://togithub.com/vitejs/vite/commit/1e1cd3b)), closes [#​12225](https://togithub.com/vitejs/vite/issues/12225) - feat: don't override `build.target` if terser is 5.16.0+ ([#​12197](https://togithub.com/vitejs/vite/issues/12197)) ([9885f6f](https://togithub.com/vitejs/vite/commit/9885f6f)), closes [#​12197](https://togithub.com/vitejs/vite/issues/12197) - feat: support ESM subpath imports ([#​7770](https://togithub.com/vitejs/vite/issues/7770)) ([cc92da9](https://togithub.com/vitejs/vite/commit/cc92da9)), closes [#​7770](https://togithub.com/vitejs/vite/issues/7770) - feat(css): add preprocessor option to define stylus vars & funcs ([#​7227](https://togithub.com/vitejs/vite/issues/7227)) ([5968bec](https://togithub.com/vitejs/vite/commit/5968bec)), closes [#​7227](https://togithub.com/vitejs/vite/issues/7227) - feat(css): support resolving stylesheets from exports map ([#​7817](https://togithub.com/vitejs/vite/issues/7817)) ([108aadf](https://togithub.com/vitejs/vite/commit/108aadf)), closes [#​7817](https://togithub.com/vitejs/vite/issues/7817) - feat(html): support env replacement ([#​12202](https://togithub.com/vitejs/vite/issues/12202)) ([4f2c49f](https://togithub.com/vitejs/vite/commit/4f2c49f)), closes [#​12202](https://togithub.com/vitejs/vite/issues/12202) - refactor: customize ErrorOverlay (part 2) ([#​11830](https://togithub.com/vitejs/vite/issues/11830)) ([4159e6f](https://togithub.com/vitejs/vite/commit/4159e6f)), closes [#​11830](https://togithub.com/vitejs/vite/issues/11830) - refactor: remove constructed sheet type style injection ([#​11818](https://togithub.com/vitejs/vite/issues/11818)) ([1a6a0c2](https://togithub.com/vitejs/vite/commit/1a6a0c2)), closes [#​11818](https://togithub.com/vitejs/vite/issues/11818) - refactor(importAnalysis): cache injected env string ([#​12154](https://togithub.com/vitejs/vite/issues/12154)) ([2aad552](https://togithub.com/vitejs/vite/commit/2aad552)), closes [#​12154](https://togithub.com/vitejs/vite/issues/12154) - feat: esbuild 0.17 ([#​11908](https://togithub.com/vitejs/vite/issues/11908)) ([9d42f06](https://togithub.com/vitejs/vite/commit/9d42f06)), closes [#​11908](https://togithub.com/vitejs/vite/issues/11908) - feat: ignore list client injected sources ([#​12170](https://togithub.com/vitejs/vite/issues/12170)) ([8a98aef](https://togithub.com/vitejs/vite/commit/8a98aef)), closes [#​12170](https://togithub.com/vitejs/vite/issues/12170) - feat: support rollup plugin `this.load` in plugin container context ([#​11469](https://togithub.com/vitejs/vite/issues/11469)) ([abfa804](https://togithub.com/vitejs/vite/commit/abfa804)), closes [#​11469](https://togithub.com/vitejs/vite/issues/11469) - feat(cli): allow to specify sourcemap mode via --sourcemap build's option ([#​11505](https://togithub.com/vitejs/vite/issues/11505)) ([ee3b90a](https://togithub.com/vitejs/vite/commit/ee3b90a)), closes [#​11505](https://togithub.com/vitejs/vite/issues/11505) - feat(reporter): report built time ([#​12100](https://togithub.com/vitejs/vite/issues/12100)) ([f2ad222](https://togithub.com/vitejs/vite/commit/f2ad222)), closes [#​12100](https://togithub.com/vitejs/vite/issues/12100) ##### Bug Fixes - fix: html env replacement plugin position ([#​12404](https://togithub.com/vitejs/vite/issues/12404)) ([96f36a9](https://togithub.com/vitejs/vite/commit/96f36a9)), closes [#​12404](https://togithub.com/vitejs/vite/issues/12404) - fix(optimizer): # symbol in deps id stripped by browser ([#​12415](https://togithub.com/vitejs/vite/issues/12415)) ([e23f690](https://togithub.com/vitejs/vite/commit/e23f690)), closes [#​12415](https://togithub.com/vitejs/vite/issues/12415) - fix(resolve): rebase sub imports relative path ([#​12373](https://togithub.com/vitejs/vite/issues/12373)) ([fe1d61a](https://togithub.com/vitejs/vite/commit/fe1d61a)), closes [#​12373](https://togithub.com/vitejs/vite/issues/12373) - fix(server): should close server after create new server ([#​12379](https://togithub.com/vitejs/vite/issues/12379)) ([d23605d](https://togithub.com/vitejs/vite/commit/d23605d)), closes [#​12379](https://togithub.com/vitejs/vite/issues/12379) - fix(resolve): remove deep import syntax handling ([#​12381](https://togithub.com/vitejs/vite/issues/12381)) ([42e0d6a](https://togithub.com/vitejs/vite/commit/42e0d6a)), closes [#​12381](https://togithub.com/vitejs/vite/issues/12381) - fix: print urls when dns order change ([#​12261](https://togithub.com/vitejs/vite/issues/12261)) ([e57cacf](https://togithub.com/vitejs/vite/commit/e57cacf)), closes [#​12261](https://togithub.com/vitejs/vite/issues/12261) - fix: throw ssr import error directly (fix [#​12322](https://togithub.com/vitejs/vite/issues/12322)) ([#​12324](https://togithub.com/vitejs/vite/issues/12324)) ([21ffc6a](https://togithub.com/vitejs/vite/commit/21ffc6a)), closes [#​12322](https://togithub.com/vitejs/vite/issues/12322) [#​12324](https://togithub.com/vitejs/vite/issues/12324) - fix(config): watch config even outside of root ([#​12321](https://togithub.com/vitejs/vite/issues/12321)) ([7e2fff7](https://togithub.com/vitejs/vite/commit/7e2fff7)), closes [#​12321](https://togithub.com/vitejs/vite/issues/12321) - fix(config): watch envDir even outside of root ([#​12349](https://togithub.com/vitejs/vite/issues/12349)) ([131f3ee](https://togithub.com/vitejs/vite/commit/131f3ee)), closes [#​12349](https://togithub.com/vitejs/vite/issues/12349) - fix(define): correctly replace SSR in dev ([#​12204](https://togithub.com/vitejs/vite/issues/12204)) ([0f6de4d](https://togithub.com/vitejs/vite/commit/0f6de4d)), closes [#​12204](https://togithub.com/vitejs/vite/issues/12204) - fix(optimizer): suppress esbuild cancel error ([#​12358](https://togithub.com/vitejs/vite/issues/12358)) ([86a24e4](https://togithub.com/vitejs/vite/commit/86a24e4)), closes [#​12358](https://togithub.com/vitejs/vite/issues/12358) - fix(optimizer): transform css require to import directly ([#​12343](https://togithub.com/vitejs/vite/issues/12343)) ([716286e](https://togithub.com/vitejs/vite/commit/716286e)), closes [#​12343](https://togithub.com/vitejs/vite/issues/12343) - fix(reporter): build.assetsDir should not impact output when in lib mode ([#​12108](https://togithub.com/vitejs/vite/issues/12108)) ([b12f457](https://togithub.com/vitejs/vite/commit/b12f457)), closes [#​12108](https://togithub.com/vitejs/vite/issues/12108) - fix(types): avoid resolve.exports types for bundling ([#​12346](https://togithub.com/vitejs/vite/issues/12346)) ([6b40f03](https://togithub.com/vitejs/vite/commit/6b40f03)), closes [#​12346](https://togithub.com/vitejs/vite/issues/12346) - fix(worker): force rollup to build worker module under watch mode ([#​11919](https://togithub.com/vitejs/vite/issues/11919)) ([d464679](https://togithub.com/vitejs/vite/commit/d464679)), closes [#​11919](https://togithub.com/vitejs/vite/issues/11919) - fix: resolve browser mapping using bare imports (fix [#​11208](https://togithub.com/vitejs/vite/issues/11208)) ([#​11219](https://togithub.com/vitejs/vite/issues/11219)) ([22de84f](https://togithub.com/vitejs/vite/commit/22de84f)), closes [#​11208](https://togithub.com/vitejs/vite/issues/11208) [#​11219](https://togithub.com/vitejs/vite/issues/11219) - fix: avoid null sourcePath in `server.sourcemapIgnoreList` ([#​12251](https://togithub.com/vitejs/vite/issues/12251)) ([209c3bd](https://togithub.com/vitejs/vite/commit/209c3bd)), closes [#​12251](https://togithub.com/vitejs/vite/issues/12251) - fix: configure proxy before subscribing to error events ([#​12263](https://togithub.com/vitejs/vite/issues/12263)) ([c35e100](https://togithub.com/vitejs/vite/commit/c35e100)), closes [#​12263](https://togithub.com/vitejs/vite/issues/12263) - fix: enforce absolute path for server.sourcemapIgnoreList ([#​12309](https://togithub.com/vitejs/vite/issues/12309)) ([ab6ae07](https://togithub.com/vitejs/vite/commit/ab6ae07)), closes [#​12309](https://togithub.com/vitejs/vite/issues/12309) - fix: handle error without line and column in loc ([#​12312](https://togithub.com/vitejs/vite/issues/12312)) ([ce18eba](https://togithub.com/vitejs/vite/commit/ce18eba)), closes [#​12312](https://togithub.com/vitejs/vite/issues/12312) - fix: properly clean up optimization temp folder ([#​12237](https://togithub.com/vitejs/vite/issues/12237)) ([fbbf8fe](https://togithub.com/vitejs/vite/commit/fbbf8fe)), closes [#​12237](https://togithub.com/vitejs/vite/issues/12237) - fix: unique dep optimizer temp folders ([#​12252](https://togithub.com/vitejs/vite/issues/12252)) ([38ce81c](https://togithub.com/vitejs/vite/commit/38ce81c)), closes [#​12252](https://togithub.com/vitejs/vite/issues/12252) - fix(build-import-analysis): should not append ?used when css request has ?url or ?raw ([#​11910](https://togithub.com/vitejs/vite/issues/11910)) ([e3f725f](https://togithub.com/vitejs/vite/commit/e3f725f)), closes [#​11910](https://togithub.com/vitejs/vite/issues/11910) - fix(optimizer): don not call context.rebuild after cancel ([#​12264](https://togithub.com/vitejs/vite/issues/12264)) ([520d84e](https://togithub.com/vitejs/vite/commit/520d84e)), closes [#​12264](https://togithub.com/vitejs/vite/issues/12264) - fix(resolve): update `resolve.exports` to `2.0.1` to fix `*` resolution issue ([#​12314](https://togithub.com/vitejs/vite/issues/12314)) ([523d6f7](https://togithub.com/vitejs/vite/commit/523d6f7)), closes [#​12314](https://togithub.com/vitejs/vite/issues/12314) - fix: use relative paths in `sources` for transformed source maps ([#​12079](https://togithub.com/vitejs/vite/issues/12079)) ([bcbc582](https://togithub.com/vitejs/vite/commit/bcbc582)), closes [#​12079](https://togithub.com/vitejs/vite/issues/12079) - fix(cli): after setting server.open, the default open is inconsistent… ([#​11974](https://togithub.com/vitejs/vite/issues/11974)) ([33a38db](https://togithub.com/vitejs/vite/commit/33a38db)), closes [#​11974](https://togithub.com/vitejs/vite/issues/11974) - fix(client-inject): replace globalThis.process.env.NODE_ENV (fix [#​12185](https://togithub.com/vitejs/vite/issues/12185)) ([#​12194](https://togithub.com/vitejs/vite/issues/12194)) ([2063648](https://togithub.com/vitejs/vite/commit/2063648)), closes [#​12185](https://togithub.com/vitejs/vite/issues/12185) [#​12194](https://togithub.com/vitejs/vite/issues/12194) - fix(css): should not rebase http url for less (fix: [#​12155](https://togithub.com/vitejs/vite/issues/12155)) ([#​12195](https://togithub.com/vitejs/vite/issues/12195)) ([9cca30d](https://togithub.com/vitejs/vite/commit/9cca30d)), closes [#​12155](https://togithub.com/vitejs/vite/issues/12155) [#​12195](https://togithub.com/vitejs/vite/issues/12195) - fix(deps): update all non-major dependencies ([#​12036](https://togithub.com/vitejs/vite/issues/12036)) ([48150f2](https://togithub.com/vitejs/vite/commit/48150f2)), closes [#​12036](https://togithub.com/vitejs/vite/issues/12036) - fix(import-analysis): improve error for jsx to not be preserve in tsconfig ([#​12018](https://togithub.com/vitejs/vite/issues/12018)) ([91fac1c](https://togithub.com/vitejs/vite/commit/91fac1c)), closes [#​12018](https://togithub.com/vitejs/vite/issues/12018) - fix(optimizer): log esbuild error when scanning deps ([#​11977](https://togithub.com/vitejs/vite/issues/11977)) ([20e6060](https://togithub.com/vitejs/vite/commit/20e6060)), closes [#​11977](https://togithub.com/vitejs/vite/issues/11977) - fix(optimizer): log unoptimizable entries ([#​12138](https://togithub.com/vitejs/vite/issues/12138)) ([2c93e0b](https://togithub.com/vitejs/vite/commit/2c93e0b)), closes [#​12138](https://togithub.com/vitejs/vite/issues/12138) - fix(server): watch env files creating and deleting (fix [#​12127](https://togithub.com/vitejs/vite/issues/12127)) ([#​12129](https://togithub.com/vitejs/vite/issues/12129)) ([cc3724f](https://togithub.com/vitejs/vite/commit/cc3724f)), closes [#​12127](https://togithub.com/vitejs/vite/issues/12127) [#​12129](https://togithub.com/vitejs/vite/issues/12129) - build: correct d.ts output dir in development ([#​12212](https://togithub.com/vitejs/vite/issues/12212)) ([b90bc1f](https://togithub.com/vitejs/vite/commit/b90bc1f)), closes [#​12212](https://togithub.com/vitejs/vite/issues/12212) ##### Previous Changelogs ##### [4.2.0-beta.2](https://togithub.com/vitejs/vite/compare/v4.2.0-beta.1....v4.2.0-beta.2) (2023-03-13) See [4.2.0-beta.2 changelog](https://togithub.com/vitejs/vite/blob/v4.2.0-beta.2/packages/vite/CHANGELOG.md) ##### [4.2.0-beta.1](https://togithub.com/vitejs/vite/compare/v4.2.0-beta.0....v4.2.0-beta.1) (2023-03-07) See [4.2.0-beta.1 changelog](https://togithub.com/vitejs/vite/blob/v4.2.0-beta.1/packages/vite/CHANGELOG.md) ##### [4.2.0-beta.0](https://togithub.com/vitejs/vite/compare/v4.1.4....v4.2.0-beta.0) (2023-02-27) See [4.2.0-beta.0 changelog](https://togithub.com/vitejs/vite/blob/v4.2.0-beta.0/packages/vite/CHANGELOG.md)

Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.