Security News
cURL Project and Go Security Teams Reject CVSS as Broken
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
@swarmion/nx-plugin
Advanced tools
Generate and use type-safe contracts between your Serverless services.
Generate new libraries and services in your Serverless monorepo.
This package is part of the Swarmion project. See its documentation for more insights.
pnpm add --save-dev @swarmion/nx-plugin
or if using yarn
yarn add --dev @swarmion/nx-plugin
or if using npm
npm install --save-dev @swarmion/nx-plugin
Check out the docs for more info.
The src/generators/library/library.test.ts
and src/generators/service/service.test.ts
files contain integration tests.
They ensure that the generators have the correct behaviors without generating actual files.
They enable the use of TDD to add new features to the generators.
To test the generators manually in the repo, add @swarmion/nx-plugin
to the root package.json
.
pnpm add -w --save-dev @swarmion/nx-plugin
Then run the following commands to test either of the generators:
pnpm nx g @swarmion/nx-plugin:library my-lib
pnpm nx g @swarmion/nx-plugin:service my-service
When testing if finished, remove the package from the root package.json
, otherwise the nx affected
command will fail (it would be a good idea to open an issue on the nx repo to fix this):
pnpm remove -w --save-dev @swarmion/nx-plugin
FAQs
Generate and use type-safe contracts between your Serverless services.
The npm package @swarmion/nx-plugin receives a total of 1,023 weekly downloads. As such, @swarmion/nx-plugin popularity was classified as popular.
We found that @swarmion/nx-plugin 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
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.