Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@guidesmiths/cuckoojs-schematics

Package Overview
Dependencies
Maintainers
5
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@guidesmiths/cuckoojs-schematics

A collection of CuckooJS schematics

  • 0.0.10
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
5
Created
Source

Getting Started With Schematics

This repository is a basic Schematic implementation that serves as a starting point to create and publish Schematics to NPM.

Testing

To test locally, install @angular-devkit/schematics-cli globally and use the schematics command line tool. That tool acts the same as the generate command of the Angular CLI, but also has a debug mode.

Check the documentation with

schematics --help

Unit Testing

npm run test will run the unit tests, using Jasmine as a runner and test framework.

Publishing

To publish, simply do:

npm run build
npm publish

That's it!

Available schematics

  • nestjs-config
  • basic-tooling

Pull Request Template

  • Description: Enables having a standard format when doing Pull Request
  • Command: schematics @guidesmiths/cuckoojs-schematics:pr-template
  • Parameters:
NameDescriptionSupported valuesDefault value
gitProviderGit provider where repo is hostedgithub, azuredevops

Dockerfile

  • Description: Created a Dockerfile for your build type
  • Command: schematics @guidesmiths/cuckoojs-schematics:dockerfile
  • Parameters:
NameDescriptionSupported valuesDefault value
directoryDirectory where files will be createdvalid folder.
buildTypeSpecify the build processgithub, azuredevops
nodeVersionSpecify the NodeJS version to use18, 16, 14, 12

Gitignore

  • Description: Created a Gitignore file with common files
  • Command: schematics @guidesmiths/cuckoojs-schematics:gitignore
  • Parameters:
NameDescriptionSupported valuesDefault value
directoryDirectory where files will be createdvalid folder.

Commitlint

  • Description: Config commit message pattern for your commits
  • Command: schematics @guidesmiths/cuckoojs-schematics:commitlint
  • Parameters:
NameDescriptionSupported valuesDefault value
directoryDirectory where files will be createdvalid folder.

Continuous Integration

  • Description: Config basic CI pipeline (docker build and push)
  • Command: schematics @guidesmiths/cuckoojs-schematics:ci
  • Parameters:
NameDescriptionSupported valuesDefault value
ciProviderCI providergithub, azuredevops
dockerRegistryDocker registry to push image or service connection if AzureDevOpsstring
imageNameName of the docker imagestring

Helm chart

  • Description: Create a helm chart to deploy on kubernetes
  • Command: schematics @guidesmiths/cuckoojs-schematics:helm
  • Parameters:
NameDescriptionSupported valuesDefault value
serviceNameName of the resource to deploystring
imageNameDocker image to be deployedstring
resourcesLimitCpuMaximum cpu used by each podnumber100
resourcesLimitMemoryMaximum memory used by each podnumber128
resourcesRequestCpuRequested cpu used by a pod to be launchednumber100
resourcesRequestMemoryRequested memory used by a pod to be launchednumber128
autoscalingEnabledEnable autoscaling features on the podstrue, falsetrue
autoscalingReplicasMinAutoscaled minimum replicasnumber1
autoscalingReplicasMaxAutoscaled maximum replicasnumber5
autoscalingTargetCpuTarget cpu used to trigger autoscalingnumber75
ingressControllerIngress controller to be usedgeneric, traefikgeneric
tlsCertManagerTLS certificate manager to be usednone, certManagernone
domainNameDomain name for the servicestringchart-example.local

Keywords

FAQs

Package last updated on 09 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc