Skip to content

Commit

Permalink
Clean up based on PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
soerenbf committed Oct 4, 2023
1 parent 57017ce commit 23840a1
Show file tree
Hide file tree
Showing 10 changed files with 242 additions and 1,677 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ jobs:
uses: ./.github/actions/upload-artifact
with:
name: build-debug
# sdk/src is needed here because of sdk/src/grpc-api
path: |
./packages/rust-bindings/lib
./packages/sdk/lib
Expand Down
1 change: 1 addition & 0 deletions examples/cis2/tokenMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { CIS2Contract, ContractAddress } from '@concordium/web-sdk';
import { ConcordiumGRPCNodeClient } from '@concordium/web-sdk/nodejs';
import { credentials } from '@grpc/grpc-js';
import meow from 'meow';
import fetch from 'node-fetch';

const cli = meow(
`
Expand Down
11 changes: 3 additions & 8 deletions examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,11 @@
"@concordium/web-sdk": "workspace:^",
"@grpc/grpc-js": "^1.3.4",
"@noble/ed25519": "^1.7.1",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"buffer": "^6.0.3",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^3.4.0",
"lint-staged": "^12.0.2",
"meow": "11.0",
"prettier": "^2.3.2",
"node-fetch": "^3.3.2"
},
"devDependencies": {
"ts-node": "10.9",
"typescript": "^5.2.2"
},
Expand Down
19 changes: 1 addition & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,36 +31,19 @@
},
"type": "module",
"devDependencies": {
"@babel/core": "^7.17.10",
"@babel/plugin-transform-modules-commonjs": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"babel-jest": "^27.0.6",
"babel-loader": "^8.1.0",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-import-resolver-exports": "^1.0.0-beta.5",
"eslint-import-resolver-typescript": "^2.7.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^3.4.0",
"glob": "^10.3.4",
"husky": "^4.2.5",
"jest": "^29.6.2",
"lint-staged": "^12.0.2",
"markdown-link-check": "^3.1.4",
"markdownlint-cli": "^0.34.0",
"prettier": "^2.3.2",
"stream-browserify": "^3.0.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typedoc": "^0.23",
"typedoc-plugin-merge-modules": "^4.0.1",
"typedoc-plugin-missing-exports": "^0.23",
"typescript": "^5.2.2",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
"prettier": "^2.3.2"
},
"scripts": {
"test": "FORCE_COLOR=true yarn workspaces foreach --no-private run test --passWithNoTests",
Expand Down
7 changes: 0 additions & 7 deletions packages/ccd-js-gen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,6 @@
},
"devDependencies": {
"@types/node": "^20.5.0",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-prettier": "^3.4.0",
"prettier": "^2.3.2",
"typescript": "^5.2.2"
},
"prettier": {
Expand Down
3 changes: 2 additions & 1 deletion packages/rust-bindings/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@
"ts-loader": "^9.4.4",
"typescript": "^5.2.2",
"wasm-pack": "^0.12.1",
"webpack": "^5.88.2"
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"buffer": "^6.0.3"
Expand Down
11 changes: 1 addition & 10 deletions packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,10 @@
"@types/jest": "^26.0.23",
"@types/json-bigint": "^1.0.1",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"babel-jest": "^27.0.6",
"eslint": "^7.29.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"glob": "^10.3.10",
"grpc-tools": "^1.11.2",
"grpc_tools_node_protoc_ts": "5.3.0",
"husky": "^4.2.5",
"jest": "^29.6.2",
"lint-staged": "^12.0.2",
"prettier": "^2.3.2",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2",
Expand Down Expand Up @@ -86,7 +78,6 @@
"big.js": "^6.2.0",
"bs58check": "^3.0.1",
"buffer": "^6.0.3",
"cross-fetch": "3.1.5",
"hash.js": "^1.1.7",
"iso-3166-1": "^2.1.1",
"json-bigint": "^1.0.0",
Expand Down
67 changes: 0 additions & 67 deletions packages/sdk/test/ci/testHelpers.ts

This file was deleted.

2 changes: 0 additions & 2 deletions packages/sdk/test/client/testHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import {
MobileWalletExport,
} from '../../src/nodejs/index.js';

// This makes sure the necessary types are added to `globalThis`
// import 'isomorphic-fetch';
import { ConcordiumGRPCNodeClient } from '../../src/nodejs/grpc.js';

const TESTNET_NODE = 'node.testnet.concordium.com';
Expand Down
Loading

0 comments on commit 23840a1

Please sign in to comment.