Skip to content

Commit fe1242d

Browse files
Merge pull request #2 from bitcoin-balancer/1.0.26
1.0.26
2 parents ced79a1 + 7264c78 commit fe1242d

File tree

318 files changed

+11098
-16450
lines changed

Some content is hidden

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

318 files changed

+11098
-16450
lines changed

.dockerignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ node_modules
44
.eslintrc.cjs
55
.git
66
.gitignore
7+
.prettierignore
8+
.prettierrc
79
Dockerfile
810
LICENSE
911
README.md

.eslintrc.cjs

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,32 +6,30 @@ module.exports = {
66
'plugin:@typescript-eslint/recommended',
77
'plugin:react-hooks/recommended',
88
'airbnb-base',
9-
'airbnb-typescript/base'
9+
'airbnb-typescript/base',
10+
'prettier',
1011
],
1112
parserOptions: {
12-
project: './tsconfig.app.json'
13+
project: './tsconfig.app.json',
1314
},
1415
ignorePatterns: ['dist', '.eslintrc.cjs'],
1516
parser: '@typescript-eslint/parser',
1617
plugins: ['react-refresh'],
1718
overrides: [
1819
{
19-
files: [ '*.test-*.{ts,tsx}', "*.bench.ts" ],
20+
files: ['*.test-*.{ts,tsx}', '*.bench.ts'],
2021
rules: {
2122
'object-curly-newline': 'off',
22-
'import/no-extraneous-dependencies': [ 'error', { 'devDependencies': true } ]
23-
}
24-
}
23+
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
24+
},
25+
},
2526
],
2627
rules: {
27-
'react-refresh/only-export-components': [
28-
'warn',
29-
{ allowConstantExport: true },
30-
],
31-
'no-multiple-empty-lines': [ 'error', { 'max': 5, 'maxEOF': 0 } ],
28+
'react-refresh/only-export-components': ['warn', { allowConstantExport: true }],
29+
'no-multiple-empty-lines': ['error', { max: 5, maxEOF: 0 }],
3230
'no-underscore-dangle': 'off',
3331
'@typescript-eslint/naming-convention': 'off',
3432
'import/prefer-default-export': 'off',
35-
'import/extensions': 'off'
33+
'import/extensions': 'off',
3634
},
37-
}
35+
};

.github/workflows/publish.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Create and push release tag
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build-and-publish:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: 📥 Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: 🏷️ Extract version from package.json
17+
id: extract_version
18+
run: |
19+
VERSION=$(node -p "require('./package.json').version")
20+
echo "version=$VERSION" >> $GITHUB_OUTPUT
21+
22+
- name: 🏷️ Create and push Git tag
23+
run: |
24+
git config user.name "github-actions"
25+
git config user.email "github-actions@github.com"
26+
git tag -a "v${{ steps.extract_version.outputs.version }}" -m "Release v${{ steps.extract_version.outputs.version }}"
27+
git push origin "v${{ steps.extract_version.outputs.version }}"

.prettierignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# defaults
2+
**/.git
3+
**/.svn
4+
**/.hg
5+
**/node_modules
6+
7+
# build and dist Output
8+
dist
9+
.out
10+
.next
11+
12+
# logs
13+
npm-debug.log
14+
yarn-debug.log
15+
yarn-error.log
16+
pnpm-debug.log
17+
18+
# environment files
19+
.env
20+
.env.local
21+
.env.*.local
22+
23+
# lockfiles (if using a monorepo or specific package manager setup)
24+
package-lock.json
25+
yarn.lock
26+
pnpm-lock.yaml
27+
28+
# miscellaneous
29+
coverage/
30+
.DS_Store
31+
*.min.js
32+
public/
33+
tmp/
34+
*.md
35+
.dockerignore

.prettierrc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"semi": true,
3+
"singleQuote": true,
4+
"tabWidth": 2,
5+
"useTabs": false,
6+
"trailingComma": "all",
7+
"printWidth": 100,
8+
"bracketSpacing": true,
9+
"arrowParens": "always",
10+
"endOfLine": "lf",
11+
"singleAttributePerLine": true
12+
}

0 commit comments

Comments
 (0)