1.3.3 • Published 6 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.json
insrc/**/*
lambdas before deploy - copies
./src/shared
into./src/**/*/node_modules/@architect/shared
for common code across lambdas - looks for
@plugins
and callsarc-before-deploy
andarc-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.