@nitra/cursor 1.8.9 → 1.8.11

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/mdc/docker.mdc CHANGED
@@ -32,7 +32,7 @@ CLI **`hadolint`** приймає лише **явні шляхи** (`[DOCKERFILE
32
32
 
33
33
  Якщо правило **`docker`** підключено в **`.n-cursor.json`** (масив **`rules`**), у **кореневому** `package.json` **обов'язково** мають бути скрипт **`lint-docker`** і виклик **`bun run lint-docker`** у агрегованому **`lint`** (див. **`bun.mdc`**). Це перевіряє **`npx @nitra/cursor check bun`**.
34
34
 
35
- Додай workflow **`.github/workflows/lint-docker.yml`** (гілка **`dev`**, лише **`.yml`**, узгоджено з **`ga.mdc`**):
35
+ Додай workflow **`.github/workflows/lint-docker.yml`** (гілки **`dev`** і **`main`**, лише **`.yml`**, узгоджено з **`ga.mdc`**):
36
36
 
37
37
  ```yaml title=".github/workflows/lint-docker.yml"
38
38
  name: Lint Docker
@@ -41,6 +41,7 @@ on:
41
41
  push:
42
42
  branches:
43
43
  - dev
44
+ - main
44
45
  paths:
45
46
  - '**/Dockerfile'
46
47
  - '**/*.Dockerfile'
@@ -49,6 +50,7 @@ on:
49
50
  pull_request:
50
51
  branches:
51
52
  - dev
53
+ - main
52
54
 
53
55
  concurrency:
54
56
  group: ${{ github.ref }}-${{ github.workflow }}
package/mdc/ga.mdc CHANGED
@@ -79,12 +79,14 @@ on:
79
79
  push:
80
80
  branches:
81
81
  - dev
82
+ - main
82
83
  paths:
83
84
  - '.github/actions/**'
84
85
  - '.github/workflows/**'
85
86
  pull_request:
86
87
  branches:
87
88
  - dev
89
+ - main
88
90
 
89
91
  concurrency:
90
92
  group: ${{ github.ref }}-${{ github.workflow }}
package/mdc/js-lint.mdc CHANGED
@@ -62,6 +62,7 @@ on:
62
62
  push:
63
63
  branches:
64
64
  - dev
65
+ - main
65
66
  paths:
66
67
  - '**/*.js'
67
68
  - '**/*.mjs'
@@ -75,6 +76,7 @@ on:
75
76
  pull_request:
76
77
  branches:
77
78
  - dev
79
+ - main
78
80
 
79
81
  concurrency:
80
82
  group: ${{ github.ref }}-${{ github.workflow }}
package/mdc/k8s.mdc CHANGED
@@ -46,7 +46,7 @@ alwaysApply: false
46
46
 
47
47
  Шлях до скрипта підстав свій (`./scripts/…` після копіювання, `node_modules/@nitra/cursor/scripts/…` якщо пакет у залежностях).
48
48
 
49
- Додай workflow **`.github/workflows/lint-k8s.yml`** (гілка **`dev`**, лише **`.yml`**, узгоджено з **`ga.mdc`**):
49
+ Додай workflow **`.github/workflows/lint-k8s.yml`** (гілки **`dev`** і **`main`**, лише **`.yml`**, узгоджено з **`ga.mdc`**):
50
50
 
51
51
  ```yaml title=".github/workflows/lint-k8s.yml"
52
52
  name: Lint K8s
@@ -55,12 +55,14 @@ on:
55
55
  push:
56
56
  branches:
57
57
  - dev
58
+ - main
58
59
  paths:
59
60
  - '**/k8s/**/*.yml'
60
61
 
61
62
  pull_request:
62
63
  branches:
63
64
  - dev
65
+ - main
64
66
 
65
67
  concurrency:
66
68
  group: ${{ github.ref }}-${{ github.workflow }}
@@ -55,6 +55,7 @@ on:
55
55
  push:
56
56
  branches:
57
57
  - dev
58
+ - main
58
59
  paths:
59
60
  - '**/*.css'
60
61
  - '**/*.scss'
@@ -63,6 +64,7 @@ on:
63
64
  pull_request:
64
65
  branches:
65
66
  - dev
67
+ - main
66
68
  paths:
67
69
  - '**/*.css'
68
70
  - '**/*.scss'
package/mdc/text.mdc CHANGED
@@ -71,6 +71,7 @@ on:
71
71
  push:
72
72
  branches:
73
73
  - dev
74
+ - main
74
75
  paths:
75
76
  - '**/*.js'
76
77
  - '**/*.ts'
@@ -96,6 +97,7 @@ on:
96
97
  pull_request:
97
98
  branches:
98
99
  - dev
100
+ - main
99
101
 
100
102
  concurrency:
101
103
  group: ${{ github.ref }}-${{ github.workflow }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nitra/cursor",
3
- "version": "1.8.9",
3
+ "version": "1.8.11",
4
4
  "description": "CLI для завантаження cursor-правил (префікс n-) у локальний репозиторій",
5
5
  "keywords": [
6
6
  "cli",
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * Workflows лише з розширенням `.yml`, наявність clean/lint workflow, конфіг zizmor з ref-pin,
5
5
  * відсутність MegaLinter, коректний скрипт `lint-ga` у `package.json`, виклик у `lint-ga.yml`,
6
- * наявність composite `.github/actions/setup-bun-deps/action.yml` (його записує `npx @nitra/cursor`),
6
+ * наявність composite `.github/actions/setup-bun-deps/action.yml` (його записує npx `\@nitra/cursor`),
7
7
  * перед `uses: ./…/setup-bun-deps` у workflow — `actions/checkout` (runner інакше не бачить локальний action).
8
8
  *
9
9
  * Заборонено дублювати кроки встановлення Bun та кешування безпосередньо у workflow файлах