public-ai-sync 0.0.8 → 0.0.9

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
@@ -22,17 +22,17 @@ Empty git repo with a `package.json`:
22
22
 
23
23
  1. `npm install --save-dev public-ai-sync`
24
24
  2. Confirm `.public-ai/` is filled and root links exist (`rules`, `skills`, `scripts/lint`, `.claude/settings.json`)
25
- 3. Copy [github-ai-guardrails-npm.yml](../../skills/setup-repo/assets/ci/github-ai-guardrails-npm.yml) (or the GitLab sibling) into the consumer CI. The job **must** `npm ci` before any linked script; those paths are gitignored
26
- 4. Point git hooks at `skills/setup-repo/assets/scripts/check-clean-code.sh` (pre-commit) and `skills/setup-repo/assets/scripts/pre-push-gate.sh` (pre-push). Husky example:
25
+ 3. Copy [github-ai-guardrails-npm.yml](../../skills/repo/setup-repo/assets/ci/github-ai-guardrails-npm.yml) (or the GitLab sibling) into the consumer CI. The job **must** `npm ci` before any linked script; those paths are gitignored
26
+ 4. Point git hooks at `skills/repo/setup-repo/assets/scripts/check-clean-code.sh` (pre-commit) and `skills/repo/setup-repo/assets/scripts/pre-push-gate.sh` (pre-push). Husky example:
27
27
 
28
28
  ```sh
29
- skills/setup-repo/assets/scripts/check-clean-code.sh || exit $?
30
- skills/setup-repo/assets/scripts/pre-push-gate.sh || exit $?
29
+ skills/repo/setup-repo/assets/scripts/check-clean-code.sh || exit $?
30
+ skills/repo/setup-repo/assets/scripts/pre-push-gate.sh || exit $?
31
31
  ```
32
32
 
33
33
  5. Ignore synced trees in the product linter / formatter / test runner: `.public-ai/**`, `skills/**`, `rules/**`, `AI-setup/**`, `scripts/lint/**`, `scripts/guard/**`, `scripts/tests/**`
34
- 6. JS/TS: import `cleanCodeRules` from `skills/setup-repo/assets/lint/eslint.clean-code.js` (exists after `npm ci`). Spread into a flat-config entry; relax for tests
35
- 7. Paste [AGENTS.guardrails-sync.md](../../skills/setup-repo/assets/AGENTS.guardrails-sync.md) into consumer `AGENTS.md` (keep a real `AGENTS.md` if the product index must stay tracked)
34
+ 6. JS/TS: import `cleanCodeRules` from `skills/repo/setup-repo/assets/lint/eslint.clean-code.js` (exists after `npm ci`). Spread into a flat-config entry; relax for tests
35
+ 7. Paste [AGENTS.guardrails-sync.md](../../skills/repo/setup-repo/assets/AGENTS.guardrails-sync.md) into consumer `AGENTS.md` (keep a real `AGENTS.md` if the product index must stay tracked)
36
36
 
37
37
  ### Defaults to omit or keep
38
38
 
package/lib/tools.mjs CHANGED
@@ -16,7 +16,7 @@ export const TOOLS = {
16
16
  "check-skill-catalog": "scripts/lint/check-skill-catalog.sh",
17
17
  "check-1k-cross": "scripts/lint/check-1k-cross.sh",
18
18
  "verdict-parse": "scripts/lint/verdict-parse.sh",
19
- "code-quality": "skills/setup-repo/assets/scripts/code-quality-check.sh",
19
+ "code-quality": "skills/repo/setup-repo/assets/scripts/code-quality-check.sh",
20
20
  privacy: "scripts/check-privacy.sh",
21
21
  "install-hooks": "scripts/install-hooks.sh",
22
22
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "public-ai-sync",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "Dev dependency that installs the public AI environment into a consuming repo on install",
5
5
  "type": "module",
6
6
  "license": "MIT",