x-runtime-lib 0.4.3 → 0.4.4

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/dist/index.js CHANGED
@@ -4823,7 +4823,6 @@ class Xs {
4823
4823
  }
4824
4824
  this.context.data.view.nodes.forEach((g) => y(g));
4825
4825
  }
4826
-
4827
4826
  getNode(s) {
4828
4827
  return this.nodes[s];
4829
4828
  }
@@ -5064,7 +5063,7 @@ const Zs = /* @__PURE__ */ on({
5064
5063
  type: g,
5065
5064
  data: a.data
5066
5065
  },
5067
- a.data.code.main.script
5066
+ a.data.code.script
5068
5067
  ));
5069
5068
  }), Di(() => {
5070
5069
  T.value && (nn(T.value), T.value = void 0);
@@ -16,13 +16,10 @@ export interface Node {
16
16
  export interface View {
17
17
  nodes: Node[];
18
18
  }
19
- export interface CodeEntry {
19
+ export interface Code {
20
20
  blockly: object;
21
21
  script: string;
22
22
  }
23
- export interface Code {
24
- main: CodeEntry;
25
- }
26
23
  export interface Data {
27
24
  type: 'common';
28
25
  version: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.4.3",
4
+ "version": "0.4.4",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -12,13 +12,13 @@
12
12
  "dev": "vite",
13
13
  "build": "vue-tsc && vite build",
14
14
  "preview": "vite preview",
15
- "lint": "eslint --fix .",
15
+ "lint": "eslint --fix --ignore-pattern dist/ --ignore-pattern public/ .",
16
16
  "format": "prettier --write .",
17
17
  "lint-staged": "lint-staged",
18
18
  "prepare": "husky"
19
19
  },
20
20
  "lint-staged": {
21
- "*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts}": "eslint --fix .",
21
+ "*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts}": "eslint --fix --ignore-pattern dist/ --ignore-pattern public/ .",
22
22
  "*": "prettier --write ."
23
23
  },
24
24
  "dependencies": {
@@ -29,23 +29,23 @@
29
29
  "peerDependencies": {
30
30
  "vue": "^3.5.12",
31
31
  "vue-i18n": "^10.0.4",
32
- "vuetify": "^3.7.2"
32
+ "vuetify": "^3.7.3"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@eslint/js": "^10.0.0",
36
36
  "@types/lodash-es": "^4.17.12",
37
- "@types/node": "^22.7.6",
37
+ "@types/node": "^22.7.7",
38
38
  "@vitejs/plugin-vue": "^5.1.4",
39
- "eslint": "^9.12.0",
39
+ "eslint": "^9.13.0",
40
40
  "eslint-config-prettier": "^9.1.0",
41
41
  "eslint-plugin-prettier": "^5.2.1",
42
- "eslint-plugin-vue": "^9.29.0",
42
+ "eslint-plugin-vue": "^9.29.1",
43
43
  "husky": "^9.1.6",
44
44
  "lint-staged": "^15.2.10",
45
45
  "prettier": "3.3.3",
46
- "sass": "^1.80.0",
46
+ "sass": "^1.80.3",
47
47
  "typescript": "^5.6.3",
48
- "typescript-eslint": "^8.9.0",
48
+ "typescript-eslint": "^8.11.0",
49
49
  "vite": "^5.4.9",
50
50
  "vite-plugin-css-injected-by-js": "^3.5.2",
51
51
  "vite-plugin-vuetify": "^2.0.4",