Skip to content

Commit

Permalink
Simplify building docs and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz authored and ankoh committed May 22, 2021
1 parent bf41019 commit 5c7564f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 12 deletions.
5 changes: 0 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,6 @@ duckdb:
duckdb_docs:
yarn workspace @duckdb/duckdb-wasm docs

# Watch the duckdb docs
.PHONY: duckdb_docs_watch
duckdb_docs_watch:
yarn workspace @duckdb/duckdb-wasm docs --watch

# Run the duckdb javascript tests
.PHONY: duckdb_tests
duckdb_tests: duckdb
Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
"packages/*"
],
"scripts": {
"format": "prettier --write packages"
},
"dependencies": {
"prettier": "^2.3.0"
"fix": "yarn workspace @duckdb/duckdb-wasm lint --fix && yarn workspace @duckdb/benchmarks lint --fix && yarn workspace @duckdb/explorer lint --fix",
"docs": "yarn workspace @duckdb/duckdb-wasm docs"
}
}
2 changes: 1 addition & 1 deletion packages/benchmarks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
},
"scripts": {
"build": "tsc",
"lint": "yarn run eslint {src,test}/**/*.ts"
"lint": "yarn run eslint src types"
}
}
2 changes: 1 addition & 1 deletion packages/duckdb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"test": "npm run test:browser && npm run test:node",
"test:cov": "npm run test:browser:cov && npm run test:node:cov && npm run report",
"test:ci": "npm run test:cov",
"lint": "yarn run eslint src test"
"lint": "yarn run eslint src test types"
},
"files": [
"dist/*.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build:release": "NODE_OPTIONS='--max-old-space-size=4096' webpack --config webpack.release.js",
"analyze:debug": "webpack --config webpack.debug.js --analyze",
"analyze:release": "webpack --config webpack.release.js --analyze",
"lint": "yarn run eslint {src,test}/**/*.t{s,sx}"
"lint": "yarn run eslint src types"
},
"engines": {
"node": ">=14.13"
Expand Down

0 comments on commit 5c7564f

Please sign in to comment.