@bettergi/create-script
Advanced tools
| { | ||
| "recommendations": ["dbaeumer.vscode-eslint"] | ||
| } |
+2
-2
@@ -38,4 +38,4 @@ import * as prompts from "@clack/prompts"; | ||
| message: "脚本版本:", | ||
| initialValue: "0.1", | ||
| placeholder: "0.1", | ||
| initialValue: "0.1.0", | ||
| placeholder: "0.1.0", | ||
| validate: value => (value.length === 0 ? `脚本版本不能为空!` : undefined) | ||
@@ -42,0 +42,0 @@ }); |
+2
-2
| { | ||
| "name": "@bettergi/create-script", | ||
| "version": "0.2.2", | ||
| "version": "0.2.3", | ||
| "description": "搭建您的第一个 BetterGI 脚本项目", | ||
@@ -39,3 +39,3 @@ "type": "module", | ||
| "@types/git-config": "^0.0.32", | ||
| "@types/node": "^25.0.3", | ||
| "@types/node": "^25.0.6", | ||
| "rimraf": "^6.1.2", | ||
@@ -42,0 +42,0 @@ "typescript": "^5.9.3" |
@@ -6,7 +6,5 @@ import { defineConfig } from "@bettergi/cli"; | ||
| // 构建配置 | ||
| main: "main.ts", | ||
| assetsDir: "assets", | ||
| outDir: "dist", | ||
| additionalFiles: ["README.md", "LICENSE"], // 需要额外打包的文件 | ||
| codeSplitting: true, // 启用代码分割(要求 `bgi_version` >= `0.54.0`) | ||
| codeSplitting: true, // 启用代码分割(该特性要求 bgi_version ≥ 0.54.0) | ||
| chunkGroups: [ | ||
@@ -19,4 +17,3 @@ // src 目录下的 js/ts 按照原目录结构打包 | ||
| ], | ||
| minify: false, | ||
| banner: true, | ||
| watch: ["src/settings.ts"], | ||
| // 清单信息 | ||
@@ -23,0 +20,0 @@ manifest: { |
@@ -9,2 +9,3 @@ { | ||
| }, | ||
| "contributors": [], | ||
| "keywords": [], | ||
@@ -17,4 +18,4 @@ "type": "module", | ||
| "devDependencies": { | ||
| "@bettergi/cli": "^0.2.3", | ||
| "@bettergi/types": "^0.1.9", | ||
| "@bettergi/cli": "^0.2.6", | ||
| "@bettergi/types": "^0.1.10", | ||
| "@bettergi/utils": "^0.1.25", | ||
@@ -27,4 +28,4 @@ "@eslint/js": "^9.39.2", | ||
| "engines": { | ||
| "node": "^20.9.0 || >=21.1.0" | ||
| "node": ">=20.19.0 || >=22.12.0" | ||
| } | ||
| } |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
24371
0.18%24
4.35%