Skip to content

Commit

Permalink
fix: bump version, fix import type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tianyingchun committed Oct 23, 2024
1 parent 84156e7 commit 72abf98
Show file tree
Hide file tree
Showing 9 changed files with 73 additions and 65 deletions.
8 changes: 8 additions & 0 deletions .changeset/swift-deers-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@hyperse/pro-layout": patch
"@hyperse/demo-antd": patch
"@hyperse/utils": patch
"@hyperse/antd": patch
---

bump version, fix `import type` issue
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"@changesets/cli": "2.27.9",
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@hyperse/eslint-config-hyperse": "^1.2.1",
"@hyperse/eslint-config-hyperse": "^1.2.4",
"commitizen": "4.3.1",
"cz-conventional-changelog": "3.3.0",
"eslint": "9.13.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/antd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -458,9 +458,9 @@
"@dimjs/model-react": "^2.0.1",
"@dimjs/utils": "^2.0.2",
"@flatjs/cli": "2.1.9",
"@hyperse/eslint-config-hyperse": "^1.2.1",
"@types/node": "22.7.8",
"@types/react": "^18.3.11",
"@hyperse/eslint-config-hyperse": "^1.2.4",
"@types/node": "22.7.9",
"@types/react": "^18.3.12",
"@wove/react": "^2.0.2",
"ahooks": "^3.8.1",
"antd": "5.21.5",
Expand Down Expand Up @@ -506,7 +506,7 @@
"react-split": "2.0.14",
"simple-mind-map": "^0.12.0",
"sql-formatter": "^15.4.5",
"use-intl": "3.22.0",
"use-intl": "3.23.2",
"xml-formatter": "^3.6.3"
},
"peerDependenciesMeta": {
Expand Down
2 changes: 1 addition & 1 deletion packages/antd/src/_utils/time.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Dayjs } from 'dayjs';
import type { Dayjs } from 'dayjs';
import { DayjsDateTypeEnum } from './constants.js';

