-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
49 additions
and
195 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,5 @@ | ||
/* eslint-disable @typescript-eslint/method-signature-style */ | ||
|
||
declare namespace jest { | ||
interface Matchers<R, T = {}> { | ||
toBeFilePath(path: string): R; | ||
} | ||
} | ||
|
||
declare const __DEV__: boolean; | ||
|
||
declare function delay(time?: number): Promise<void>; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,29 @@ | ||
--- | ||
title: 5.0 migration | ||
sidebar_label: '5.0' | ||
--- | ||
|
||
## All packages | ||
|
||
- Requires TypeScript v5 or greater. | ||
- Dropped Node.js v14 support. Now requires v16.20 and above. | ||
- Updated many dependencies to their latest major version. | ||
|
||
### Migrated to ECMAScript modules (`.mjs`) | ||
|
||
TODO | ||
|
||
## @boost/common | ||
|
||
- Migrated from `resolve` to `enhanced-resolve` for `PathResolver`. This is to support | ||
`package.json` exports. We currently support the `import`, `require`, and `node` conditions. | ||
|
||
## @boost/plugin | ||
|
||
- Updated the `Loader` to use dynamic `import()` for loading modules, instead of our `requireModule` | ||
function from `@boost/module`. This is to support both CJS and ESM files. | ||
|
||
## @boost/test-utils | ||
|
||
- Migrated from Jest to Vitest. | ||
- Removed the `copyFixtureToMock` function. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.