@lark-apaas/miaoda-cli 0.1.15 → 0.1.16-beta.70f1b39

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.
@@ -42,7 +42,7 @@ exports.SYNC_CONFIG = {
42
42
  command: 'node scripts/hooks/run-precommit.js',
43
43
  overwrite: false,
44
44
  },
45
- // 2. .gitignore 卫生:移除 package-lock.json + 加 .agent/
45
+ // 2. .gitignore 卫生:移除 package-lock.json + 加 .agent/ / .npm_cache
46
46
  {
47
47
  type: 'remove-line',
48
48
  to: '.gitignore',
@@ -53,6 +53,11 @@ exports.SYNC_CONFIG = {
53
53
  to: '.gitignore',
54
54
  line: '.agent/',
55
55
  },
56
+ {
57
+ type: 'add-line',
58
+ to: '.gitignore',
59
+ line: '.npm_cache',
60
+ },
56
61
  // 3. 老 npm scripts 迁移(裸 fullstack-cli → 钉版 npx)。两条 ifStartsWith 分别覆盖
57
62
  // "裸 fullstack-cli"(最老形态)和 "npx 未钉版" 形态,统一升到 FULLSTACK_CLI_PIN_SPEC。
58
63
  {
@@ -113,6 +113,12 @@ exports.SYNC_CONFIG = {
113
113
  to: '.gitignore',
114
114
  line: '.agent/',
115
115
  },
116
+ // 7a. 确保 .gitignore 包含 .npm_cache 目录
117
+ {
118
+ type: 'add-line',
119
+ to: '.gitignore',
120
+ line: '.npm_cache',
121
+ },
116
122
  // 8. 同步 .spark_project 配置文件(总是覆盖)
117
123
  {
118
124
  type: 'file',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/miaoda-cli",
3
- "version": "0.1.15",
3
+ "version": "0.1.16-beta.70f1b39",
4
4
  "description": "Miaoda 平台命令行工具,面向 Agent 调用",
5
5
  "type": "commonjs",
6
6
  "bin": {