const range = (start: number, end: number) => {
Expand Down
2 changes: 1 addition & 1 deletion packages/antd/src/rich-text-viewer/rich-text-viewer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { type CSSProperties, type ReactElement, useRef, useState } from 'react';
import { useKeyPress } from 'ahooks';
import { Editor as TinyMCEEditor } from 'tinymce';
import type { Editor as TinyMCEEditor } from 'tinymce';
import { FullscreenOutlined } from '@ant-design/icons';
import { classNames } from '@dimjs/utils';
import { hooks } from '@wove/react';
Expand Down
4 changes: 2 additions & 2 deletions packages/demo-antd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@
},
"devDependencies": {
"@flatjs/cli": "2.1.9",
"@hyperse/eslint-config-hyperse": "^1.2.1",
"@types/react": "^18.3.11",
"@hyperse/eslint-config-hyperse": "^1.2.4",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"eslint": "^9.13.0",
"typescript": "5.6.3",
Expand Down
8 changes: 4 additions & 4 deletions packages/pro-layout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
"@dimjs/model-react": "^2.0.1",
"@dimjs/utils": "^2.0.2",
"@flatjs/cli": "2.1.9",
"@hyperse/eslint-config-hyperse": "^1.2.1",
"@hyperse/eslint-config-hyperse": "^1.2.4",
"@hyperse/utils": "^1.0.1",
"@types/node": "22.7.8",
"@types/react": "^18.3.11",
"@types/node": "22.7.9",
"@types/react": "^18.3.12",
"@wove/react": "^2.0.2",
"ahooks": "^3.8.1",
"antd": "5.21.5",
Expand Down Expand Up @@ -96,7 +96,7 @@
"react-split": "2.0.14",
"simple-mind-map": "^0.12.0",
"sql-formatter": "^15.4.5",
"use-intl": "3.22.0",
"use-intl": "3.23.2",
"xml-formatter": "^3.6.3"
},
"peerDependenciesMeta": {
Expand Down
8 changes: 4 additions & 4 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,16 +45,16 @@
"react-split": "2.0.14",
"simple-mind-map": "^0.12.0",
"sql-formatter": "^15.4.5",
"use-intl": "3.22.0",
"use-intl": "3.23.2",
"xml-formatter": "^3.6.3"
},
"devDependencies": {
"@dimjs/lang": "^2.0.0",
"@dimjs/utils": "^2.0.2",
"@flatjs/cli": "2.1.9",
"@hyperse/eslint-config-hyperse": "^1.2.1",
"@types/node": "22.7.8",
"@types/react": "^18.3.11",
"@hyperse/eslint-config-hyperse": "^1.2.4",
"@types/node": "22.7.9",
"@types/react": "^18.3.12",
"cropperjs": "^1.6.2",
"eslint": "9.13.0",
"npm-run-all": "4.1.5",
Expand Down
96 changes: 48 additions & 48 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3328,7 +3328,7 @@ __metadata:
"@changesets/cli": "npm:2.27.9"
"@commitlint/cli": "npm:19.5.0"
"@commitlint/config-conventional": "npm:19.5.0"
"@hyperse/eslint-config-hyperse": "npm:^1.2.1"
"@hyperse/eslint-config-hyperse": "npm:^1.2.4"
commitizen: "npm:4.3.1"
cross-env: "npm:7.0.3"
cz-conventional-changelog: "npm:3.3.0"
Expand Down Expand Up @@ -3356,11 +3356,11 @@ __metadata:
"@dnd-kit/sortable": "npm:^8.0.0"
"@dnd-kit/utilities": "npm:^3.2.2"
"@flatjs/cli": "npm:2.1.9"
"@hyperse/eslint-config-hyperse": "npm:^1.2.1"
"@hyperse/eslint-config-hyperse": "npm:^1.2.4"
"@hyperse/utils": "workspace:^"
"@tinymce/tinymce-react": "npm:5.1.1"
"@types/node": "npm:22.7.8"
"@types/react": "npm:^18.3.11"
"@types/node": "npm:22.7.9"
"@types/react": "npm:^18.3.12"
"@wove/react": "npm:^2.0.2"
ace-builds: "npm:^1.36.3"
ahooks: "npm:^3.8.1"
Expand All @@ -3378,7 +3378,7 @@ __metadata:
simple-mind-map: "npm:^0.12.0"
sql-formatter: "npm:^15.4.5"
typescript: "npm:5.6.3"
use-intl: "npm:3.22.0"
use-intl: "npm:3.23.2"
vite-tsconfig-paths: "npm:5.0.1"
vitest: "npm:2.1.3"
xml-formatter: "npm:^3.6.3"
Expand Down Expand Up @@ -3420,9 +3420,9 @@ __metadata:
"@dimjs/utils": "npm:^2.0.2"
"@flatjs/cli": "npm:2.1.9"
"@hyperse/antd": "workspace:*"
"@hyperse/eslint-config-hyperse": "npm:^1.2.1"
"@hyperse/eslint-config-hyperse": "npm:^1.2.4"
"@hyperse/utils": "workspace:*"
"@types/react": "npm:^18.3.11"
"@types/react": "npm:^18.3.12"
"@types/react-dom": "npm:^18.3.1"
"@wove/react": "npm:^2.0.2"
antd: "npm:^5.21.5"
Expand All @@ -3435,9 +3435,9 @@ __metadata:
languageName: unknown
linkType: soft

"@hyperse/eslint-config-hyperse@npm:^1.2.1":
version: 1.2.1
resolution: "@hyperse/eslint-config-hyperse@npm:1.2.1"
"@hyperse/eslint-config-hyperse@npm:^1.2.4":
version: 1.2.4
resolution: "@hyperse/eslint-config-hyperse@npm:1.2.4"
dependencies:
"@eslint/js": "npm:^9.13.0"
"@next/eslint-plugin-next": "npm:rc"
Expand All @@ -3449,7 +3449,7 @@ __metadata:
eslint-plugin-jsonc: "npm:^2.16.0"
eslint-plugin-mdx: "npm:^3.1.5"
eslint-plugin-prettier: "npm:^5.2.1"
eslint-plugin-react: "npm:^7.37.1"
eslint-plugin-react: "npm:^7.37.2"
eslint-plugin-react-hooks: "npm:beta"
eslint-plugin-regexp: "npm:^2.6.0"
eslint-plugin-simple-import-sort: "npm:^12.1.1"
Expand All @@ -3463,7 +3463,7 @@ __metadata:
peerDependencies:
eslint: ">=9.3.0"
typescript: ^5.4.3
checksum: 10/5b94567b500587fdb248ea3a2cf34f541a976ca1a14212583f67bbe77e112a37f742a433140082cef458aee10d33d29d06cfab95dd1e1dd54ab00d110dd7ebaf
checksum: 10/77db89f3c16fb01f18ec1606f678e17a14709eb6f4233222438b3d7c6a57dd85623287ec71bee861ef86b90f17d717c29a892823cbae997a19e111c75ca010b0
languageName: node
linkType: hard

Expand Down Expand Up @@ -3506,11 +3506,11 @@ __metadata:
"@dnd-kit/utilities": "npm:^3.2.2"
"@flatjs/cli": "npm:2.1.9"
"@hyperse/antd": "workspace:^"
"@hyperse/eslint-config-hyperse": "npm:^1.2.1"
"@hyperse/eslint-config-hyperse": "npm:^1.2.4"
"@hyperse/utils": "npm:^1.0.1"
"@tinymce/tinymce-react": "npm:5.1.1"
"@types/node": "npm:22.7.8"
"@types/react": "npm:^18.3.11"
"@types/node": "npm:22.7.9"
"@types/react": "npm:^18.3.12"
"@wove/react": "npm:^2.0.2"
ace-builds: "npm:^1.36.3"
ahooks: "npm:^3.8.1"
Expand All @@ -3531,7 +3531,7 @@ __metadata:
simple-mind-map: "npm:^0.12.0"
sql-formatter: "npm:^15.4.5"
typescript: "npm:5.6.3"
use-intl: "npm:3.22.0"
use-intl: "npm:3.23.2"
vite-tsconfig-paths: "npm:5.0.1"
vitest: "npm:2.1.3"
xml-formatter: "npm:^3.6.3"
Expand Down Expand Up @@ -3580,10 +3580,10 @@ __metadata:
"@dnd-kit/sortable": "npm:^8.0.0"
"@dnd-kit/utilities": "npm:^3.2.2"
"@flatjs/cli": "npm:2.1.9"
"@hyperse/eslint-config-hyperse": "npm:^1.2.1"
"@hyperse/eslint-config-hyperse": "npm:^1.2.4"
"@tinymce/tinymce-react": "npm:5.1.1"
"@types/node": "npm:22.7.8"
"@types/react": "npm:^18.3.11"
"@types/node": "npm:22.7.9"
"@types/react": "npm:^18.3.12"
ace-builds: "npm:^1.36.3"
cropperjs: "npm:^1.6.2"
dequal: "npm:2.0.3"
Expand All @@ -3598,7 +3598,7 @@ __metadata:
simple-mind-map: "npm:^0.12.0"
sql-formatter: "npm:^15.4.5"
typescript: "npm:5.6.3"
use-intl: "npm:3.22.0"
use-intl: "npm:3.23.2"
vite-tsconfig-paths: "npm:5.0.1"
vitest: "npm:2.1.3"
xml-formatter: "npm:^3.6.3"
Expand Down Expand Up @@ -4775,12 +4775,12 @@ __metadata:
languageName: node
linkType: hard

"@types/node@npm:*, @types/node@npm:22.7.8":
version: 22.7.8
resolution: "@types/node@npm:22.7.8"
"@types/node@npm:*, @types/node@npm:22.7.9":
version: 22.7.9
resolution: "@types/node@npm:22.7.9"
dependencies:
undici-types: "npm:~6.19.2"
checksum: 10/22a7cb6da6a1cf914016bdcfb1d20399ec549a6220a9fd03253dc995848fa328c9dbeaf291b63bd60b0cf44387044adc80fc8d97401c647711b0b839d0ed4fe5
checksum: 10/c68650a1ca3c65cc02e16166fa7daca9958ecea54bd52b0af31009011c44a33f8d559bf467c681b1f06935a10cafb932cc30e5454ecfc89351d361ab669bdba6
languageName: node
linkType: hard

Expand Down Expand Up @@ -4830,13 +4830,13 @@ __metadata:
languageName: node
linkType: hard

"@types/react@npm:*, @types/react@npm:^18.3.11":
version: 18.3.11
resolution: "@types/react@npm:18.3.11"
"@types/react@npm:*, @types/react@npm:^18.3.12":
version: 18.3.12
resolution: "@types/react@npm:18.3.12"
dependencies:
"@types/prop-types": "npm:*"
csstype: "npm:^3.0.2"
checksum: 10/a36f0707fdfe9fe19cbe5892bcdab0f042ecadb501ea4e1c39519943f3e74cffbd31e892d3860f5c87cf33f5f223552b246a552bed0087b95954f2cb39d5cf65
checksum: 10/c9bbdfeacd5347d2240e0d2cb5336bc57dbc1b9ff557b6c4024b49df83419e4955553518169d3736039f1b62608e15b35762a6c03d49bd86e33add4b43b19033
languageName: node
linkType: hard

Expand Down Expand Up @@ -8398,9 +8398,9 @@ __metadata:
languageName: node
linkType: hard

"es-iterator-helpers@npm:^1.0.19":
version: 1.0.19
resolution: "es-iterator-helpers@npm:1.0.19"
"es-iterator-helpers@npm:^1.1.0":
version: 1.1.0
resolution: "es-iterator-helpers@npm:1.1.0"
dependencies:
call-bind: "npm:^1.0.7"
define-properties: "npm:^1.2.1"
Expand All @@ -8409,14 +8409,14 @@ __metadata:
es-set-tostringtag: "npm:^2.0.3"
function-bind: "npm:^1.1.2"
get-intrinsic: "npm:^1.2.4"
globalthis: "npm:^1.0.3"
globalthis: "npm:^1.0.4"
has-property-descriptors: "npm:^1.0.2"
has-proto: "npm:^1.0.3"
has-symbols: "npm:^1.0.3"
internal-slot: "npm:^1.0.7"
iterator.prototype: "npm:^1.1.2"
iterator.prototype: "npm:^1.1.3"
safe-array-concat: "npm:^1.1.2"
checksum: 10/980a8081cf6798fe17fcea193b0448d784d72d76aca7240b10813207c67e3dc0d8a23992263870c4fc291da5a946935b0c56dec4fa1a9de8fee0165e4fa1fc58
checksum: 10/7aa8f17934abbebeb8cd3ba5135c1f107c568470f4c4b798f457f3d0039caaece1f9d7addbe1fc01079ea2f2ce8f922b736ee914c37ea99dbef22c86b006d338
languageName: node
linkType: hard

Expand Down Expand Up @@ -8844,16 +8844,16 @@ __metadata:
languageName: node
linkType: hard

"eslint-plugin-react@npm:^7.37.1":
version: 7.37.1
resolution: "eslint-plugin-react@npm:7.37.1"
"eslint-plugin-react@npm:^7.37.2":
version: 7.37.2
resolution: "eslint-plugin-react@npm:7.37.2"
dependencies:
array-includes: "npm:^3.1.8"
array.prototype.findlast: "npm:^1.2.5"
array.prototype.flatmap: "npm:^1.3.2"
array.prototype.tosorted: "npm:^1.1.4"
doctrine: "npm:^2.1.0"
es-iterator-helpers: "npm:^1.0.19"
es-iterator-helpers: "npm:^1.1.0"
estraverse: "npm:^5.3.0"
hasown: "npm:^2.0.2"
jsx-ast-utils: "npm:^2.4.1 || ^3.0.0"
Expand All @@ -8868,7 +8868,7 @@ __metadata:
string.prototype.repeat: "npm:^1.0.0"
peerDependencies:
eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7
checksum: 10/a7b9cf2c43255844ad0c9d4e3758a8c2b687a2ce9a09f4161ab245581d5d2d91b37742e541c88aa9ce368ec6c860e23dc78c15117f3fc1cdc433847038e8346b
checksum: 10/df2f7ab198018d3378f305a8a5ceceebc9bd31f019fc7567a2ef9c77789dc8a6a2c3c3957f8b0805f26c11c02f9f86c972e02cd0eda12f4d0370526c11f8a9a3
languageName: node
linkType: hard

Expand Down Expand Up @@ -10106,7 +10106,7 @@ __metadata:
languageName: node
linkType: hard

"globalthis@npm:^1.0.3":
"globalthis@npm:^1.0.3, globalthis@npm:^1.0.4":
version: 1.0.4
resolution: "globalthis@npm:1.0.4"
dependencies:
Expand Down Expand Up @@ -11578,16 +11578,16 @@ __metadata:
languageName: node
linkType: hard

"iterator.prototype@npm:^1.1.2":
version: 1.1.2
resolution: "iterator.prototype@npm:1.1.2"
"iterator.prototype@npm:^1.1.3":
version: 1.1.3
resolution: "iterator.prototype@npm:1.1.3"
dependencies:
define-properties: "npm:^1.2.1"
get-intrinsic: "npm:^1.2.1"
has-symbols: "npm:^1.0.3"
reflect.getprototypeof: "npm:^1.0.4"
set-function-name: "npm:^2.0.1"
checksum: 10/b5013967ad8f28c9ca1be8e159eb10f591b8e46deae87476fe39d668c04374fe9158c815e8b6d2f45885b0a3fd842a8ba13f497ec762b3a0eff49bec278670b1
checksum: 10/1a2a508d3baac121b76c834404ff552d1bb96a173b1d74ff947b2c5763840c0b1e5be01be7e2183a19b08e99e38729812668ff1f23b35f6655a366017bc32519
languageName: node
linkType: hard

Expand Down Expand Up @@ -18858,15 +18858,15 @@ __metadata:
languageName: node
linkType: hard

"use-intl@npm:3.22.0":
version: 3.22.0
resolution: "use-intl@npm:3.22.0"
"use-intl@npm:3.23.2":
version: 3.23.2
resolution: "use-intl@npm:3.23.2"
dependencies:
"@formatjs/fast-memoize": "npm:^2.2.0"
intl-messageformat: "npm:^10.5.14"
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
checksum: 10/97697a37b6e4c70712d092a91bb4892c767ac1f2679276ead16dddfeee2345481d3bdc0b0f61890afc79d6b48adc38821fa483f21eb944e4edf2b7a0858ea205
checksum: 10/b397645e28bbfa0c2dfef5d9ddc7153d79769d9dd9f5cc7c2be4d96d4068753d18037ba65542995303aa06190863c4f964d08e731f6e1876a61326de157d41b0
languageName: node
linkType: hard

Expand Down

0 comments on commit 72abf98

Please sign in to comment.