Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
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
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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.