-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove old deploy command * fix lock wallet packages
- Loading branch information
Showing
30 changed files
with
756 additions
and
459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changesets | ||
|
||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works | ||
with multi-package repos, or single-package repos to help you version and publish your code. You can | ||
find the full documentation for it [in our repository](https://github.com/changesets/changesets) | ||
|
||
We have a quick list of common questions to get you started engaging with this project in | ||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": "@changesets/cli/changelog", | ||
"commit": false, | ||
"fixed": [ | ||
[ | ||
"@celo/wallet-*" | ||
] | ||
], | ||
"linked": [], | ||
"access": "public", | ||
"baseBranch": "master", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
'@celo/wallet-hsm-azure': patch | ||
'@celo/wallet-hsm-aws': patch | ||
'@celo/wallet-hsm-gcp': patch | ||
'@celo/wallet-ledger': patch | ||
'@celo/wallet-remote': patch | ||
'@celo/wallet-local': patch | ||
'@celo/cryptographic-utils': patch | ||
'@celo/wallet-base': patch | ||
'@celo/wallet-hsm': patch | ||
'@celo/wallet-rpc': patch | ||
'@celo/transactions-uri': patch | ||
'@celo/contractkit': patch | ||
'@celo/phone-utils': patch | ||
'@celo/governance': patch | ||
'@celo/keystores': patch | ||
'@celo/explorer': patch | ||
'@celo/connect': patch | ||
'@celo/utils': patch | ||
'@celo/base': patch | ||
'@celo/network-utils': patch | ||
--- | ||
|
||
Note celo sdk packages will no longer be fix bumped (ie will not share the same version always) and will now use ^range when depending on each other |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@celo/contractkit': minor | ||
'@celo/connect': minor | ||
'@celo/wallet-base': minor | ||
'@celo/wallet-local': minor | ||
--- | ||
|
||
Add cip64 support for feeCurrency Transactions. Note this is the replacement for the deprecated cip42 and legacy tx types https://github.com/celo-org/celo-proposals/blob/master/CIPs/cip/0064.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Release Process | ||
|
||
This repo uses changesets to determine what packages need a version bump. | ||
|
||
Each PR MUST be accompanied by a changeset unless it has zero affect on package consumers (ie changing github action workflows). | ||
|
||
To create a changeset run `changeset add` (or `yarn cs`) | ||
|
||
This will bring up an interactive console which asks which packages are affect and if they require minor or major update. | ||
|
||
## Auto Releasing | ||
|
||
(coming soon) | ||
|
||
## Manual Releasing | ||
|
||
when time to release new versions of npm package run `changeset version` this will look thru the changeset files that have been generated since last release to bump the versions for package automatically to major if any changesets specify major change minor if only minor and patch if a the package had no changesets of its own but depends on one which will be updated. | ||
|
||
finally `changeset publish` will go thru and publish to npm the packages that need publishing. | ||
|
||
after go ahead and run `git push --follow-tags` to push git tags up to github. | ||
|
||
### For Pre Releasing | ||
|
||
changesets has 2 strategies for pre release versions. | ||
|
||
The first is to enter `pre` mode on changesets. [docs here](https://github.com/changesets/changesets/blob/main/docs/prereleases.md) | ||
|
||
``` | ||
yarn changeset pre enter beta | ||
yarn changeset version | ||
git add . | ||
git commit -m "Enter prerelease mode and version packages" | ||
yarn changeset publish | ||
git push --follow-tags | ||
``` | ||
|
||
The other is to append --snapshot. which is great for daily releases. | ||
|
||
``` | ||
yarn changeset version --snapshot canary | ||
yarn changeset publish --no-git-tag --snapshot | ||
``` | ||
|
||
<https://github.com/changesets/changesets/blob/main/docs/snapshot-releases.md> | ||
|
||
## Package Versioning | ||
|
||
Based on semantic versioning best practices [semver.org](semver.org) | ||
|
||
Given a version number MAJOR.MINOR.PATCH, increment the: | ||
|
||
- MAJOR version when you make incompatible API changes | ||
- MINOR version when you add functionality in a backward compatible manner | ||
- PATCH version when you make backward compatible bug fixes | ||
|
||
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ | |
"build": "yarn run lerna run build", | ||
"clean": "yarn run lerna run clean", | ||
"docs": "yarn run lerna run docs", | ||
"cs" : "yarn changeset", | ||
"check-licenses": "yarn licenses list --prod | grep '\\(─ GPL\\|─ (GPL-[1-9]\\.[0-9]\\+ OR GPL-[1-9]\\.[0-9]\\+)\\)' && echo 'Found GPL license(s). Use 'yarn licenses list --prod' to look up the offending package' || echo 'No GPL licenses found'", | ||
"report-coverage": "yarn run lerna run test-coverage", | ||
"test:watch": "node node_modules/jest/bin/jest.js --watch", | ||
|
@@ -30,7 +31,6 @@ | |
"celotool": "yarn --cwd packages/celotool run --silent cli", | ||
"celocli": "yarn --cwd packages/cli run --silent celocli", | ||
"update-dependency-graph": "ts-node ./scripts/update_dependency_graph.ts", | ||
"deploy-sdks": "ts-node ./scripts/deploy-sdks.ts", | ||
"deprecate-sdks": "ts-node ./scripts/unpublish-sdks.ts" | ||
}, | ||
"husky": { | ||
|
@@ -42,14 +42,12 @@ | |
"workspaces": { | ||
"packages": [ | ||
"packages/*", | ||
"packages/phone-number-privacy/*", | ||
"packages/sdk/*", | ||
"packages/sdk/wallets/*" | ||
], | ||
"nohoist": [ | ||
"**/openzeppelin-solidity", | ||
"**/solidity-bytes-utils", | ||
"**/@apollo/react-testing" | ||
"**/solidity-bytes-utils" | ||
] | ||
}, | ||
"devDependencies": { | ||
|
@@ -89,5 +87,8 @@ | |
"ganache": "npm:@celo/[email protected]", | ||
"@types/bn.js": "4.11.6", | ||
"bignumber.js": "9.0.0" | ||
}, | ||
"dependencies": { | ||
"@changesets/cli": "^2.26.2" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,12 +49,12 @@ | |
"@0x/sol-profiler": "^4.1.37", | ||
"@0x/sol-trace": "^3.0.47", | ||
"@0x/subproviders": "^7.0.1", | ||
"@celo/base": "5.0.4", | ||
"@celo/base": "^5.0.4", | ||
"@celo/bls12377js": "0.1.1", | ||
"@celo/connect": "5.0.4", | ||
"@celo/cryptographic-utils": "5.0.4", | ||
"@celo/utils": "5.0.4", | ||
"@celo/wallet-local": "5.0.4", | ||
"@celo/connect": "^5.0.4", | ||
"@celo/cryptographic-utils": "^5.0.4", | ||
"@celo/utils": "^5.0.4", | ||
"@celo/wallet-local": "^5.0.4", | ||
"@ethereumjs/util": "8.0.5", | ||
"@ethereumjs/vm": "npm:@celo/[email protected]", | ||
"@ganache/console.log": "0.3.0", | ||
|
@@ -99,7 +99,7 @@ | |
"web3-utils": "1.10.0" | ||
}, | ||
"devDependencies": { | ||
"@celo/phone-utils": "5.0.4", | ||
"@celo/phone-utils": "^5.0.4", | ||
"@celo/typechain-target-web3-v1-celo": "0.2.0", | ||
"@celo/typescript": "0.0.1", | ||
"@types/bn.js": "^5.1.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.