
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
create-react-workspaces
Advanced tools
Create a React application within a mono repository using workspaces with mininal effort.
Create a React application within a mono repository using workspaces with mininal effort.
The workspace allows you to compose your application(s) from independently versionable packages (components, utils, apis, etc). It also includes some great development tools pre-configured such as elint, jest with react testing library, storybook and cypress.
The structure looks something like:
|- apps/
| |- myapp/ -> main react app
|- devtools/
| |- storybook/
| |- cypress/
|- packages/
| |- apis/
| |- components/
| |- utils/
npx create-react-workspaces @mydomain myapp
Default template will be yarn-react-typescript
, if you would prefer not to use typescript use the command:
npx create-react-workspaces @mydomain myapp --template=yarn-react
Then within your newly created directory, you can start the app with yarn start
and storybook with yarn storybook
.
FAQs
Create a React application within a mono repository using workspaces with mininal effort.
The npm package create-react-workspaces receives a total of 0 weekly downloads. As such, create-react-workspaces popularity was classified as not popular.
We found that create-react-workspaces demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.