Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 563806f

Browse files
authored
fix: restore lerna for preleases (#4281)
Lerna is required for monorepo prereleases
1 parent 521c84a commit 563806f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

lerna.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3+
"useWorkspaces": true,
4+
"version": "0.0.1-87d6a2c5d.0"
5+
}

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@
4747
"docker:release:push-latest": "docker push ipfs/js-ipfs:latest",
4848
"docker:release:push-version": "docker push ipfs/js-ipfs:v`npm show ipfs@latest version -q`",
4949
"release:rc": "run-s npm:rc:* docker:rc",
50-
"npm:rc:version": "aegir version prerelease --preid `git rev-parse --short HEAD` --force-publish --no-push --yes",
50+
"npm:rc:version": "lerna version prerelease --preid `git rev-parse --short HEAD` --force-publish --no-push --yes",
5151
"npm:rc:build": "npm run build",
52-
"npm:rc:publish": "aegir publish from-package --no-push --no-private --dist-tag next --yes",
52+
"npm:rc:publish": "lerna publish from-package --no-push --no-private --dist-tag next --yes",
5353
"docker:rc": "run-s docker:rc:*",
5454
"docker:rc:build": "docker build . --no-cache --tag js-ipfs:next --file ./Dockerfile.next",
5555
"docker:rc:tag-next": "docker tag js-ipfs:next docker.io/ipfs/js-ipfs:next",
@@ -59,6 +59,7 @@
5959
},
6060
"devDependencies": {
6161
"aegir": "^37.9.0",
62+
"lerna": "^6.4.0",
6263
"node-fetch": "npm:@achingbrain/node-fetch@^2.6.4",
6364
"npm-run-all": "^4.1.5"
6465
},

0 commit comments

Comments
 (0)