Skip to content

Commit

Permalink
Merge pull request #482 from msagi/add-cli-tool
Browse files Browse the repository at this point in the history
  • Loading branch information
coopernetes authored Apr 11, 2024
2 parents f3fd0ee + d037f9e commit 56ef2ab
Show file tree
Hide file tree
Showing 16 changed files with 1,810 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
id: test
run: |
npm run test-coverage-ci
npm run test-coverage-ci --workspaces --if-present
- name: Upload test coverage report
uses: codecov/[email protected]
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ jobs:
fetch-depth: 0

- name: Install Dependencies
run: npm i
run: npm install --workspaces

- name: Code Linting
run: npm run lint
run: |
npm run lint
npm run lint --workspaces --if-present
27 changes: 27 additions & 0 deletions package-lock.json

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

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "1.1.0",
"description": "Deploy custom push protections and policies on top of Git.",
"scripts": {
"cli": "node ./packages/git-proxy-cli/index.js",
"client": "vite --config vite.config.js",
"clientinstall": "npm install --prefix client",
"server": "node index.js",
Expand All @@ -18,6 +19,9 @@
"lint": "eslint --fix . --ext .js,.jsx",
"gen-schema-doc": "node ./scripts/doc-schema.js"
},
"workspaces": [
"./packages/git-proxy-cli"
],
"bin": "./index.js",
"author": "Paul Groves",
"license": "Apache-2.0",
Expand Down
Loading

0 comments on commit 56ef2ab

Please sign in to comment.