@jcoreio/clarity-feature-toolkit

1.0.3 • Public • Published

@jcoreio/clarity-feature-toolkit

This is a CLI that makes it easy to build and deploy your custom feature to Clarity. It provides a managed webpack config and scripts to orchestrate the process of uploading the webpack bundles to Clarity.

Getting Started

The easiest way to get started is to create a project with create-clarity-feature:

npx create-clarity-feature@latest
# or
yarn create clarity-feature
# or
pnpm create clarity-feature
# or
bunx create-clarity-feature

Deploying

Run npm exec clarity-feature-toolkit deploy to begin the interactive feature deployment process. First the CLI will ask you for the URL of your Clarity deployment. Then, it will have you create a code signing key in Clarity. Finally, it will rebuild the webpack bundles if necessary and upload them to Clarity via its REST API.

Package Sidebar

Install

npm i @jcoreio/clarity-feature-toolkit

Weekly Downloads

11

Version

1.0.3

License

MIT

Unpacked Size

77.7 kB

Total Files

43

Last publish

Collaborators

  • gravitate1838
  • avramdodson
  • forrest-keller
  • jrmclaurin
  • jedwards1211
  • eladendorf