Skip to content

Commit

Permalink
feat: update version
Browse files Browse the repository at this point in the history
  • Loading branch information
chaxus committed Jul 20, 2024
1 parent db0336f commit 0f9f5e2
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 17 deletions.
2 changes: 1 addition & 1 deletion packages/ranui-react/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
18 changes: 11 additions & 7 deletions packages/ranui/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -45,7 +45,8 @@
"web components",
"webComponents",
"ranui",
"@ranui/react"
"@ranui/react",
"lib"
],
"exports": {
".": {
Expand Down Expand Up @@ -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": {
Expand All @@ -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",
Expand Down
11 changes: 3 additions & 8 deletions packages/ranui/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/ranuts/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 0f9f5e2

Please sign in to comment.