gambling-bot-shared 0.1.50 → 0.1.51

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.
Files changed (2) hide show
  1. package/README.MD +4 -3
  2. package/package.json +9 -3
package/README.MD CHANGED
@@ -10,17 +10,14 @@ https://www.krouskystepan.com/projects/discord-gambling-hub
10
10
  The project is split into three repositories:
11
11
 
12
12
  - **Admin Panel**
13
-
14
13
  - Web interface for managing data and configuration.
15
14
  - 🔗 https://github.com/krouskystepan/gambling-bot-admin
16
15
 
17
16
  - **Discord Bot**
18
-
19
17
  - Uses the shared data and logic to run the gambling system inside Discord.
20
18
  - 🔗 https://github.com/krouskystepan/gambling-bot-discord
21
19
 
22
20
  - **Shared Package (this repository)**
23
-
24
21
  - Common types, database models, and business logic shared between the admin panel and the bot.
25
22
  - 🔗 https://github.com/krouskystepan/gambling-bot-shared
26
23
 
@@ -34,3 +31,7 @@ https://discord.gg/Y2mMQN5QVE
34
31
 
35
32
  All architecture decisions, data flow, and detailed explanations are documented
36
33
  in the case study linked above.
34
+
35
+ ## Local development
36
+
37
+ See [LOCAL_DEVELOPMENT.md](./LOCAL_DEVELOPMENT.md) for the local linking workflow, debugging commands, and release process.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gambling-bot-shared",
3
- "version": "0.1.50",
3
+ "version": "0.1.51",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "MIT",
@@ -24,9 +24,15 @@
24
24
  },
25
25
  "scripts": {
26
26
  "build": "tsc -p tsconfig.json",
27
+ "dev": "tsc -p tsconfig.json --watch",
27
28
  "prepublishOnly": "pnpm build",
28
- "publish-and-bump-projects": "bash scripts/publish-to-npm.sh",
29
- "release": "npm version patch && npm publish"
29
+ "prepare": "bash scripts/setup-git-hooks.sh",
30
+ "link-local": "bash scripts/link-local.sh",
31
+ "unlink-local": "bash scripts/unlink-local.sh",
32
+ "link-status": "bash scripts/shared-link-status.sh",
33
+ "release": "bash scripts/release.sh",
34
+ "publish-and-bump-projects": "bash scripts/release.sh --no-bump",
35
+ "publish-to-npm": "bash scripts/publish-to-npm.sh"
30
36
  },
31
37
  "peerDependencies": {
32
38
  "mongoose": "^9.0.0"