@knime/scripting-editor
v0.0.143
Published
Shared Scripting Editor components for KNIME
Readme
KNIME Scripting Editor Framework
Shared scripting editor components for KNIME Analytics Platform and a standalone generic scripting editor app.
Consuming this package
@knime/components is a peer dependency and is published as the exact version
this repository builds against (its peerDependencies entry is catalog:, which
pnpm resolves from pnpm-workspace.yaml at publish time).
Breaking change -- versions published after
0.0.139require@knime/components2.0;0.0.139and earlier required1.46.7. Bump@knime/componentsto2.0.0in the consuming repository in the same step as@knime/scripting-editor. Staying on1.xleaves two majors of@knime/componentsin the consumer's tree and the package manager reporting a peer-dependency mismatch.
Development
Prerequisites
- Node.js (see version in
package.json) - pnpm workspace (install from root:
pnpm install)
Development Modes
Standalone Mode (Browser)
Develop with mocked backend services:
pnpm run dev:browserOpens at http://localhost:5173/
KNIME Dialog Development Mode
Start KNIME Analytics Platform with:
-Dorg.knime.ui.dev.mode=true
-Dorg.knime.ui.dev.node.dialog.url=http://localhost:5173/Run the development server:
pnpm run dev:knimeNOTE: The dialog served by the development server is only visible with the the dialog mode "Open in new window".
Build
Library:
pnpm run build:lib # Production build
pnpm run build:lib:watch # Watch modeApplication:
pnpm run build:appTesting
pnpm run test:unit # Run tests
pnpm run coverage # Generate coverageCode Quality
pnpm run lint
pnpm run format