Product
Socket Now Supports uv.lock Files
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
@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 805 weekly downloads. As such, @swarmion/nx-plugin popularity was classified as not 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.
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.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.