Skip to content

xpert-ai/xpert-plugins-starter

Repository files navigation

Xpert Plugins Starter

Learn more about this workspace setup and its capabilities or run npx nx graph to visually explore what was created. Now, let's get you up to speed!

Generate a plugin library

npx nx g @nx/js:lib packages/pkg1 --publishable --importPath=@my-org/pkg1 --bundler=tsc --unitTestRunner=jest --linter=eslint

Run tasks

To build the library use:

npx nx build pkg1

To run any task with Nx use:

npx nx <target> <project-name>

These targets are either inferred automatically or defined in the project.json or package.json files.

More about running tasks in the docs »

Versioning and releasing

To version and release the library use

npx nx release [-p <project-name>] [--dry-run]

Pass --dry-run to see what would happen without actually releasing the library.

Learn more about Nx release »

Publish to npm with:

npx nx run <project-name>:nx-release-publish --access public --otp=<one-time-password-if-needed>

Useful links

Learn more:

And join the Nx community:

About

A template project for xpert plugin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published