@7n/rules 1.5.0 → 1.5.1

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.
@@ -0,0 +1,9 @@
1
+ node_modules/
2
+ dist/
3
+ *.secret
4
+
5
+ # @7n/rules (adr) — локальні артефакти Stop-hook, не коміти
6
+ .claude/hooks/*.log
7
+ .claude/hooks/.normalize-state
8
+ .claude/hooks/.normalize.lock
9
+ .claude/scheduled_tasks.lock
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.5.1] - 2026-07-16
4
+
5
+ ### Fixed
6
+
7
+ - sync-claude-config: відновлено `.gitignore.snippet` для ADR Stop-hook (загублено при переструктуруванні rules/adr на per-concern layout)
8
+
3
9
  ## [1.5.0] - 2026-07-15
4
10
 
5
11
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@7n/rules",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "CLI еталонних правил і skills (префікс n-): синк у репозиторій, дельта-lint, конформність",
5
5
  "keywords": [
6
6
  "cli",
@@ -3,7 +3,7 @@ type: JS Module
3
3
  title: sync-claude-config.mjs
4
4
  resource: npm/scripts/sync-claude-config.mjs
5
5
  docgen:
6
- crc: e4513e7a
6
+ crc: 177ad3ea
7
7
  model: omlx/gemma-4-e4b-it-OptiQ-4bit
8
8
  score: 85
9
9
  ---
@@ -26,7 +26,7 @@
26
26
  * `.pi/extensions/rtk.ts`. Без установленого rtk hooks мовчки пропускають команди,
27
27
  * тож конфіг безпечно потрапляє в git — установка зводиться до `brew install rtk-ai/tap/rtk`.
28
28
  * - `.gitignore` — **merge** (лише з `adr`): дописує відсутні рядки з канонічного
29
- * фрагмента `rules/adr/js/hooks/template/.gitignore.snippet` (`node_modules/`, `dist/`,
29
+ * фрагмента `.claude-template/hooks/.gitignore.snippet` (`node_modules/`, `dist/`,
30
30
  * `*.secret`, логи capture/normalize, `.normalize-state`, `.normalize.lock`,
31
31
  * `.claude/scheduled_tasks.lock`); існуючі рядки не перезаписуються.
32
32
  *
@@ -101,7 +101,7 @@ export const PI_EXTENSION_NAME = 'n-rules-adr'
101
101
  /** @deprecated — ім'я extension-теки до перейменування пакету; лишається для cleanup при ресинку. */
102
102
  export const LEGACY_PI_EXTENSION_NAME = 'n-cursor-adr'
103
103
  /** Відносний шлях до канонічного фрагмента `.gitignore` для ADR Stop-hook'ів у tarball пакета. */
104
- export const ADR_GITIGNORE_SNIPPET_REL = 'rules/adr/js/templates/hooks/.gitignore.snippet'
104
+ export const ADR_GITIGNORE_SNIPPET_REL = '.claude-template/hooks/.gitignore.snippet'
105
105
  const GITIGNORE_FILE = '.gitignore'
106
106
  const EOL_RE = /\r?\n/u
107
107