kn-plugin-workflow
is a plugin of the Knative Client, to enable users to quickly set up a local Kogito Serverless Workflow project from the command line.
All the commands in this section should be performed in the monorepo root.
- Node
>= 18.14.0
(To install, follow these instructions: https://nodejs.org/en/download/package-manager/) - pnpm
7.26.3
(To install, follow these instructions: https://pnpm.io/installation) - Go
1.19
(To install, follow these instructions: https://go.dev/doc/install)
The following command will install the kn-plugin-workflow
dependencies and link it with any other monorepo
package that is listed in the package.json
:
pnpm bootstrap -F "@kie-tools/kn-plugin-workflow..."
It has two different strategies to build the kn-plugin-workflow
:
build:dev
(The build will generate one artifact that is compatible with your local machine)build:prod
(The build will generate artifacts for all available architecture and run the available tests)
To build the kn-plugin-workflow
run the following command:
pnpm -r -F "@kie-tools/kn-plugin-workflow..." <build-strategy>