@clipboard-health/ai-rules 1.2.0 → 1.2.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.
- package/backend/CLAUDE.md +1 -219
- package/common/CLAUDE.md +1 -61
- package/frontend/CLAUDE.md +1 -1037
- package/fullstack/CLAUDE.md +1 -1195
- package/package.json +1 -1
- package/scripts/constants.js +5 -1
- package/scripts/sync.js +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clipboard-health/ai-rules",
|
|
3
3
|
"description": "Pre-built AI agent rules for consistent coding standards.",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.2",
|
|
5
5
|
"bugs": "https://github.com/ClipboardHealth/core-utils/issues",
|
|
6
6
|
"devDependencies": {
|
|
7
7
|
"@intellectronica/ruler": "0.3.11"
|
package/scripts/constants.js
CHANGED
|
@@ -3,13 +3,17 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.PROFILES = exports.PATHS = void 0;
|
|
6
|
+
exports.PROFILES = exports.FILES = exports.PATHS = void 0;
|
|
7
7
|
const node_path_1 = __importDefault(require("node:path"));
|
|
8
8
|
const packageRoot = node_path_1.default.join(__dirname, "..");
|
|
9
9
|
exports.PATHS = {
|
|
10
10
|
packageRoot,
|
|
11
11
|
outputDirectory: node_path_1.default.join(packageRoot, "..", "..", "dist", "packages", "ai-rules"),
|
|
12
12
|
};
|
|
13
|
+
exports.FILES = {
|
|
14
|
+
agents: "AGENTS.md",
|
|
15
|
+
claude: "CLAUDE.md",
|
|
16
|
+
};
|
|
13
17
|
exports.PROFILES = {
|
|
14
18
|
frontend: ["common", "frontend"],
|
|
15
19
|
backend: ["common", "backend"],
|
package/scripts/sync.js
CHANGED
|
@@ -20,7 +20,7 @@ async function sync() {
|
|
|
20
20
|
console.log(`✅ @clipboard-health/ai-rules synced ${profile}`);
|
|
21
21
|
// Append OVERLAY.md content if it exists
|
|
22
22
|
await appendOverlayToFiles({
|
|
23
|
-
filesToUpdate: [
|
|
23
|
+
filesToUpdate: [constants_1.FILES.agents],
|
|
24
24
|
projectRoot: PATHS.projectRoot,
|
|
25
25
|
});
|
|
26
26
|
}
|