diff --git a/package.json b/package.json index 16cde413..03363453 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,10 @@ "description": "Common modules for testing wallets", "private": true, "workspaces": [ - "packages/*", + "packages/extensions", + "packages/nodes", + "packages/wallets", + "packages/widgets", "wallets-testing/" ], "sideEffects": false, @@ -12,7 +15,7 @@ "build": "tsc --build", "test": "playwright test", "lint": "eslint --ext ts .", - "publish": "release-it --ci -VV", + "publish": "npm run release --workspaces && release-it", "publish:dry": "release-it --ci --dry-run" }, "devDependencies": { diff --git a/packages/extensions/package.json b/packages/extensions/package.json index 02f08c12..af86a098 100644 --- a/packages/extensions/package.json +++ b/packages/extensions/package.json @@ -4,6 +4,7 @@ "main": "dist/src/index.js", "types": "dist/src/index.d.ts", "license": "MIT", + "homepage": "https://github.com/lidofinance/wallets-testing-modules", "repository": { "type": "git", @@ -14,6 +15,9 @@ "url": "https://github.com/lidofinance/wallets-testing-modules/issues" }, "sideEffects": false, + "scripts": { + "release": "release-it" + }, "keywords": [ "lido", "lidofinance" @@ -39,5 +43,8 @@ "@nestjs/core": "^8.2.5", "@nestjs/testing": "^8.2.5", "@types/unzipper": "^0.10.5" + }, + "release-it": { + "git": false } } diff --git a/packages/nodes/package.json b/packages/nodes/package.json index 72e3e950..b51ccf5e 100644 --- a/packages/nodes/package.json +++ b/packages/nodes/package.json @@ -14,6 +14,9 @@ "url": "https://github.com/lidofinance/wallets-testing-modules/issues" }, "sideEffects": false, + "scripts": { + "release": "release-it" + }, "keywords": [ "lido", "lidofinance" @@ -39,5 +42,8 @@ "@nestjs/common": "^8.2.5", "@nestjs/core": "^8.2.5", "@nestjs/testing": "^8.2.5" + }, + "release-it": { + "git": false } } diff --git a/packages/wallets/package.json b/packages/wallets/package.json index 970ff8e7..bcda3f70 100644 --- a/packages/wallets/package.json +++ b/packages/wallets/package.json @@ -14,6 +14,9 @@ "url": "https://github.com/lidofinance/wallets-testing-modules/issues" }, "sideEffects": false, + "scripts": { + "release": "release-it" + }, "keywords": [ "lido", "lidofinance" @@ -31,5 +34,8 @@ "playwright": "^1.29.1", "reflect-metadata": "^0.1.13", "rxjs": "^7.5.6" + }, + "release-it": { + "git": false } } diff --git a/packages/widgets/package.json b/packages/widgets/package.json index 31665d65..0fd6c744 100644 --- a/packages/widgets/package.json +++ b/packages/widgets/package.json @@ -14,6 +14,9 @@ "url": "https://github.com/lidofinance/wallets-testing-modules/issues" }, "sideEffects": false, + "scripts": { + "release": "release-it" + }, "keywords": [ "lido", "lidofinance" @@ -39,5 +42,8 @@ "@nestjs/common": "^8.2.5", "@nestjs/core": "^8.2.5", "@nestjs/testing": "^8.2.5" + }, + "release-it": { + "git": false } }