-
Notifications
You must be signed in to change notification settings - Fork 3
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
5 changed files
with
130 additions
and
83 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
- [Development](#development) | ||
- [`pnpm` cheat sheet](#pnpm-cheat-sheet) | ||
- [Dependency management](#dependency-management) | ||
- [DefinitelyTyped packages](#definitelytyped-packages) | ||
- [Build](#build) | ||
- [Code quality](#sode-quality) | ||
- [Automatic fixing and formatting](#automatic-fixing-and-formatting) | ||
|
@@ -45,12 +46,19 @@ pnpm start | |
`pnpm install` (but make sure to specify an exact dependency version rather | ||
than a range – i.e. don't prefix the version with a caret or a tilde). | ||
|
||
> Note that `react` and `react-dom` must remain at v17 until H5Web supports v18. | ||
> If you run into peer dependency warnings and other package resolution issues, | ||
> note that `pnpm` offers numerous solutions for dealing with them, like | ||
> [`pnpm.peerDependencyRules.allowedVersions`](https://pnpm.io/package_json#pnpmpeerdependencyrulesallowedversions). | ||
#### [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped) packages | ||
|
||
The major versions of `@types/*` packages must be aligned with the major | ||
versions of the packages they provide types for—i.e. `[email protected]` requires | ||
`@types/foo@^x`. | ||
|
||
For convenience, `@types` packages can be quickly upgraded to their latest | ||
minor/patch version by running `pnpm up`. | ||
|
||
## Build | ||
|
||
- `pnpm build` - build myHDF5 for production | ||
|
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.