mirror of
https://github.com/apotdevin/thunderhub.git
synced 2025-02-23 14:40:27 +01:00
commit
85322555fd
3 changed files with 25698 additions and 7363 deletions
38
.github/workflows/nodejs.yml
vendored
38
.github/workflows/nodejs.yml
vendored
|
@ -5,26 +5,28 @@ on:
|
|||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
types: [opened, reopened, synchronize]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
test_lint_build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14'
|
||||
- name: Use NextJS Cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ${{ github.workspace }}/.next/cache
|
||||
key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }}
|
||||
- name: Install deps
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install modules
|
||||
run: npm ci
|
||||
- name: Build
|
||||
run: |
|
||||
npm run build
|
||||
|
||||
- name: Run eslint
|
||||
run: npm run lint:check
|
||||
|
||||
- name: Run tests
|
||||
run: npm run test
|
||||
|
||||
- name: Run docker build
|
||||
id: docker_build
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: ./
|
||||
file: ./Dockerfile
|
||||
push: false
|
||||
|
|
32913
package-lock.json
generated
32913
package-lock.json
generated
File diff suppressed because it is too large
Load diff
110
package.json
110
package.json
|
@ -25,9 +25,10 @@
|
|||
"release:test": "standard-version --dry-run",
|
||||
"release:minor": "standard-version --release-as minor",
|
||||
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
|
||||
"lint:check": "eslint \"{src,apps,libs,test}/**/*.ts\"",
|
||||
"lint-staged": "lint-staged",
|
||||
"generate": "graphql-codegen --config codegen.yml",
|
||||
"test": "jest",
|
||||
"test": "jest --passWithNoTests",
|
||||
"test:watch": "jest --watch",
|
||||
"test:cov": "jest --coverage",
|
||||
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
|
||||
|
@ -37,29 +38,29 @@
|
|||
"prepare": "husky install"
|
||||
},
|
||||
"dependencies": {
|
||||
"@apollo/client": "^3.5.10",
|
||||
"@apollo/client": "^3.6.2",
|
||||
"@fullerstack/nax-ipware": "^0.10.0",
|
||||
"@nestjs/apollo": "^10.0.8",
|
||||
"@nestjs/common": "^8.4.3",
|
||||
"@nestjs/apollo": "^10.0.9",
|
||||
"@nestjs/common": "^8.4.4",
|
||||
"@nestjs/config": "^2.0.0",
|
||||
"@nestjs/core": "^8.4.3",
|
||||
"@nestjs/graphql": "^10.0.8",
|
||||
"@nestjs/core": "^8.4.4",
|
||||
"@nestjs/graphql": "^10.0.10",
|
||||
"@nestjs/jwt": "^8.0.0",
|
||||
"@nestjs/passport": "^8.2.1",
|
||||
"@nestjs/platform-express": "^8.4.3",
|
||||
"@nestjs/platform-socket.io": "^8.4.3",
|
||||
"@nestjs/platform-express": "^8.4.4",
|
||||
"@nestjs/platform-socket.io": "^8.4.4",
|
||||
"@nestjs/throttler": "^2.0.1",
|
||||
"@nestjs/websockets": "^8.4.3",
|
||||
"@visx/axis": "^2.6.0",
|
||||
"@visx/chord": "^2.1.2",
|
||||
"@nestjs/websockets": "^8.4.4",
|
||||
"@visx/axis": "^2.10.0",
|
||||
"@visx/chord": "^2.10.0",
|
||||
"@visx/event": "^2.6.0",
|
||||
"@visx/group": "^2.1.0",
|
||||
"@visx/responsive": "^2.8.0",
|
||||
"@visx/group": "^2.10.0",
|
||||
"@visx/responsive": "^2.10.0",
|
||||
"@visx/scale": "^2.2.2",
|
||||
"@visx/shape": "^2.4.0",
|
||||
"@visx/tooltip": "^2.8.0",
|
||||
"@visx/shape": "^2.10.0",
|
||||
"@visx/tooltip": "^2.10.0",
|
||||
"apollo-server-express": "^3.6.7",
|
||||
"balanceofsatoshis": "^11.64.1",
|
||||
"balanceofsatoshis": "^12.8.0",
|
||||
"bcryptjs": "^2.4.3",
|
||||
"bech32": "^2.0.0",
|
||||
"big.js": "^6.1.1",
|
||||
|
@ -67,10 +68,10 @@
|
|||
"bip39": "^3.0.4",
|
||||
"bitcoinjs-lib": "^6.0.1",
|
||||
"boltz-core": "^0.5.0",
|
||||
"cookie": "^0.4.2",
|
||||
"cookie": "^0.5.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"crypto-js": "^4.1.1",
|
||||
"d3-array": "^3.1.4",
|
||||
"d3-array": "^3.1.6",
|
||||
"d3-time-format": "^4.1.0",
|
||||
"date-fns": "^2.28.0",
|
||||
"dotenv": "^16.0.0",
|
||||
|
@ -80,11 +81,11 @@
|
|||
"js-cookie": "^3.0.1",
|
||||
"js-yaml": "^4.1.0",
|
||||
"jsonwebtoken": "^8.5.1",
|
||||
"lightning": "^5.9.1",
|
||||
"lightning": "^5.14.0",
|
||||
"lodash": "^4.17.21",
|
||||
"nest-winston": "^1.6.2",
|
||||
"next": "^12.1.0",
|
||||
"node-fetch": "^3.2.3",
|
||||
"next": "^12.1.6",
|
||||
"node-fetch": "^3.2.4",
|
||||
"numeral": "^2.0.6",
|
||||
"otplib": "^12.0.1",
|
||||
"passport": "^0.5.2",
|
||||
|
@ -92,56 +93,56 @@
|
|||
"qrcode.react": "^3.0.1",
|
||||
"react": "^17.0.2",
|
||||
"react-circular-progressbar": "^2.0.4",
|
||||
"react-copy-to-clipboard": "^5.0.4",
|
||||
"react-copy-to-clipboard": "^5.1.0",
|
||||
"react-dom": "^17.0.2",
|
||||
"react-feather": "^2.0.9",
|
||||
"react-grid-layout": "^1.3.4",
|
||||
"react-is": "^17.0.2",
|
||||
"react-qr-reader": "^2.2.1",
|
||||
"react-select": "^5.2.2",
|
||||
"react-select": "^5.3.1",
|
||||
"react-slider": "^1.3.1",
|
||||
"react-spinners": "^0.11.0",
|
||||
"react-table": "^7.7.0",
|
||||
"react-toastify": "^8.2.0",
|
||||
"react-toastify": "^9.0.0",
|
||||
"react-tooltip": "^4.2.21",
|
||||
"reflect-metadata": "^0.1.13",
|
||||
"rimraf": "^3.0.2",
|
||||
"rxjs": "^7.5.5",
|
||||
"secp256k1": "^4.0.3",
|
||||
"socket.io-client": "^4.4.1",
|
||||
"socks-proxy-agent": "^6.1.1",
|
||||
"socket.io-client": "^4.5.0",
|
||||
"socks-proxy-agent": "^6.2.0",
|
||||
"styled-components": "^5.3.5",
|
||||
"styled-react-modal": "^3.0.0",
|
||||
"styled-theming": "^2.2.0",
|
||||
"tiny-secp256k1": "^2.2.1",
|
||||
"uuid": "^8.3.2",
|
||||
"winston": "^3.6.0"
|
||||
"winston": "^3.7.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@graphql-codegen/cli": "^2.6.2",
|
||||
"@graphql-codegen/fragment-matcher": "^3.2.1",
|
||||
"@graphql-codegen/introspection": "^2.1.1",
|
||||
"@graphql-codegen/near-operation-file-preset": "^2.2.9",
|
||||
"@graphql-codegen/typescript": "^2.4.8",
|
||||
"@graphql-codegen/typescript-operations": "^2.3.5",
|
||||
"@graphql-codegen/typescript-react-apollo": "^3.2.11",
|
||||
"@graphql-codegen/typescript-resolvers": "^2.6.1",
|
||||
"@nestjs/cli": "^8.2.4",
|
||||
"@nestjs/schematics": "^8.0.9",
|
||||
"@nestjs/testing": "^8.4.3",
|
||||
"@graphql-codegen/near-operation-file-preset": "^2.2.10",
|
||||
"@graphql-codegen/typescript": "^2.4.9",
|
||||
"@graphql-codegen/typescript-operations": "^2.3.6",
|
||||
"@graphql-codegen/typescript-react-apollo": "^3.2.12",
|
||||
"@graphql-codegen/typescript-resolvers": "^2.6.2",
|
||||
"@nestjs/cli": "^8.2.5",
|
||||
"@nestjs/schematics": "^8.0.10",
|
||||
"@nestjs/testing": "^8.4.4",
|
||||
"@types/bcryptjs": "^2.4.2",
|
||||
"@types/big.js": "^6.1.3",
|
||||
"@types/cookie": "^0.4.1",
|
||||
"@types/cookie": "^0.5.1",
|
||||
"@types/crypto-js": "^4.1.1",
|
||||
"@types/d3-array": "^3.0.2",
|
||||
"@types/d3-time-format": "^4.0.0",
|
||||
"@types/express": "^4.17.13",
|
||||
"@types/jest": "^27.4.1",
|
||||
"@types/js-cookie": "^3.0.1",
|
||||
"@types/jest": "^27.5.0",
|
||||
"@types/js-cookie": "^3.0.2",
|
||||
"@types/js-yaml": "^4.0.5",
|
||||
"@types/jsonwebtoken": "^8.5.8",
|
||||
"@types/lodash": "^4.14.181",
|
||||
"@types/node": "^17.0.23",
|
||||
"@types/lodash": "^4.14.182",
|
||||
"@types/node": "^17.0.31",
|
||||
"@types/numeral": "^2.0.2",
|
||||
"@types/qrcode.react": "^1.0.2",
|
||||
"@types/react": "^17.0.43",
|
||||
|
@ -149,33 +150,34 @@
|
|||
"@types/react-grid-layout": "^1.3.2",
|
||||
"@types/react-qr-reader": "^2.1.4",
|
||||
"@types/react-slider": "^1.3.1",
|
||||
"@types/react-table": "^7.7.10",
|
||||
"@types/react-table": "^7.7.11",
|
||||
"@types/secp256k1": "^4.0.3",
|
||||
"@types/styled-components": "^5.1.24",
|
||||
"@types/styled-components": "^5.1.25",
|
||||
"@types/styled-react-modal": "^1.2.2",
|
||||
"@types/styled-theming": "^2.2.5",
|
||||
"@types/supertest": "^2.0.12",
|
||||
"@types/uuid": "^8.3.4",
|
||||
"@typescript-eslint/eslint-plugin": "^5.17.0",
|
||||
"@typescript-eslint/parser": "^5.17.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.22.0",
|
||||
"@typescript-eslint/parser": "^5.22.0",
|
||||
"apollo-server": "^3.6.7",
|
||||
"babel-plugin-styled-components": "^2.0.6",
|
||||
"eslint": "^8.12.0",
|
||||
"eslint-config-next": "^12.1.4",
|
||||
"babel-plugin-styled-components": "^2.0.7",
|
||||
"eslint": "^8.14.0",
|
||||
"eslint-config-next": "^12.1.6",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"husky": "^7.0.0",
|
||||
"jest": "^27.5.1",
|
||||
"lint-staged": "^12.3.7",
|
||||
"jest": "^28.0.3",
|
||||
"lint-staged": "^12.4.1",
|
||||
"prettier": "^2.6.2",
|
||||
"source-map-support": "^0.5.21",
|
||||
"standard-version": "^9.3.2",
|
||||
"supertest": "^6.2.2",
|
||||
"ts-jest": "^27.1.4",
|
||||
"ts-loader": "^9.2.8",
|
||||
"supertest": "^6.2.3",
|
||||
"ts-jest": "^28.0.1",
|
||||
"ts-loader": "^9.3.0",
|
||||
"ts-node": "^10.7.0",
|
||||
"tsconfig-paths": "^3.14.1",
|
||||
"typescript": "^4.6.3"
|
||||
"tsconfig-paths": "^4.0.0",
|
||||
"typescript": "^4.6.4",
|
||||
"ws": "^8.6.0"
|
||||
},
|
||||
"jest": {
|
||||
"moduleFileExtensions": [
|
||||
|
|
Loading…
Add table
Reference in a new issue