kar-cw/README.md

47 lines
626 B
Markdown
Raw Normal View History

2024-03-29 18:35:55 +01:00
KarCw
=====
2024-03-24 20:45:07 +01:00
2024-03-29 18:35:55 +01:00
Karideo-And-Rabbit Common Web is a generic library of the KAR application group
2024-03-24 20:45:07 +01:00
2024-03-29 18:35:55 +01:00
Develop:
========
2024-03-24 20:45:07 +01:00
2024-03-29 18:35:55 +01:00
Install dependency
2024-03-24 20:45:07 +01:00
2024-03-29 18:35:55 +01:00
```bash
pnpm install
```
2024-03-24 20:45:07 +01:00
2024-03-29 18:35:55 +01:00
Build for debug:
```bash
pnpm run dev
```
2024-03-24 20:45:07 +01:00
2024-03-29 18:35:55 +01:00
Build the environment
```bash
pnpm run build
```
2024-03-24 20:45:07 +01:00
2024-03-29 18:35:55 +01:00
deploy the environment
```bash
cd dist/kar-cw
pnpm publish --no-git-checks
```
2024-03-24 20:45:07 +01:00
2024-03-29 18:35:55 +01:00
Use development mode for the library:
=====================================
2024-03-24 20:45:07 +01:00
2024-03-29 18:35:55 +01:00
In a terminal run:
```bash
pnpm run dev
```
2024-03-24 20:45:07 +01:00
2024-03-29 18:35:55 +01:00
On your client library run
```bash
cd <<CLIENT_PATH>>
pnpm link <<PATH_HERE>>/dist/kar-cw/
# ex: pnpm link ../kar-cw/dist/kar-cw/
```
2024-03-24 20:45:07 +01:00
2024-03-29 18:35:55 +01:00
Execute your library build as usual.