Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

serverless-shared-gateway

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-shared-gateway - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

package.json
{
"name": "serverless-shared-gateway",
"version": "1.1.1",
"version": "1.1.2",
"description": "",

@@ -5,0 +5,0 @@ "publishConfig":

# serverless-shared-gateway
Lets make your life easier with share gateway inside serverless
Serverless shared gateway, was developed originally by [kalarrs](https://github.com/kalarrs/serverless-shared-api-gateway), but I saw that it was a little bit abandoned. So I fix a few bugs that the plugin had, and add some extra functionality. Currently I am working on a Enterprise plugin for the Serverless Framework, so I will be updating this package regularly.
This plugin was origially developed by [kalarrs](https://github.com/kalarrs/serverless-shared-api-gateway), but with some modifications.
Note: I know that the code inside of the index.js is a little bit messy, but it works and I am working on a cleaner version that is backward compatible.

@@ -9,11 +9,11 @@ Add in your "custom" property the following tag:

custom:
sharedGateway:
gatewayName: your-cool-api-gateway-name
outputResources: true # Optional
outputFilename: hello_world # Optional
```
the outputResources will generate a ``` .output ``` file, with the resource name and resource id.
### To-do
- Make the rootResourceId and apiGatewayId enviormental variable
sharedGateway:
# This should be your gateway name
gatewayName: api-gateway-name
# will create a file once the api-gateway is recognized by serverless-framework
outputResources: true
# This is the file name, usually you want to set it as a .env (default is .output)
outputFilename: hello_world
# This option will remove the "create api gateway functionality, and will spit out the resourceId insted of overighting the gateway
domainManagerCompatible: true
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc