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

Commit

Permalink
fix: restore lerna for preleases (#4281)
Browse files Browse the repository at this point in the history
Lerna is required for monorepo prereleases
  • Loading branch information
achingbrain authored Jan 9, 2023
1 parent 521c84a commit 563806f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useWorkspaces": true,
"version": "0.0.1-87d6a2c5d.0"
}
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@
"docker:release:push-latest": "docker push ipfs/js-ipfs:latest",
"docker:release:push-version": "docker push ipfs/js-ipfs:v`npm show ipfs@latest version -q`",
"release:rc": "run-s npm:rc:* docker:rc",
"npm:rc:version": "aegir version prerelease --preid `git rev-parse --short HEAD` --force-publish --no-push --yes",
"npm:rc:version": "lerna version prerelease --preid `git rev-parse --short HEAD` --force-publish --no-push --yes",
"npm:rc:build": "npm run build",
"npm:rc:publish": "aegir publish from-package --no-push --no-private --dist-tag next --yes",
"npm:rc:publish": "lerna publish from-package --no-push --no-private --dist-tag next --yes",
"docker:rc": "run-s docker:rc:*",
"docker:rc:build": "docker build . --no-cache --tag js-ipfs:next --file ./Dockerfile.next",
"docker:rc:tag-next": "docker tag js-ipfs:next docker.io/ipfs/js-ipfs:next",
Expand All @@ -59,6 +59,7 @@
},
"devDependencies": {
"aegir": "^37.9.0",
"lerna": "^6.4.0",
"node-fetch": "npm:@achingbrain/node-fetch@^2.6.4",
"npm-run-all": "^4.1.5"
},
Expand Down

0 comments on commit 563806f

Please sign in to comment.