@azrico/azcli 1.2.6 → 1.2.7
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
CHANGED
|
@@ -29,7 +29,6 @@ With Yarn available on PATH, the equivalent commands are `yarn install --immutab
|
|
|
29
29
|
| `package finalize` | Generate publishable manifests in `dist/`, `build/`, or `temp/`. |
|
|
30
30
|
| `package publish` | Publish the prepared packages. |
|
|
31
31
|
| `package go` | Prepare, build, finalize, then publish; stop on the first failure. |
|
|
32
|
-
| `yarni`, `yarnb`, `yarnt` | Run Yarn install, build, or test. |
|
|
33
32
|
| `transcripts <claude\|codex>` | Export sessions to Markdown with an `index.json`. |
|
|
34
33
|
| `optimize-transcripts <claude\|codex>` | Prepare a transcript snapshot and run the selected analysis agent. |
|
|
35
34
|
| `verify-changes` | Run the checks from `.azcli/verify.json` that match files changed since the base ref. Reports `passed`, `failed`, or `not-run`; exits 1 on failure (`--strict` also on not-run). `--profile`, `--base`, `--json`. |
|
|
@@ -102,7 +101,7 @@ src/
|
|
|
102
101
|
cli/ entry point, registration, shared CLI options
|
|
103
102
|
core/ subprocesses, files, JSON guards, logging, project detection
|
|
104
103
|
features/
|
|
105
|
-
build/ clean/ update/ publish/ package/
|
|
104
|
+
build/ clean/ update/ publish/ package/
|
|
106
105
|
transcripts/ extraction, rendering, types, JSONL readers
|
|
107
106
|
sources/ Claude and Codex adapters
|
|
108
107
|
optimize-transcripts/ snapshots, redaction, prompts, agent execution
|
package/dist/cli/create-cli.js
CHANGED
|
@@ -15,8 +15,7 @@ const command_7 = __importDefault(require("../features/optimize-transcripts/comm
|
|
|
15
15
|
const command_8 = __importDefault(require("../features/verify-changes/command"));
|
|
16
16
|
const command_9 = __importDefault(require("../features/worktree/command"));
|
|
17
17
|
const command_10 = __importDefault(require("../features/browser-check/command"));
|
|
18
|
-
const
|
|
19
|
-
const commands = [command_1.default, command_2.default, command_3.default, command_4.default, command_5.default, command_6.default, command_7.default, command_8.default, command_9.default, command_10.default, commands_1.installCommand, commands_1.buildCommand, commands_1.testCommand];
|
|
18
|
+
const commands = [command_1.default, command_2.default, command_3.default, command_4.default, command_5.default, command_6.default, command_7.default, command_8.default, command_9.default, command_10.default];
|
|
20
19
|
function getHelpCommand(command) {
|
|
21
20
|
const registered = commands.some((module) => [module.command].flat().some((name) => name?.split(' ')[0] === command));
|
|
22
21
|
return `azcli${registered ? ` ${command}` : ''} --help`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-cli.js","sourceRoot":"","sources":["../../src/cli/create-cli.ts"],"names":[],"mappings":";;;;;;AAAA,wDAAgC;AAChC,wEAA8C;AAC9C,wEAA8C;AAC9C,yEAAgD;AAChD,0EAAkD;AAClD,0EAAmD;AACnD,8EAA0D;AAC1D,uFAAgE;AAChE,iFAA+D;AAC/D,2EAAoD;AACpD,iFAA6D;
|
|
1
|
+
{"version":3,"file":"create-cli.js","sourceRoot":"","sources":["../../src/cli/create-cli.ts"],"names":[],"mappings":";;;;;;AAAA,wDAAgC;AAChC,wEAA8C;AAC9C,wEAA8C;AAC9C,yEAAgD;AAChD,0EAAkD;AAClD,0EAAmD;AACnD,8EAA0D;AAC1D,uFAAgE;AAChE,iFAA+D;AAC/D,2EAAoD;AACpD,iFAA6D;AAE7D,MAAM,QAAQ,GAAG,CAAC,iBAAK,EAAE,iBAAK,EAAE,iBAAM,EAAE,iBAAO,EAAE,iBAAQ,EAAE,iBAAW,EAAE,iBAAQ,EAAE,iBAAa,EAAE,iBAAQ,EAAE,kBAAY,CAAC,CAAC;AAEzH,SAAgB,cAAc,CAAC,OAAoC;IAClE,MAAM,UAAU,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC;IACtH,OAAO,QAAQ,UAAU,CAAC,CAAC,CAAC,IAAI,OAAO,EAAE,CAAC,CAAC,CAAC,EAAE,SAAS,CAAC;AACzD,CAAC;AAHD,wCAGC;AAED,SAAgB,SAAS,CAAC,IAAc;IACvC,OAAO,IAAA,eAAK,EAAC,IAAI,CAAC;SAChB,UAAU,CAAC,OAAO,CAAC;SACnB,KAAK,CAAC,+BAA+B,CAAC;SACtC,MAAM,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,yCAAyC,EAAE,CAAC;SAC5G,OAAO,CAAM,QAAQ,CAAC;SACtB,aAAa,CAAC,CAAC,CAAC;SAChB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,WAAW,CAAC,KAAK,CAAC;SAClB,IAAI,CAAC,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,GAAG,MAAM,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACpE,CAAC;AAXD,8BAWC"}
|
package/package.json
CHANGED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.testCommand = exports.buildCommand = exports.installCommand = void 0;
|
|
4
|
-
const process_1 = require("../../core/process");
|
|
5
|
-
function yarnCommand(command, describe, args) {
|
|
6
|
-
return {
|
|
7
|
-
command,
|
|
8
|
-
describe,
|
|
9
|
-
builder: (cli) => cli.option('path', { type: 'string', describe: 'Project directory' }),
|
|
10
|
-
handler: async (options) => {
|
|
11
|
-
await (0, process_1.runCommand)('yarn', args, { cwd: options.path, quiet: options.quiet });
|
|
12
|
-
},
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
exports.installCommand = yarnCommand('yarni', 'Install Yarn dependencies', ['install']);
|
|
16
|
-
exports.buildCommand = yarnCommand('yarnb', 'Run the Yarn build', ['run', 'build']);
|
|
17
|
-
exports.testCommand = yarnCommand('yarnt', 'Run the Yarn tests', ['run', 'test']);
|
|
18
|
-
//# sourceMappingURL=commands.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commands.js","sourceRoot":"","sources":["../../../src/features/yarn/commands.ts"],"names":[],"mappings":";;;AACA,gDAAgD;AAGhD,SAAS,WAAW,CAAC,OAAe,EAAE,QAAgB,EAAE,IAAc;IACrE,OAAO;QACN,OAAO;QACP,QAAQ;QACR,OAAO,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE,mBAAmB,EAAE,CAAC;QACvF,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE;YAC1B,MAAM,IAAA,oBAAU,EAAC,MAAM,EAAE,IAAI,EAAE,EAAE,GAAG,EAAE,OAAO,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC;QAC7E,CAAC;KACD,CAAC;AACH,CAAC;AAEY,QAAA,cAAc,GAAG,WAAW,CAAC,OAAO,EAAE,2BAA2B,EAAE,CAAC,SAAS,CAAC,CAAC,CAAC;AAChF,QAAA,YAAY,GAAG,WAAW,CAAC,OAAO,EAAE,oBAAoB,EAAE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;AAC5E,QAAA,WAAW,GAAG,WAAW,CAAC,OAAO,EAAE,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC"}
|