@shmidko61/core 1.0.1 → 1.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shmidko61/core",
3
- "version": "1.0.1",
3
+ "version": "1.0.4",
4
4
  "description": "Core setup and utils",
5
5
  "keywords": [],
6
6
  "author": {
@@ -11,11 +11,18 @@
11
11
  },
12
12
  "license": "ISC",
13
13
  "type": "module",
14
+ "scripts": {
15
+ "version:patch": "npm version patch",
16
+ "version:minor": "npm version minor",
17
+ "version:major": "npm version major"
18
+ },
14
19
  "peerDependencies": {
15
20
  "prettier": "3.0.0"
16
21
  },
17
22
  "dependencies": {
18
23
  "@trivago/prettier-plugin-sort-imports": "5.2.2"
19
24
  },
20
- "exports": {"prettier": "./src/prettier.config.mjs"}
25
+ "exports": {
26
+ "./prettier": "./src/prettier.config.mjs"
27
+ }
21
28
  }
@@ -1,28 +0,0 @@
1
- name: Publish # Название workflow (отображается в GitHub Actions)
2
-
3
- on:
4
- push:
5
- branches:
6
- - main # Запускать workflow при пуше в ветку main
7
-
8
- jobs:
9
- publish: # Имя job (можно использовать в зависимостях других jobs)
10
- runs-on: ubuntu-latest # Среда выполнения (последняя Ubuntu)
11
-
12
- steps:
13
- # 1. Клонируем репозиторий в runner
14
- - uses: actions/checkout@v4
15
-
16
- # 2. Устанавливаем Node.js нужной версии
17
- # + автоматически настраивается npm registry
18
- - uses: actions/setup-node@v4
19
- with:
20
- node-version: 20 # Версия Node.js
21
- registry-url: 'https://registry.npmjs.org' # npm registry
22
-
23
- # 3. Публикуем пакет в npm
24
- # NODE_AUTH_TOKEN — granular access token
25
- # с правами publish + bypass 2FA
26
- - run: npm publish --access public || echo "Already published"
27
- env:
28
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # Секрет из GitHub → Settings → Secrets