- Ship an AI guide in the package (ai/: usage rules, component catalog, design rules, composition patterns) via package.json files. - Add examples A-D that import only public exports: default header, viewer header, feature header, and a consumer-side search extension that reuses SWHeaderInput and the public SW tokens. - Add SW-only checks: docs/API consistency, tarball consumer project (React 19 + TS + Vite typecheck/build) and a browser check (27/27). - No runtime source or public API change; README gains a pointer section. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
34 lines
734 B
JSON
34 lines
734 B
JSON
{
|
|
"name": "@hm-design/sw",
|
|
"version": "0.1.0",
|
|
"private": false,
|
|
"description": "HM Design System SW (EasyBeam-style desktop software) components. Independent of @hm-design/ui.",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./styles.css": "./dist/styles.css"
|
|
},
|
|
"files": [
|
|
"dist",
|
|
"ai"
|
|
],
|
|
"scripts": {
|
|
"typecheck": "tsc -p tsconfig.json",
|
|
"build": "node build.mjs",
|
|
"prepack": "npm run build"
|
|
},
|
|
"sideEffects": [
|
|
"**/*.css"
|
|
],
|
|
"peerDependencies": {
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0"
|
|
}
|
|
}
|