Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
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.
The npm package generator-typescript-react-lib receives a total of 9 weekly downloads. As such, generator-typescript-react-lib popularity was classified as not 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 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.