@skafld/generator-skafld

1.6.2 • Public • Published

generator-skafld

Yeoman

Skafld is a Yeoman generator for Cloud Native projects. New generators are being added all the time, so check back often!

Installation

First, install Yeoman and generator-skafld using npm (we assume you have pre-installed node.js).

npm i -g yo
npm i -g @skafld/generator-skafld@latest

Usage

To generate your new Spring Boot project, create a new directory and run yo:

Java

mkdir my-fantastic-project && cd ./my-fantastic-project
touch infra/kubernetes/config/local/sample/sample-api/secrets.env

# generate
yo @skafld/skafld

Generator

Kubernetes

To generate kubernetes manifests for an existing project:

# Navigate to the project
cd ./my-fantastic-project

# generate manifests
yo @skafld/skafld:kubernetes

Terraform

To generate terraform manifests for an existing project:

# Navigate to the project
cd ./my-fantastic-project

# generate terraform
yo @skafld/skafld:terraform

Github Actions

To generate Github Actions for an existing project:

# Navigate to the project
cd ./my-fantastic-project

# generate actions
yo @skafld/skafld:actions

Additional Spring Boot modules

# Navigate to the project
cd ./my-fantastic-project

# generate
#yo @skafld/skafld:<module type> --name <module name>
yo @skafld/skafld:api --name my-additional-api

/@skafld/generator-skafld/

    Package Sidebar

    Install

    npm i @skafld/generator-skafld

    Weekly Downloads

    161

    Version

    1.6.2

    License

    none

    Unpacked Size

    1.01 MB

    Total Files

    190

    Last publish

    Collaborators

    • mitchelldemers66
    • gvovos
    • kinncj