Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use workspace version #307

Merged
merged 2 commits into from
Apr 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 1 addition & 27 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,30 +67,4 @@ jobs:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: simpleserialize
directory: ./packages/simpleserialize.com/dist
gitHubToken: ${{ secrets.GITHUB_TOKEN }}

update-pull-request:
name: Update pull request
runs-on: ubuntu-latest
needs: maybe-release
if: ${{ !needs.maybe-release.outputs.releases_created }}
steps:
- name: Fetching the repository
uses: actions/checkout@v3
with:
token: ${{ secrets.GH_TOKEN }}
ref: release-please--branches--master
fetch-depth: 2

- uses: actions/setup-node@v3
with:
cache: 'yarn'
node-version: 16
registry-url: 'https://registry.npmjs.org'
- run: corepack enable
- name: Updating yarn.lock file
run: yarn install --mode=update-lockfile
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: update lockfile post release-please
file_pattern: 'yarn.lock'
gitHubToken: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion packages/persistent-merkle-tree/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
},
"homepage": "https://github.com/ChainSafe/persistent-merkle-tree#readme",
"dependencies": {
"@chainsafe/as-sha256": "^0.3.1",
"@chainsafe/as-sha256": "workspace:^",
"@noble/hashes": "^1.3.0"
}
}
2 changes: 1 addition & 1 deletion packages/simpleserialize.com/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@babel/runtime": "^7.14.6",
"@babel/types": "^7.14.5",
"@chainsafe/lodestar-types": "^0.37.0-dev.267dce705c",
"@chainsafe/ssz": "^0.10.0",
"@chainsafe/ssz": "workspace:^",
"bn.js": "^5.2.0",
"bulma": "^0.9.3",
"core-js": "^3.15.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/ssz/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
},
"types": "lib/index.d.ts",
"dependencies": {
"@chainsafe/as-sha256": "^0.3.1",
"@chainsafe/persistent-merkle-tree": "^0.5.0"
"@chainsafe/as-sha256": "workspace:^",
"@chainsafe/persistent-merkle-tree": "workspace:^"
},
"devDependencies": {
"@types/js-yaml": "^4.0.5",
Expand Down
42 changes: 21 additions & 21 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1624,7 +1624,7 @@ __metadata:
languageName: node
linkType: hard

"@chainsafe/as-sha256@^0.3.1, @chainsafe/as-sha256@workspace:packages/as-sha256":
"@chainsafe/as-sha256@^0.3.1, @chainsafe/as-sha256@workspace:^, @chainsafe/as-sha256@workspace:packages/as-sha256":
version: 0.0.0-use.local
resolution: "@chainsafe/as-sha256@workspace:packages/as-sha256"
dependencies:
Expand Down Expand Up @@ -1664,15 +1664,6 @@ __metadata:
languageName: node
linkType: hard

"@chainsafe/persistent-merkle-tree@^0.5.0, @chainsafe/persistent-merkle-tree@workspace:packages/persistent-merkle-tree":
version: 0.0.0-use.local
resolution: "@chainsafe/persistent-merkle-tree@workspace:packages/persistent-merkle-tree"
dependencies:
"@chainsafe/as-sha256": ^0.3.1
"@noble/hashes": ^1.3.0
languageName: unknown
linkType: soft

"@chainsafe/persistent-merkle-tree@npm:^0.4.2":
version: 0.4.2
resolution: "@chainsafe/persistent-merkle-tree@npm:0.4.2"
Expand All @@ -1682,23 +1673,20 @@ __metadata:
languageName: node
linkType: hard

"@chainsafe/persistent-ts@workspace:packages/persistent-ts":
"@chainsafe/persistent-merkle-tree@workspace:^, @chainsafe/persistent-merkle-tree@workspace:packages/persistent-merkle-tree":
version: 0.0.0-use.local
resolution: "@chainsafe/persistent-ts@workspace:packages/persistent-ts"
resolution: "@chainsafe/persistent-merkle-tree@workspace:packages/persistent-merkle-tree"
dependencies:
fast-check: ^1.15.1
"@chainsafe/as-sha256": "workspace:^"
"@noble/hashes": ^1.3.0
languageName: unknown
linkType: soft

"@chainsafe/ssz@^0.10.0, @chainsafe/ssz@workspace:packages/ssz":
"@chainsafe/persistent-ts@workspace:packages/persistent-ts":
version: 0.0.0-use.local
resolution: "@chainsafe/ssz@workspace:packages/ssz"
resolution: "@chainsafe/persistent-ts@workspace:packages/persistent-ts"
dependencies:
"@chainsafe/as-sha256": ^0.3.1
"@chainsafe/persistent-merkle-tree": ^0.5.0
"@types/js-yaml": ^4.0.5
js-yaml: ^3.13.1
snappyjs: ^0.6.1
fast-check: ^1.15.1
languageName: unknown
linkType: soft

Expand All @@ -1713,6 +1701,18 @@ __metadata:
languageName: node
linkType: hard

"@chainsafe/ssz@workspace:^, @chainsafe/ssz@workspace:packages/ssz":
version: 0.0.0-use.local
resolution: "@chainsafe/ssz@workspace:packages/ssz"
dependencies:
"@chainsafe/as-sha256": "workspace:^"
"@chainsafe/persistent-merkle-tree": "workspace:^"
"@types/js-yaml": ^4.0.5
js-yaml: ^3.13.1
snappyjs: ^0.6.1
languageName: unknown
linkType: soft

"@dapplion/benchmark@npm:^0.2.2":
version: 0.2.2
resolution: "@dapplion/benchmark@npm:0.2.2"
Expand Down Expand Up @@ -11814,7 +11814,7 @@ __metadata:
"@babel/runtime": ^7.14.6
"@babel/types": ^7.14.5
"@chainsafe/lodestar-types": ^0.37.0-dev.267dce705c
"@chainsafe/ssz": ^0.10.0
"@chainsafe/ssz": "workspace:^"
"@types/bn.js": ^5.1.0
"@types/deep-equal": ^1.0.1
"@types/file-saver": ^2.0.2
Expand Down