@varlet/cli 3.8.3-alpha.1736270430406 → 3.8.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/package.json CHANGED
@@ -1,19 +1,26 @@
1
1
  {
2
2
  "name": "@varlet/cli",
3
- "version": "3.8.3-alpha.1736270430406",
4
- "type": "module",
3
+ "version": "3.8.4",
5
4
  "description": "cli of varlet",
6
- "bin": {
7
- "varlet-cli": "./lib/node/bin.js"
8
- },
9
- "main": "./lib/node/index.js",
10
- "module": "./lib/node/index.js",
11
5
  "keywords": [
12
6
  "cli",
13
7
  "varlet"
14
8
  ],
15
- "author": "haoziqaq <357229046@qq.com>",
9
+ "bugs": {
10
+ "url": "https://github.com/varletjs/varlet/issues"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "https://github.com/varletjs/varlet.git"
15
+ },
16
16
  "license": "MIT",
17
+ "author": "haoziqaq <357229046@qq.com>",
18
+ "type": "module",
19
+ "main": "./lib/node/index.js",
20
+ "module": "./lib/node/index.js",
21
+ "bin": {
22
+ "varlet-cli": "./lib/node/bin.js"
23
+ },
17
24
  "files": [
18
25
  "lib",
19
26
  "client.js",
@@ -22,16 +29,6 @@
22
29
  "site",
23
30
  "tsconfig.json"
24
31
  ],
25
- "engines": {
26
- "node": "^14.18.0 || >=16.0.0"
27
- },
28
- "repository": {
29
- "type": "git",
30
- "url": "https://github.com/varletjs/varlet.git"
31
- },
32
- "bugs": {
33
- "url": "https://github.com/varletjs/varlet/issues"
34
- },
35
32
  "dependencies": {
36
33
  "@babel/core": "^7.25.2",
37
34
  "@babel/preset-typescript": "^7.24.7",
@@ -47,7 +44,6 @@
47
44
  "commander": "^8.3.0",
48
45
  "ejs": "^3.1.8",
49
46
  "esbuild": "0.23.1",
50
- "tinyexec": "^0.3.0",
51
47
  "fs-extra": "^9.0.1",
52
48
  "glob": "^7.2.0",
53
49
  "hash-sum": "^2.0.0",
@@ -57,12 +53,13 @@
57
53
  "picocolors": "^1.0.0",
58
54
  "sass": "^1.77.4",
59
55
  "sharp": "0.31.1",
56
+ "tinyexec": "^0.3.0",
60
57
  "typescript": "5.3.3",
61
58
  "vite": "5.4.6",
62
59
  "vitest": "2.1.1",
63
60
  "vue": "3.4.21",
64
- "@varlet/shared": "3.8.3-alpha.1736270430406",
65
- "@varlet/vite-plugins": "3.8.3-alpha.1736270430406"
61
+ "@varlet/shared": "3.8.4",
62
+ "@varlet/vite-plugins": "3.8.4"
66
63
  },
67
64
  "devDependencies": {
68
65
  "@types/babel__core": "^7.20.1",
@@ -74,9 +71,9 @@
74
71
  "@types/node": "^18.7.20",
75
72
  "@types/sharp": "0.31.1",
76
73
  "rimraf": "^5.0.1",
77
- "@varlet/icons": "3.8.3-alpha.1736270430406",
78
- "@varlet/ui": "3.8.3-alpha.1736270430406",
79
- "@varlet/touch-emulator": "3.8.3-alpha.1736270430406"
74
+ "@varlet/touch-emulator": "3.8.4",
75
+ "@varlet/icons": "3.8.4",
76
+ "@varlet/ui": "3.8.4"
80
77
  },
81
78
  "peerDependencies": {
82
79
  "@vitest/coverage-istanbul": "2.0.5",
@@ -87,12 +84,15 @@
87
84
  "live-server": "^1.2.1",
88
85
  "vue": "3.4.21",
89
86
  "vue-router": "4.2.0",
90
- "@varlet/ui": "3.8.3-alpha.1736270430406",
91
- "@varlet/icons": "3.8.3-alpha.1736270430406",
92
- "@varlet/touch-emulator": "3.8.3-alpha.1736270430406"
87
+ "@varlet/touch-emulator": "3.8.4",
88
+ "@varlet/icons": "3.8.4",
89
+ "@varlet/ui": "3.8.4"
90
+ },
91
+ "engines": {
92
+ "node": "^14.18.0 || >=16.0.0"
93
93
  },
94
94
  "scripts": {
95
- "dev": "tsc --watch",
96
- "build": "rimraf ./lib && tsc"
95
+ "build": "rimraf ./lib && tsc",
96
+ "dev": "tsc --watch"
97
97
  }
98
98
  }
@@ -25,7 +25,8 @@
25
25
  "build": "varlet-cli build",
26
26
  "preview": "varlet-cli preview",
27
27
  "compile": "varlet-cli compile",
28
- "lint": "varlet-cli lint",
28
+ "lint": "eslint . --fix",
29
+ "format": "prettier --write .",
29
30
  "changelog": "varlet-cli changelog",
30
31
  "release": "pnpm compile && varlet-cli release",
31
32
  "test": "varlet-cli test",
@@ -1,4 +1,4 @@
1
- declare module '*.md' {
2
- const content: string
3
- export default content
1
+ declare module "*.md" {
2
+ const content: string;
3
+ export default content;
4
4
  }
@@ -1,6 +1,6 @@
1
- declare module '*.vue' {
2
- import { defineComponent } from 'vue'
1
+ declare module "*.vue" {
2
+ import { defineComponent } from "vue";
3
3
 
4
- const component: ReturnType<typeof defineComponent>
5
- export default component
4
+ const component: ReturnType<typeof defineComponent>;
5
+ export default component;
6
6
  }