@b3-business/cherry 0.2.3 → 0.2.5
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/LICENSE +21 -0
- package/README.md +31 -5
- package/package.json +4 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 b3-business
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -4,15 +4,16 @@
|
|
|
4
4
|
|
|
5
5
|
A tree-shakeable, minimal API client factory. Import only the routes you need — nothing more.
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
<a href="https://www.npmjs.com/package/@b3-business/cherry" target="_blank"><img src="https://img.shields.io/npm/v/@b3-business/cherry" alt="npm"></a>
|
|
8
|
+
<a href="https://jsr.io/@b3-business/cherry" target="_blank"><img src="https://jsr.io/badges/@b3-business/cherry" alt="JSR"></a>
|
|
9
|
+
<a href="https://github.com/b3-business/cherry" target="_blank"><img src="https://img.shields.io/badge/GitHub-b3--business%2Fcherry-blue?logo=github" alt="GitHub"></a>
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
## Latest Changelog - 0.2.
|
|
13
|
+
## Latest Changelog - 0.2.5
|
|
14
14
|
|
|
15
|
-
-
|
|
15
|
+
- README badges now open in new tab
|
|
16
|
+
- GitHub badge shows repo name instead of stars
|
|
16
17
|
|
|
17
18
|
See [CHANGELOG.md](https://github.com/b3-business/cherry/blob/main/packages/cherry/CHANGELOG.md) for full history.
|
|
18
19
|
|
|
@@ -225,6 +226,31 @@ See [ARCHITECTURE.md](./agent/ARCHITECTURE.md) for generator implementation deta
|
|
|
225
226
|
|
|
226
227
|
---
|
|
227
228
|
|
|
229
|
+
## Dev Info
|
|
230
|
+
|
|
231
|
+
### Publishing
|
|
232
|
+
|
|
233
|
+
Publishing to npm and JSR uses **trusted OIDC publishing** via GitHub Actions - no tokens required. Manual `npm publish` or `jsr publish` will not work locally.
|
|
234
|
+
|
|
235
|
+
To release a new version:
|
|
236
|
+
1. Update version in `package.json` and `jsr.json`
|
|
237
|
+
2. Update `CHANGELOG.md` and README (Latest Changelog section)
|
|
238
|
+
3. Commit, tag, and push:
|
|
239
|
+
```bash
|
|
240
|
+
git add -A && git commit -m "release: X.Y.Z" && git tag X.Y.Z && git push && git push --tags
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
The GitHub Actions workflow will automatically publish to both npm and JSR.
|
|
244
|
+
|
|
245
|
+
### Dry-run Scripts
|
|
246
|
+
|
|
247
|
+
```bash
|
|
248
|
+
npm run dry-npm # Verify npm package contents
|
|
249
|
+
npm run dry-jsr # Verify JSR package contents
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
228
254
|
## License
|
|
229
255
|
|
|
230
256
|
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@b3-business/cherry",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.5",
|
|
4
4
|
"description": "A tree-shakeable, minimal API client factory. Import only the routes you need — nothing more.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"typecheck-test": "tsc --noEmit -p tsconfig.test.json",
|
|
30
30
|
"test": "bun test",
|
|
31
31
|
"prepublishOnly": "npm run check && npm run test && npm run build",
|
|
32
|
-
"
|
|
33
|
-
"
|
|
32
|
+
"dry-npm": "npm publish --dry-run --access public",
|
|
33
|
+
"dry-jsr": "bunx jsr publish --dry-run --allow-dirty"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"neverthrow": "^8.2.0",
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/bun": "^1.3.5",
|
|
41
41
|
"expect-type": "^1.3.0",
|
|
42
|
+
"jsr": "^0.13.5",
|
|
42
43
|
"npm-run-all": "^4.1.5",
|
|
43
44
|
"oxlint": "^1.36.0",
|
|
44
45
|
"tsdown": "^0.19.0-beta.2",
|