@emqx/shared-ui-i18n 0.0.1 → 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/dist/index.js CHANGED
@@ -170,5 +170,5 @@ FROM
170
170
  }
171
171
  ];
172
172
  export {
173
- e as sqlTemplate
173
+ e as SQLTemplates
174
174
  };
@@ -25,4 +25,4 @@ FROM
25
25
  "t/#"`,input:{x:8},outputs:{x:7}},{title:{zh:"数组处理 - 从 JSON 格式的 payload 中获取嵌套的值",en:"Array - Get nested values from JSON-formatted payload"},scene:{zh:"处理 JSON 格式的 payload,从嵌套格式中获取所需要的值。",en:"Process JSON-formatted payload and get the values needed from the nested format."},sql:`SELECT
26
26
  payload.data[1].id as id
27
27
  FROM
28
- "t/#"`,input:{data:[{id:1,name:"steve"},{id:2,name:"bill"}]},outputs:{id:1}}];e.sqlTemplate=t,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
28
+ "t/#"`,input:{data:[{id:1,name:"steve"},{id:2,name:"bill"}]},outputs:{id:1}}];e.SQLTemplates=t,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
@@ -1,4 +1,4 @@
1
- export declare const sqlTemplate: ({
1
+ export declare const SQLTemplates: ({
2
2
  title: {
3
3
  zh: string;
4
4
  en: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emqx/shared-ui-i18n",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "homepage": "https://emqx.io",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -13,7 +13,8 @@
13
13
  "type": "module",
14
14
  "types": "./dist/index.d.ts",
15
15
  "files": [
16
- "dist"
16
+ "dist",
17
+ "README.md"
17
18
  ],
18
19
  "main": "./dist/index.umd.cjs",
19
20
  "module": "./dist/index.js",
@@ -28,6 +29,9 @@
28
29
  "build": "tsc && vite build",
29
30
  "preview": "vite preview",
30
31
  "test": "vitest run --coverage",
31
- "publish": "npm publish"
32
+ "version:patch": "npm version patch",
33
+ "version:minor": "npm version minor",
34
+ "version:major": "npm version major",
35
+ "release": "npm publish"
32
36
  }
33
37
  }