Merge remote-tracking branch 'upstream/master' into feat/techdocs-build-logs
This commit is contained in:
@@ -1,5 +1,16 @@
|
||||
# @backstage/techdocs-common
|
||||
|
||||
## 0.6.7
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 683308ecf: Fix openStack swift publisher encoding issue. Remove utf8 forced encoding on binary files
|
||||
- 6841e0113: fix minor version of git-url-parse as 11.5.x introduced a bug for Bitbucket Server
|
||||
- Updated dependencies
|
||||
- @backstage/integration@0.5.8
|
||||
- @backstage/catalog-model@0.9.0
|
||||
- @backstage/backend-common@0.8.5
|
||||
|
||||
## 0.6.6
|
||||
|
||||
### Patch Changes
|
||||
|
||||
@@ -12,17 +12,17 @@ import { EntityName } from '@backstage/catalog-model';
|
||||
import express from 'express';
|
||||
import { GitHubIntegrationConfig } from '@backstage/integration';
|
||||
import { GitLabIntegrationConfig } from '@backstage/integration';
|
||||
import { Logger } from 'winston';
|
||||
import { Logger as Logger_2 } from 'winston';
|
||||
import { PluginEndpointDiscovery } from '@backstage/backend-common';
|
||||
import { UrlReader } from '@backstage/backend-common';
|
||||
import { Writable } from 'stream';
|
||||
|
||||
// @public (undocumented)
|
||||
export const checkoutGitRepository: (repoUrl: string, config: Config, logger: Logger) => Promise<string>;
|
||||
export const checkoutGitRepository: (repoUrl: string, config: Config, logger: Logger_2) => Promise<string>;
|
||||
|
||||
// @public (undocumented)
|
||||
export class CommonGitPreparer implements PreparerBase {
|
||||
constructor(config: Config, logger: Logger);
|
||||
constructor(config: Config, logger: Logger_2);
|
||||
// (undocumented)
|
||||
prepare(entity: Entity, options?: {
|
||||
etag?: string;
|
||||
@@ -31,7 +31,7 @@ export class CommonGitPreparer implements PreparerBase {
|
||||
|
||||
// @public (undocumented)
|
||||
export class DirectoryPreparer implements PreparerBase {
|
||||
constructor(config: Config, logger: Logger, reader: UrlReader);
|
||||
constructor(config: Config, logger: Logger_2, reader: UrlReader);
|
||||
// (undocumented)
|
||||
prepare(entity: Entity): Promise<PreparerResponse>;
|
||||
}
|
||||
@@ -61,7 +61,7 @@ export type GeneratorRunOptions = {
|
||||
export class Generators implements GeneratorBuilder {
|
||||
// (undocumented)
|
||||
static fromConfig(config: Config, { logger, containerRunner, }: {
|
||||
logger: Logger;
|
||||
logger: Logger_2;
|
||||
containerRunner: ContainerRunner;
|
||||
}): Promise<GeneratorBuilder>;
|
||||
// (undocumented)
|
||||
@@ -79,7 +79,7 @@ export const getDefaultBranch: (repositoryUrl: string, config: Config) => Promis
|
||||
// @public (undocumented)
|
||||
export const getDocFilesFromRepository: (reader: UrlReader, entity: Entity, opts?: {
|
||||
etag?: string | undefined;
|
||||
logger?: Logger | undefined;
|
||||
logger?: Logger_2 | undefined;
|
||||
} | undefined) => Promise<PreparerResponse>;
|
||||
|
||||
// @public (undocumented)
|
||||
@@ -98,7 +98,7 @@ export const getGitRepositoryTempFolder: (repositoryUrl: string, config: Config)
|
||||
export function getGitRepoType(url: string): string;
|
||||
|
||||
// @public (undocumented)
|
||||
export const getLastCommitTimestamp: (repositoryLocation: string, logger: Logger) => Promise<number>;
|
||||
export const getLastCommitTimestamp: (repositoryLocation: string, logger: Logger_2) => Promise<number>;
|
||||
|
||||
// @public (undocumented)
|
||||
export const getLocationForEntity: (entity: Entity) => ParsedLocationAnnotation;
|
||||
@@ -118,7 +118,7 @@ export const parseReferenceAnnotation: (annotationName: string, entity: Entity)
|
||||
// @public (undocumented)
|
||||
export type PreparerBase = {
|
||||
prepare(entity: Entity, options?: {
|
||||
logger?: Logger;
|
||||
logger?: Logger_2;
|
||||
etag?: string;
|
||||
}): Promise<PreparerResponse>;
|
||||
};
|
||||
@@ -163,7 +163,7 @@ export type RemoteProtocol = 'url' | 'dir' | 'github' | 'gitlab' | 'file' | 'azu
|
||||
// @public (undocumented)
|
||||
export class TechdocsGenerator implements GeneratorBase {
|
||||
constructor({ logger, containerRunner, config, }: {
|
||||
logger: Logger;
|
||||
logger: Logger_2;
|
||||
containerRunner: ContainerRunner;
|
||||
config: Config;
|
||||
});
|
||||
@@ -180,7 +180,7 @@ export type TechDocsMetadata = {
|
||||
|
||||
// @public (undocumented)
|
||||
export class UrlPreparer implements PreparerBase {
|
||||
constructor(reader: UrlReader, logger: Logger);
|
||||
constructor(reader: UrlReader, logger: Logger_2);
|
||||
// (undocumented)
|
||||
prepare(entity: Entity, options?: {
|
||||
etag?: string;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@backstage/techdocs-common",
|
||||
"description": "Common functionalities for TechDocs, to be shared between techdocs-backend plugin and techdocs-cli",
|
||||
"version": "0.6.6",
|
||||
"version": "0.6.7",
|
||||
"main": "src/index.ts",
|
||||
"types": "src/index.ts",
|
||||
"private": false,
|
||||
@@ -38,18 +38,18 @@
|
||||
"dependencies": {
|
||||
"@azure/identity": "^1.2.2",
|
||||
"@azure/storage-blob": "^12.4.0",
|
||||
"@backstage/backend-common": "^0.8.4",
|
||||
"@backstage/catalog-model": "^0.8.4",
|
||||
"@backstage/backend-common": "^0.8.5",
|
||||
"@backstage/catalog-model": "^0.9.0",
|
||||
"@backstage/config": "^0.1.5",
|
||||
"@backstage/errors": "^0.1.1",
|
||||
"@backstage/integration": "^0.5.7",
|
||||
"@backstage/integration": "^0.5.8",
|
||||
"@google-cloud/storage": "^5.6.0",
|
||||
"@types/express": "^4.17.6",
|
||||
"aws-sdk": "^2.840.0",
|
||||
"cross-fetch": "^3.0.6",
|
||||
"express": "^4.17.1",
|
||||
"fs-extra": "^10.0.0",
|
||||
"git-url-parse": "^11.4.4",
|
||||
"git-url-parse": "~11.4.4",
|
||||
"js-yaml": "^4.0.0",
|
||||
"json5": "^2.1.3",
|
||||
"mime-types": "^2.1.27",
|
||||
|
||||
Reference in New Issue
Block a user