Skip to content

The Open Standard for Generative UI

Update package.json and github workflow for publishing (#277)

abhithesysda9e9892ca71
diff --git a/.github/workflows/publish-npm-package.yml b/.github/workflows/publish-npm-package.yml
index e654302d4..8af28677d 100644
--- a/.github/workflows/publish-npm-package.yml
+++ b/.github/workflows/publish-npm-package.yml
@@ -8,13 +8,13 @@ on:
workflow_dispatch:
inputs:
package:
- description: "Package to publish (react-ui, react-core, or stream)"
+ description: "Package to publish (react-ui, react-headless, or lang-react)"
required: true
type: choice
options:
- react-ui
- - react-core
- - stream
+ - react-headless
+ - lang-react
jobs:
publish:
diff --git a/packages/lang-react/package.json b/packages/lang-react/package.json
index d672bdb60..1b9093d83 100644
--- a/packages/lang-react/package.json
+++ b/packages/lang-react/package.json
@@ -7,7 +7,8 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
- "dist"
+ "dist",
+ "README.md"
],
"exports": {
".": {
diff --git a/packages/react-headless/package.json b/packages/react-headless/package.json
index 4b705526a..b91f95703 100644
--- a/packages/react-headless/package.json
+++ b/packages/react-headless/package.json
@@ -6,7 +6,8 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
- "dist"
+ "dist",
+ "README.md"
],
"scripts": {
"test": "vitest run",
diff --git a/packages/react-ui/package.json b/packages/react-ui/package.json
index c7a2cb812..86e76a0a7 100644
--- a/packages/react-ui/package.json
+++ b/packages/react-ui/package.json
@@ -34,7 +34,8 @@
}
},
"files": [
- "dist"
+ "dist",
+ "README.md"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",