Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
generator-typescript-react-lib
Advanced tools
Changelog
v1.0.177 (2024-03-27)
Readme
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
FAQs
A Yeoman generator for React libs written with Typescript.
The npm package generator-typescript-react-lib receives a total of 1,053 weekly downloads. As such, generator-typescript-react-lib popularity was classified as popular.
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 1 open source maintainer 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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.