Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ contract — modules that are not exported are internal and may change in any re

### Breaking changes since 0.1.0

- **Git installs are no longer supported.** The `prepare` hook that built `dist/` on a
`github:corbitsdev/react-ui#<sha>` install is gone, so such an install ships no build
output. Install from npm: `npm add @corbits/react-ui`.
- **84 modules removed — every module no known consumer imports.** A usage audit across
the workbench, portal, scout and solutions-builder codebases showed these surfaces were
unreachable from any consumer, so they were deleted rather than carried as semver
Expand Down
6 changes: 1 addition & 5 deletions IMPLEMENTATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ by `&&`:

Source imports are relative and carry `.js` extensions. There is no path
alias. `prepack` runs the whole build so a failing gate cannot be packed.
`prepare` (`scripts/prepare.mjs`) builds `dist/` on a git install; it is a
no-op when `dist/` is already present.

Other scripts: `bun run typecheck`, `bun run lint` (eslint),
`bun run dep-guard` (`scripts/dep-guard.mjs` — fails if any file imports
Expand Down Expand Up @@ -73,6 +71,4 @@ the rest of the library does not.
## Publish

Registry install is the documented path (`npm` / `pnpm` / `yarn` /
`bun add @corbits/react-ui`). `publishConfig.access` is `public`. A git
install still works via `prepare`, and under bun that requires
`trustedDependencies: ["@corbits/react-ui"]`.
`bun add @corbits/react-ui`). `publishConfig.access` is `public`.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@
"contrast-test": "node scripts/contrast-test.mjs",
"stories": "ladle serve --host 127.0.0.1",
"stories:build": "ladle build",
"prepack": "bun run build",
"prepare": "node scripts/prepare.mjs"
"prepack": "bun run build"
},
"dependencies": {
"class-variance-authority": "^0.7.1",
Expand Down
98 changes: 0 additions & 98 deletions scripts/prepare.mjs

This file was deleted.

Loading