Skip to content

Commit

Permalink
chore: internal pakages
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed Apr 3, 2024
1 parent 4ed1b2d commit bbd1237
Show file tree
Hide file tree
Showing 14 changed files with 45 additions and 42 deletions.
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
"site:build": "pnpm --filter @antv/l7-site site:build",
"site:deploy": "pnpm --filter @antv/l7-site site:deploy",
"site:publish": "pnpm --filter @antv/l7-site site:publish",
"check-deps": "pnpm check-deps --parallel -r",
"check-deps": "pnpm --parallel -r check-deps",
"check-format": "./scripts/format-check.sh",
"format": "./scripts/format-fix.sh",
"lint:ts": "eslint examples/ __tests__/ && pnpm lint --parallel -r",
"lint:ts": "eslint examples/ __tests__/ && pnpm --parallel -r lint",
"lint:ts-fix": "pnpm lint:ts --fix",
"lint:css": "stylelint 'packages/**/*.{css,less}'",
"lint:css-fix": "stylelint --fix 'packages/**/*.{css,less}'",
Expand All @@ -25,16 +25,16 @@
"test-cover": "jest --config ./jest.config.ts --coverage",
"test:integration": "jest --config ./jest.e2e.config.ts",
"test:size": "pnpm --filter @antv/l7 build && limit-size",
"clean-dist": "pnpm clean --parallel -r --filter !@antv/l7-site",
"clean-dist": "pnpm --parallel -r --filter !@antv/l7-site clean",
"clean-deps": "./scripts/clean-deps.sh",
"translate": "translate -d",
"build": "pnpm -r --stream build",
"build": "pnpm -r --filter !@antv/l7-site build",
"version": "lerna version --force-publish --conventional-commits --exact --no-changelog",
"version:prerelease": "lerna version --force-publish --exact --conventional-prerelease",
"prerelease": "yarn build && limit-size",
"release": "lerna publish from-package --ignore @antv/l7-site && yarn sync",
"release-beta": "yarn run prerelease && lerna publish --dist-tag beta from-package --force-publish && yarn sync",
"sync": "pnpm sync --stream --parallel -r"
"sync": "pnpm --parallel -r sync"
},
"lint-staged": {
"*.md": [
Expand Down Expand Up @@ -116,6 +116,7 @@
"terminate": "latest",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "^5.2.2",
"typescript-eslint": "^7.3.1",
"vite": "^5.0.9",
Expand Down
8 changes: 4 additions & 4 deletions packages/component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
"sync": "tnpm sync"
},
"dependencies": {
"@antv/l7-core": "^2.21.3",
"@antv/l7-layers": "^2.21.3",
"@antv/l7-utils": "^2.21.3",
"@antv/l7-core": "workspace:*",
"@antv/l7-layers": "workspace:*",
"@antv/l7-utils": "workspace:*",
"@babel/runtime": "^7.7.7",
"eventemitter3": "^4.0.0",
"supercluster": "^7.0.0"
},
"devDependencies": {
"@antv/l7-test-utils": "^2.21.3",
"@antv/l7-test-utils": "workspace:*",
"gcoord": "^0.3.2",
"less": "^4.1.3"
},
Expand Down
3 changes: 1 addition & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"dependencies": {
"@antv/async-hook": "^2.2.9",
"@antv/l7-utils": "^2.21.3",
"@antv/l7-utils": "workspace:*",
"@babel/runtime": "^7.7.7",
"@mapbox/tiny-sdf": "^1.2.5",
"@turf/helpers": "^6.1.4",
Expand All @@ -37,7 +37,6 @@
"@types/element-resize-detector": "^1.1.6",
"@types/gl-matrix": "^2.4.5",
"@types/hammerjs": "^2.0.36",
"@types/lodash": "^4.14.138",
"@types/viewport-mercator-project": "^6.1.0"
},
"publishConfig": {
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/services/layer/LayerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import type { L7Container } from '../../inversify.config';
import Clock from '../../utils/clock';
import type { ILayer, ILayerService, LayerServiceEvent } from './ILayerService';
import { MaskOperation, StencilType } from './ILayerService';

const { throttle } = lodashUtil;

export default class LayerService extends EventEmitter<LayerServiceEvent> implements ILayerService {
Expand Down
14 changes: 7 additions & 7 deletions packages/l7/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
"sync": "tnpm sync"
},
"dependencies": {
"@antv/l7-component": "^2.21.3",
"@antv/l7-core": "^2.21.3",
"@antv/l7-layers": "^2.21.3",
"@antv/l7-maps": "^2.21.3",
"@antv/l7-scene": "^2.21.3",
"@antv/l7-source": "^2.21.3",
"@antv/l7-utils": "^2.21.3",
"@antv/l7-component": "workspace:*",
"@antv/l7-core": "workspace:*",
"@antv/l7-layers": "workspace:*",
"@antv/l7-maps": "workspace:*",
"@antv/l7-scene": "workspace:*",
"@antv/l7-source": "workspace:*",
"@antv/l7-utils": "workspace:*",
"@babel/runtime": "^7.7.7"
},
"publishConfig": {
Expand Down
10 changes: 5 additions & 5 deletions packages/layers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
},
"dependencies": {
"@antv/async-hook": "^2.2.9",
"@antv/l7-core": "^2.21.3",
"@antv/l7-maps": "^2.21.3",
"@antv/l7-source": "^2.21.3",
"@antv/l7-utils": "^2.21.3",
"@antv/l7-core": "workspace:*",
"@antv/l7-maps": "workspace:*",
"@antv/l7-source": "workspace:*",
"@antv/l7-utils": "workspace:*",
"@babel/runtime": "^7.7.7",
"@mapbox/martini": "^0.2.0",
"@turf/clone": "^6.5.0",
Expand All @@ -47,7 +47,7 @@
"polyline-miter-util": "^1.0.1"
},
"devDependencies": {
"@antv/l7-test-utils": "^2.21.3",
"@antv/l7-test-utils": "workspace:*",
"@types/d3-array": "^2.0.0",
"@types/d3-color": "^1.2.2",
"@types/d3-interpolate": "1.1.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/map/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"sync": "tnpm sync"
},
"dependencies": {
"@antv/l7-utils": "^2.21.3",
"@antv/l7-utils": "workspace:*",
"@babel/runtime": "^7.7.7",
"@mapbox/point-geometry": "^0.1.0",
"@mapbox/unitbezier": "^0.0.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/maps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
},
"dependencies": {
"@amap/amap-jsapi-loader": "^1.0.1",
"@antv/l7-core": "^2.21.3",
"@antv/l7-map": "^2.21.3",
"@antv/l7-utils": "^2.21.3",
"@antv/l7-core": "workspace:*",
"@antv/l7-map": "workspace:*",
"@antv/l7-utils": "workspace:*",
"@babel/runtime": "^7.7.7",
"eventemitter3": "^4.0.0",
"gl-matrix": "^3.1.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/renderer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
},
"dependencies": {
"@antv/g-device-api": "^1.6.4",
"@antv/l7-core": "^2.21.3",
"@antv/l7-utils": "^2.21.3",
"@antv/l7-core": "workspace:*",
"@antv/l7-utils": "workspace:*",
"@babel/runtime": "^7.7.7",
"regl": "1.6.1"
},
"devDependencies": {
"@antv/l7-test-utils": "^2.21.3"
"@antv/l7-test-utils": "workspace:*"
},
"publishConfig": {
"access": "public"
Expand Down
14 changes: 7 additions & 7 deletions packages/scene/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
"sync": "tnpm sync"
},
"dependencies": {
"@antv/l7-component": "^2.21.3",
"@antv/l7-core": "^2.21.3",
"@antv/l7-layers": "^2.21.3",
"@antv/l7-maps": "^2.21.3",
"@antv/l7-renderer": "^2.21.3",
"@antv/l7-utils": "^2.21.3",
"@antv/l7-component": "workspace:*",
"@antv/l7-core": "workspace:*",
"@antv/l7-layers": "workspace:*",
"@antv/l7-maps": "workspace:*",
"@antv/l7-renderer": "workspace:*",
"@antv/l7-utils": "workspace:*",
"@babel/runtime": "^7.7.7",
"eventemitter3": "^4.0.7"
},
"devDependencies": {
"@antv/l7-test-utils": "^2.21.3"
"@antv/l7-test-utils": "workspace:*"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/source/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
},
"dependencies": {
"@antv/async-hook": "^2.2.9",
"@antv/l7-core": "^2.21.3",
"@antv/l7-utils": "^2.21.3",
"@antv/l7-core": "workspace:*",
"@antv/l7-utils": "workspace:*",
"@babel/runtime": "^7.7.7",
"@mapbox/geojson-rewind": "^0.5.2",
"@mapbox/vector-tile": "^1.3.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/three/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"sync": "tnpm sync"
},
"dependencies": {
"@antv/l7": "^2.21.3",
"@antv/l7": "workspace:*",
"@babel/runtime": "^7.7.7",
"three": "0.115.0"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
},
"devDependencies": {
"@types/d3-color": "^1.2.2",
"@types/earcut": "^2.1.0"
"@types/earcut": "^2.1.0",
"@types/lodash": "^4.14.138"
},
"publishConfig": {
"access": "public"
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
},
// paths intend to lint
"include": [
"./*.ts",
"./*.?*.ts",
"packages",
"packages/*/.?*.ts",
// examples workspace lint
"examples",
// test workspace lint
Expand Down

0 comments on commit bbd1237

Please sign in to comment.