├── .gitignore ├── .npmignore ├── .travis.yml ├── API.md ├── LICENSE ├── README.md ├── lib ├── hapi.js ├── index.js └── serverless.js ├── package.json └── test ├── closet ├── bad-deployment-error │ ├── .serverless_plugins │ │ └── @hapipal │ │ │ └── lalalambda.js │ ├── server.js │ └── serverless.yaml ├── bad-deployment-exports │ ├── .serverless_plugins │ │ └── @hapipal │ │ │ └── lalalambda.js │ ├── server.js │ └── serverless.yaml ├── bad-deployment-missing │ ├── .serverless_plugins │ │ └── @hapipal │ │ │ └── lalalambda.js │ └── serverless.yaml ├── bad-provider │ ├── .serverless_plugins │ │ └── @hapipal │ │ │ └── lalalambda.js │ └── serverless.yaml ├── bad-runtime-missing │ ├── .serverless_plugins │ │ └── @hapipal │ │ │ └── lalalambda.js │ ├── server.js │ └── serverless.yaml ├── bad-runtime-version │ ├── .serverless_plugins │ │ └── @hapipal │ │ │ └── lalalambda.js │ ├── server.js │ └── serverless.yaml ├── bad-runtime │ ├── .serverless_plugins │ │ └── @hapipal │ │ │ └── lalalambda.js │ ├── server.js │ └── serverless.yaml ├── config-merge │ ├── .serverless_plugins │ │ └── @hapipal │ │ │ └── lalalambda.js │ ├── server.js │ └── serverless.yaml ├── info │ ├── .serverless_plugins │ │ └── @hapipal │ │ │ └── lalalambda.js │ ├── server.js │ └── serverless.yaml ├── invoke-context │ ├── .serverless_plugins │ │ └── @hapipal │ │ │ └── lalalambda.js │ ├── server.js │ └── serverless.yaml ├── invoke-custom-server-path-escaped │ ├── '.js │ ├── .serverless_plugins │ │ └── @hapipal │ │ │ └── lalalambda.js │ └── serverless.yaml ├── invoke-custom-server-path │ ├── .serverless_plugins │ │ └── @hapipal │ │ │ └── lalalambda.js │ ├── serverless.yaml │ └── src │ │ └── server.js ├── invoke │ ├── .serverless_plugins │ │ └── @hapipal │ │ │ └── lalalambda.js │ ├── index.js │ ├── server.js │ └── serverless.yaml ├── missing-server-file │ ├── .serverless_plugins │ │ ├── @hapipal │ │ │ └── lalalambda.js │ │ └── serverless-offline-mock.js │ └── serverless.yaml ├── offline-canvas │ ├── .serverless_plugins │ │ ├── @hapipal │ │ │ └── lalalambda.js │ │ └── serverless-offline-mock.js │ ├── server.js │ └── serverless.yaml ├── offline │ ├── .serverless_plugins │ │ ├── @hapipal │ │ │ └── lalalambda.js │ │ └── serverless-offline-mock.js │ ├── server.js │ └── serverless.yaml ├── package │ ├── .serverless_plugins │ │ └── @hapipal │ │ │ └── lalalambda.js │ ├── server.js │ └── serverless.yaml ├── runtime-per-lambda │ ├── .serverless_plugins │ │ └── @hapipal │ │ │ └── lalalambda.js │ ├── server.js │ └── serverless.yaml ├── server-file-location-with-file-extension │ ├── .serverless_plugins │ │ ├── @hapipal │ │ │ └── lalalambda.js │ │ └── serverless-offline-mock.js │ ├── serverless.yaml │ └── src │ │ └── server.js └── server-file-location-without-file-extension │ ├── .serverless_plugins │ ├── @hapipal │ │ └── lalalambda.js │ └── serverless-offline-mock.js │ ├── serverless.yaml │ └── src │ └── server.js ├── helpers.js └── index.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | package-lock.json 3 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | * 2 | !lib/** 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/.travis.yml -------------------------------------------------------------------------------- /API.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/API.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/README.md -------------------------------------------------------------------------------- /lib/hapi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/lib/hapi.js -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/lib/index.js -------------------------------------------------------------------------------- /lib/serverless.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/lib/serverless.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/package.json -------------------------------------------------------------------------------- /test/closet/bad-deployment-error/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-deployment-error/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/bad-deployment-error/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-deployment-error/server.js -------------------------------------------------------------------------------- /test/closet/bad-deployment-error/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-deployment-error/serverless.yaml -------------------------------------------------------------------------------- /test/closet/bad-deployment-exports/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-deployment-exports/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/bad-deployment-exports/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-deployment-exports/server.js -------------------------------------------------------------------------------- /test/closet/bad-deployment-exports/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-deployment-exports/serverless.yaml -------------------------------------------------------------------------------- /test/closet/bad-deployment-missing/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-deployment-missing/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/bad-deployment-missing/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-deployment-missing/serverless.yaml -------------------------------------------------------------------------------- /test/closet/bad-provider/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-provider/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/bad-provider/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-provider/serverless.yaml -------------------------------------------------------------------------------- /test/closet/bad-runtime-missing/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-runtime-missing/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/bad-runtime-missing/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-runtime-missing/server.js -------------------------------------------------------------------------------- /test/closet/bad-runtime-missing/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-runtime-missing/serverless.yaml -------------------------------------------------------------------------------- /test/closet/bad-runtime-version/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-runtime-version/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/bad-runtime-version/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-runtime-version/server.js -------------------------------------------------------------------------------- /test/closet/bad-runtime-version/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-runtime-version/serverless.yaml -------------------------------------------------------------------------------- /test/closet/bad-runtime/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-runtime/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/bad-runtime/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-runtime/server.js -------------------------------------------------------------------------------- /test/closet/bad-runtime/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/bad-runtime/serverless.yaml -------------------------------------------------------------------------------- /test/closet/config-merge/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/config-merge/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/config-merge/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/config-merge/server.js -------------------------------------------------------------------------------- /test/closet/config-merge/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/config-merge/serverless.yaml -------------------------------------------------------------------------------- /test/closet/info/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/info/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/info/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/info/server.js -------------------------------------------------------------------------------- /test/closet/info/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/info/serverless.yaml -------------------------------------------------------------------------------- /test/closet/invoke-context/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/invoke-context/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/invoke-context/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/invoke-context/server.js -------------------------------------------------------------------------------- /test/closet/invoke-context/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/invoke-context/serverless.yaml -------------------------------------------------------------------------------- /test/closet/invoke-custom-server-path-escaped/'.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/invoke-custom-server-path-escaped/'.js -------------------------------------------------------------------------------- /test/closet/invoke-custom-server-path-escaped/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/invoke-custom-server-path-escaped/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/invoke-custom-server-path-escaped/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/invoke-custom-server-path-escaped/serverless.yaml -------------------------------------------------------------------------------- /test/closet/invoke-custom-server-path/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/invoke-custom-server-path/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/invoke-custom-server-path/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/invoke-custom-server-path/serverless.yaml -------------------------------------------------------------------------------- /test/closet/invoke-custom-server-path/src/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/invoke-custom-server-path/src/server.js -------------------------------------------------------------------------------- /test/closet/invoke/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/invoke/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/invoke/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/invoke/index.js -------------------------------------------------------------------------------- /test/closet/invoke/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/invoke/server.js -------------------------------------------------------------------------------- /test/closet/invoke/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/invoke/serverless.yaml -------------------------------------------------------------------------------- /test/closet/missing-server-file/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/missing-server-file/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/missing-server-file/.serverless_plugins/serverless-offline-mock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/missing-server-file/.serverless_plugins/serverless-offline-mock.js -------------------------------------------------------------------------------- /test/closet/missing-server-file/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/missing-server-file/serverless.yaml -------------------------------------------------------------------------------- /test/closet/offline-canvas/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/offline-canvas/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/offline-canvas/.serverless_plugins/serverless-offline-mock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/offline-canvas/.serverless_plugins/serverless-offline-mock.js -------------------------------------------------------------------------------- /test/closet/offline-canvas/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/offline-canvas/server.js -------------------------------------------------------------------------------- /test/closet/offline-canvas/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/offline-canvas/serverless.yaml -------------------------------------------------------------------------------- /test/closet/offline/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/offline/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/offline/.serverless_plugins/serverless-offline-mock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/offline/.serverless_plugins/serverless-offline-mock.js -------------------------------------------------------------------------------- /test/closet/offline/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/offline/server.js -------------------------------------------------------------------------------- /test/closet/offline/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/offline/serverless.yaml -------------------------------------------------------------------------------- /test/closet/package/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/package/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/package/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/package/server.js -------------------------------------------------------------------------------- /test/closet/package/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/package/serverless.yaml -------------------------------------------------------------------------------- /test/closet/runtime-per-lambda/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/runtime-per-lambda/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/runtime-per-lambda/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/runtime-per-lambda/server.js -------------------------------------------------------------------------------- /test/closet/runtime-per-lambda/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/runtime-per-lambda/serverless.yaml -------------------------------------------------------------------------------- /test/closet/server-file-location-with-file-extension/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/server-file-location-with-file-extension/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/server-file-location-with-file-extension/.serverless_plugins/serverless-offline-mock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/server-file-location-with-file-extension/.serverless_plugins/serverless-offline-mock.js -------------------------------------------------------------------------------- /test/closet/server-file-location-with-file-extension/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/server-file-location-with-file-extension/serverless.yaml -------------------------------------------------------------------------------- /test/closet/server-file-location-with-file-extension/src/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/server-file-location-with-file-extension/src/server.js -------------------------------------------------------------------------------- /test/closet/server-file-location-without-file-extension/.serverless_plugins/@hapipal/lalalambda.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/server-file-location-without-file-extension/.serverless_plugins/@hapipal/lalalambda.js -------------------------------------------------------------------------------- /test/closet/server-file-location-without-file-extension/.serverless_plugins/serverless-offline-mock.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/server-file-location-without-file-extension/.serverless_plugins/serverless-offline-mock.js -------------------------------------------------------------------------------- /test/closet/server-file-location-without-file-extension/serverless.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/server-file-location-without-file-extension/serverless.yaml -------------------------------------------------------------------------------- /test/closet/server-file-location-without-file-extension/src/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/closet/server-file-location-without-file-extension/src/server.js -------------------------------------------------------------------------------- /test/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/helpers.js -------------------------------------------------------------------------------- /test/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hapipal/lalalambda/HEAD/test/index.js --------------------------------------------------------------------------------