Skip to content

Commit

Permalink
chore: 更新 @antv/s2-react-components 发布配置
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Sep 18, 2024
1 parent 97e2905 commit c52f4a9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"build:umd": "pnpm -r --filter './packages/*' --stream build:umd",
"build:size-limit": "pnpm -r --filter './packages/*' --stream build:size-limit",
"build:size-limit-json": "pnpm -r --filter './packages/*' --stream build:size-limit-json",
"release": "pnpm -r --filter !@antv/s2-shared --filter !@antv/s2-site --filter !@antv/s2-react-components --workspace-concurrency=1 exec npx --no-install semantic-release",
"release": "pnpm -r --filter !@antv/s2-shared --filter !@antv/s2-site --workspace-concurrency=1 exec npx --no-install semantic-release",
"release:preview": "pnpm release --dry-run --no-ci",
"release:bump-version": "node ./scripts/bump-version.js",
"test": "pnpm -r --filter './packages/*' --stream test",
Expand Down
4 changes: 2 additions & 2 deletions packages/s2-react-components/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $ pnpm add @antv/s2-react-components
```tsx
import React from 'React'
import { ThemePanel, TextAlignPanel, FrozenPanel } from '@antv/s2-react-components'
import '@antv/s2-components/dist/s2-react-components.min.css'
import '@antv/s2-components/dist/style.min.css'

const App = () => {
return (
Expand Down Expand Up @@ -84,7 +84,7 @@ const App = () => {
```tsx
import React from 'React'
import { ThemePanel } from '@antv/s2-react-components'
import '@antv/s2-components/dist/s2-react-components.min.css'
import '@antv/s2-components/dist/style.min.css'

const App = () => {
const s2Ref = React.useRef<SpreadSheet>();
Expand Down
5 changes: 1 addition & 4 deletions packages/s2-react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@antv/s2-react-components",
"version": "0.0.1",
"private": false,
"description": "React Components for s2-react",
"description": "React components for S2",
"keywords": [
"antv",
"s2",
Expand Down Expand Up @@ -62,9 +62,6 @@
"tsc": "tsc --noEmit",
"watch": "rimraf esm && pnpm build:esm -w"
},
"release": {
"skip": true
},
"dependencies": {
"classnames": "^2.5.1",
"lodash": "^4.17.21",
Expand Down

0 comments on commit c52f4a9

Please sign in to comment.