- Added authentication service and GitHub OAuth integration. - Introduced new authentication methods and structures in the model. - Updated the API to handle authentication during the publishing process. - Created handlers for starting and checking the status of the OAuth flow. - Enhanced the publish handler to validate authentication credentials. - Updated configuration to include GitHub OAuth settings. - Added tests for the OAuth flow and publishing with authentication. - Updated documentation to reflect changes in the API and authentication process.
38 lines
No EOL
824 B
JSON
38 lines
No EOL
824 B
JSON
{
|
|
"name": "io.github.<username>/<repository>",
|
|
"description": "<description>",
|
|
"version_detail": {
|
|
"version": "1.0.2"
|
|
},
|
|
"registries": [
|
|
{
|
|
"name": "npm",
|
|
"package_name": "<npm_package_name>",
|
|
"license": "MIT",
|
|
"command_arguments": {
|
|
"sub_commands": [
|
|
{
|
|
"name": "start",
|
|
"description": "Start the server",
|
|
"named_arguments": null
|
|
}
|
|
],
|
|
"positional_arguments": null,
|
|
"environment_variables": [
|
|
{
|
|
"name": "PORT",
|
|
"description": "Port to run the server on",
|
|
"required": false
|
|
}
|
|
],
|
|
"named_arguments": null
|
|
}
|
|
}
|
|
],
|
|
"remotes": [
|
|
{
|
|
"transporttype": "http",
|
|
"url": "http://example.com/api"
|
|
}
|
|
]
|
|
} |