@flytedan/flytebot-design-system 0.33.0 → 0.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -2
- package/dist/index.cjs +478 -390
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21 -8
- package/dist/index.d.ts +21 -8
- package/dist/index.js +478 -390
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -112,6 +112,12 @@ bash scripts/release.sh <new-version> "<summary>"
|
|
|
112
112
|
- refuses a dirty tree, and takes a `.release.lock` so two runs can't overlap;
|
|
113
113
|
- fetches `origin` and checks out `origin/main`'s exact tip — never unmerged
|
|
114
114
|
work;
|
|
115
|
+
- re-executes the `scripts/release.sh` it just checked out, handing over the
|
|
116
|
+
lock, so every later step (gates, bump, publish) is the released commit's
|
|
117
|
+
own script, never the one that was on disk before the checkout (bash reads a
|
|
118
|
+
script from the file it opened). The second pass is marked by
|
|
119
|
+
`RELEASE_REEXEC_SHA`, which carries the checked-out commit: it asserts `HEAD`
|
|
120
|
+
is that commit and skips the fetch and checkout;
|
|
115
121
|
- installs with `pnpm install --frozen-lockfile`;
|
|
116
122
|
- runs the gates: `tsup`, then straight away the checks of that build
|
|
117
123
|
(`vitest run --config scripts/vitest.dist.config.ts`), then `vitest run`,
|
|
@@ -127,8 +133,9 @@ bash scripts/release.sh <new-version> "<summary>"
|
|
|
127
133
|
success.
|
|
128
134
|
|
|
129
135
|
`scripts/release.test.ts` covers its guards (wrong directory, dirty tree,
|
|
130
|
-
held lock, missing/malformed version argument)
|
|
131
|
-
|
|
136
|
+
held lock, missing/malformed version argument) and the re-execution (a fake
|
|
137
|
+
origin whose `release.sh` changed runs the new body; the second pass's `HEAD`
|
|
138
|
+
and lock checks) against throwaway git repos — no network, no real publish.
|
|
132
139
|
|
|
133
140
|
## License
|
|
134
141
|
|