Socket
Book a DemoInstallSign in
Socket

@flowaccount/serverless

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flowaccount/serverless

Serverless plugin for nx

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
3
Created
Source

@nx/serverless

Angular CLI Builders for Serverless Framework projects, designed for use alongside nx

Why

nx superpowers the angular CLI, to add support for a range of backend project types.

However, what if your backend uses Serverless?

This project includes builders for that!

  • @nx/Serverless:build - builds your functions and layers
  • @nx/Serverless:package - packages your Serverless template ready for deployment
  • @nx/Serverless:deploy - deploys your CloudFormation template

@nx/Serverless:build

Add the following to your angular.json

{
    "api": {
        "root": "apps/api",
        "sourceRoot": "apps/api/src",
        "projectType": "application",
        "prefix": "api",
        "schematics": {},
        "architect": {
            "build": {
                "builder": "@nx/Serverless:build",
                "options": {
                    "outputPath": "dist/apps/api",
                    "template": "apps/api/template.yaml",
                    "tsConfig": "apps/api/tsconfig.app.json"
                },
            ...
            }
        }
    }
}

Keywords

Serverless Framework

FAQs

Package last updated on 26 Nov 2019

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