@healthcloudai/hc-components 0.1.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 +38 -0
- package/dist/index.cjs +19805 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +46 -0
- package/dist/index.d.ts +46 -0
- package/dist/index.js +19878 -0
- package/dist/index.js.map +1 -0
- package/package.json +99 -0
package/README.md
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# @PLACEHOLDER_SCOPE/hc-components
|
|
2
|
+
|
|
3
|
+
A bundled npm package containing every component in `lib/hc-components` of this
|
|
4
|
+
monorepo, rolled up into a single distributable.
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
```sh
|
|
9
|
+
npm install @PLACEHOLDER_SCOPE/hc-components react react-native @expo/vector-icons
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
```tsx
|
|
15
|
+
import { AbMedication, AbRecommendedCarePlan } from "@PLACEHOLDER_SCOPE/hc-components";
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
Shared theme primitives are re-exported under a `Shared` namespace:
|
|
19
|
+
|
|
20
|
+
```tsx
|
|
21
|
+
import { Shared } from "@PLACEHOLDER_SCOPE/hc-components";
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Build
|
|
25
|
+
|
|
26
|
+
```sh
|
|
27
|
+
pnpm --filter @PLACEHOLDER_SCOPE/hc-components run build
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
`tsup` bundles every workspace sibling under `@dev-components-hc/*` and
|
|
31
|
+
`@hc-components/*` into a single ESM + CJS distributable in `dist/`, keeping
|
|
32
|
+
`react`, `react-native`, and `@expo/vector-icons` as external peer deps.
|
|
33
|
+
|
|
34
|
+
## Publish
|
|
35
|
+
|
|
36
|
+
Publishing is handled by `.github/workflows/publish-hc-components.yml`. Update
|
|
37
|
+
the placeholders in this file (`PLACEHOLDER_SCOPE`, version, etc.) and the
|
|
38
|
+
workflow before the first release.
|