From 7e626433903c6e138ec6354e3e15447d7056a5f2 Mon Sep 17 00:00:00 2001 From: Berend Sliedrecht Date: Tue, 28 Jan 2025 11:50:59 +0100 Subject: [PATCH] fix: extend correct tsconfig.build.json Signed-off-by: Berend Sliedrecht --- .github/workflows/build.yml | 2 +- .gitignore | 2 ++ lerna.json | 2 +- packages/askar-nodejs/package.json | 2 +- packages/askar-nodejs/tsconfig.build.json | 2 +- packages/askar-react-native/package.json | 2 +- packages/askar-react-native/tsconfig.build.json | 2 +- packages/askar-shared/package.json | 2 +- 8 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4889a822..de5089cd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -79,7 +79,7 @@ jobs: echo ${{ inputs.release-type }} git config --global user.name "Openwallet Foundation" - if [[ $(cat lerna.json | grep version | head -1 | grep dev) ]]; then + if [[ $(cat lerna.json | grep version | head -1 | grep alpha) ]]; then pnpm release from-package --no-push --no-private --yes --no-git-tag-version --dist-tag=alpha else pnpm release from-package --no-push --no-private --yes --no-git-tag-version diff --git a/.gitignore b/.gitignore index 92af3748..1f893aa8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,8 @@ askar_tmp_db node_modules +build + packages/askar-nodejs/native packages/askar-react-native/native packages/askar-react-native/android/build diff --git a/lerna.json b/lerna.json index 1bd258c7..fb0746e7 100644 --- a/lerna.json +++ b/lerna.json @@ -1,6 +1,6 @@ { "$schema": "node_modules/lerna/schemas/lerna-schema.json", - "version": "0.3.0", + "version": "0.3.1", "npmClient": "pnpm", "command": { "version": { diff --git a/packages/askar-nodejs/package.json b/packages/askar-nodejs/package.json index 40632de0..ffcb0018 100644 --- a/packages/askar-nodejs/package.json +++ b/packages/askar-nodejs/package.json @@ -1,6 +1,6 @@ { "name": "@openwallet-foundation/askar-nodejs", - "version": "0.3.0", + "version": "0.3.1", "license": "Apache-2.0", "description": "Nodejs wrapper for Askar", "main": "build/index", diff --git a/packages/askar-nodejs/tsconfig.build.json b/packages/askar-nodejs/tsconfig.build.json index 7d3e79da..192dde91 100644 --- a/packages/askar-nodejs/tsconfig.build.json +++ b/packages/askar-nodejs/tsconfig.build.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../../tsconfig.build.json", "compilerOptions": { "outDir": "./build", "types": ["node"] diff --git a/packages/askar-react-native/package.json b/packages/askar-react-native/package.json index d1b1831a..852890dc 100644 --- a/packages/askar-react-native/package.json +++ b/packages/askar-react-native/package.json @@ -1,6 +1,6 @@ { "name": "@openwallet-foundation/askar-react-native", - "version": "0.3.0", + "version": "0.3.1", "license": "Apache-2.0", "description": "React Native wrapper for Askar", "main": "build/index", diff --git a/packages/askar-react-native/tsconfig.build.json b/packages/askar-react-native/tsconfig.build.json index 4e0aeef8..dac0ab51 100644 --- a/packages/askar-react-native/tsconfig.build.json +++ b/packages/askar-react-native/tsconfig.build.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.json", + "extends": "../../tsconfig.build.json", "compilerOptions": { "outDir": "./build", "skipLibCheck": true, diff --git a/packages/askar-shared/package.json b/packages/askar-shared/package.json index 6f382024..850c82ec 100644 --- a/packages/askar-shared/package.json +++ b/packages/askar-shared/package.json @@ -1,6 +1,6 @@ { "name": "@openwallet-foundation/askar-shared", - "version": "0.3.0", + "version": "0.3.1", "license": "Apache-2.0", "description": "Shared library for using Askar with NodeJS and React Native", "main": "build/index",