Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@swarmion/nx-plugin

Package Overview
Dependencies
Maintainers
0
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@swarmion/nx-plugin

Generate and use type-safe contracts between your Serverless services.

  • 0.33.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@swarmion/nx-plugin

Generate new libraries and services in your Serverless monorepo.

This package is part of the Swarmion project. See its documentation for more insights.

Installation

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.

Contributing

Integration tests

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.

Manual testing

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

Keywords

FAQs

Package last updated on 13 Dec 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc