diff --git a/packages/ranui-react/package.json b/packages/ranui-react/package.json index 13acabc52..f9945ee10 100644 --- a/packages/ranui-react/package.json +++ b/packages/ranui-react/package.json @@ -1,6 +1,6 @@ { "name": "@ranui/react", - "version": "0.1.5-alpha.2", + "version": "0.1.5-alpha.3", "description": "UI Component library based on `Web Component`", "main": "dist/umd/index.umd.cjs", "module": "dist/index.js", diff --git a/packages/ranui/package.json b/packages/ranui/package.json index df357cae0..dd6dbed41 100644 --- a/packages/ranui/package.json +++ b/packages/ranui/package.json @@ -1,6 +1,6 @@ { "name": "ranui", - "version": "0.1.10-alpha.9", + "version": "0.1.10-alpha.12", "description": "UI Component library based on `Web Component`", "main": "dist/umd/index.umd.cjs", "module": "dist/index.js", @@ -45,7 +45,8 @@ "web components", "webComponents", "ranui", - "@ranui/react" + "@ranui/react", + "lib" ], "exports": { ".": { @@ -163,10 +164,15 @@ "import": "./dist/style.css", "require": "./dist/umd/index.umd.cjs" }, - "./types": { + "./type": { "types": "./dist/index.d.ts", - "import": "./dist/index.d.ts", - "require": "./dist/index.d.ts" + "import": "./dist/index.js", + "require": "./dist/index.js" + }, + "./dist/*": { + "types": "./dist/*", + "import": "./dist/*", + "require": "./dist/index.js" } }, "devDependencies": { @@ -182,8 +188,6 @@ "imagemin-svgo": "^10.0.1", "less": "^4.2.0", "prettier": "^2.8.8", - "react": "^18.3.1", - "react-dom": "^18.3.1", "rollup-plugin-visualizer": "^5.12.0", "svgo": "^3.3.0", "tsx": "^3.14.0", diff --git a/packages/ranui/readme.md b/packages/ranui/readme.md index 265a8fe8b..c39aace2b 100644 --- a/packages/ranui/readme.md +++ b/packages/ranui/readme.md @@ -42,22 +42,17 @@ Support for on-demand import, which can reduce the size of loaded js import 'ranui/button'; ``` -If there is a style problem, you can import the style manually +If there is a `style` problem, you can import the style manually ```js import 'ranui/style'; ``` -If there is a type problem, you can manually import the type +If there is a `type` problem, you can manually import the type -```ts -import 'ranui/types'; -``` - -Or ```ts -import 'ranui/dist/typings'; +import 'ranui/dist/index.d.ts'; ``` Support global import diff --git a/packages/ranuts/package.json b/packages/ranuts/package.json index 6f005904b..109e8382e 100644 --- a/packages/ranuts/package.json +++ b/packages/ranuts/package.json @@ -1,6 +1,6 @@ { "name": "ranuts", - "version": "0.1.0-alpha.14", + "version": "0.1.0-alpha.15", "description": "lib", "main": "dist/index.umd.cjs", "module": "dist/index.js",