Skip to content

Commit

Permalink
Made mergeq a .bin and supported npm run mergeq
Browse files Browse the repository at this point in the history
Signed-off-by: Dj Walker-Morgan <[email protected]>
  • Loading branch information
djw-m committed Jan 16, 2025
1 parent e54d294 commit 4be1b5a
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 0 deletions.
99 changes: 99 additions & 0 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"install-docs:build": "docker compose -f docker/docker-compose.install-template.yaml run --rm install-docs-template-renderer",
"install-docs:deploy": "docker compose -f docker/docker-compose.install-template.yaml run --rm install-docs-template-renderer sh -c 'npm i && node deploy.mjs product_docs/docs advocacy_docs'",
"install-docs:rebuild-docker-image": "docker compose -f docker/docker-compose.install-template.yaml build --pull --no-cache",
"mergeq": "mergeq",
"links:check": "docker compose -f docker/docker-compose.check-links.yaml run --rm docs-link-checker",
"links:rebuild-docker-image": "docker compose -f docker/docker-compose.check-links.yaml build --pull --no-cache",
"logs": "docker compose -f docker/docker-compose.quickstart.yaml logs -f",
Expand Down Expand Up @@ -88,6 +89,7 @@
"react-instantsearch": "^7.8.1",
"rehype-parse": "^7.0.1",
"relgen": "file:tools/automation/generators/relgen",
"mergeq": "file:tools/user/mergeq",
"remark-admonitions": "github:josh-heyer/remark-admonitions",
"sass": "^1.77.6",
"truncate-utf8-bytes": "^1.0.2",
Expand Down
3 changes: 3 additions & 0 deletions tools/user/mergeq/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"description": "Calculate the backlog of Merged PRs since last production builds",
"main": "mergeq.js",
"type": "module",
"bin": {
"mergeq": "./mergeq.js"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down

1 comment on commit 4be1b5a

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.