Skip to content

Commit

Permalink
[FABCN-319] Update dependnency versions (#176)
Browse files Browse the repository at this point in the history
- Update grpc-js and winston to pre-lock levels
- General update of dependcies
- Note add about shirnkwrap.
- Corrected test cases

Signed-off-by: Matthew B White <whitemat@uk.ibm.com>
  • Loading branch information
mbwhite authored Jun 24, 2020
1 parent 1b78ca9 commit cc7fee7
Show file tree
Hide file tree
Showing 14 changed files with 747 additions and 628 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ They also need to have the `nodeenv` image present - this is build as part of th

* Clone the repo, and ensure you are using node v12, and have rush installed
* `rush update` is needed to ensure everything is correctly linked and updated.
* `rush edge-docker` will pull down and tag the very latest docker images for the peers, orderes etc to test against

At this point the repo is fully ready for use and running tests, etc. A full sequence of build-test that is equivalent to the CI pipeline is

Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ As an application developer, to learn about how to implement **"Smart Contracts"

For details on what Nodejs runtime and versions of Hyperledger Fabric can be used please see the [compatibility document](COMPATIBILITY.md).

## npm Shrinkwrap

In line with the advice from [npm on shrinkwrap](https://docs.npmjs.com/files/shrinkwrap.json#description) the modules published do not contain a `npm-shrinkwrap.json` file.

It is **STRONGLY** recommended therefore that after testing, and before putting your contract into production a `npm-shrinkwrap.json` file is created. When the chaincode is install it will be via a `npm install --production` command.

---

## License <a name="license"></a>
Expand Down
10 changes: 5 additions & 5 deletions apis/fabric-contract-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@
"dependencies": {
"fabric-shim-api": "2.1.5-unstable",
"class-transformer": "^0.2.2",
"fast-safe-stringify": "~2.0.7",
"fast-safe-stringify": "^2.0.7",
"get-params": "^0.1.2",
"reflect-metadata": "^0.1.12",
"winston": "3.2.1"
"reflect-metadata": "^0.1.13",
"winston": "^3.3.2"
},
"devDependencies": {
"ajv": "^6.5.5",
"ajv-cli": "^3.0.0",
"ajv": "^6.12.2",
"ajv-cli": "^3.2.1",
"chai": "^4.1.1",
"chai-as-promised": "^7.1.1",
"chai-things": "^0.2.0",
Expand Down
Loading

0 comments on commit cc7fee7

Please sign in to comment.