Open warner opened 4 years ago
Once thing I noticed: the workspaces
in package.json
is in nearly alphabetic order (whitelist-intrinsics
being the only one out of place). In agoric-sdk
I sorted these by dependency order, so that a yarn build
(which runs npm build
in the given order) will produce all the generated/bundled dist files for the packages that need them ahead of time.
I see that make-hardener
appears after harden
, whereas I think harden
depends upon make-hardener
. Maybe part of my build problem is that things are happening in the wrong order, and in a clean checkout, this matters.
I'll experiment with changing the order and see if that helps.
Short answer for now:
cd packages/ses && yarn && yarn build
and then copy the generated packages/ses/dist/ses.{esm,cjs}.js
files out of there.
The short answer here remains the definitive answer. I will keep this open as a documentation gap.
I saw the checked-in
yarn.lock
file, so I ranyarn install
, which seemed to mostly work:and then
yarn build
, which did not:What commands should I be using to build the SES dist file?