Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/firstandthird/arc-package-sar


https://github.com/firstandthird/arc-package-sar

Last synced: 3 days ago
JSON representation

Awesome Lists containing this project

README

        

## Arc Package Sar

A package for converting an arc package into a sar package for deployment into Amazon's Serverless Application Repository.

### Usage

```npm install @firstandthird/arc-package-sar```

Installs the package as well as the binare `sar` into the local repository.

When you have you arc package built and ready to push to the repository:

```npx sar```

Will read the `.arc` file, and get everything ready to push to the repository. Once complete, the script will spit out two commands to be run on the cli which will upload and do the publishing.

### Additions to arc config

`@sarStatic`

Indicates that static files are present and need to be deployed. Runs `npm build` and copies anything that gets generated into the `./public` folder to the arc-s3 endpoint.

```
@sarParams
AUTH_TOKEN "Auth token used for requests, ex ?token="
WEBHOOK "Webhooks are external web hosts that page"
```

Additional params that need to be passed to the functions prior to deployment of the package. Adds params to the `sam.Parameters` object.