@knime/scripting-editor 0.0.117 → 0.0.119

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # KNIME Scripting Editor Framework
2
2
 
3
- Shared scripting editor components for KNIME Analytics Platform. Use this framework to build dialogs for KNIME nodes that allow users to write scripts.
3
+ Shared scripting editor components for KNIME Analytics Platform and a standalone generic scripting editor app.
4
4
 
5
5
  ## Development
6
6
 
@@ -9,50 +9,59 @@ Shared scripting editor components for KNIME Analytics Platform. Use this framew
9
9
  - Node.js (see version in `package.json`)
10
10
  - pnpm workspace (install from root: `pnpm install`)
11
11
 
12
- ### Standalone Development
12
+ ### Development Modes
13
13
 
14
- Run the demo app for UI development:
14
+ #### Standalone Mode (Browser)
15
+
16
+ Develop with mocked backend services:
15
17
 
16
18
  ```sh
17
- pnpm run demo
19
+ pnpm run dev:browser
18
20
  ```
19
21
 
20
- Opens at [http://localhost:3000](http://localhost:3000) with mocked backend services. Perfect for developing and testing UI components without linking to other projects.
22
+ Opens at [http://localhost:5173/](http://localhost:5173/)
21
23
 
22
- See [demo/README.md](demo/README.md) for detailed documentation.
24
+ #### KNIME Dialog Development Mode
23
25
 
24
- ### Build
26
+ Start KNIME Analytics Platform with:
27
+
28
+ ```
29
+ -Dorg.knime.ui.dev.mode=true
30
+ -Dorg.knime.ui.dev.node.dialog.url=http://localhost:5173/
31
+ ```
25
32
 
26
- Development build with watch mode:
33
+ Run the development server:
27
34
 
28
35
  ```sh
29
- pnpm run build-watch
36
+ pnpm run dev:knime
30
37
  ```
31
38
 
32
- Production build:
39
+ NOTE: The dialog served by the development server is only visible with the the dialog mode "Open in new window".
40
+
41
+ ### Build
42
+
43
+ Library:
33
44
 
34
45
  ```sh
35
- pnpm run build
46
+ pnpm run build:lib # Production build
47
+ pnpm run build:lib:watch # Watch mode
36
48
  ```
37
49
 
38
- ### Testing
39
-
40
- Run unit tests:
50
+ Application:
41
51
 
42
52
  ```sh
43
- pnpm run test:unit
53
+ pnpm run build:app
44
54
  ```
45
55
 
46
- Generate coverage report:
56
+ ### Testing
47
57
 
48
58
  ```sh
49
- pnpm run coverage
59
+ pnpm run test:unit # Run tests
60
+ pnpm run coverage # Generate coverage
50
61
  ```
51
62
 
52
63
  ### Code Quality
53
64
 
54
- Lint and format:
55
-
56
65
  ```sh
57
66
  pnpm run lint
58
67
  pnpm run format