@czudisk/models v1.0.65
Database schemas
This repository contains database schemas, separated from the ČZU Disk repository in order to make the schemas available to other repositories (Discord bot).
Schemas and types are then imported to various apps.
import { accountSchema } from "@czudisk/models";
import type { Account } from "@czudisk/models";How to
- Clone the repository
- Run
npm install - Make needed changes in
srcfolder mainly - Run
npx tscornpm run compilein order to compile thesrcfolder todistfolder - Compiling will transfer TypeScript files to JavaScript files
- Increase version in
package.jsonaccording to https://semver.org/lang/cs/ if possible - Run
git add . - Run
git commit -m "Commit message" - Run
git push - Create release on GitHub
- Automatic deploy to NPM sohuld start
Not needed due to auto deploy to NPM
- Run
npm loginif not logged in - Run
npm publish(only a package owner or developer in organization can do that)` - If the package is correctly published to npm run
git add .to add your changes to git
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago