@nitra/cursor 1.8.11 → 1.8.12
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/npm-module.mdc +10 -1
- package/package.json +1 -1
package/mdc/npm-module.mdc
CHANGED
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
---
|
|
2
2
|
description: Оформлення репозиторію для npm модуля
|
|
3
3
|
alwaysApply: true
|
|
4
|
-
version: '1.
|
|
4
|
+
version: '1.3'
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
Bun monorepo: workspace **`npm/`**, кореневий **`package.json`**, **`.github/workflows/`**; опційно **`demo/`**.
|
|
8
8
|
|
|
9
|
+
## Build версія
|
|
10
|
+
|
|
11
|
+
Після того як вносяться зміни до /npm, обов'язково треба збільшити build версію в npm пакеті, але не збільшувати її постійно, а дивитися, що та яка не закомічена, вона тільки на плюс один.
|
|
12
|
+
|
|
13
|
+
В npm/package.json тільки одну build версію інкрементовану не закомічену. Не роби більше, ніж одну.
|
|
14
|
+
|
|
15
|
+
**Підказка:** щоб не дублювати bump і бачити різницю з останнім комітом, перевір `git status npm/package.json` або `git diff HEAD -- npm/package.json` перед другим інкрементом у тій самій гілці / наборі змін.
|
|
16
|
+
|
|
17
|
+
|
|
9
18
|
## npm publish
|
|
10
19
|
|
|
11
20
|
**`npm-publish.yml`:** push у **`main`**, **`on.push.paths`** з **`npm/**`**, **`JS-DevTools/npm-publish@v4.1.5`**, **`with.package: npm/package.json`**, **`permissions.id-token: write`** (OIDC на npm).
|