@flytedan/flytebot-design-system 0.31.0 → 0.33.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 CHANGED
@@ -81,7 +81,8 @@ pnpm run docs
81
81
  pnpm run build # tsup — emits dist/{index.js,index.cjs,index.d.ts}
82
82
  pnpm run typecheck # tsc --noEmit
83
83
  pnpm run lint # eslint .
84
- pnpm run test # vitest run
84
+ pnpm run test # vitest run — needs no build
85
+ pnpm run test:dist # tsup, then the checks of the built dist/ (scripts/vitest.dist.config.ts)
85
86
  ```
86
87
 
87
88
  ## Releasing
@@ -112,9 +113,10 @@ bash scripts/release.sh <new-version> "<summary>"
112
113
  - fetches `origin` and checks out `origin/main`'s exact tip — never unmerged
113
114
  work;
114
115
  - installs with `pnpm install --frozen-lockfile`;
115
- - runs the gates: `vitest run`, `tsc --noEmit`, `tsc --noEmit -p
116
- tsconfig.docs.json`, the docs `vite build`, `tsup`, and `lint` if the repo
117
- has that script;
116
+ - runs the gates: `tsup`, then straight away the checks of that build
117
+ (`vitest run --config scripts/vitest.dist.config.ts`), then `vitest run`,
118
+ `tsc --noEmit`, `tsc --noEmit -p tsconfig.docs.json`, the docs `vite build`,
119
+ and `lint` if the repo has that script;
118
120
  - refuses `<new-version>` unless it is greater than both the working
119
121
  checkout's `package.json` version and npm's currently published `latest`;
120
122
  - bumps `package.json`, commits `chore(release): <new-version> — <summary>`,