@tumbaland/backend-core 1.16.1 → 1.17.0
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/README.md +9 -48
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -120,54 +120,15 @@ This library is optimized for Docker deployments:
|
|
|
120
120
|
|
|
121
121
|
## 📦 Releases & Versioning
|
|
122
122
|
|
|
123
|
-
This library
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
```
|
|
134
|
-
type(scope): description
|
|
135
|
-
|
|
136
|
-
[optional body]
|
|
137
|
-
|
|
138
|
-
[optional footer]
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
**Types:**
|
|
142
|
-
- `feat`: New feature
|
|
143
|
-
- `fix`: Bug fix
|
|
144
|
-
- `docs`: Documentation
|
|
145
|
-
- `style`: Code style changes
|
|
146
|
-
- `refactor`: Code refactoring
|
|
147
|
-
- `test`: Testing
|
|
148
|
-
- `chore`: Maintenance
|
|
149
|
-
|
|
150
|
-
**Examples:**
|
|
151
|
-
```
|
|
152
|
-
feat(auth): add JWT token refresh
|
|
153
|
-
fix(logging): resolve memory leak in Winston transport
|
|
154
|
-
docs(api): update health check endpoint documentation
|
|
155
|
-
```
|
|
156
|
-
|
|
157
|
-
### Release Process
|
|
158
|
-
|
|
159
|
-
1. **Make changes** with conventional commit messages
|
|
160
|
-
2. **Run release script**: `./release.sh`
|
|
161
|
-
3. **Push changes**: `git push origin main`
|
|
162
|
-
4. **Publish**: Automated via GitHub Actions
|
|
163
|
-
|
|
164
|
-
### Changelog
|
|
165
|
-
|
|
166
|
-
Changelogs are maintained at the project level in the root `CHANGELOG.md` file. Individual library changelogs are not generated to maintain consistency across the monorepo.
|
|
167
|
-
|
|
168
|
-
### Beta Releases
|
|
169
|
-
|
|
170
|
-
For beta releases: `npm run release:beta`
|
|
123
|
+
This library is a real published npm package (`@tumbaland/backend-core`), versioned independently
|
|
124
|
+
of the monorepo with [standard-version](https://github.com/conventional-changelog/standard-version)
|
|
125
|
+
and [Conventional Commits](https://conventionalcommits.org/). See the root
|
|
126
|
+
[README's "Commits & Releases" section](../../README.md#commits--releases) for the full process
|
|
127
|
+
and the reasoning behind it — summary: commit with conventional messages, then from this directory
|
|
128
|
+
run `npm run release` (never hand-edit `version` and `npm publish` directly, or the package,
|
|
129
|
+
changelog, and tags drift out of sync with each other). Tags for this package are scoped as
|
|
130
|
+
`backend-core-vX.Y.Z` so they can't collide with `frontend-core`'s, `components`', or the
|
|
131
|
+
monorepo's own `app-vX.Y.Z` tags.
|
|
171
132
|
|
|
172
133
|
---
|
|
173
134
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tumbaland/backend-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.17.0",
|
|
4
4
|
"description": "Core shared functionality for Tumbaland backend services",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -25,6 +25,9 @@
|
|
|
25
25
|
],
|
|
26
26
|
"author": "Tumbaland Team",
|
|
27
27
|
"license": "MIT",
|
|
28
|
+
"standard-version": {
|
|
29
|
+
"tagPrefix": "backend-core-v"
|
|
30
|
+
},
|
|
28
31
|
"devDependencies": {
|
|
29
32
|
"@types/cookie-parser": "^1.4.10",
|
|
30
33
|
"@types/cors": "^2.8.19",
|