@squareball/cfnassets
TypeScript icon, indicating that this package has built-in type declarations

0.5.6 • Public • Published

@squareball/cfnassets

Build asset zip packages for deployment.

Quick Start

You need an assets config file:

// cfnassets.config.json
{
  "api": {
    "type": "rollup",
    "options": {
      "entrypoint": "./core/lib/api/lambda.js",
      "install": ["source-map-support"],
      "packageFilePath": "package.json",
      "packageInstallImage": "node:16-slim",
      "packageLockPath": "package-lock.json"
    }
  },
  "app-client": {
    "type": "content",
    "options": {
      "source": "apps/client/build"
    }
  }
}

Then run:

cfnassets build --config cfnassets.config.json

Work In Progress 🚧

This project has been hacked off the codebase of another project, and is currently missing documentation.

We Can Do It!

Help wanted 😁

Readme

Keywords

none

Package Sidebar

Install

npm i @squareball/cfnassets

Weekly Downloads

4

Version

0.5.6

License

MIT

Unpacked Size

171 kB

Total Files

244

Last publish

Collaborators

  • mgroberts
  • gordonmleigh