Skip to content

Commit 5775c7b

Browse files
committed
chore(ci): remove @hexclave/* mirror publish from npm-publish workflow
1 parent 4011916 commit 5775c7b

1 file changed

Lines changed: 0 additions & 31 deletions

File tree

.github/workflows/npm-publish.yaml

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -88,34 +88,3 @@ jobs:
8888
8989
git commit -m "chore: update package versions"
9090
git push origin dev
91-
92-
# Hexclave rebrand mirror publish (Tier 2). Each publishable `@stackframe/*`
93-
# package is re-published as `@hexclave/*` with all cross-deps pinned to one
94-
# shared `@hexclave` version. Built artifacts (`dist/`) are also rewritten by
95-
# the script so cross-package require()/import specifiers + the build-time
96-
# package-version sentinel point at `@hexclave/*` instead of `@stackframe/*`.
97-
#
98-
# Hardcoded to 1.0.0 — `pnpm publish` skips versions already on npm, so
99-
# after the first successful run on main this becomes a no-op. PR 3 in
100-
# the rebrand sequence renames the source packages natively to
101-
# `@hexclave/*` and deletes this entire mirror flow; until then, 1.0.0
102-
# is the one-shot cutover version.
103-
#
104-
# Runs AFTER `Update package versions on dev` because that step asserts a
105-
# clean working tree (`git diff --exit-code HEAD`); the rewrite below
106-
# mutates package.json files in-place and would trip that assertion.
107-
- name: Checkout main for Hexclave mirror rewrite
108-
run: git checkout main
109-
110-
- name: Rewrite package names to @hexclave/*
111-
run: pnpm tsx scripts/rewrite-packages-to-hexclave.ts --version=1.0.0
112-
113-
- name: Publish @hexclave/* mirror packages
114-
# Filter to @hexclave/* so this step's correctness does not depend on
115-
# `pnpm publish -r` silently skipping already-published @stackframe/*
116-
# versions — pnpm's skip-existing-versions check has historically
117-
# failed open on registry edge cases, and unfiltered re-publish of an
118-
# existing version would 403 the whole run.
119-
run: pnpm publish -r --filter "@hexclave/*" --no-git-checks --access public
120-
env:
121-
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)