Configured Yarn workspaces for better project management in the root directory.
Scripts Added:
yarn install:all: Installs dependencies across all workspaces.
yarn upgrade:all: Upgrades @lit-protocol/* dependencies in all workspaces.
yarn upgrade:all:alpha: Upgrades @lit-protocol/* to the alpha tag in all workspaces.
node ./update-workspaces.mjs: Collects all project paths and updates root package.json, renaming each workspace's package.json to a unique name relative to its path.
Package Naming (this is automatically done by the ./update-workspaces.mjs script
Proposed renaming generic package names like nodejs to names that reflect their relative project paths (e.g., wrapped-keys-eip-712-nodejs).
What
Configured Yarn workspaces for better project management in the root directory.
Scripts Added:
yarn install:all
: Installs dependencies across all workspaces.yarn upgrade:all
: Upgrades@lit-protocol/*
dependencies in all workspaces.yarn upgrade:all:alpha
: Upgrades@lit-protocol/*
to thealpha
tag in all workspaces.node ./update-workspaces.mjs
: Collects all project paths and updates rootpackage.json
, renaming each workspace's package.json to a unique name relative to its path.Package Naming (this is automatically done by the
./update-workspaces.mjs
scriptProposed renaming generic package names like nodejs to names that reflect their relative project paths (e.g., wrapped-keys-eip-712-nodejs).