@b3-business/cherry 0.2.2 → 0.2.4
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 +28 -3
- 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
|
@@ -10,11 +10,11 @@ A tree-shakeable, minimal API client factory. Import only the routes you need
|
|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
## Latest Changelog - 0.2.
|
|
13
|
+
## Latest Changelog - 0.2.4
|
|
14
14
|
|
|
15
|
-
-
|
|
15
|
+
- Add LICENSE file for JSR publishing
|
|
16
16
|
|
|
17
|
-
See [CHANGELOG.md](
|
|
17
|
+
See [CHANGELOG.md](https://github.com/b3-business/cherry/blob/main/packages/cherry/CHANGELOG.md) for full history.
|
|
18
18
|
|
|
19
19
|
---
|
|
20
20
|
|
|
@@ -225,6 +225,31 @@ See [ARCHITECTURE.md](./agent/ARCHITECTURE.md) for generator implementation deta
|
|
|
225
225
|
|
|
226
226
|
---
|
|
227
227
|
|
|
228
|
+
## Dev Info
|
|
229
|
+
|
|
230
|
+
### Publishing
|
|
231
|
+
|
|
232
|
+
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.
|
|
233
|
+
|
|
234
|
+
To release a new version:
|
|
235
|
+
1. Update version in `package.json` and `jsr.json`
|
|
236
|
+
2. Update `CHANGELOG.md` and README (Latest Changelog section)
|
|
237
|
+
3. Commit, tag, and push:
|
|
238
|
+
```bash
|
|
239
|
+
git add -A && git commit -m "release: X.Y.Z" && git tag X.Y.Z && git push && git push --tags
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
The GitHub Actions workflow will automatically publish to both npm and JSR.
|
|
243
|
+
|
|
244
|
+
### Dry-run Scripts
|
|
245
|
+
|
|
246
|
+
```bash
|
|
247
|
+
npm run dry-npm # Verify npm package contents
|
|
248
|
+
npm run dry-jsr # Verify JSR package contents
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
---
|
|
252
|
+
|
|
228
253
|
## License
|
|
229
254
|
|
|
230
255
|
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.4",
|
|
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",
|