Skip to content
This repository has been archived by the owner on Nov 28, 2017. It is now read-only.

brianleroux/arc-prototype-deploy

Repository files navigation

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.

About

don't use this! not ready for prime time yet

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published