Skip to content

Commit 35fa251

Browse files
authored
Merge branch 'main' into license_inventory_kickoff
2 parents 02cb92f + e640ef1 commit 35fa251

File tree

12 files changed

+827
-1445
lines changed

12 files changed

+827
-1445
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
npm run test-coverage-ci --workspaces --if-present
4848
4949
- name: Upload test coverage report
50-
uses: codecov/codecov-action@v4.6.0
50+
uses: codecov/codecov-action@v5.0.7
5151
with:
5252
files: ./coverage/lcov.info
5353
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/sample-publish.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Publish samples to NPM
2+
3+
on:
4+
push:
5+
tags:
6+
- 'sample-*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
13+
# Setup .npmrc file to publish to npm
14+
- uses: actions/setup-node@v4
15+
with:
16+
node-version: '18.x'
17+
registry-url: 'https://registry.npmjs.org'
18+
- name: publish sample package
19+
run: npm install --include peer && npm publish --access=public
20+
working-directory: plugins/git-proxy-plugin-samples
21+
env:
22+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232

3333
steps:
3434
- name: Harden Runner
35-
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
35+
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2
3636
with:
3737
egress-policy: audit
3838

@@ -72,6 +72,6 @@ jobs:
7272

7373
# Upload the results to GitHub's code scanning dashboard.
7474
- name: "Upload to code-scanning"
75-
uses: github/codeql-action/upload-sarif@e2b3eafc8d227b0241d48be5f425d47c2d750a13 # v3.26.10
75+
uses: github/codeql-action/upload-sarif@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6
7676
with:
7777
sarif_file: results.sarif

package-lock.json

Lines changed: 590 additions & 1244 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"react": "^16.13.1",
6969
"react-dom": "^16.13.1",
7070
"react-html-parser": "^2.0.2",
71-
"react-router-dom": "6.26.2",
71+
"react-router-dom": "6.28.0",
7272
"simple-git": "^3.25.0",
7373
"uuid": "^10.0.0",
7474
"yargs": "^17.7.2"

packages/git-proxy-notify-hello/package.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

plugins/README.md

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# GitProxy plugins & samples
2+
GitProxy supports extensibility in the form of plugins. These plugins are specified via [configuration](https://git-proxy.finos.org/docs/category/configuration) as NPM packages or JavaScript code on disk. For each plugin configured, GitProxy will attempt to load each package or file as a standard [Node module](https://nodejs.org/api/modules.html). Plugin authors will create instances of the extension classes exposed by GitProxy and use these objects to implement custom functionality.
3+
4+
For detailed documentation, please refer to the [GitProxy development resources on the project's site](https://git-proxy.finos.org/docs/development/plugins)
5+
6+
## Included plugins
7+
These plugins are maintained by the core GitProxy team. As a future roadmap item, organizations can choose to omit
8+
certain features of GitProxy by simply removing the dependency from a deployed version of the application.
9+
10+
- `git-proxy-plugin-samples`: "hello world" examples of the GitProxy plugin system
11+
12+
## Contributing
13+
14+
Please refer to the [CONTRIBUTING.md](https://git-proxy.finos.org/docs/development/contributing) file for information on how to contribute to the GitProxy project.

plugins/git-proxy-plugin-samples/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*/
55

66
// Peer dependencies; its expected that these deps exist on Node module path if you've installed @finos/git-proxy
7-
import { PullActionPlugin } from "@finos/git-proxy/src/plugin";
8-
import { Step } from "@finos/git-proxy/src/proxy/actions";
7+
import { PullActionPlugin } from "@finos/git-proxy/src/plugin.js";
8+
import { Step } from "@finos/git-proxy/src/proxy/actions/index.js";
99

1010
class RunOnPullPlugin extends PullActionPlugin {
1111
constructor() {

plugins/git-proxy-plugin-samples/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@finos/git-proxy-plugin-samples",
3-
"version": "0.1.0-alpha.0",
3+
"version": "0.1.1",
44
"description": "A set of sample (dummy) plugins for GitProxy to demonstrate how plugins are authored.",
55
"scripts": {
66
"test": "echo \"Error: no test specified\" && exit 1"
@@ -16,6 +16,6 @@
1616
"express": "^4.18.2"
1717
},
1818
"peerDependencies": {
19-
"@finos/git-proxy": "1.3.5-alpha.5"
19+
"@finos/git-proxy": "^1.4.0"
2020
}
2121
}

0 commit comments

Comments
 (0)