Skip to content

Commit

Permalink
fix: 修改包 peerDependencies 版本和样式依赖问题
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinke666 committed Nov 21, 2024
1 parent 17e3587 commit 11df5d5
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prerelease-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
${{ secrets.DING_TALK_GROUP_TOKEN }}
${{ secrets.DING_TALK_PUBLIC_TOKEN }}
notify_title: '🎉 AntV/S2 测试版发布 🎉'
notify_body: '![preview](https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1PTTQLk3j5AAAAAAAAAAAAAADmJ7AQ/original) <hr /> [**查看更新日志**](https://github.com/antvis/S2/releases) <hr />'
notify_body: '🎉 AntV/S2 新版本发布啦 🎉 <br/> ![preview](https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1PTTQLk3j5AAAAAAAAAAAAAADmJ7AQ/original) <hr /> [**点击查看更新日志**](https://github.com/antvis/S2/releases) <hr />'
notify_footer: '> 该版本为测试版, 请谨慎使用 ([AntV/S2 Releases](https://github.com/antvis/S2/releases))'
at_all: false
enable_prerelease: true
2 changes: 1 addition & 1 deletion .github/workflows/release-notify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
${{ secrets.DING_TALK_GROUP_TOKEN }}
${{ secrets.DING_TALK_PUBLIC_TOKEN }}
notify_title: '🎉 AntV/S2 新版本发布啦 🎉'
notify_body: '![preview](https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1PTTQLk3j5AAAAAAAAAAAAAADmJ7AQ/original) <hr /> [**查看更新日志**](https://github.com/antvis/S2/releases) <hr />'
notify_body: '🎉 AntV/S2 新版本发布啦 🎉 <br/> ![preview](https://mdn.alipayobjects.com/huamei_qa8qxu/afts/img/A*1PTTQLk3j5AAAAAAAAAAAAAADmJ7AQ/original) <hr /> [**点击查看更新日志**](https://github.com/antvis/S2/releases) <hr />'
notify_footer: '> [AntV/S2 Releases](https://github.com/antvis/S2/releases)'
at_all: false
enable_prerelease: false
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,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-site --filter !@antv/s2-react-components --workspace-concurrency=1 exec npx --no-install semantic-release",
"release": "pnpm -r --filter !@antv/s2-site --filter !@antv/s2-vue --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
2 changes: 1 addition & 1 deletion packages/s2-react-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
},
"peerDependencies": {
"@ant-design/icons": ">=4.7.0",
"@antv/s2": "^2.0.0-next.1",
"@antv/s2": "^2.0.0",
"antd": ">=4.16.13",
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@antv/s2/src/styles/variables.less';
@import '@antv/s2/esm/styles/variables.less';

.@{s2-cls-prefix}-radio-group {
color: #3572f9;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@antv/s2/src/styles/variables.less';
@import '@antv/s2/esm/styles/variables.less';

.@{s2-cls-prefix}-reset-btn {
color: #3572f9;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@antv/s2/src/styles/variables.less';
@import '@antv/s2/esm/styles/variables.less';

.@{s2-cls-prefix}-reset-group {
width: 340px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@antv/s2/src/styles/variables.less';
@import '@antv/s2/esm/styles/variables.less';

.@{s2-cls-prefix}-theme-panel-custom-color {
display: flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@antv/s2/src/styles/variables.less';
@import '@antv/s2/esm/styles/variables.less';

.@{s2-cls-prefix}-color-box {
display: inline-flex;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@antv/s2/src/styles/variables.less';
@import '@antv/s2/esm/styles/variables.less';

@cls-prefix: ~'@{s2-cls-prefix}-color-picker-panel';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@antv/s2/src/styles/variables.less';
@import '@antv/s2/esm/styles/variables.less';

.@{s2-cls-prefix}-theme-panel-custom-color {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion packages/s2-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"vite-plugin-svgr": "^2.2.2"
},
"peerDependencies": {
"@antv/s2": "^2.0.0-next.1",
"@antv/s2": "^2.0.0",
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/s2-react/playground/components/Header/index.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import '@antv/s2/src/styles/variables.less';
@import '@antv/s2/esm/styles/variables.less';

.sheet-header {
padding: 0;
Expand Down
2 changes: 1 addition & 1 deletion packages/s2-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"vue-tsc": "^2.1.6"
},
"peerDependencies": {
"@antv/s2": "^2.0.0-next.1",
"@antv/s2": "^2.0.0",
"ant-design-vue": "^3.2.0",
"vue": ">=3.x"
},
Expand Down
6 changes: 3 additions & 3 deletions s2-site/.dumi/global.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ if (window) {
(
window as any
).gPluginRoughCanvasRenderer = require('@antv/g-plugin-rough-canvas-renderer');

(window as any).g2 = require('@antv/g2');

(window as any).s2 = require('@antv/s2');
(window as any)._extends = require('@antv/s2/extends');

Expand Down Expand Up @@ -55,7 +55,7 @@ if (window) {
},
{
package: '@antv/s2-react-components',
version: (window as any).s2React?.version || 'development',
version: (window as any).s2ReactComponents?.version || 'development',
},
{
package: 'react',
Expand Down
2 changes: 1 addition & 1 deletion s2-site/examples/react-component/sheet/demo/chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import React from 'react';
import { S2DataConfig, S2Options } from '@antv/s2';
import { SheetComponent } from '@antv/s2-react';
import '@antv/s2-react/dist/style.min.css';
import '@antv/s2-react/dist/s2-react.min.css';

const s2Options: S2Options = {
width: 1000,
Expand Down

0 comments on commit 11df5d5

Please sign in to comment.