@nitra/cursor 1.8.7 → 1.8.8

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/bin/n-cursor.js CHANGED
@@ -424,10 +424,7 @@ async function removeOrphanManagedSkillDirs(skillsRoot, configSkills) {
424
424
  * @returns {Promise<void>}
425
425
  */
426
426
  async function syncClaudeMd(configRules, configSkills) {
427
- const lines = [
428
- `<!-- Цей файл генерується автоматично через \`npx ${PACKAGE_NAME}\`. Не редагуй вручну. -->`,
429
- '',
430
- ]
427
+ const lines = [`<!-- Цей файл генерується автоматично через \`npx ${PACKAGE_NAME}\`. Не редагуй вручну. -->`, '']
431
428
 
432
429
  for (const rule of configRules) {
433
430
  const fileName = `${RULE_PREFIX}${normalizeRuleName(rule)}`
package/mdc/k8s.mdc CHANGED
@@ -145,6 +145,7 @@ jobs:
145
145
  ```yaml
146
146
  # yaml-language-server: $schema=https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/v1.33.9-standalone-strict/secret-v1.json
147
147
  ```
148
+
148
149
  3. **`apiVersion: group/version`** і **group** у **`YANNH_GROUPS`** у скрипті → yannh:
149
150
  `https://raw.githubusercontent.com/yannh/kubernetes-json-schema/master/<PIN>/<kind>-<group-з-крапками-як-дефіси>-<version>.json`
150
151
  Приклади: `apps/v1` + `Deployment` → `deployment-apps-v1.json`; `networking.k8s.io/v1` + `Ingress` → `ingress-networking-k8s-io-v1.json`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nitra/cursor",
3
- "version": "1.8.7",
3
+ "version": "1.8.8",
4
4
  "description": "CLI для завантаження cursor-правил (префікс n-) у локальний репозиторій",
5
5
  "keywords": [
6
6
  "cli",
@@ -94,10 +94,10 @@ export async function check() {
94
94
 
95
95
  if (files.includes('apply-k8s.yml')) {
96
96
  const content = await readFile(`${wfDir}/apply-k8s.yml`, 'utf8')
97
- if (content.includes('**/k8s/*.yaml')) {
97
+ if (content.includes('**/k8s/**/*.yaml')) {
98
98
  pass('apply-k8s.yml має правильний paths trigger')
99
99
  } else {
100
- fail('apply-k8s.yml не містить paths: **/k8s/*.yaml')
100
+ fail('apply-k8s.yml не містить paths: **/k8s/**/*.yaml')
101
101
  }
102
102
  }
103
103