Skip to content

Commit 5ac8973

Browse files
authored
docs: update readme for lockfile (#1220)
1 parent 658c2fd commit 5ac8973

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ The new AWS SDK for JavaScript will also be able to run alongside the version 2.
2020
Let’s walk through setting up a project that depends on DynamoDB from the SDK and makes a simple service call. The following steps use yarn as an example. These steps assume you have Node.js and yarn already installed.
2121

2222
1. Create a new Node.js project.
23-
2. Inside of the project, run: `yarn add @aws-sdk/client-dynamodb@gamma`
23+
2. Inside of the project, run: `yarn add @aws-sdk/client-dynamodb@gamma`. Adding packages results in update in [lock file](https://docs.npmjs.com/configuring-npm/package-locks.html), `yarn.lock` or `package-lock.json`. You **should** commit your lock file along with your code to avoid potential breaking changes.
24+
2425
3. Create a new file called index.js, create a DynamoDB service client and send a request.
2526

2627
```javascript

0 commit comments

Comments
 (0)