1.0.35 • Published 8 months ago

@deboxsoft/plop-generator v1.0.35

Weekly downloads
-
License
SEE LICENSE
Repository
-
Last release
8 months ago

plop-generator

Project Generator - Micro-generator framework that makes it easy for an entire team to create web project files with a level of uniformity.

Prerequisites

  • NodeJS LTS

Getting Started

Install plop-generator

npm i -g @deboxsoft/plop-generator

Create a sym link so you can use the cli command:

npm link @deboxsoft/plop-generator

Usage with custom cli command

plop-gen - For example:

➜  plop-generator git:(master) ✗ plop-gen
? workspace: (Use arrow keys)
  component-lib
❯ create-react-app
  cypress-e2e
  gatsby
  gatsby-contentful
  next
  node-backend-service
(Move up and down to reveal more choices)

Usage without custom cli command

// package.json
{
  "scripts": {
    "plop": "./node_modules/@deboxsoft/plop-generator/bin/cli.js"
  },
  ...
}

NPM Example: npm run plop

This command will scaffold/bootstrap the selected project using the template files in the plop generator repo.

Generators project

NAMEDescriptionStatus
SVELTE-APPSvelte Scafolding, CI/CD Build PipelinesNOT STARTED
COMPONENT-LIBSvelte Component with Storybook and CI/CD Build PipelinesIN PROGRESS
CYPRESS E2ECypress Headless Browser Functional/Integration/E2E Test SuiteREADY
GATSBYSvelte-based open source framework for creating websites and apps. CI/CD Build PipelinesIN REVIEW
GATSBY-CONTENTFULGatsby/Contentful CMS Project Template with CI/CD Build PipelinesREADY
NEXTReact framework with Storybook, CI/CD Build Pipelines and some flavorNOT STARTED
NODE-BACKEND-SERVICENon-REST Internal NodeJS/Typescript Service with CI/CD PipelinesREADY
NODE-EXPRESSNodesJS/Express HTTP REST Server with middleware, utils, and CI/CD pipelinesREADY
NODE-FASTIFYNodesJS/Fastify HTTP REST API Server with middleware, utils, and CI/CD pipelinesIN PROGRESS
NODE-GQLNodesJS Apollo GraphQL Server with middleware, utils, and CI/CD pipelinesREADY
SERVERLESS-CLOUD-FUNCTIONSGoogle/Firebase Cloud Functions with CI/CD pipelinesREADY
SERVERLESS-AZURE-FUNCTIONSAzure SAM Functions with CI/CD pipelinesNOT STARTED
SERVERLESS-LAMBDA-FUNCTIONSAWS SAM Lambda Functions with CI/CD pipelinesNOT STARTED
SHARED-LIBShared/Common Util WorkspaceIN PROGRESS

Generators Module

NAMEDescription
APIModule APIPROGRESS

Full Example

> plop

? workspace: (Use arrow keys)
❯ create-react-app
  gatsby
  next
  node-backend-service
  node-express
  node-fastify
  node-gql
(Move up and down to reveal more choices)
? organization name test-org
? workspace name test-app
⠋ Install Dependencies
✔  ++ /test-app/.env
✔  ++ /test-app/Dockerfile
✔  ++ /test-app/codegen.yml
✔  ++ /test-app/docker-compose.yaml
✔  ++ /test-app/package.json
✔  ++ /test-app/src/app.ts
-  --SKIPPED /test-app/src/middleware/limiter.middleware.ts
✔  ++ /test-app/src/middleware/token.middleware.ts
✔  ++ /test-app/src/server.ts
...
... npm install
...

Development

TODO: Add docs on how to add/extend generators

Contributions

Read the contribution documentation.

1.0.22

8 months ago

1.0.21

8 months ago

1.0.20

8 months ago

1.0.25

8 months ago

1.0.24

8 months ago

1.0.23

8 months ago

1.0.29

8 months ago

1.0.28

8 months ago

1.0.27

8 months ago

1.0.33

8 months ago

1.0.32

8 months ago

1.0.31

8 months ago

1.0.30

8 months ago

1.0.35

8 months ago

1.0.34

8 months ago

1.0.19

1 year ago

1.0.2

1 year ago

1.0.18

1 year ago

1.0.1

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.11

1 year ago

1.0.10

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.13

1 year ago

1.0.12

1 year ago

1.0.1-beta.65

1 year ago

1.0.1-beta.66

1 year ago

1.0.1-beta.67

1 year ago

1.0.1-beta.68

1 year ago

1.0.1-beta.40

2 years ago

1.0.1-beta.43

2 years ago

1.0.1-beta.44

2 years ago

1.0.1-beta.41

2 years ago

1.0.1-beta.42

2 years ago

1.0.1-beta.47

2 years ago

1.0.1-beta.48

2 years ago

1.0.1-beta.45

2 years ago

1.0.1-beta.46

2 years ago

1.0.1-beta.49

2 years ago

1.0.1-beta.36

2 years ago

1.0.1-beta.37

2 years ago

1.0.1-beta.38

2 years ago

1.0.1-beta.39

2 years ago

1.0.1-beta.61

2 years ago

1.0.1-beta.62

2 years ago

1.0.1-beta.60

2 years ago

1.0.1-beta.63

2 years ago

1.0.1-beta.64

2 years ago

1.0.1-beta.50

2 years ago

1.0.1-beta.51

2 years ago

1.0.1-beta.54

2 years ago

1.0.1-beta.55

2 years ago

1.0.1-beta.52

2 years ago

1.0.1-beta.53

2 years ago

1.0.1-beta.58

2 years ago

1.0.1-beta.59

2 years ago

1.0.1-beta.56

2 years ago

1.0.1-beta.57

2 years ago

1.0.1-beta.35

2 years ago

1.0.1-beta.25

2 years ago

1.0.1-beta.26

2 years ago

1.0.1-beta.24

2 years ago

1.0.1-beta.29

2 years ago

1.0.1-beta.27

2 years ago

1.0.1-beta.28

2 years ago

1.0.1-beta.32

2 years ago

1.0.1-beta.33

2 years ago

1.0.1-beta.30

2 years ago

1.0.1-beta.31

2 years ago

1.0.1-beta.34

2 years ago

1.0.1-beta.21

3 years ago

1.0.1-beta.22

3 years ago

1.0.1-beta.23

3 years ago

1.0.1-beta.20

3 years ago

1.0.1-beta.19

3 years ago

1.0.1-beta.18

3 years ago

1.0.1-beta.16

3 years ago

1.0.1-beta.17

3 years ago

1.0.1-beta.10

3 years ago

1.0.1-beta.11

3 years ago

1.0.1-beta.14

3 years ago

1.0.1-beta.15

3 years ago

1.0.1-beta.12

3 years ago

1.0.1-beta.13

3 years ago

1.0.1-beta.9

3 years ago

1.0.1-beta.6

3 years ago

1.0.1-beta.5

3 years ago

1.0.1-beta.4

3 years ago

1.0.1-beta.3

3 years ago

1.0.1-beta.2

3 years ago

1.0.1-beta.1

3 years ago