From 7f9276f15bb5daf0d1b41a7ee83d08976a9b0b97 Mon Sep 17 00:00:00 2001 From: Andrea Lamparelli Date: Tue, 20 Jun 2023 23:24:29 +0200 Subject: [PATCH] chore: update readme --- .github/workflows/ci.yml | 2 +- README.md | 8 +++++++- dist/cli/index.js | 1 + dist/gha/index.js | 1 + src/service/git/git-service-factory.ts | 1 + 5 files changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 775fa65..d2fc765 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,7 +1,7 @@ # This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node # For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions -name: "Main CI" +name: "main ci" on: push: diff --git a/README.md b/README.md index 5346116..b37163b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,13 @@

- CI Checks Status + ci checks status + + + npm version + + + vulnerabilities

diff --git a/dist/cli/index.js b/dist/cli/index.js index 7467d3a..72ca8bf 100755 --- a/dist/cli/index.js +++ b/dist/cli/index.js @@ -320,6 +320,7 @@ class GitServiceFactory { * @param type git management service type * @param auth authentication, like github token */ + // TODO rename to getOrCreate static init(type, auth) { if (GitServiceFactory.instance) { GitServiceFactory.logger.warn("Git service already initialized!"); diff --git a/dist/gha/index.js b/dist/gha/index.js index 1cc3bde..9a5ec89 100755 --- a/dist/gha/index.js +++ b/dist/gha/index.js @@ -311,6 +311,7 @@ class GitServiceFactory { * @param type git management service type * @param auth authentication, like github token */ + // TODO rename to getOrCreate static init(type, auth) { if (GitServiceFactory.instance) { GitServiceFactory.logger.warn("Git service already initialized!"); diff --git a/src/service/git/git-service-factory.ts b/src/service/git/git-service-factory.ts index 40573fb..6cda575 100644 --- a/src/service/git/git-service-factory.ts +++ b/src/service/git/git-service-factory.ts @@ -25,6 +25,7 @@ export default class GitServiceFactory { * @param type git management service type * @param auth authentication, like github token */ + // TODO rename to getOrCreate public static init(type: GitServiceType, auth: string): void { if (GitServiceFactory.instance) {