@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 +28 -19
- package/dist/main.js +13648 -13554
- package/dist/scripting-service-browser-mock.js +21 -18
- package/dist/settings-service-browser-mock.js +12 -8
- package/dist/src/components/MainEditorPane.vue.d.ts +6 -3
- package/dist/src/components/ScriptingEditor.vue.d.ts +7 -4
- package/dist/src/initial-data-service.d.ts +1 -0
- package/dist/src/scripting-service.d.ts +4 -0
- package/dist/src/settings-service-browser-mock.d.ts +5 -2
- package/dist/src/settings-service.d.ts +18 -5
- package/dist/src/store/ai-bar.d.ts +3 -0
- package/package.json +29 -25
- package/dist/demo/App.vue.d.ts +0 -2
- package/dist/demo/DebugToolbar.vue.d.ts +0 -2
- package/dist/demo/main.d.ts +0 -1
- package/dist/demo/mock-data.d.ts +0 -5
- package/dist/demo/mock-services.d.ts +0 -9
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
|
|
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
|
-
###
|
|
12
|
+
### Development Modes
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
#### Standalone Mode (Browser)
|
|
15
|
+
|
|
16
|
+
Develop with mocked backend services:
|
|
15
17
|
|
|
16
18
|
```sh
|
|
17
|
-
pnpm run
|
|
19
|
+
pnpm run dev:browser
|
|
18
20
|
```
|
|
19
21
|
|
|
20
|
-
Opens at [http://localhost:
|
|
22
|
+
Opens at [http://localhost:5173/](http://localhost:5173/)
|
|
21
23
|
|
|
22
|
-
|
|
24
|
+
#### KNIME Dialog Development Mode
|
|
23
25
|
|
|
24
|
-
|
|
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
|
-
|
|
33
|
+
Run the development server:
|
|
27
34
|
|
|
28
35
|
```sh
|
|
29
|
-
pnpm run
|
|
36
|
+
pnpm run dev:knime
|
|
30
37
|
```
|
|
31
38
|
|
|
32
|
-
|
|
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
|
-
|
|
39
|
-
|
|
40
|
-
Run unit tests:
|
|
50
|
+
Application:
|
|
41
51
|
|
|
42
52
|
```sh
|
|
43
|
-
pnpm run
|
|
53
|
+
pnpm run build:app
|
|
44
54
|
```
|
|
45
55
|
|
|
46
|
-
|
|
56
|
+
### Testing
|
|
47
57
|
|
|
48
58
|
```sh
|
|
49
|
-
pnpm run
|
|
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
|