From c2a00e67d0b82ed48cf14f5508f9264e4c52fa56 Mon Sep 17 00:00:00 2001 From: fewensa Date: Wed, 17 Jul 2024 08:00:20 +0000 Subject: [PATCH] Clean lerna --- .github/workflows/publish.yml | 2 +- template/ts/files/lerna.json | 4 ---- template/ts/files/package.json | 11 +++-------- 3 files changed, 4 insertions(+), 13 deletions(-) delete mode 100644 template/ts/files/lerna.json diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d003af9..c0d3814 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -31,5 +31,5 @@ jobs: - name: Publish ts run: | cd generated/typescript - npm run release + npm publish --access=public diff --git a/template/ts/files/lerna.json b/template/ts/files/lerna.json deleted file mode 100644 index c0877b4..0000000 --- a/template/ts/files/lerna.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "version": "0.0.1", - "npmClient": "yarn" -} diff --git a/template/ts/files/package.json b/template/ts/files/package.json index ef3d438..44a5413 100644 --- a/template/ts/files/package.json +++ b/template/ts/files/package.json @@ -1,11 +1,8 @@ { "name": "@helixbridge/helixconf", - "version": "0.0.4", + "version": "0.0.7", "description": "Helix conf", "main": "dist/src/index.js", - "workspaces": [ - "." - ], "publishConfig": { "access": "public" }, @@ -19,8 +16,7 @@ "homepage": "https://github.com/helix-bridge/helixconf", "scripts": { "build": "rm -rf dist && tsc", - "test": "jest", - "release": "lerna publish from-package --yes --no-private --no-verify-access" + "test": "jest" }, "author": "HelixBridge", "license": "MIT", @@ -29,7 +25,6 @@ "jest": "^29.7.0", "ts-jest": "^29.1.5", "ts-node": "^10.9.2", - "typescript": "^5.5.3", - "lerna": "^8.1.6" + "typescript": "^5.5.3" } }