Skip to content

Commit

Permalink
Merge pull request #2532 from XiaoMi/hotfix/inject-style-cjs-error
Browse files Browse the repository at this point in the history
fix: inject style cjs error
  • Loading branch information
solarjoker authored Jul 12, 2023
2 parents dc9dd4a + 29de1f9 commit ae99e8b
Show file tree
Hide file tree
Showing 125 changed files with 128 additions and 167 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,8 @@ jobs:
yarn run build
- name: Publish
run: yarn run publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Push Tags
run: |
yarn run publish
git push origin --follow-tags
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 0 additions & 1 deletion .hygen/create/hook/package.json.t
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ to: <%= h.hooksDir(`${name}/package.json`) %>
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.0-beta.0",
"react": "^17.0.1"
}
}
2 changes: 1 addition & 1 deletion .hygen/create/ui-pro/package.json.t
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ to: <%= h.uiDir(`${name}/package.json`) %>
"devDependencies": {
"@hi-ui/core": "^4.0.0",
"@hi-ui/core-css": "^4.0.0",
"@hi-ui/hi-build": "^4.0.0",

"react": "^17.0.1",
"react-dom": "^17.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion .hygen/create/ui/package.json.t
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ to: <%= h.uiDir(`${name}/package.json`) %>
"devDependencies": {
"@hi-ui/core": "^4.0.0",
"@hi-ui/core-css": "^4.0.0",
"@hi-ui/hi-build": "^4.0.0",

"react": "^17.0.1",
"react-dom": "^17.0.1"
}
Expand Down
1 change: 0 additions & 1 deletion .hygen/create/util/package.json.t
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,5 @@ to: <%= h.utilsDir(`${name}/package.json`) %>
"url": "https://github.com/XiaoMi/hiui/issues"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.0-beta.0"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"@babel/preset-typescript": "~7.12.7",
"@changesets/changelog-github": "^0.4.7",
"@changesets/cli": "^2.25.0",
"@hi-ui/hi-build": "^4.0.2",
"@hi-ui/hi-build": "^4.0.4",
"@storybook/addon-actions": "^6.3.12",
"@storybook/addon-essentials": "^6.3.12",
"@storybook/addon-links": "^6.3.12",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"url": "https://github.com/XiaoMi/hiui/issues"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1"

},
"dependencies": {
"@hi-ui/core-css": "^4.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/hooks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-async-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-cache/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
}
}
2 changes: 1 addition & 1 deletion packages/hooks/use-check-state/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
}
}
2 changes: 1 addition & 1 deletion packages/hooks/use-check/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-children/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-data-source/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-deep-equal-deps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1"

}
}
2 changes: 1 addition & 1 deletion packages/hooks/use-did-mount/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
}
}
2 changes: 1 addition & 1 deletion packages/hooks/use-drag-sorter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-force-update/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-id/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-latest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1"

}
}
2 changes: 1 addition & 1 deletion packages/hooks/use-lazy-render/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
}
}
2 changes: 1 addition & 1 deletion packages/hooks/use-merge-refs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1"

}
}
2 changes: 1 addition & 1 deletion packages/hooks/use-outside-click/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1"

},
"dependencies": {
"@hi-ui/use-latest": "^4.0.1"
Expand Down
1 change: 0 additions & 1 deletion packages/hooks/use-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.0-beta.0",
"react": "^17.0.1"
}
}
2 changes: 1 addition & 1 deletion packages/hooks/use-resize-observer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-scroll-lock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
},
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/hooks/use-scroll/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.0-beta.0",
"react": "^17.0.1"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-search-mode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-timeout/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-toggle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1"

},
"dependencies": {
"@hi-ui/use-latest": "^4.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-uncontrolled-state/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-unmount-effect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/use-update-effect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"react": ">=16.8.6"
},
"devDependencies": {
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1"
}
}
4 changes: 2 additions & 2 deletions packages/icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hi-ui/icons",
"version": "4.0.8",
"version": "4.0.10",
"description": "A sub-package for @hi-ui/hiui.",
"keywords": [],
"author": "HiUI <[email protected]>",
Expand Down Expand Up @@ -55,7 +55,7 @@
"devDependencies": {
"@hi-ui/core": "^4.0.4",
"@hi-ui/core-css": "^4.0.1",
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1",
"react-dom": "^17.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/alert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"devDependencies": {
"@hi-ui/core": "^4.0.4",
"@hi-ui/core-css": "^4.0.1",
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1",
"react-dom": "^17.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/anchor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"devDependencies": {
"@hi-ui/core": "^4.0.4",
"@hi-ui/core-css": "^4.0.2",
"@hi-ui/hi-build": "^4.0.0",

"react": "^17.0.1",
"react-dom": "^17.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/avatar/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"devDependencies": {
"@hi-ui/core": "^4.0.4",
"@hi-ui/core-css": "^4.0.1",
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1",
"react-dom": "^17.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/back-top/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"devDependencies": {
"@hi-ui/core": "^4.0.4",
"@hi-ui/core-css": "^4.0.0",
"@hi-ui/hi-build": "^4.0.0",

"react": "^17.0.1",
"react-dom": "^17.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/badge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"devDependencies": {
"@hi-ui/core": "^4.0.4",
"@hi-ui/core-css": "^4.0.1",
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1",
"react-dom": "^17.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/breadcrumb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"devDependencies": {
"@hi-ui/core": "^4.0.4",
"@hi-ui/core-css": "^4.0.1",
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1",
"react-dom": "^17.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/button/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"devDependencies": {
"@hi-ui/core": "^4.0.4",
"@hi-ui/core-css": "^4.0.1",
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1",
"react-dom": "^17.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/card/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"devDependencies": {
"@hi-ui/core": "^4.0.4",
"@hi-ui/core-css": "^4.0.1",
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1",
"react-dom": "^17.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/carousel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"devDependencies": {
"@hi-ui/core": "^4.0.4",
"@hi-ui/core-css": "^4.0.1",
"@hi-ui/hi-build": "^4.0.1",

"react": "^17.0.1",
"react-dom": "^17.0.1"
}
Expand Down
Loading

0 comments on commit ae99e8b

Please sign in to comment.