klaim 1.2.18 → 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 +9 -0
- package/deno.json +1 -1
- package/package.json +1 -1
- package/release-it.config.cjs +3 -5
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
package/package.json
CHANGED
package/release-it.config.cjs
CHANGED
|
@@ -3,8 +3,7 @@ require('./load-env.cjs');
|
|
|
3
3
|
|
|
4
4
|
module.exports = {
|
|
5
5
|
github: {
|
|
6
|
-
release:
|
|
7
|
-
tokenRef: 'GITHUB_TOKEN'
|
|
6
|
+
release: false,
|
|
8
7
|
},
|
|
9
8
|
npm: {
|
|
10
9
|
publish: false,
|
|
@@ -17,7 +16,7 @@ module.exports = {
|
|
|
17
16
|
tag: true,
|
|
18
17
|
push: true,
|
|
19
18
|
commit: true,
|
|
20
|
-
publish: true
|
|
19
|
+
publish: true,
|
|
21
20
|
},
|
|
22
21
|
hooks: {
|
|
23
22
|
'before:init': [
|
|
@@ -26,11 +25,10 @@ module.exports = {
|
|
|
26
25
|
'bun run build'
|
|
27
26
|
],
|
|
28
27
|
'after:bump': [
|
|
28
|
+
`make update-version-deno`,
|
|
29
29
|
`npx jsr publish --token ${process.env.JSR_TOKEN} --allow-dirty`,
|
|
30
30
|
`npm config set //registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN}`,
|
|
31
31
|
`npm publish`,
|
|
32
|
-
`git config --global user.email "antho.eclips@gmail.com"`,
|
|
33
|
-
`git config --global user.name "Anthony Bellancourt"`,
|
|
34
32
|
]
|
|
35
33
|
}
|
|
36
34
|
};
|