Skip to content

Commit eff83ec

Browse files
committed
on default don't update pnpm lockfile
1 parent a09058d commit eff83ec

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
node-linker=hoisted
2+
frozen-lockfile=true

docs/docs/quickstart.md

+14
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,18 @@ Before getting started with Eliza, ensure you have:
4545
pnpm install
4646
```
4747

48+
# Quickstart Guide Update
49+
50+
**Important Note on pnpm Lockfile Management**
51+
52+
By default, the `pnpm` lockfile will not be updated during installations based off of .npmrc frozen-lockfile=true. To update the lockfile, you need to run the command:
53+
54+
```bash
55+
pnpm i --no-frozen-lockfile
56+
```
57+
58+
Please only use this command when you are bumping the version of a package or adding a new package to your package.json. This practice helps maintain consistency in your project's dependencies and prevents unintended changes to the lockfile.
59+
4860
Build the local libraries
4961

5062
```bash
@@ -289,6 +301,8 @@ pnpm start --characters="characters/trump.character.json,characters/tate.charact
289301
pnpm i
290302
```
291303

304+
305+
292306
## Next Steps
293307

294308
Once you have your agent running, explore:

package.json

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
{
22
"name": "eliza",
33
"scripts": {
4-
"install": "pnpm i --frozen-lockfile",
5-
"i": "pnpm i --frozen-lockfile",
6-
"update": "pnpm i",
74
"preinstall": "npx only-allow pnpm",
85
"build": "turbo run build --filter=!eliza-docs",
96
"build-docker": "turbo run build",

0 commit comments

Comments
 (0)