Install from git: README, repository field, .gitignore
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
0f02a3c252
commit
e63a10f2a2
|
|
@ -0,0 +1,2 @@
|
|||
node_modules
|
||||
.DS_Store
|
||||
12
README.md
12
README.md
|
|
@ -13,6 +13,18 @@ src/styles.css тема (токены, шрифты, тёмный режим)
|
|||
|
||||
Пакет поставляется исходниками (без сборки): TS/TSX компилирует бандлер приложения.
|
||||
|
||||
## Установка
|
||||
|
||||
Пакет ставится прямо из git, версии — теги `vX.Y.Z`:
|
||||
|
||||
```bash
|
||||
npm i "git+https://git.med-logic.ru/medlogic/medkit.git#semver:^0.1.0"
|
||||
```
|
||||
|
||||
`package-lock.json` фиксирует коммит; обновиться до свежего тега — `npm update @medkit/ui`. В medicine-ui kit подключён git-submodule в `packages/medkit` (npm workspace) — правки видны сразу.
|
||||
|
||||
Выпуск версии: поднять `version` в `package.json`, закоммитить, `git tag vX.Y.Z && git push --follow-tags`.
|
||||
|
||||
## Подключение
|
||||
|
||||
```tsx
|
||||
|
|
|
|||
|
|
@ -3,6 +3,10 @@
|
|||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"description": "Medkit — UI kit МИС «Медицина»: React 19 + Tailwind 4 + Radix (shadcn/ui)",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://git.med-logic.ru/medlogic/medkit.git"
|
||||
},
|
||||
"type": "module",
|
||||
"sideEffects": [
|
||||
"*.css"
|
||||
|
|
|
|||
Loading…
Reference in New Issue