Skip to content

Latest commit

 

History

History
36 lines (20 loc) · 1.07 KB

CONTRIBUTING.MD

File metadata and controls

36 lines (20 loc) · 1.07 KB

Contributors Guide

Contributing to existing plugins

Creating a new plugin

Proposal

Development

Setup

Add a library To create a new library in the monorepo, run the following command:

npx nx g @nx/js:lib [package-name] --directory=packages/[package-name] --projectNameAndRootFormat=as-provided --bundler=esbuild --unitTestRunner=vitest --module=esm --tags=scope:plugin 

Add an e2e test project

To create a new e2e test project in the monorepo, run the following command:

npx nx g @nx/js:lib e2e-[package-name] --directory=e2e/[package-name] --projectNameAndRootFormat=as-provided --bundler=none --unitTestRunner=vitest --tags=type:e2e 

Notes:

// generate testing helper lib testing/utils with name testing-utils