1.3.3 • Published 8 years ago
arc-prototype-deploy v1.3.3
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.
- automagic installs dependencies listed in
package-lock.jsoninsrc/**/*lambdas before deploy - copies
./src/sharedinto./src/**/*/node_modules/@architect/sharedfor common code across lambdas - looks for
@pluginsand callsarc-before-deployandarc-after-deployas needed - progress indication
- report what src deployed to which lambda
- 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.