agent-rules-init 0.1.1 → 0.1.2

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.
Files changed (2) hide show
  1. package/dist/cli.js +10 -0
  2. package/package.json +27 -6
package/dist/cli.js CHANGED
@@ -61,7 +61,9 @@ export async function runCli(rootPath, options = {}) {
61
61
  return writeGeneratedFiles(rootPath, files);
62
62
  }
63
63
  async function main() {
64
+ clack.intro("agent-rules-init");
64
65
  const results = await runCli(process.cwd());
66
+ const written = results.filter((r) => r.status === "written");
65
67
  const failures = results.filter((r) => r.status === "error");
66
68
  for (const result of results) {
67
69
  if (result.status === "written") {
@@ -71,6 +73,14 @@ async function main() {
71
73
  clack.log.warn(`${result.path}: ${result.error}`);
72
74
  }
73
75
  }
76
+ if (written.length > 0) {
77
+ clack.outro("Revisa los archivos *.generated.* y, cuando estés conforme, quita el sufijo " +
78
+ '".generated" (ej. "CLAUDE.generated.md" → "CLAUDE.md") para activarlos — ' +
79
+ "tu asistente de IA solo lee el nombre final, no el generado.");
80
+ }
81
+ else {
82
+ clack.outro("No se generó ningún archivo nuevo.");
83
+ }
74
84
  if (failures.length > 0) {
75
85
  process.exitCode = 1;
76
86
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-rules-init",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Generates CLAUDE.md, AGENTS.md, copilot-instructions.md and prompt files from what your repo actually is.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -12,6 +12,27 @@
12
12
  "files": [
13
13
  "dist"
14
14
  ],
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/racama29/agent-rules-init.git",
18
+ "directory": "packages/cli"
19
+ },
20
+ "homepage": "https://github.com/racama29/agent-rules-init#readme",
21
+ "bugs": {
22
+ "url": "https://github.com/racama29/agent-rules-init/issues"
23
+ },
24
+ "keywords": [
25
+ "cli",
26
+ "claude",
27
+ "claude-code",
28
+ "codex",
29
+ "copilot",
30
+ "ai-agents",
31
+ "agent-rules"
32
+ ],
33
+ "engines": {
34
+ "node": ">=18"
35
+ },
15
36
  "scripts": {
16
37
  "build": "tsc -p tsconfig.json",
17
38
  "test": "vitest run",
@@ -19,11 +40,11 @@
19
40
  },
20
41
  "dependencies": {
21
42
  "@clack/prompts": "^0.9.1",
22
- "agent-rules-pack-java": "0.1.0",
23
- "agent-rules-pack-js-ts": "0.1.0",
24
- "agent-rules-pack-php": "0.1.0",
25
- "agent-rules-pack-python": "0.1.0",
26
- "agent-rules-pack-types": "0.1.0"
43
+ "agent-rules-pack-java": "0.1.1",
44
+ "agent-rules-pack-js-ts": "0.1.1",
45
+ "agent-rules-pack-php": "0.1.1",
46
+ "agent-rules-pack-python": "0.1.1",
47
+ "agent-rules-pack-types": "0.1.1"
27
48
  },
28
49
  "devDependencies": {
29
50
  "typescript": "^5.6.0",