
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
generator-typescript-react-lib
Advanced tools
A Yeoman generator for React libs written with Typescript.
A Yeoman generator for React libs written with Typescript.
To provide a basic starting point when authoring React libraries with Typescript. By design not all use-cases will be handled, so some post-generation modifications may be required.
First, install Yeoman and generator-typescript-react-lib:
$ npm install -g yo generator-typescript-react-lib
Then generate your new library:
$ mkdir your-new-react-library && cd $_
$ yo typescript-react-lib
Everything revolves around GitHub PRs:
It's also recommended to set branch protection rules against the master
branch by selecting the following:
Require status checks to pass before merging
.Require branches to be up to date before merging
.ci
.Running npm test
will:
Once the PR checks have passed:
master
branch.master
is up-to-date.npm release <newversion>
. Refer to the npm-version docs for information on the newversion
argument.The release
script will:
package.json
version.CHANGELOG.md
that includes these latest changes.AUTHORS
file.MIT
v1.0.178 (2024-09-03)
FAQs
A Yeoman generator for React libs written with Typescript.
We found that generator-typescript-react-lib demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.