klaim 1.2.27 → 1.2.28

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/Makefile CHANGED
@@ -3,3 +3,12 @@ dev:
3
3
 
4
4
  dev-test:
5
5
  cd ../klaim-test && nr dev
6
+
7
+ update-version-deno:
8
+ @echo "Extracting version from package.json..."
9
+ @VERSION=$(shell grep -oP '"version":\s*"\K[^"]+' package.json) && \
10
+ echo "Found version: $$VERSION" && \
11
+ echo "Updating deno.json..." && \
12
+ sed -i.bak 's/"version": "[^"]*"/"version": "'$$VERSION'"/' deno.json && \
13
+ rm deno.json.bak && \
14
+ echo "Update completed successfully!"
package/deno.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antharuu/klaim",
3
- "version": "1.2.1",
3
+ "version": "1.2.28",
4
4
  "description": "Klaim is a lightweight TypeScript library designed to manage APIs and record requests, optimized for an optimal user experience.",
5
5
  "repository": {
6
6
  "type": "git",
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "homepage": "https://github.com/antharuu/klaim#readme",
22
22
  "type": "module",
23
- "version": "1.2.27",
23
+ "version": "1.2.28",
24
24
  "main": "dist/klaim.cjs.js",
25
25
  "module": "dist/klaim.es.js",
26
26
  "types": "dist/index.d.ts",
@@ -25,6 +25,7 @@ module.exports = {
25
25
  'bun run build'
26
26
  ],
27
27
  'after:bump': [
28
+ `make update-version-deno`,
28
29
  `npx jsr publish --token ${process.env.JSR_TOKEN} --allow-dirty`,
29
30
  `npm config set //registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN}`,
30
31
  `npm publish`,