@nitra/cursor 1.8.55 → 1.8.56

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.
@@ -3,10 +3,10 @@
3
3
  /**
4
4
  * CLI для перейменування розширень YAML (k8s та `.github`). Бізнес-логіка — у **`scripts/rename-yaml-extensions.mjs`**.
5
5
  *
6
- * Точки входу:
7
- * - **`npx \@nitra/cursor rename-yaml-extensions`** [опції]
8
- * - **`npx n-rename-yaml-extensions`** [опції] (глобальний shim з `package.json` bin)
9
- * - **`bun ./node_modules/\@nitra/cursor/bin/rename-yaml-extensions.mjs`**
6
+ * Публічна точка входу — лише головний CLI пакета:
7
+ * **`npx \@nitra/cursor rename-yaml-extensions`** [опції] (або **`bun ./bin/n-cursor.js rename-yaml-extensions`** у репозиторії пакета).
8
+ *
9
+ * Цей файл лишається модулем для **`n-cursor.js`**; прямий запуск **`node ./bin/rename-yaml-extensions.mjs`** — лише для розробки/тестів.
10
10
  *
11
11
  * Опції: **`--dry-run`**, **`--root=<шлях>`** (корінь обходу; за замовчуванням **`process.cwd()`**).
12
12
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nitra/cursor",
3
- "version": "1.8.55",
3
+ "version": "1.8.56",
4
4
  "description": "CLI для завантаження cursor-правил (префікс n-) у локальний репозиторій",
5
5
  "keywords": [
6
6
  "cli",
@@ -20,8 +20,7 @@
20
20
  "url": "git+https://github.com/n/cursor.git"
21
21
  },
22
22
  "bin": {
23
- "n-cursor": "./bin/n-cursor.js",
24
- "n-rename-yaml-extensions": "./bin/rename-yaml-extensions.mjs"
23
+ "n-cursor": "./bin/n-cursor.js"
25
24
  },
26
25
  "files": [
27
26
  "mdc",
@@ -35,7 +34,7 @@
35
34
  "type": "module",
36
35
  "scripts": {
37
36
  "test": "bun test tests",
38
- "rename-yaml-extensions": "bun ./bin/rename-yaml-extensions.mjs"
37
+ "rename-yaml-extensions": "bun ./bin/n-cursor.js rename-yaml-extensions"
39
38
  },
40
39
  "dependencies": {
41
40
  "oxc-parser": "^0.124.0",
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Перейменовує розширення YAML за домовленістю репозиторію (k8s.mdc, ga.mdc). Лише логіка; **CLI** — **`bin/rename-yaml-extensions.mjs`**
3
- * та підкоманда **`npx \@nitra/cursor rename-yaml-extensions`**.
3
+ * Підкоманда **`npx \@nitra/cursor rename-yaml-extensions`** у головному CLI (**`bin/n-cursor.js`**).
4
4
  *
5
5
  * - Файли з сегментом шляху `k8s` та суфіксом `.yml` → `.yaml` (маніфести під k8s).
6
6
  * - Файли з сегментом `.github` та суфіксом `.yaml` → `.yml` (workflows тощо; у workflows лише `.yml`).