arc-prototype-deploy

1.3.3 • Public • Published

prototype code beware! 👻

This is the next generation of npm run deploy for JSF Architect apps. This version makes dep mgmt easier across lambdas.

  • automagic installs dependencies listed in package-lock.json in src/**/* lambdas before deploy
  • copies ./src/shared into ./src/**/*/node_modules/@architect/shared for common code across lambdas
  • looks for @plugins and calls arc-before-deploy and arc-after-deploy as needed
  • progress indication
  • report what src deployed to which lambda
  • report the deploy url if HTTP routes involved

install

npm i arc-deploy-prototype --save

usage

Add the following to scripts in package.json

{
  "deploy": "AWS_REGION=xxx AWS_PROFILE=xxx arc-prototype-deploy"
}

plugins research

currently there is a 'plugin' in the root of this dir named _any-name-works. copy that into ./node_modules/any-name-works and look at mock/.arc to see registration step. for usage, this version of deploy does the rest.

Readme

Keywords

none

Package Sidebar

Install

npm i arc-prototype-deploy

Weekly Downloads

1

Version

1.3.3

License

Apache-2.0

Last publish

Collaborators

  • brianleroux