Skip to content

Commit 9e745b3

Browse files
authored
Merge pull request #2565 from pyth-network/cprussin/fix-publish-config
fix: use pnpm to publish instead of lerna
2 parents da6c118 + 67e1021 commit 9e745b3

File tree

7 files changed

+407
-2139
lines changed

7 files changed

+407
-2139
lines changed

.github/CODEOWNERS

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ packages/fonts @pyth-network/web-team
88
packages/known-publishers @pyth-network/web-team
99
packages/next-root @pyth-network/web-team
1010
Dockerfile.node @pyth-network/web-team
11-
lerna.json @pyth-network/web-team
1211
package.json @pyth-network/web-team
1312
pnpm-workspace.yaml @pyth-network/web-team
1413
turbo.json @pyth-network/web-team

.github/workflows/publish-js.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ jobs:
2727
env:
2828
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2929
- run: pnpm run turbo build
30-
- run: pnpm run publish
30+
- run: pnpm publish -r

governance/pyth_staking_sdk/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@pythnetwork/staking-sdk",
3-
"version": "0.1.0",
3+
"version": "0.1.1",
44
"description": "Pyth staking SDK",
55
"main": "src/index.ts",
66
"types": "src/index.d.ts",

lerna.json

-5
This file was deleted.

package.json

-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,11 @@
99
"scripts": {
1010
"fix:format": "prettier --write .",
1111
"install:modules": "[ $CI ] && true || pnpm install",
12-
"publish": "lerna publish from-package --no-private --no-git-tag-version --yes",
1312
"test:format": "prettier --check .",
1413
"turbo": "[ ! -d node_modules ] && pnpm install; turbo"
1514
},
1615
"devDependencies": {
1716
"@cprussin/prettier-config": "catalog:",
18-
"lerna": "catalog:",
1917
"prettier": "catalog:",
2018
"prettier-plugin-solidity": "catalog:",
2119
"turbo": "^2.4.4"

pnpm-lock.yaml

+405-2,128
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ catalog:
9999
highlight.js: ^11.11.1
100100
ip-range-check: ^0.2.0
101101
jest: ^29.7.0
102-
lerna: ^8.2.1
103102
lightweight-charts: ^5.0.5
104103
lucide-react: ^0.487.0
105104
modern-normalize: ^3.0.1

0 commit comments

Comments
 (0)