fortpanel-publish 0.1.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/README.md +132 -0
- package/bin/fortpanel-publish.js +3 -0
- package/dist/index.js +25858 -0
- package/package.json +49 -0
package/package.json
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "fortpanel-publish",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Channel-aware release CLI for FortPanel (dev/beta/stable). Builds the FortPanel node binary and uploads it to a FortPanelAdmin instance for one-click panel-version distribution.",
|
|
5
|
+
"bin": {
|
|
6
|
+
"fortpanel-publish": "bin/fortpanel-publish.js"
|
|
7
|
+
},
|
|
8
|
+
"files": [
|
|
9
|
+
"bin/fortpanel-publish.js",
|
|
10
|
+
"dist/index.js",
|
|
11
|
+
"README.md"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "node esbuild.config.mjs",
|
|
15
|
+
"test": "vitest run",
|
|
16
|
+
"test:watch": "vitest",
|
|
17
|
+
"typecheck": "tsc --noEmit",
|
|
18
|
+
"prepublishOnly": "npm run typecheck && npm run test && npm run build"
|
|
19
|
+
},
|
|
20
|
+
"keywords": [
|
|
21
|
+
"fortpanel",
|
|
22
|
+
"release",
|
|
23
|
+
"cli",
|
|
24
|
+
"publish",
|
|
25
|
+
"deploy",
|
|
26
|
+
"panel"
|
|
27
|
+
],
|
|
28
|
+
"author": "FortPanel Team",
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=18"
|
|
32
|
+
},
|
|
33
|
+
"comment_deps": "运行时依赖全部由 esbuild bundle 进 dist/index.js(external:[]),发布包只含 dist+bin,故都列为 devDependencies,npm i -g 不再多装一棵依赖树。",
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@types/node": "^20.14.0",
|
|
36
|
+
"axios": "^1.7.0",
|
|
37
|
+
"commander": "^12.1.0",
|
|
38
|
+
"dotenv": "^16.4.0",
|
|
39
|
+
"esbuild": "^0.23.0",
|
|
40
|
+
"form-data": "^4.0.0",
|
|
41
|
+
"kleur": "^4.1.5",
|
|
42
|
+
"simple-git": "^3.25.0",
|
|
43
|
+
"typescript": "^5.5.0",
|
|
44
|
+
"vitest": "^2.0.0"
|
|
45
|
+
},
|
|
46
|
+
"publishConfig": {
|
|
47
|
+
"access": "public"
|
|
48
|
+
}
|
|
49
|
+
}
|