@corbat-tech/coco 2.2.4 → 2.3.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 +5 -3
- package/dist/cli/index.js +302 -95
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +22 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -17286,7 +17286,6 @@ var RECOMMENDED_PROJECT = [
|
|
|
17286
17286
|
"copy_file",
|
|
17287
17287
|
"move_file",
|
|
17288
17288
|
"git_add",
|
|
17289
|
-
"git_commit",
|
|
17290
17289
|
"run_tests",
|
|
17291
17290
|
"run_test_file",
|
|
17292
17291
|
"run_script",
|
|
@@ -17305,12 +17304,28 @@ var RECOMMENDED_PROJECT = [
|
|
|
17305
17304
|
"bash:npm:test",
|
|
17306
17305
|
"bash:npm:ci",
|
|
17307
17306
|
"bash:pnpm:install",
|
|
17307
|
+
"bash:pnpm:i",
|
|
17308
17308
|
"bash:pnpm:run",
|
|
17309
17309
|
"bash:pnpm:test",
|
|
17310
|
+
"bash:pnpm:typecheck",
|
|
17311
|
+
"bash:pnpm:lint",
|
|
17312
|
+
"bash:pnpm:build",
|
|
17313
|
+
"bash:pnpm:check",
|
|
17314
|
+
"bash:pnpm:format",
|
|
17315
|
+
"bash:pnpm:dev",
|
|
17316
|
+
"bash:pnpm:add",
|
|
17317
|
+
"bash:pnpm:remove",
|
|
17318
|
+
"bash:pnpm:update",
|
|
17319
|
+
"bash:pnpm:exec",
|
|
17320
|
+
"bash:pnpm:rebuild",
|
|
17310
17321
|
"bash:yarn:install",
|
|
17311
17322
|
"bash:yarn:run",
|
|
17312
17323
|
"bash:yarn:test",
|
|
17313
17324
|
"bash:node",
|
|
17325
|
+
"bash:vitest",
|
|
17326
|
+
"bash:tsc",
|
|
17327
|
+
"bash:tsx",
|
|
17328
|
+
"bash:oxlint",
|
|
17314
17329
|
// ── Bash: JVM toolchain ──
|
|
17315
17330
|
"bash:java",
|
|
17316
17331
|
"bash:javac",
|
|
@@ -17338,11 +17353,13 @@ var RECOMMENDED_PROJECT = [
|
|
|
17338
17353
|
"bash:go:test",
|
|
17339
17354
|
"bash:go:vet",
|
|
17340
17355
|
"bash:pip:install",
|
|
17341
|
-
// ── Bash: git local (staging only — push
|
|
17342
|
-
"bash:git:add"
|
|
17343
|
-
"bash:git:commit"
|
|
17356
|
+
// ── Bash: git local (staging only — commit and push are in ASK) ──
|
|
17357
|
+
"bash:git:add"
|
|
17344
17358
|
];
|
|
17345
17359
|
var ALWAYS_ASK = [
|
|
17360
|
+
// ── Git commit — always ask by default; use /permissions allow-commits to opt in ──
|
|
17361
|
+
"git_commit",
|
|
17362
|
+
"bash:git:commit",
|
|
17346
17363
|
// ── Coco native (risky) ──
|
|
17347
17364
|
"delete_file",
|
|
17348
17365
|
"git_push",
|
|
@@ -17419,6 +17436,7 @@ var RECOMMENDED_DENY = [
|
|
|
17419
17436
|
// ── Package publishing ──
|
|
17420
17437
|
"bash:npm:publish",
|
|
17421
17438
|
"bash:yarn:publish",
|
|
17439
|
+
"bash:pnpm:publish",
|
|
17422
17440
|
"bash:cargo:publish",
|
|
17423
17441
|
// ── Disk / low-level destructive ──
|
|
17424
17442
|
"bash:dd",
|