This package has been deprecated

Author message:

move to use @flowaccount/nx-serverless https://www.npmjs.com/@flowaccount/nx-serverless

@flowaccount/serverless
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

@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"
                },
            ...
            }
        }
    }
}

/@flowaccount/serverless/

    Package Sidebar

    Install

    npm i @flowaccount/serverless

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    42.4 kB

    Total Files

    23

    Last publish

    Collaborators

    • supawan
    • purett
    • panya_b_flowaccount
    • wickyorama
    • narongok