File tree 2 files changed +26
-5
lines changed
2 files changed +26
-5
lines changed Original file line number Diff line number Diff line change
1
+ <div align =" center " >
2
+
1
3
# Ord API
2
4
5
+ Simple TypeScript client for ` ord ` API.
6
+ See the [ docs] ( https://docs.ordinals.com/guides/api ) .
7
+
3
8
[ ![ npm version] ( https://img.shields.io/npm/v/ordapi.svg )] ( https://www.npmjs.com/package/ordapi )
4
9
[ ![ npm downloads] ( https://img.shields.io/npm/dm/ordapi.svg )] ( https://www.npmjs.com/package/ordapi )
5
10
[ ![ License] ( https://img.shields.io/npm/l/ordapi.svg )] ( https://github.com/raphjaph/ordapi/blob/master/LICENSE )
6
11
[ ![ CI Status] ( https://github.com/raphjaph/ordapi/workflows/CI/badge.svg )] ( https://github.com/raphjaph/ordapi/actions )
7
12
8
- Simple TypeScript client for ` ord ` API.
9
- See the [ docs] ( https://docs.ordinals.com/guides/api ) .
13
+ </div >
10
14
11
15
## Installation
12
16
Original file line number Diff line number Diff line change @@ -18,14 +18,31 @@ docs:
18
18
19
19
ci : install lint test
20
20
21
- prepare-changelog revision = ' master':
21
+ prepare-release revision = ' master':
22
22
#!/usr/bin/env bash
23
23
set -euxo pipefail
24
24
git checkout {{ revision }}
25
25
git pull origin {{ revision }}
26
26
echo >> CHANGELOG.md
27
27
git log --pretty=' format:- %s' >> CHANGELOG.md
28
28
$EDITOR CHANGELOG.md
29
-
30
- publish :
29
+ $EDITOR package.json
30
+ $EDITOR docs/ generateHtml.ts
31
+ version=$(grep -m1 ' "version":' package.json | cut -d' "' -f4)
32
+ bun update
33
+ just ci
34
+ git checkout -b release-$version
35
+ git add -u
36
+ git commit -m " Release $version"
37
+ gh pr create --web
38
+
39
+ publish-release revision = ' master':
40
+ #!/usr/bin/env bash
41
+ set -euxo pipefail
42
+ rm -rf tmp/ release
43
+ git clone https:// github.com/ raphjaph/ ordapi.git tmp/ release
44
+ cd tmp/ release
45
+ git checkout {{ revision }}
31
46
bun publish
47
+ cd ../ ..
48
+ rm -rf tmp/ release
You can’t perform that action at this time.
0 commit comments