Skip to content

Commit

Permalink
Merge 075aca0 into c73fcd0
Browse files Browse the repository at this point in the history
  • Loading branch information
lvisei committed Apr 18, 2022
2 parents c73fcd0 + 075aca0 commit 9527f7f
Show file tree
Hide file tree
Showing 9 changed files with 31 additions and 19 deletions.
4 changes: 2 additions & 2 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
"version": {
"message": "chore: publish %s",
"conventionalCommits": true,
"private": true,
"private": false,
"changelog": false,
"exact": true
"exact": false
},
"publish": {
"registry": "https://registry.npmjs.org"
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
"build-website": "lerna run build --stream --scope=l7plot-website",
"bundle": "lerna run build:umd --stream --scope=@antv/l7plot",
"deploy-website": "lerna run deploy --stream --scope=l7plot-website",
"version": "lerna version",
"postversion": "node ./scripts/sync-version",
"prepublish-package": "yarn build && yarn bundle",
"publish-package": "lerna publish from-package"
"version": "node scripts/sync-version",
"prepublishOnly": "yarn build && yarn bundle",
"package-version": "lerna version",
"package-publish": "lerna publish from-package"
},
"devDependencies": {
"@commitlint/cli": "^12.1.4",
Expand Down
8 changes: 5 additions & 3 deletions packages/component/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
"outDir": "dist/lib",
"rootDir": "src",
"composite": true
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
"exclude": ["node_modules"],
"references": []
}
8 changes: 5 additions & 3 deletions packages/composite-layers/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
"outDir": "dist/lib",
"rootDir": "src",
"composite": true
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
"exclude": ["node_modules"],
"references": []
}
2 changes: 1 addition & 1 deletion packages/l7plot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"dist"
],
"scripts": {
"dev": "yarn run clean && yarn run dev:cjs",
"dev": "yarn run dev:cjs",
"dev:cjs": "tsc -p tsconfig.json --target ES6 --module CommonJS --outDir dist/lib --watch",
"lint": "eslint src __tests__ --ext .js,.ts",
"lint-fix": "eslint src __tests__ --ext .js,.ts --fix",
Expand Down
6 changes: 4 additions & 2 deletions packages/l7plot/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,14 @@
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "dist",
"rootDir": "src"
"rootDir": "src",
"composite": true
},
"include": ["src/**/*"],
"exclude": ["node_modules"],
"typedocOptions": {
"entryPoints": ["src/index.ts"],
"out": "type-docs"
}
},
"references": [{ "path": "../component" }, { "path": "../composite-layers" }]
}
2 changes: 1 addition & 1 deletion storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
"dependencies": {
"@antv/l7": "^2.7.22",
"@antv/l7plot": "0.0.11",
"@antv/l7plot": "link:../packages/l7plot",
"antd": "^4.16.13",
"react": "^16.14.0",
"react-dom": "^16.14.0"
Expand Down
10 changes: 8 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@
/* Module Resolution Options */
"moduleResolution": "node",
"baseUrl": ".",
"paths": {},
"paths": {
"@antv/l7plot": ["packages/l7plot/src"],
"@antv/l7plot-component": ["packages/component/src"],
"@antv/l7-composite-layers": ["packages/composite-layers/src"]
},
"rootDirs": [],
// "types": [],
"allowSyntheticDefaultImports": true,
Expand All @@ -59,5 +63,7 @@
/* Advanced Options */
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
}
},
"include": ["packages", "storybook", "website"],
"exclude": ["packages/*/dist/**", "coverage"]
}
2 changes: 1 addition & 1 deletion website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"prettier": "prettier -c -w docs examples"
},
"dependencies": {
"@antv/l7plot": "0.0.11",
"@antv/l7plot": "link:../packages/l7plot",
"antd": "^4.16.13",
"react": "^16.14.0",
"react-dom": "^16.14.0"
Expand Down

0 comments on commit 9527f7f

Please sign in to comment.