Skip to content

Commit

Permalink
refactor: ♻️ remove some package (antvis#2729)
Browse files Browse the repository at this point in the history
  • Loading branch information
NewByVector authored Sep 28, 2022
1 parent 48def79 commit 6f089f5
Show file tree
Hide file tree
Showing 1,106 changed files with 2,141 additions and 147,927 deletions.
8 changes: 0 additions & 8 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ coverage:
threshold: 1%
flags:
- x6
x6-vector:
threshold: 1%
target: 80% # will fail a Pull Request if coverage is less than 80%
flags:
- x6-vector
x6-geometry:
threshold: 1%
flags:
Expand All @@ -26,9 +21,6 @@ flags:
paths:
# filter the folder(s) you wish to measure by that flag
- packages/x6
x6-vector:
paths:
- packages/x6-vector
x6-geometry:
paths:
- packages/x6-geometry
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./packages/x6/test/coverage/lcov.info
flags: x6
- name: 💡 Codecov(x6-vector)
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./packages/x6-vector/test/coverage/lcov.info
flags: x6-vector
- name: 💡 Codecov(x6-geometry)
uses: codecov/codecov-action@v1
with:
Expand Down
6 changes: 2 additions & 4 deletions examples/x6-example-features/package.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
{
"private": true,
"name": "@antv/x6-example-features",
"version": "2.0.2-beta.0",
"version": "2.0.0",
"scripts": {
"start": "umi dev",
"build": "umi build",
"lint": "eslint 'src/**/*.{js,ts}?(x)' --fix",
"precommit": "lint-staged"
},
"dependencies": {
"@antv/x6": "^1.30.2",
"@antv/x6-next": "^2.0.6-beta.0",
"@antv/x6": "^2.0.6-beta.0",
"@antv/x6-react-components": "^2.0.6-beta.0",
"@antv/x6-react-shape": "^2.0.6-beta.0",
"@antv/x6-vector": "^1.3.0",
"antd": "^4.4.2",
"classnames": "^2.2.6",
"dagre": "^0.8.5",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { Graph, Cell } from '@antv/x6-next'
import { Graph, Cell } from '@antv/x6'
import { Point } from '@antv/x6-geometry'
import { Timing, Interp } from '@antv/x6-common'
import '../index.less'
Expand Down
2 changes: 1 addition & 1 deletion examples/x6-example-features/src/pages/bus/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react'
import { Graph, Cell } from '@antv/x6-next'
import { Graph, Cell } from '@antv/x6'
import { Bus, Connector, Component, Fader, Aux } from './shapes'
import '../index.less'
import './index.less'
Expand Down
2 changes: 1 addition & 1 deletion examples/x6-example-features/src/pages/bus/shapes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Node, Shape } from '@antv/x6-next'
import { Node, Shape } from '@antv/x6'

export class Bus extends Shape.Edge {
static create(x: number, label: string, color: string) {
Expand Down
Loading

0 comments on commit 6f089f5

Please sign in to comment.