Skip to content

Commit

Permalink
build(npm): formats emitted javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
sverweij committed Feb 27, 2024
1 parent dcaf649 commit 93abf9b
Show file tree
Hide file tree
Showing 5 changed files with 180 additions and 136 deletions.
47 changes: 24 additions & 23 deletions dist/cli.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 16 additions & 15 deletions dist/determine-policies.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

165 changes: 95 additions & 70 deletions dist/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

70 changes: 43 additions & 27 deletions dist/update-manifest.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"libnpmconfig": "^1.2.1"
},
"scripts": {
"build": "npm-run-all build:clean build:ts build:chmod-bin",
"build": "npm-run-all build:clean build:ts format:dist build:chmod-bin",
"build:chmod-bin": "chmod 700 dist/cli.js",
"build:clean": "rm -rf dist",
"build:ts": "tsc",
Expand All @@ -68,6 +68,7 @@
"depcruise:graph": "npm-run-all depcruise:graph:html",
"depcruise:graph:html": "depcruise src --validate --output-type dot | dot -T svg | tee docs/dependencygraph.svg | depcruise-wrap-stream-in-html > docs/dependencygraph.html",
"depcruise:graph:view": "depcruise src --validate --output-type dot --prefix vscode://file/$(pwd)/ | dot -T svg | depcruise-wrap-stream-in-html | browser",
"format:dist": "prettier --write dist/",
"format": "prettier --write \"src/**/*.{ts,js}\" \"*.{json,yml,md}\" .github",
"format:check": "prettier --check \"src/**/*.{ts,js}\" \"*.{json,yml,md}\" .github",
"lint": "npm-run-all lint:eslint format:check",
Expand Down

0 comments on commit 93abf9b

Please sign in to comment.