@clipboard-health/ai-rules 0.2.8 → 0.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 CHANGED
@@ -41,7 +41,7 @@ npm install --save-dev @clipboard-health/ai-rules
41
41
  ```json
42
42
  {
43
43
  "scripts": {
44
- "sync-ai-rules": "cp -r ./node_modules/@clipboard-health/ai-rules/[CHOSEN_PROFILE_NAME]/. ./",
44
+ "sync-ai-rules": "node ./node_modules/@clipboard-health/ai-rules/scripts/sync.js [PROFILE_NAME]",
45
45
  "postinstall": "npm run sync-ai-rules"
46
46
  }
47
47
  }
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": "0.2.8",
4
+ "version": "0.3.0",
5
5
  "bugs": "https://github.com/ClipboardHealth/core-utils/issues",
6
6
  "devDependencies": {
7
7
  "@intellectronica/ruler": "0.3.10"
package/scripts/sync.js CHANGED
@@ -7,7 +7,7 @@ const node_path_1 = require("node:path");
7
7
  const constants_1 = require("./constants");
8
8
  const toErrorMessage_1 = require("./toErrorMessage");
9
9
  const PATHS = {
10
- projectRoot: (0, node_path_1.join)(__dirname, "../../.."),
10
+ projectRoot: (0, node_path_1.join)(__dirname, "../../../.."),
11
11
  rules: (0, node_path_1.join)(__dirname, ".."),
12
12
  };
13
13
  function getProfileFromArguments() {