@nitra/cursor 1.0.5 → 1.0.6

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.
Files changed (2) hide show
  1. package/mdc/bun.mdc +24 -1
  2. package/package.json +1 -1
package/mdc/bun.mdc CHANGED
@@ -38,4 +38,27 @@ Lockfile у репозиторії: `bun.lock`.
38
38
 
39
39
  Якщо в package.json є поля `packageManager`, то прибрати їх, також прибрати всі директорії та файлидля yarn
40
40
 
41
- Якщо в проекті використовується npx, то не заміняти його на bunx, а використовувати npx.
41
+ Якщо в проекті використовується npx, то не заміняти його на bunx, а використовувати npx.
42
+ Коли зміна відбувається в Dockerfile, то використовувати
43
+ ```dockerfile
44
+ FROM oven/bun:alpine AS build-env
45
+ ```
46
+ замість образу node
47
+
48
+ В Github actions bun повинен налаштований так:
49
+ ```yaml
50
+ - uses: oven-sh/setup-bun@v2
51
+
52
+ - name: Cache Bun dependencies
53
+ uses: actions/cache@v4
54
+ with:
55
+ path: |
56
+ ~/.bun/install/cache
57
+ node_modules
58
+ key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
59
+ restore-keys: |
60
+ ${{ runner.os }}-bun-
61
+
62
+ - name: Install dependencies
63
+ run: bun install --frozen-lockfile
64
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nitra/cursor",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "CLI для завантаження cursor-правил Nitra у локальний репозиторій",
5
5
  "keywords": [
6
6
  "cli",