Closed mikkeschiren closed 1 month ago
This update introduces significant improvements to the Harbor plugin's backend configuration in the README.md
, enhances the package.json
with new metadata and updated dependencies, and adds a new src/plugin.ts
file that implements the Harbor backend plugin. Minor formatting changes were consistently applied across multiple files for improved readability. Overall, these modifications enhance clarity, functionality, and maintainability of the codebase.
File(s) | Change Summary |
---|---|
README.md |
Added "New backend" section for Harbor plugin configuration; updated commands and environment variable syntax; minor formatting improvements. |
backstage.json |
Updated version from 1.5.0 to 1.29.2 . |
package.json |
Added "private": false , restructured repository field, introduced new backstage properties, and updated multiple dependencies. |
src/index.ts |
Added default export for harborBackendPlugin . |
src/plugin.ts |
Implemented the Harbor backend plugin, setting up services and HTTP router initialization. |
src/run.ts , src/service/*.test.ts , src/service/*.ts , src/service/router.ts |
Minor formatting changes: added semicolons to import statements; no functional changes. |
tsconfig.json |
Added "node_modules" to the exclude property for TypeScript compilation. |
sequenceDiagram
participant User
participant Backend
participant Logger
participant Router
User->>Backend: Initialize Harbor Plugin
Backend->>Logger: Log initialization message
Backend->>Router: Create HTTP Router
Router-->>Backend: Router ready
Backend-->>User: Plugin initialized
🐇 In the code, I hop and play,
With semicolons bright as day.
The Harbor's strength now shines so clear,
With plugins ready, never fear!
Each change a leap, each file a treat,
Together we make our code complete! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
it seems that failed the branch due to the readme file having more than 80 chars. https://app.codacy.com/gh/container-registry/backstage-plugin-harbor-backend/pull-requests/117/issues#issue-40a13fcad6f0ff815ce162ef068318bd @mikkeschiren can you disable this rule? (at least for md files)
Added plugin updates and the new backend system for Backstage.
As for the update done for the frontend plugin, we still reference the old NPM package, so installation still does not work.
Summary by CodeRabbit
New Features
Bug Fixes
getArtifacts
function for better reliability.Documentation
Chores
package.json
to improve functionality and compatibility.exclude
property intsconfig.json
to optimize TypeScript compilation.