From d2887eeb37873c7aba0da5eb70bdc79420ec2c77 Mon Sep 17 00:00:00 2001 From: Timo Glastra Date: Sat, 8 Jun 2024 11:50:31 +0200 Subject: [PATCH] formatting and ci Signed-off-by: Timo Glastra --- .github/workflows/build.yml | 7 ++----- .../javascript/indy-vdr-nodejs/package.json | 5 +---- .../javascript/indy-vdr-shared/package.json | 4 +--- wrappers/javascript/lerna.json | 2 +- wrappers/javascript/tsconfig.json | 19 ++++--------------- 5 files changed, 9 insertions(+), 28 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c5f83b3..f5769e4b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -263,13 +263,10 @@ jobs: run: pnpm build - name: Lint - run: pnpm lint - - - name: Check format - run: pnpm check-format + run: pnpm style:check - name: Check types - run: pnpm check-types + run: pnpm types:check - name: Run local node pool run: | diff --git a/wrappers/javascript/indy-vdr-nodejs/package.json b/wrappers/javascript/indy-vdr-nodejs/package.json index 771f3190..6c5df458 100644 --- a/wrappers/javascript/indy-vdr-nodejs/package.json +++ b/wrappers/javascript/indy-vdr-nodejs/package.json @@ -15,10 +15,7 @@ "publishConfig": { "access": "public" }, - "files": [ - "build", - "scripts" - ], + "files": ["build", "scripts"], "scripts": { "build": "pnpm clean && pnpm compile", "clean": "rimraf -rf ./build", diff --git a/wrappers/javascript/indy-vdr-shared/package.json b/wrappers/javascript/indy-vdr-shared/package.json index 0d423229..b5330b06 100644 --- a/wrappers/javascript/indy-vdr-shared/package.json +++ b/wrappers/javascript/indy-vdr-shared/package.json @@ -14,9 +14,7 @@ "publishConfig": { "access": "public" }, - "files": [ - "build" - ], + "files": ["build"], "scripts": { "build": "pnpm run clean && pnpm run compile", "clean": "rimraf -rf ./build", diff --git a/wrappers/javascript/lerna.json b/wrappers/javascript/lerna.json index 68dbf299..6ddf01dc 100644 --- a/wrappers/javascript/lerna.json +++ b/wrappers/javascript/lerna.json @@ -7,4 +7,4 @@ "allowBranch": "main" } } -} \ No newline at end of file +} diff --git a/wrappers/javascript/tsconfig.json b/wrappers/javascript/tsconfig.json index ffd32771..93f00757 100644 --- a/wrappers/javascript/tsconfig.json +++ b/wrappers/javascript/tsconfig.json @@ -3,21 +3,10 @@ "compilerOptions": { "baseUrl": ".", "paths": { - "@hyperledger/indy-vdr-nodejs": [ - "indy-vdr-nodejs/src" - ], - "@hyperledger/indy-vdr-react-native": [ - "indy-vdr-react-native/src" - ], - "@hyperledger/indy-vdr-shared": [ - "indy-vdr-shared/src" - ] + "@hyperledger/indy-vdr-nodejs": ["indy-vdr-nodejs/src"], + "@hyperledger/indy-vdr-react-native": ["indy-vdr-react-native/src"], + "@hyperledger/indy-vdr-shared": ["indy-vdr-shared/src"] } }, - "exclude": [ - "node_modules", - "**/build/**", - "build", - "vite.config.mts" - ] + "exclude": ["node_modules", "**/build/**", "build", "vite.config.mts"] }