Skip to content

Commit

Permalink
Merge pull request #293 from vizzuhq/cicd
Browse files Browse the repository at this point in the history
changed: contributing guide
  • Loading branch information
veghdev authored Dec 21, 2023
2 parents d2740bc + c4b213d commit f728294
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ Once set up, you can install development dependencies:

```sh
pdm install
pdm run deploy
```

For contributing to the documentation you need to install `npm` development
Expand Down
13 changes: 11 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,17 @@
},
"prettier": "@vizzu/prettier-config",
"eslintConfig": {
"extends": [
"@vizzu/eslint-config/standard"
"overrides": [
{
"files": [
"*.js",
"*.mjs",
"*.cjs"
],
"extends": [
"@vizzu/eslint-config/standard"
]
}
]
}
}
14 changes: 7 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ lint-tools = {composite = ["lint-tools-py", "lint-tools-js"]}
lint-tools-py = {composite = ["lint-pylint tools"]}
lint-tools-js = {composite = ["lint-eslint tools"]}
lint-pylint = "pylint"
lint-eslint = "npx eslint --ext .js,.cjs,.mjs"
lint-eslint = "npx eslint"

type = {composite = ["type-src", "type-tools"]}
type-src = {composite = ["type-src-py"]}
Expand All @@ -110,14 +110,14 @@ test = "tox"

ci = {composite = ["ci-src", "ci-docs", "ci-tools"]}
ci-src = {composite = ["ci-src-py", "ci-src-js"]}
ci-src-py = {composite = ["format-src-py ", "lint-src-py ", "type-src-py", "test"]}
ci-src-js = {composite = ["format-src-js ", "lint-src-js "]}
ci-src-py = {composite = ["format-src-py", "lint-src-py", "type-src-py", "test"]}
ci-src-js = {composite = ["format-src-js", "lint-src-js"]}
ci-docs = {composite = ["ci-docs-py", "ci-docs-js"]}
ci-docs-py = {composite = ["format-docs-py "]}
ci-docs-js = {composite = ["format-docs-js ", "lint-docs-js "]}
ci-docs-py = {composite = ["format-docs-py"]}
ci-docs-js = {composite = ["format-docs-js", "lint-docs-js"]}
ci-tools = {composite = ["ci-tools-py", "ci-tools-js"]}
ci-tools-py = {composite = ["format-tools-py", "lint-tools-py", "type-tools-py"]}
ci-tools-js = {composite = ["format-tools-js ", "lint-tools-js "]}
ci-tools-js = {composite = ["format-tools-js ", "lint-tools-js"]}

fix = {composite = ["fix-format", "fix-lint"]}

Expand All @@ -142,7 +142,7 @@ fix-lint-docs = {composite = ["fix-lint-docs-js"]}
fix-lint-docs-js = {composite = ["fix-lint-eslint docs"]}
fix-lint-tools = {composite = ["fix-lint-tools-js"]}
fix-lint-tools-js = {composite = ["fix-lint-eslint tools"]}
fix-lint-eslint = "npx eslint --ext .js,.cjs,.mjs --fix"
fix-lint-eslint = "npx eslint --fix"

build-docs = {composite = ["python tools/docs/placeholder.py", "mkdocs build -f ./tools/docs/mkdocs.yml"]}
deploy-docs = {composite = ["python tools/docs/placeholder.py", "python ./tools/docs/deploy.py"]}
Expand Down

0 comments on commit f728294

Please sign in to comment.