Skip to content

Commit

Permalink
Revert "docs: add GPT-Vis demo for bubble (#278)"
Browse files Browse the repository at this point in the history
This reverts commit 9ddf51c.
  • Loading branch information
afc163 authored Nov 30, 2024
1 parent 9ddf51c commit c952946
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 61 deletions.
5 changes: 0 additions & 5 deletions .dumirc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@ export default defineConfig({
define: {
antdReproduceVersion: version,
},
externals: {
// optimize build of GPT-Vis
'mapbox-gl': 'mapboxgl',
'maplibre-gl': 'maplibregl',
},
alias: {
'@ant-design/x/lib': path.join(__dirname, 'components'),
'@ant-design/x/es': path.join(__dirname, 'components'),
Expand Down
5 changes: 1 addition & 4 deletions components/bubble/__tests__/demo-extend.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import { extendTest } from '../../../tests/shared/demoTest';

extendTest('bubble', {
// Ignore gpt-vis demo, need browser env not jsdom
skip: ['gpt-vis'],
});
extendTest('bubble');
5 changes: 1 addition & 4 deletions components/bubble/__tests__/demo.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import demoTest from '../../../tests/shared/demoTest';

demoTest('bubble', {
// Ignore gpt-vis demo, need browser env not jsdom
skip: ['gpt-vis'],
});
demoTest('bubble');
7 changes: 0 additions & 7 deletions components/bubble/demo/gpt-vis.md

This file was deleted.

38 changes: 0 additions & 38 deletions components/bubble/demo/gpt-vis.tsx

This file was deleted.

1 change: 0 additions & 1 deletion components/bubble/index.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ Often used when chatting.
<code src="./demo/list.tsx">Bubble List</code>
<code src="./demo/bubble-custom.tsx">Semantic Custom</code>
<code src="./demo/list-custom.tsx">Custom List Content</code>
<code src="./demo/gpt-vis.tsx">Using GPT-Vis to render charts</code>

## API

Expand Down
1 change: 0 additions & 1 deletion components/bubble/index.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ demo:
<code src="./demo/list.tsx">气泡列表</code>
<code src="./demo/bubble-custom.tsx">语义化自定义</code>
<code src="./demo/list-custom.tsx">自定义列表内容</code>
<code src="./demo/gpt-vis.tsx">使用 GPT-Vis 渲染图表</code>

## API

Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@
},
"devDependencies": {
"@ant-design/tools": "^18.0.2",
"@antv/gpt-vis": "^0.2.2",
"@biomejs/biome": "^1.9.0",
"@codecov/webpack-plugin": "^1.4.0",
"@codesandbox/sandpack-react": "^2.19.8",
Expand Down

0 comments on commit c952946

Please sign in to comment.