Skip to content

Commit

Permalink
build: remove Endo-specific build hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed May 21, 2024
1 parent 8343a0c commit d414142
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
2 changes: 0 additions & 2 deletions scripts/get-packed-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ corepack enable
yarn install 1>&2
yarn build 1>&2

yarn lerna run build:types 1>&2

npm query .workspace | jq -r '.[].location' | while read -r dir; do
# Skip private packages.
echo "dir=$dir" 1>&2
Expand Down
6 changes: 0 additions & 6 deletions scripts/registry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,12 @@ publish() {
yarn build
git commit --allow-empty -am "chore: prepare for publishing"

# Convention used in Endo
yarn lerna run build:types

# Publish the packages to our local service.
# without concurrency until https://github.com/Agoric/agoric-sdk/issues/8091
yarn lerna publish --concurrency 1 prerelease --exact \
--dist-tag="$DISTTAG" --preid=dev \
--no-push --no-git-reset --no-git-tag-version --no-verify-access --yes

# Convention used in Endo
yarn lerna run clean:types

# Change any version prefices to an exact match, and merge our versions.
VERSIONSHASH=$(jq --slurpfile versions <(popd > /dev/null && git cat-file blob "$VERSIONSHASH") \
'[to_entries[] | { key: .key, value: (.value | sub("^[~^]"; "")) }]
Expand Down
3 changes: 1 addition & 2 deletions scripts/replace-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ DSTDIR=${2-$PWD/node_modules}
pushd "$SRCDIR"
yarn install
npm run build
# Endo requires this
npx lerna run build:types || true

npm query .workspace | jq -r '.[].location' | while read -r dir; do
# Skip private packages.
test "$(jq .private < "$dir/package.json")" != true || continue
Expand Down

0 comments on commit d414142

Please sign in to comment.