@knime/scripting-editor 0.0.0 → 0.0.2

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knime/scripting-editor",
3
3
  "type": "module",
4
- "version": "0.0.0",
4
+ "version": "0.0.2",
5
5
  "description": "Shared Scripting Editor components for KNIME",
6
6
  "author": "KNIME AG, Zurich, Switzerland",
7
7
  "license": "See the file license.txt",
@@ -15,12 +15,15 @@
15
15
  "lint:css": "stylelint --cache '**/*.{css,vue}'",
16
16
  "ci:lint-format": "run-p ci:lint:* format:check -c",
17
17
  "ci:lint:js": "npm run lint:js && npm run lint:js -- -f json -o test-results/eslint.json",
18
- "ci:lint:css": "npm run lint:css -- -f json -o test-results/stylelint.json"
18
+ "ci:lint:css": "npm run lint:css -- -f json -o test-results/stylelint.json",
19
+ "audit": "npm audit --omit dev",
20
+ "coverage": "vitest run --coverage"
19
21
  },
20
22
  "dependencies": {
21
- "consola": "^3.2.3",
23
+ "consola": "3.2.3",
22
24
  "pinia": "2.1.4",
23
- "vue": "3.x"
25
+ "vue": "3.x",
26
+ "webapps-common": "file:webapps-common"
24
27
  },
25
28
  "devDependencies": {
26
29
  "@knime/eslint-config": "8.0.7",
@@ -30,6 +33,7 @@
30
33
  "@types/node": "18.17.0",
31
34
  "@vitejs/plugin-vue": "4.2.3",
32
35
  "@vitejs/plugin-vue-jsx": "3.0.1",
36
+ "@vitest/coverage-v8": "^0.33.0",
33
37
  "@vue/eslint-config-prettier": "8.0.0",
34
38
  "@vue/eslint-config-typescript": "11.0.3",
35
39
  "@vue/test-utils": "2.4.1",
@@ -39,8 +43,8 @@
39
43
  "jsdom": "22.1.0",
40
44
  "npm-run-all": "4.1.5",
41
45
  "prettier": "3.0.0",
42
- "stylelint": "^15.10.2",
43
- "typescript": "~5.1.6",
46
+ "stylelint": "15.10.2",
47
+ "typescript": "5.1.6",
44
48
  "vite": "4.4.6",
45
49
  "vitest": "0.33.0",
46
50
  "vue-tsc": "1.8.6"
@@ -1,13 +1,13 @@
1
1
  <template>
2
2
  <div class="item">
3
3
  <i>
4
- <slot name="icon"/>
4
+ <slot name="icon" />
5
5
  </i>
6
6
  <div class="details">
7
7
  <h3>
8
- <slot name="heading"/>
8
+ <slot name="heading" />
9
9
  </h3>
10
- <slot/>
10
+ <slot />
11
11
  </div>
12
12
  </div>
13
13
  </template>
@@ -6,7 +6,7 @@ export const useCounterStore = defineStore("counter", () => {
6
6
  const doubleCount = computed(() => count.value * 2);
7
7
  const increment = () => {
8
8
  count.value++;
9
- }
9
+ };
10
10
 
11
11
  return { count, doubleCount, increment };
12
12
  });