Skip to content

Commit 8090e00

Browse files
chore: vendor babylonlabs-io/btc-staking-ts#v2.5.7
This commit was generated by the vendor-github-repo script. Ticket: SC-3362
1 parent 8d7c70b commit 8090e00

File tree

144 files changed

+15723
-308
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+15723
-308
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"extends": [
3+
"eslint:recommended",
4+
"plugin:@typescript-eslint/recommended",
5+
"prettier"
6+
],
7+
"parserOptions": {
8+
"sourceType": "module",
9+
"ecmaVersion": "latest"
10+
},
11+
"overrides": [
12+
{
13+
"files": [
14+
"tests/**/*.ts"
15+
],
16+
"parser": "@typescript-eslint/parser",
17+
"rules": {
18+
"@typescript-eslint/no-var-requires": "off",
19+
"@typescript-eslint/no-explicit-any": "off"
20+
}
21+
},
22+
{
23+
"files": [
24+
"jest.setup.js"
25+
],
26+
"rules": {
27+
"no-undef": "off"
28+
}
29+
},
30+
]
31+
}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: ci
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- "**"
7+
8+
jobs:
9+
lint_test:
10+
uses: babylonlabs-io/.github/.github/workflows/[email protected]
11+
with:
12+
run-build: true
13+
run-unit-tests: true
14+
node-version: 24.2.0
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Manual release branch release
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- 'release/v[0-9]+.[0-9]+.[0-9]+'
8+
permissions:
9+
contents: write
10+
jobs:
11+
lint_test:
12+
uses: babylonlabs-io/.github/.github/workflows/[email protected]
13+
secrets: inherit
14+
with:
15+
run-build: true
16+
run-unit-tests: true
17+
publish: true
18+
publish-command: |
19+
./bin/ci_validate_version.sh
20+
npm publish
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Semantic release
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
permissions:
9+
contents: write
10+
jobs:
11+
lint_test:
12+
uses: babylonlabs-io/.github/.github/workflows/[email protected]
13+
secrets: inherit
14+
with:
15+
run-build: true
16+
run-unit-tests: true
17+
use-semantic-release: true
18+
node-version: 24.2.0

modules/babylonlabs-io-btc-staking-ts/.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,5 +206,3 @@ $RECYCLE.BIN/
206206
# End of https://www.toptal.com/developers/gitignore/api/node,macos,windows
207207
*.swp
208208
*.swo
209-
210-
build/
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
# Only run commitlint if a commit message file was passed in
5+
if [ -n "$1" ] && [ -f "$1" ]; then
6+
npx --no-install commitlint --edit "$1"
7+
fi
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
TEST_REPEAT_TIMES=5 npm test
2+
npm run build
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v24.2.0
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
node_modules
2+
dist
3+
build
4+
coverage
5+
.circleci
6+
.husky
7+
.next
8+
docs
9+
public
10+
README.md

0 commit comments

Comments
 (0)