vite-plugin-deploy-ftp 3.0.1 → 3.2.0
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/.prettierignore +5 -0
- package/.prettierrc.json +12 -0
- package/dist/index.d.ts +46 -5
- package/dist/index.js +747 -292
- package/package.json +12 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-plugin-deploy-ftp",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -31,27 +31,36 @@
|
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"description": "将dist目录下的文件上传到ftp服务器",
|
|
33
33
|
"devDependencies": {
|
|
34
|
+
"@types/cli-progress": "^3.11.6",
|
|
34
35
|
"@types/node": "^22.15.32",
|
|
35
36
|
"@types/yazl": "^3.3.0",
|
|
37
|
+
"prettier": "3.8.1",
|
|
36
38
|
"tsup": "^8.5.0",
|
|
37
39
|
"typescript": "^5.8.3"
|
|
38
40
|
},
|
|
39
41
|
"peerDependencies": {
|
|
40
|
-
"vite": "^6.0.3 || ^7"
|
|
42
|
+
"vite": "^6.0.3 || ^7 || ^8"
|
|
41
43
|
},
|
|
42
44
|
"dependencies": {
|
|
43
45
|
"@inquirer/prompts": "^7.5.3",
|
|
44
46
|
"basic-ftp": "^5.0.5",
|
|
45
47
|
"chalk": "^5.4.1",
|
|
48
|
+
"cli-progress": "^3.12.0",
|
|
49
|
+
"cli-truncate": "^5.2.0",
|
|
46
50
|
"dayjs": "^1.11.13",
|
|
51
|
+
"log-symbols": "^7.0.1",
|
|
47
52
|
"ora": "^8.2.0",
|
|
53
|
+
"string-width": "^8.2.0",
|
|
48
54
|
"yazl": "^3.3.1"
|
|
49
55
|
},
|
|
50
56
|
"scripts": {
|
|
51
57
|
"build": "tsup",
|
|
52
58
|
"typecheck": "tsc -p tsconfig.json",
|
|
59
|
+
"format": "prettier --write .",
|
|
60
|
+
"format:check": "prettier --check .",
|
|
53
61
|
"pack": "pnpm run build && pnpm pack",
|
|
54
62
|
"build:test": "cd playground && vite build",
|
|
55
|
-
"build:test:deploy": "cd playground && vite build --mode deploy"
|
|
63
|
+
"build:test:deploy": "cd playground && vite build --mode deploy",
|
|
64
|
+
"build:test:debug": "cd playground && vite build --mode deploy-debug"
|
|
56
65
|
}
|
|
57
66
|
}
|