arc-prototype-deploy
v1.3.3
Published
working prototype for auto installs in lambda deploys
Downloads
109
Readme
prototype code beware! :ghost:
This is the next generation of npm run deploy for JSF Architect apps. This version makes dep mgmt easier across lambdas.
- [x] automagic installs dependencies listed in
package-lock.jsoninsrc/**/*lambdas before deploy - [x] copies
./src/sharedinto./src/**/*/node_modules/@architect/sharedfor common code across lambdas - [x] looks for
@pluginsand callsarc-before-deployandarc-after-deployas needed - [x] progress indication
- [x] report what src deployed to which lambda
- [x] report the deploy url if HTTP routes involved
install
npm i arc-deploy-prototype --saveusage
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.
