Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
bkrem committed Sep 5, 2023
1 parent 37135a8 commit ed6886c
Show file tree
Hide file tree
Showing 23 changed files with 65 additions and 64 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ jobs:
name: CI
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
test-prefix:
- misc/logger
Expand Down Expand Up @@ -39,16 +40,16 @@ jobs:
with:
node-version: 16

- name: Check node_modules cache
id: cache-node-modules
uses: actions/cache@v3
with:
path: |
node_modules
*/*/node_modules
key: ${{ runner.os }}-nodemodules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-nodemodules-
# - name: Check node_modules cache
# id: cache-node-modules
# uses: actions/cache@v3
# with:
# path: |
# node_modules
# */*/node_modules
# key: ${{ runner.os }}-nodemodules-${{ hashFiles('**/package-lock.json') }}
# restore-keys: |
# ${{ runner.os }}-nodemodules-

- name: Install NPM Dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion browser/window-getters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down
2 changes: 1 addition & 1 deletion browser/window-metadata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down
2 changes: 1 addition & 1 deletion jsonrpc/http-connection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down
2 changes: 1 addition & 1 deletion jsonrpc/provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"test:watch": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 3000 --exit -r ts-node/register --watch --watch-files . ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
Expand Down
2 changes: 1 addition & 1 deletion jsonrpc/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down
2 changes: 1 addition & 1 deletion jsonrpc/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha -r ts-node/register ./test/**/*.{test,spec}.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down
2 changes: 1 addition & 1 deletion jsonrpc/ws-connection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down
2 changes: 1 addition & 1 deletion misc/cacao/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down
2 changes: 1 addition & 1 deletion misc/did-jwt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"npm-publish:latest": "npm publish --access public --tag latest",
"npm-publish:canary": "npm publish --access public --tag canary",
Expand Down
2 changes: 1 addition & 1 deletion misc/encoding/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down
2 changes: 1 addition & 1 deletion misc/environment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down
2 changes: 1 addition & 1 deletion misc/events/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down
2 changes: 1 addition & 1 deletion misc/heartbeat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down
8 changes: 4 additions & 4 deletions misc/history/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 20000 --exit -r ts-node/register ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down Expand Up @@ -40,14 +40,14 @@
"dist"
],
"devDependencies": {
"@walletconnect/core": "^2.7.3",
"@walletconnect/core": "^2.10.0",
"@walletconnect/jsonrpc-utils": "^1.0.7",
"@walletconnect/types": "^2.7.3"
"@walletconnect/types": "^2.10.0"
},
"dependencies": {
"@ethersproject/hash": "^5.7.0",
"@ethersproject/transactions": "^5.7.0",
"@walletconnect/utils": "^2.7.3",
"@walletconnect/utils": "^2.10.0",
"isomorphic-unfetch": "^3.1.0"
}
}
2 changes: 1 addition & 1 deletion misc/identity-keys/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down
2 changes: 1 addition & 1 deletion misc/keyvaluestorage/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "rm -rf ./test/dbs/* && env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"npm-publish:latest": "npm publish --access public --tag latest",
"npm-publish:canary": "npm publish --access public --tag canary",
Expand Down
2 changes: 1 addition & 1 deletion misc/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down
2 changes: 1 addition & 1 deletion misc/safe-json/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down
2 changes: 1 addition & 1 deletion misc/time/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down
60 changes: 30 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion relay/relay-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down
2 changes: 1 addition & 1 deletion relay/relay-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"build:pre": "npm run clean",
"build:types": "tsc",
"build:source": "rollup --config rollup.config.js",
"build": "npm run build:pre && npm run build:source && npm run build:types",
"build": "npm run build:source && npm run build:types",
"test": "env TS_NODE_PROJECT=\"tsconfig.cjs.json\" mocha --timeout 5000 --exit -r ts-node/register ./test/**/*.test.ts",
"lint": "eslint -c '../../.eslintrc' --fix './src/**/*.ts'",
"npm-publish:latest": "npm publish --access public --tag latest",
Expand Down

0 comments on commit ed6886c

Please sign in to comment.