@jt-home/mfe-components 1.0.52 → 1.0.53

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@jt-home/mfe-components",
3
- "version": "1.0.52",
3
+ "version": "1.0.53",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",
@@ -31,6 +31,27 @@
31
31
  "*.css",
32
32
  "*.scss"
33
33
  ],
34
+ "scripts": {
35
+ "dev": "vite",
36
+ "build:types": "vue-tsc -p tsconfig.lib.json",
37
+ "build:bundle": "vite build",
38
+ "build:dev": "vite build -w",
39
+ "build": "pnpm run build:bundle && pnpm run build:types",
40
+ "build:analyze": "vite build --mode analyze",
41
+ "changeset": "changeset",
42
+ "changeset:status": "changeset status",
43
+ "version:packages": "changeset version",
44
+ "release": "pnpm run changeset:status && pnpm run version:packages && pnpm build && changeset publish",
45
+ "prepublishOnly": "pnpm build",
46
+ "preview": "vite preview --host 127.0.0.1 --port 5001",
47
+ "i18n:extract": "npx -y --package @jt-home/i18n-cli i18n-cli -c ./i18n.config.cjs",
48
+ "i18n:translate": "npx -y --package @jt-home/i18n-cli i18n-cli translate -c ./i18n.config.cjs",
49
+ "i18n:sync": "node scripts/sync-component-locale.cjs",
50
+ "i18n:export": "npx -y --package @jt-home/i18n-cli i18n-cli exportExcel -c ./i18n.config.cjs",
51
+ "test:locale": "tsc --skipLibCheck --module NodeNext --moduleResolution NodeNext --target ES2020 --outDir tmp/unit-tests-locale src/locale/index.ts src/locale/locale.test.ts src/locale/messages.test.ts && node tmp/unit-tests-locale/locale.test.js && node tmp/unit-tests-locale/messages.test.js",
52
+ "test:component-attrs": "tsc --module NodeNext --moduleResolution NodeNext --target ES2020 --outDir tmp/unit-tests src/utils/componentAttrs.ts src/utils/componentAttrs.test.ts && node tmp/unit-tests/componentAttrs.test.js",
53
+ "test:cascader-props": "tsc --skipLibCheck --module NodeNext --moduleResolution NodeNext --target ES2020 --outDir tmp/unit-tests src/components/form/item/JtCascader/cascaderProps.ts src/components/form/item/JtCascader/cascaderProps.test.ts && node tmp/unit-tests/cascaderProps.test.js"
54
+ },
34
55
  "dependencies": {
35
56
  "@element-plus/icons-vue": "^2.3.2",
36
57
  "@jt-home/jt-language-tools": "^1.0.0",
@@ -75,25 +96,5 @@
75
96
  "peerDependencies": {
76
97
  "element-plus": "^2.14.0",
77
98
  "vue": "^3.5.10"
78
- },
79
- "scripts": {
80
- "dev": "vite",
81
- "build:types": "vue-tsc -p tsconfig.lib.json",
82
- "build:bundle": "vite build",
83
- "build:dev": "vite build -w",
84
- "build": "pnpm run build:bundle && pnpm run build:types",
85
- "build:analyze": "vite build --mode analyze",
86
- "changeset": "changeset",
87
- "changeset:status": "changeset status",
88
- "version:packages": "changeset version",
89
- "release": "pnpm run changeset:status && pnpm run version:packages && pnpm build && changeset publish",
90
- "preview": "vite preview --host 127.0.0.1 --port 5001",
91
- "i18n:extract": "npx -y --package @jt-home/i18n-cli i18n-cli -c ./i18n.config.cjs",
92
- "i18n:translate": "npx -y --package @jt-home/i18n-cli i18n-cli translate -c ./i18n.config.cjs",
93
- "i18n:sync": "node scripts/sync-component-locale.cjs",
94
- "i18n:export": "npx -y --package @jt-home/i18n-cli i18n-cli exportExcel -c ./i18n.config.cjs",
95
- "test:locale": "tsc --skipLibCheck --module NodeNext --moduleResolution NodeNext --target ES2020 --outDir tmp/unit-tests-locale src/locale/index.ts src/locale/locale.test.ts src/locale/messages.test.ts && node tmp/unit-tests-locale/locale.test.js && node tmp/unit-tests-locale/messages.test.js",
96
- "test:component-attrs": "tsc --module NodeNext --moduleResolution NodeNext --target ES2020 --outDir tmp/unit-tests src/utils/componentAttrs.ts src/utils/componentAttrs.test.ts && node tmp/unit-tests/componentAttrs.test.js",
97
- "test:cascader-props": "tsc --skipLibCheck --module NodeNext --moduleResolution NodeNext --target ES2020 --outDir tmp/unit-tests src/components/form/item/JtCascader/cascaderProps.ts src/components/form/item/JtCascader/cascaderProps.test.ts && node tmp/unit-tests/cascaderProps.test.js"
98
99
  }
99
- }
100
+ }