Skip to content

Commit

Permalink
chore: release 0.6.25-beta.0 (dfinity#242)
Browse files Browse the repository at this point in the history
Also making apps private so they dont get published by lerna.
  • Loading branch information
hansl authored Feb 25, 2021
1 parent 91e9993 commit ab61deb
Show file tree
Hide file tree
Showing 15 changed files with 45 additions and 234 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,19 @@ commands to keep in mind;
You can also install lerna globally and not use `npx` if you wish; run `npm install -g lerna` then
skip the `npx` part of the example commands.

### Publishing

To publish to NPM, create a branch and run the following commands;

* `lerna bootstrap`. Makes sure everything is installed and up to date locally;
* `lerna run build`. Builds all the applications and packages.
* `lerna run test`. Just in case.
* `lerna publish VERSION_NUMBER --dist-tag DIST_TAG`. The `VERSION_NUMBER` should be set to
the version to be published (e.g. `0.6.30`). The `DIST_TAG` argument can be ignored

This will change your code locally, so create a `chore: release VERSION_NUMBER` commit and
push. Once the PR is created get someone to review it.

### GitHub Actions

GitHub Actions for this repo are configured in [./.github/workflows](./.github/workflows).
Expand Down
206 changes: 1 addition & 205 deletions apps/bootstrap/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions apps/bootstrap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@dfinity/bootstrap",
"version": "0.0.0",
"version": "0.6.25-beta.0",
"private": true,
"main": "ts-out/packages/bootstrap/src",
"scripts": {
"build": "npm run webpack",
Expand Down Expand Up @@ -51,8 +52,8 @@
"worker-plugin": "^4.0.3"
},
"dependencies": {
"@dfinity/agent": "*",
"@dfinity/authentication": "*",
"@dfinity/agent": "^0.6.25-beta.0",
"@dfinity/authentication": "^0.6.25-beta.0",
"bignumber.js": "^9.0.0",
"buffer": "5.6.0",
"css-loader": "^3.4.2",
Expand Down
4 changes: 2 additions & 2 deletions apps/bootstrap/src/actors/identity/BootstrapIdentities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ export function ChangeCommandIdentity(command: BootstrapChangeIdentityCommand):
// syntax of only parsing the URL hash fragment for AuthenticationResponse.
// After that, it should also be safe to remove all of the `allowSearch: true` functionality.
// https://github.com/dfinity/agent-js/issues/125
allowSearch: true
}
allowSearch: true,
},
);
const responseIdentity = (() => {
const chain = DelegationChain.fromJSON(
Expand Down
2 changes: 1 addition & 1 deletion apps/identity-provider/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 11 additions & 10 deletions apps/identity-provider/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@dfinity/identity-provider",
"version": "0.6.8",
"version": "0.6.25-beta.0",
"private": true,
"main": "src/index.js",
"scripts": {
"build": "npm run tsc && npm run webpack",
Expand All @@ -17,8 +18,8 @@
"webpack": "webpack --env production"
},
"dependencies": {
"@dfinity/agent": "*",
"@dfinity/authentication": "*",
"@dfinity/agent": "^0.6.25-beta.0",
"@dfinity/authentication": "^0.6.25-beta.0",
"@jest/globals": "^26.6.2",
"@material-ui/core": "4.11.0",
"@material-ui/icons": "4.9.1",
Expand All @@ -29,38 +30,38 @@
"@types/history": "4.7.8",
"@types/jest": "^24.0.18",
"@types/node": "^13.7.7",
"@types/react": "16.9.56",
"@types/react-dom": "16.9.9",
"@types/react-router-dom": "5.1.6",
"@types/react": "16.9.56",
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/parser": "^4.14.2",
"assert": "^2.0.0",
"bignumber.js": "^9.0.0",
"buffer": "^5.4.3",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.1.1",
"enzyme-adapter-react-16": "^1.15.5",
"enzyme": "^3.11.0",
"eslint-plugin-jsdoc": "^31.6.0",
"enzyme-adapter-react-16": "^1.15.5",
"eslint": "^7.19.0",
"eslint-plugin-jsdoc": "^31.6.0",
"events": "^3.2.0",
"file-loader": "6.2.0",
"fp-ts": "^2.9.1",
"html-webpack-plugin": "^5.1.0",
"immer": "^8.0.0",
"io-ts": "^2.2.13",
"jest": "^24.9.0",
"jest-environment-enzyme": "^7.1.2",
"jest-enzyme": "^7.1.2",
"jest-expect-message": "^1.0.2",
"jest": "^24.9.0",
"localforage": "1.9.0",
"node-fetch": "2.6.0",
"prettier": "^2.0.5",
"process": "^0.11.10",
"react": "16.14.0",
"react-dom": "16.14.0",
"react-router-dom": "5.2.0",
"react-test-renderer": "16.14.0",
"react": "16.14.0",
"redux": "^4.0.5",
"stream-browserify": "^3.0.0",
"style-loader": "^1.1.3",
Expand All @@ -70,14 +71,14 @@
"ts-loader": "7.0.5",
"tsconfig-paths-webpack-plugin": "^3.3.0",
"tslint": "^5.20.0",
"typescript": "^3.6.3",
"tweetnacl": "1.0.3",
"typescript": "^3.6.3",
"util": "^0.12.3",
"webpack": "^5.22.0",
"webpack-bundle-analyzer": "^4.4.0",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "3.11.2",
"webpack-merge": "^5.7.3",
"webpack": "^5.22.0",
"whatwg-fetch": "^3.0.0"
}
}
Loading

0 comments on commit ab61deb

Please sign in to comment.