From 9ab331acbeeffa569cb1a0c374f100ea70dbde5a Mon Sep 17 00:00:00 2001 From: hs05june Date: Sun, 26 Feb 2023 12:34:02 +0530 Subject: [PATCH 1/5] Updated Readme.md Signed-off-by: hs05june --- README.md | 4 ++-- generator/README.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 34788296..43e7c3a7 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,9 @@ ![nodecloud CI](https://github.com/cloudlibz/nodecloud/workflows/nodecloud%20CI/badge.svg) [![npm version](https://badge.fury.io/js/nodecloud.svg)](https://badge.fury.io/js/nodecloud) -[![Codacy Badge](https://api.codacy.com/project/badge/Grade/b94b1fe2ac724e8083f8237de3473c8a)](https://www.codacy.com/app/rehrumesh/nodecloud?utm_source=github.com&utm_medium=referral&utm_content=cloudlibz/nodecloud&utm_campaign=Badge_Grade) +[![Codacy Badge](https://app.codacy.com/project/badge/Grade/b55da730103e4c679e4e180a6b890a18)](https://www.codacy.com/app/rehrumesh/nodecloud?utm_source=github.com&utm_medium=referral&utm_content=cloudlibz/nodecloud&utm_campaign=Badge_Grade) [![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/) -[![Gitter](https://img.shields.io/badge/chat-on%20gitter-brightgreen)](https://gitter.im/cloudlibz/cloudlibz) +[![Gitter](https://img.shields.io/badge/chat-on%20gitter-brightgreen)](https://app.gitter.im/#/room/#cloudlibz_cloudlibz:gitter.im) [![Read on : Medium](https://img.shields.io/badge/Read%20on-Medium-black.svg)](https://medium.com/leopards-lab) [![Mailing list : Scorelab](https://img.shields.io/badge/Mailing%20list-Scorelab-blue.svg)](https://groups.google.com/g/score-community) [![contributions welcome](https://img.shields.io/badge/contributions-welcome-ff69b4.svg?style=flat)](https://github.com/leopardslab/nodecloud/issues) diff --git a/generator/README.md b/generator/README.md index d5d70d46..9993a79b 100644 --- a/generator/README.md +++ b/generator/README.md @@ -2,7 +2,7 @@ ![ts](https://flat.badgen.net/badge/Built%20With/TypeScript/blue) -[![Gitter](https://img.shields.io/badge/chat-on%20gitter-brightgreen)](https://gitter.im/cloudlibz/cloudlibz) +[![Gitter](https://img.shields.io/badge/chat-on%20gitter-brightgreen)](https://app.gitter.im/#/room/#cloudlibz_cloudlibz:gitter.im) [![Read on : Medium](https://img.shields.io/badge/Read%20on-Medium-black.svg)](https://medium.com/leopards-lab) [![Mailing list : Scorelab](https://img.shields.io/badge/Mailing%20list-Scorelab-blue.svg)](https://groups.google.com/g/score-community) [![contributions welcome](https://img.shields.io/badge/contributions-welcome-ff69b4.svg?style=flat)](https://github.com/leopardslab/nodecloud/issues) From c1c5a4c249c54b5e019ecfc516d608fd281296b7 Mon Sep 17 00:00:00 2001 From: hs05june Date: Sun, 26 Feb 2023 12:35:04 +0530 Subject: [PATCH 2/5] Updated Readme --- README.md | 172 ++++++++++++++++++++++---------------------- generator/README.md | 18 ++--- 2 files changed, 95 insertions(+), 95 deletions(-) diff --git a/README.md b/README.md index 43e7c3a7..629fb52a 100644 --- a/README.md +++ b/README.md @@ -19,18 +19,18 @@ Table of Content -- [Introduction](#introduction) -- [Supported Service Providers](#-supported-service-providers) -- [Getting Started](#getting-started) - - [NodeCloud Plugins](#nodecloud-plugins) - - [Example](#example) -- [Overriding Providers](#overriding-providers) -- [Service Types](#-service-types) -- [Development setup](#-development-setup) -- [Important Notes for Developers](#important-notes-for-developers-) -- [Test Changes](#test-changes) -- [NodeCloud Code Generation tool](#nodecloud-code-generation-tool) -- [License](#-license) +- [Introduction](#introduction) +- [Supported Service Providers](#-supported-service-providers) +- [Getting Started](#getting-started) + - [NodeCloud Plugins](#nodecloud-plugins) + - [Example](#example) +- [Overriding Providers](#overriding-providers) +- [Service Types](#-service-types) +- [Development setup](#-development-setup) +- [Important Notes for Developers](#important-notes-for-developers-) +- [Test Changes](#test-changes) +- [NodeCloud Code Generation tool](#nodecloud-code-generation-tool) +- [License](#-license) # Introduction @@ -38,18 +38,18 @@ Table of Content NodeCloud will be useful to you if: -- you work on a project which uses multiple cloud providers -- you are looking for an abstract cloud API which can switch between cloud providers with fewer code changes -- you are an open-source enthusiast who is into cloud engineering or code generation -- you want to improve your skills in NodeJS, Typescript and cloud service providers +- you work on a project which uses multiple cloud providers +- you are looking for an abstract cloud API which can switch between cloud providers with fewer code changes +- you are an open-source enthusiast who is into cloud engineering or code generation +- you want to improve your skills in NodeJS, Typescript and cloud service providers ## πŸ“˜ Supported Service Providers -- Amazon Web Services (AWS) -- Azure -- Google Cloud Platform (GCP) -- DigitalOcean -- AliCloud +- Amazon Web Services (AWS) +- Azure +- Google Cloud Platform (GCP) +- DigitalOcean +- AliCloud _πŸ“’ if your required cloud provider plugin is not listed here, we'd love your help to add it :)_ @@ -95,37 +95,37 @@ This config file can contain an array of objects for all providers and all will ### Example ```js -const nodeCloudAwsPlugin = require("@nodecloud/aws-plugin"); -const nodeCloudGcpPlugin = require("@nodecloud/gcp-plugin"); -const nodeCloudAzurePlugin = require("@nodecloud/azure-plugin"); -const nodeCloudDoPlugin = require("@nodecloud/do-plugin"); +const nodeCloudAwsPlugin = require('@nodecloud/aws-plugin'); +const nodeCloudGcpPlugin = require('@nodecloud/gcp-plugin'); +const nodeCloudAzurePlugin = require('@nodecloud/azure-plugin'); +const nodeCloudDoPlugin = require('@nodecloud/do-plugin'); const providers = [ - { - name: "aws", - tag: "aws", - plugin: nodeCloudAwsPlugin, - configPath: "C:\\Users\\Rajitha\\opensource\\aws_cred.json" - }, - { - name: "google", - tag: "google", - plugin: nodeCloudGcpPlugin, - configPath: { - projectId: "astral-hold-276807", - keyFilename: "C:\\Users\\Rajitha\\opensource\\gcp_cred.json" - } - }, - { - name: "azure", - tag: "azure", - plugin: nodeCloudAzurePlugin - }, - { - name: "digitalocean", - tag: "do", - plugin: nodeCloudDoPlugin - } + { + name: 'aws', + tag: 'aws', + plugin: nodeCloudAwsPlugin, + configPath: 'C:\\Users\\Rajitha\\opensource\\aws_cred.json', + }, + { + name: 'google', + tag: 'google', + plugin: nodeCloudGcpPlugin, + configPath: { + projectId: 'astral-hold-276807', + keyFilename: 'C:\\Users\\Rajitha\\opensource\\gcp_cred.json', + }, + }, + { + name: 'azure', + tag: 'azure', + plugin: nodeCloudAzurePlugin, + }, + { + name: 'digitalocean', + tag: 'do', + plugin: nodeCloudDoPlugin, + }, ]; module.exports = providers; ``` @@ -137,52 +137,52 @@ Congratulations! You just configured NodeCloud in your project. Let's start with The below code is an example of usage in AWS. ```js -const nc = require("@nodecloud/common"); // NodeCloud common module +const nc = require('@nodecloud/common'); // NodeCloud common module const optionsProvider = { - overrideProviders: false + overrideProviders: false, }; const ncProviders = nc.getProviders(optionsProvider); const options = { - apiVersion: "2017-11-01" + apiVersion: '2017-11-01', }; const computeModule = ncProviders.aws.compute(options); function launchInstance() { - const instanceParams = { - ImageId: "ami-07ebfd5b3428b6f4d", // Image of Ubuntu Server 18.04 LTS - InstanceType: "t2.micro", - KeyName: "nodeCloud", // key name of Key pair - MinCount: 1, - MaxCount: 1 - }; - - // create AWS EC2 instance - computeModule - .create(instanceParams) - .then(res => { - console.log(`All done ! ${res}`); - }) - .catch(err => { - console.log(`Oops something happened ${err}`); - }); + const instanceParams = { + ImageId: 'ami-07ebfd5b3428b6f4d', // Image of Ubuntu Server 18.04 LTS + InstanceType: 't2.micro', + KeyName: 'nodeCloud', // key name of Key pair + MinCount: 1, + MaxCount: 1, + }; + + // create AWS EC2 instance + computeModule + .create(instanceParams) + .then(res => { + console.log(`All done ! ${res}`); + }) + .catch(err => { + console.log(`Oops something happened ${err}`); + }); } function stopInstance() { - const params = { - InstanceIds: ["i-0928af5c626f85da9"], - DryRun: false - }; - - // stop AWS EC2 instance - computeModule - .stop(params) - .then(res => { - console.log(res); - }) - .catch(err => { - console.log(err); - }); + const params = { + InstanceIds: ['i-0928af5c626f85da9'], + DryRun: false, + }; + + // stop AWS EC2 instance + computeModule + .stop(params) + .then(res => { + console.log(res); + }) + .catch(err => { + console.log(err); + }); } ``` @@ -191,9 +191,9 @@ function stopInstance() { NodeCloud officially supports AWS, GCP, Azure, DigitalOcean and AliCloud. If you want to use a community-driven plugin override the providers' list as follows. ```js -const nodeCloud = require("nodecloud"); +const nodeCloud = require('nodecloud'); const options = { - overrideProviders: true + overrideProviders: true, }; const ncProviders = nodeCloud.getProviders(options); ``` diff --git a/generator/README.md b/generator/README.md index 9993a79b..a092b535 100644 --- a/generator/README.md +++ b/generator/README.md @@ -23,7 +23,7 @@ The execution of the generator starts form the `main.ts` file, where the basic i ## Structure of `node-cloud.yml` file -- AWS +- AWS ``` AWS: @@ -35,7 +35,7 @@ AWS:

-- Azure +- Azure ``` Azure: @@ -47,7 +47,7 @@ Azure:

-- Google Cloud (client based) +- Google Cloud (client based) ``` GCP: @@ -67,7 +67,7 @@ GCP:

-- Google Cloud (class based) +- Google Cloud (class based) ``` GCP: @@ -82,7 +82,7 @@ GCP: For the class-based SDKs there is a minor change in the `node-cloud.yml` to record the main class of an SDK. For the above scenario, it’s the DNS class. -- Digital Ocean +- Digital Ocean ``` DO: @@ -106,11 +106,11 @@ These functions are located in the generators of the each cloud providers. Each This is the most important part of the code generator tool. Currently, there are four transformers. Two transformers for Google Cloud, and one each for AWS and Azure. All of the transformers runs three main transformations. -- `addFunctions`: In this transformation the basic structure of the code is created. Method Nodes are created to the number of functions in the `classData` object. If there are imports related to the class those statments are also added to the dummy **Abstract Syntax Tree**. +- `addFunctions`: In this transformation the basic structure of the code is created. Method Nodes are created to the number of functions in the `classData` object. If there are imports related to the class those statments are also added to the dummy **Abstract Syntax Tree**. -- `addIdentifiers`: In this transformation all the Identifier nodes are updated. After this transformation the code is logically compelete. All the neccessary code parts are added and finalized such as parameter names, parameter types, client names, class name, package names, SDK function names etc. +- `addIdentifiers`: In this transformation all the Identifier nodes are updated. After this transformation the code is logically compelete. All the neccessary code parts are added and finalized such as parameter names, parameter types, client names, class name, package names, SDK function names etc. -- `addComments`: This transformation aims to auto-generate the API documentation. All the comments are added to the structure required by `JSDoc`. The `@category` is used to categorize the generated classes depending on the cloud provider. This tag is from the `better-docs` template used with `JSDoc`. +- `addComments`: This transformation aims to auto-generate the API documentation. All the comments are added to the structure required by `JSDoc`. The `@category` is used to categorize the generated classes depending on the cloud provider. This tag is from the `better-docs` template used with `JSDoc`. ## Understanding the directory structure of generator @@ -136,4 +136,4 @@ transformer which transforms the dummy class into an working Nodecloud class for ## Running the code generation tool -- To build classes run `tsc main && node main` or 'yarn run tool' if inside generator directory and `yarn run generator` if inside nodecloud directory. +- To build classes run `tsc main && node main` or 'yarn run tool' if inside generator directory and `yarn run generator` if inside nodecloud directory. From 51b8a8324308a5ce25a9138f07f0fbc6e6ae2fd8 Mon Sep 17 00:00:00 2001 From: hs05june Date: Sun, 26 Feb 2023 12:46:58 +0530 Subject: [PATCH 3/5] Updated Readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 629fb52a..739b07dc 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ ![nodecloud CI](https://github.com/cloudlibz/nodecloud/workflows/nodecloud%20CI/badge.svg) [![npm version](https://badge.fury.io/js/nodecloud.svg)](https://badge.fury.io/js/nodecloud) -[![Codacy Badge](https://app.codacy.com/project/badge/Grade/b55da730103e4c679e4e180a6b890a18)](https://www.codacy.com/app/rehrumesh/nodecloud?utm_source=github.com&utm_medium=referral&utm_content=cloudlibz/nodecloud&utm_campaign=Badge_Grade) +[![Codacy Badge](https://app.codacy.com/project/badge/Grade/6733985506bc4000a7d2b318106f9b69)](https://www.codacy.com/app/rehrumesh/nodecloud?utm_source=github.com&utm_medium=referral&utm_content=cloudlibz/nodecloud&utm_campaign=Badge_Grade) [![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://lerna.js.org/) [![Gitter](https://img.shields.io/badge/chat-on%20gitter-brightgreen)](https://app.gitter.im/#/room/#cloudlibz_cloudlibz:gitter.im) [![Read on : Medium](https://img.shields.io/badge/Read%20on-Medium-black.svg)](https://medium.com/leopards-lab) From 7434f064c237f2ec4d309e3edfe6e603c09dedfd Mon Sep 17 00:00:00 2001 From: hs05june Date: Mon, 27 Feb 2023 17:15:40 +0530 Subject: [PATCH 4/5] Revert "Updated Readme" This reverts commit c1c5a4c249c54b5e019ecfc516d608fd281296b7. --- README.md | 172 ++++++++++++++++++++++---------------------- generator/README.md | 18 ++--- 2 files changed, 95 insertions(+), 95 deletions(-) diff --git a/README.md b/README.md index 739b07dc..3620b662 100644 --- a/README.md +++ b/README.md @@ -19,18 +19,18 @@ Table of Content -- [Introduction](#introduction) -- [Supported Service Providers](#-supported-service-providers) -- [Getting Started](#getting-started) - - [NodeCloud Plugins](#nodecloud-plugins) - - [Example](#example) -- [Overriding Providers](#overriding-providers) -- [Service Types](#-service-types) -- [Development setup](#-development-setup) -- [Important Notes for Developers](#important-notes-for-developers-) -- [Test Changes](#test-changes) -- [NodeCloud Code Generation tool](#nodecloud-code-generation-tool) -- [License](#-license) +- [Introduction](#introduction) +- [Supported Service Providers](#-supported-service-providers) +- [Getting Started](#getting-started) + - [NodeCloud Plugins](#nodecloud-plugins) + - [Example](#example) +- [Overriding Providers](#overriding-providers) +- [Service Types](#-service-types) +- [Development setup](#-development-setup) +- [Important Notes for Developers](#important-notes-for-developers-) +- [Test Changes](#test-changes) +- [NodeCloud Code Generation tool](#nodecloud-code-generation-tool) +- [License](#-license) # Introduction @@ -38,18 +38,18 @@ Table of Content NodeCloud will be useful to you if: -- you work on a project which uses multiple cloud providers -- you are looking for an abstract cloud API which can switch between cloud providers with fewer code changes -- you are an open-source enthusiast who is into cloud engineering or code generation -- you want to improve your skills in NodeJS, Typescript and cloud service providers +- you work on a project which uses multiple cloud providers +- you are looking for an abstract cloud API which can switch between cloud providers with fewer code changes +- you are an open-source enthusiast who is into cloud engineering or code generation +- you want to improve your skills in NodeJS, Typescript and cloud service providers ## πŸ“˜ Supported Service Providers -- Amazon Web Services (AWS) -- Azure -- Google Cloud Platform (GCP) -- DigitalOcean -- AliCloud +- Amazon Web Services (AWS) +- Azure +- Google Cloud Platform (GCP) +- DigitalOcean +- AliCloud _πŸ“’ if your required cloud provider plugin is not listed here, we'd love your help to add it :)_ @@ -95,37 +95,37 @@ This config file can contain an array of objects for all providers and all will ### Example ```js -const nodeCloudAwsPlugin = require('@nodecloud/aws-plugin'); -const nodeCloudGcpPlugin = require('@nodecloud/gcp-plugin'); -const nodeCloudAzurePlugin = require('@nodecloud/azure-plugin'); -const nodeCloudDoPlugin = require('@nodecloud/do-plugin'); +const nodeCloudAwsPlugin = require("@nodecloud/aws-plugin"); +const nodeCloudGcpPlugin = require("@nodecloud/gcp-plugin"); +const nodeCloudAzurePlugin = require("@nodecloud/azure-plugin"); +const nodeCloudDoPlugin = require("@nodecloud/do-plugin"); const providers = [ - { - name: 'aws', - tag: 'aws', - plugin: nodeCloudAwsPlugin, - configPath: 'C:\\Users\\Rajitha\\opensource\\aws_cred.json', - }, - { - name: 'google', - tag: 'google', - plugin: nodeCloudGcpPlugin, - configPath: { - projectId: 'astral-hold-276807', - keyFilename: 'C:\\Users\\Rajitha\\opensource\\gcp_cred.json', - }, - }, - { - name: 'azure', - tag: 'azure', - plugin: nodeCloudAzurePlugin, - }, - { - name: 'digitalocean', - tag: 'do', - plugin: nodeCloudDoPlugin, - }, + { + name: "aws", + tag: "aws", + plugin: nodeCloudAwsPlugin, + configPath: "C:\\Users\\Rajitha\\opensource\\aws_cred.json" + }, + { + name: "google", + tag: "google", + plugin: nodeCloudGcpPlugin, + configPath: { + projectId: "astral-hold-276807", + keyFilename: "C:\\Users\\Rajitha\\opensource\\gcp_cred.json" + } + }, + { + name: "azure", + tag: "azure", + plugin: nodeCloudAzurePlugin + }, + { + name: "digitalocean", + tag: "do", + plugin: nodeCloudDoPlugin + } ]; module.exports = providers; ``` @@ -137,52 +137,52 @@ Congratulations! You just configured NodeCloud in your project. Let's start with The below code is an example of usage in AWS. ```js -const nc = require('@nodecloud/common'); // NodeCloud common module +const nc = require("@nodecloud/common"); // NodeCloud common module const optionsProvider = { - overrideProviders: false, + overrideProviders: false }; const ncProviders = nc.getProviders(optionsProvider); const options = { - apiVersion: '2017-11-01', + apiVersion: "2017-11-01" }; const computeModule = ncProviders.aws.compute(options); function launchInstance() { - const instanceParams = { - ImageId: 'ami-07ebfd5b3428b6f4d', // Image of Ubuntu Server 18.04 LTS - InstanceType: 't2.micro', - KeyName: 'nodeCloud', // key name of Key pair - MinCount: 1, - MaxCount: 1, - }; - - // create AWS EC2 instance - computeModule - .create(instanceParams) - .then(res => { - console.log(`All done ! ${res}`); - }) - .catch(err => { - console.log(`Oops something happened ${err}`); - }); + const instanceParams = { + ImageId: "ami-07ebfd5b3428b6f4d", // Image of Ubuntu Server 18.04 LTS + InstanceType: "t2.micro", + KeyName: "nodeCloud", // key name of Key pair + MinCount: 1, + MaxCount: 1 + }; + + // create AWS EC2 instance + computeModule + .create(instanceParams) + .then(res => { + console.log(`All done ! ${res}`); + }) + .catch(err => { + console.log(`Oops something happened ${err}`); + }); } function stopInstance() { - const params = { - InstanceIds: ['i-0928af5c626f85da9'], - DryRun: false, - }; - - // stop AWS EC2 instance - computeModule - .stop(params) - .then(res => { - console.log(res); - }) - .catch(err => { - console.log(err); - }); + const params = { + InstanceIds: ["i-0928af5c626f85da9"], + DryRun: false + }; + + // stop AWS EC2 instance + computeModule + .stop(params) + .then(res => { + console.log(res); + }) + .catch(err => { + console.log(err); + }); } ``` @@ -191,9 +191,9 @@ function stopInstance() { NodeCloud officially supports AWS, GCP, Azure, DigitalOcean and AliCloud. If you want to use a community-driven plugin override the providers' list as follows. ```js -const nodeCloud = require('nodecloud'); +const nodeCloud = require("nodecloud"); const options = { - overrideProviders: true, + overrideProviders: true }; const ncProviders = nodeCloud.getProviders(options); ``` diff --git a/generator/README.md b/generator/README.md index a092b535..9993a79b 100644 --- a/generator/README.md +++ b/generator/README.md @@ -23,7 +23,7 @@ The execution of the generator starts form the `main.ts` file, where the basic i ## Structure of `node-cloud.yml` file -- AWS +- AWS ``` AWS: @@ -35,7 +35,7 @@ AWS:

-- Azure +- Azure ``` Azure: @@ -47,7 +47,7 @@ Azure:

-- Google Cloud (client based) +- Google Cloud (client based) ``` GCP: @@ -67,7 +67,7 @@ GCP:

-- Google Cloud (class based) +- Google Cloud (class based) ``` GCP: @@ -82,7 +82,7 @@ GCP: For the class-based SDKs there is a minor change in the `node-cloud.yml` to record the main class of an SDK. For the above scenario, it’s the DNS class. -- Digital Ocean +- Digital Ocean ``` DO: @@ -106,11 +106,11 @@ These functions are located in the generators of the each cloud providers. Each This is the most important part of the code generator tool. Currently, there are four transformers. Two transformers for Google Cloud, and one each for AWS and Azure. All of the transformers runs three main transformations. -- `addFunctions`: In this transformation the basic structure of the code is created. Method Nodes are created to the number of functions in the `classData` object. If there are imports related to the class those statments are also added to the dummy **Abstract Syntax Tree**. +- `addFunctions`: In this transformation the basic structure of the code is created. Method Nodes are created to the number of functions in the `classData` object. If there are imports related to the class those statments are also added to the dummy **Abstract Syntax Tree**. -- `addIdentifiers`: In this transformation all the Identifier nodes are updated. After this transformation the code is logically compelete. All the neccessary code parts are added and finalized such as parameter names, parameter types, client names, class name, package names, SDK function names etc. +- `addIdentifiers`: In this transformation all the Identifier nodes are updated. After this transformation the code is logically compelete. All the neccessary code parts are added and finalized such as parameter names, parameter types, client names, class name, package names, SDK function names etc. -- `addComments`: This transformation aims to auto-generate the API documentation. All the comments are added to the structure required by `JSDoc`. The `@category` is used to categorize the generated classes depending on the cloud provider. This tag is from the `better-docs` template used with `JSDoc`. +- `addComments`: This transformation aims to auto-generate the API documentation. All the comments are added to the structure required by `JSDoc`. The `@category` is used to categorize the generated classes depending on the cloud provider. This tag is from the `better-docs` template used with `JSDoc`. ## Understanding the directory structure of generator @@ -136,4 +136,4 @@ transformer which transforms the dummy class into an working Nodecloud class for ## Running the code generation tool -- To build classes run `tsc main && node main` or 'yarn run tool' if inside generator directory and `yarn run generator` if inside nodecloud directory. +- To build classes run `tsc main && node main` or 'yarn run tool' if inside generator directory and `yarn run generator` if inside nodecloud directory. From 9b22f0bd515f54ebd062a56b437696ae0d7de3a8 Mon Sep 17 00:00:00 2001 From: Harpreet Singh <103871275+hs05june@users.noreply.github.com> Date: Thu, 9 Mar 2023 12:08:41 +0530 Subject: [PATCH 5/5] Update format.yml --- .github/workflows/format.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index c223e920..62b11c57 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -14,10 +14,10 @@ jobs: node-version: "12.x" - name: Format run: | - yarn - yarn format + yarn + yarn format - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v4.1.2 with: commit_message: Apply formatting changes - branch: ${{ github.head_ref }} \ No newline at end of file + branch: ${{ github.head_ref }}