Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix generate-readme script, refresh examples.json and README.md #703

Open
wants to merge 2 commits into
base: v3
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
node_modules

# these use their own, incompatible eslint config
aws-node-fullstack/frontend
azure-node-typescript-servicebus-trigger-endpoint
254 changes: 129 additions & 125 deletions README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
},
"devDependencies": {
"serverless": "^1.33.2"
}
}
},
"title": ".NET REST API with DynamoDB"
}
9 changes: 5 additions & 4 deletions aws-ffmpeg-layer/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "aws-lambda-layer",
"description": "",
"name": "aws-ffmpeg-layer",
"description": "AWS FFmepg Layer & a service using it to create GIFs",
"version": "0.1.0",
"dependencies": {},
"devDependencies": {}
}
"devDependencies": {},
"title": "AWS FFmepg Layer"
}
5 changes: 3 additions & 2 deletions aws-golang-auth-examples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
"license": "MIT",
"devDependencies": {
"serverless": "^1.30.3"
}
}
},
"title": "AWS Golang Auth"
}
13 changes: 10 additions & 3 deletions aws-golang-dynamo-stream-to-elasticsearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,17 @@
"version": "1.0.0",
"description": "This example deploys a DynamoDB Table, an Elasticsearch Node, and a lambda triggered off of a Dynamo Stream which updates an elasticsearch index with the data from the Dynamo Table",
"main": "",
"keywords": ["Go","serverless","aws","dynamodb","elasticsearch"],
"keywords": [
"Go",
"serverless",
"aws",
"dynamodb",
"elasticsearch"
],
"author": "Brian Jones <[email protected]>",
"license": "MIT",
"devDependencies": {
"serverless": "^1.30.3"
}
}
},
"title": "DynamoDB Stream To Elasticsearch"
}
5 changes: 3 additions & 2 deletions aws-golang-http-get-post/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"version": "1.29.2",
"description": "Example on Making Parameterized Get and Post Request with Golang",
"author": "Pramono Winata <[email protected]>",
"license": "MIT"
}
"license": "MIT",
"title": "HTTP GET and POST"
}
13 changes: 7 additions & 6 deletions aws-golang-rest-api-with-dynamodb/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "aws-golang-rest-api-with-dynamodb",
"version": "1.0.0",
"description": "Serverless CRUD service exposing a REST HTTP interface",
"author": "",
"license": "MIT"
}
"name": "aws-golang-rest-api-with-dynamodb",
"version": "1.0.0",
"description": "Serverless CRUD service exposing a REST HTTP interface",
"author": "",
"license": "MIT",
"title": "AWS golang rest api with dynamodb"
}
5 changes: 3 additions & 2 deletions aws-golang-simple-http-endpoint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"version": "0.0.1",
"description": "Example demonstrates how to setup a simple HTTP GET endpoint with golang",
"author": "Sebastian Borza <[email protected]>",
"license": "MIT"
}
"license": "MIT",
"title": "AWS Golang HTTP GET endpoint"
}
5 changes: 3 additions & 2 deletions aws-golang-stream-kinesis-to-elasticsearch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"version": "0.0.1",
"description": "Pull data from AWS Kinesis streams and forward to elasticsearch",
"author": "Sebastian Borza <[email protected]>",
"license": "MIT"
}
"license": "MIT",
"title": "AWS Golang Kinesis to Elasticsearch"
}
5 changes: 3 additions & 2 deletions aws-node-alexa-skill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"version": "1.0.0",
"description": "This example demonstrates how to use an AWS Lambdas for your custom Alexa skill.",
"author": "",
"license": "MIT"
}
"license": "MIT",
"title": "AWS Alexa Skill"
}
5 changes: 3 additions & 2 deletions aws-node-auth0-cognito-custom-authorizers-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"jwk-to-pem": "^1.2.6",
"request": "^2.82.0"
},
"author": "Shahzeb Khan"
}
"author": "Shahzeb Khan",
"title": "API Gateway Authorizer Function for Auth0 or AWS Cognito using RS256 JSON Web Key Sets tokens."
}
5 changes: 3 additions & 2 deletions aws-node-auth0-custom-authorizers-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
},
"devDependencies": {
"serverless-offline": "^3.18.0"
}
}
},
"title": "AWS protecting API Gateway with Auth0"
}
6 changes: 4 additions & 2 deletions aws-node-dynamic-image-resizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,7 @@
},
"resolutions": {
"babel-core": "7.0.0-bridge.0"
}
}
},
"description": "This example shows you how to setup a dynamic image resizer API",
"title": "Dynamic Image Resizing API"
}
5 changes: 3 additions & 2 deletions aws-node-dynamodb-backup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"license": "MIT",
"dependencies": {
"aws-sdk": "^2.73.0"
}
}
},
"title": "AWS DynamoDB to S3 backup in Node.js"
}
5 changes: 3 additions & 2 deletions aws-node-env-variables-encrypted-in-a-file/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"license": "MIT",
"dependencies": {
"serverless-secrets-plugin": "^0.0.1"
}
}
},
"title": "AWS environment variables encrypted in a file"
}
5 changes: 3 additions & 2 deletions aws-node-env-variables/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"version": "1.0.0",
"description": "This example demonstrates how to use environment variables for AWS Lambdas.",
"author": "",
"license": "MIT"
}
"license": "MIT",
"title": "AWS environment variables"
}
7 changes: 4 additions & 3 deletions aws-node-express-api/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "aws-node-express-api",
"version": "1.0.0",
"description": "",
"description": "This template demonstrates how to develop and deploy a simple Node Express API running on AWS Lambda using the traditional Serverless Framework.",
"dependencies": {
"express": "^4.17.1",
"serverless-http": "^2.7.0"
}
}
},
"title": "Serverless Framework Node Express API on AWS"
}
7 changes: 4 additions & 3 deletions aws-node-express-dynamodb-api/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"name": "aws-node-express-dynamodb-api",
"version": "1.0.0",
"description": "",
"description": "This template demonstrates how to develop and deploy a simple Node Express API service backed by DynamoDB running on AWS Lambda using the traditional Serverless Framework.",
"dependencies": {
"express": "^4.17.1",
"serverless-http": "^2.7.0"
}
}
},
"title": "Serverless Framework Node Express API service backed by DynamoDB on AWS"
}
5 changes: 3 additions & 2 deletions aws-node-fetch-file-and-store-in-s3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
"dependencies": {
"aws-sdk": "^2.7.9",
"node-fetch": "^1.6.3"
}
}
},
"title": "AWS fetch a file and store it in S3"
}
2 changes: 1 addition & 1 deletion aws-node-fullstack/backend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 5 additions & 4 deletions aws-node-fullstack/backend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sfe-demo-leadcapture",
"name": "aws-node-fullstack",
"version": "1.0.0",
"description": "",
"description": "This example demonstrates how to deploy a Fullstack serverless application",
"main": "index.js",
"scripts": {},
"author": "Serverless.com",
Expand All @@ -12,5 +12,6 @@
},
"devDependencies": {
"@serverless/enterprise-plugin": "latest"
}
}
},
"title": "Serverless Email Sign Up Form"
}
2 changes: 1 addition & 1 deletion aws-node-fullstack/frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions aws-node-fullstack/frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "frontend",
"name": "aws-node-fullstack",
"version": "0.1.0",
"private": true,
"dependencies": {
Expand All @@ -21,5 +21,7 @@
"not dead",
"not ie <= 11",
"not op_mini all"
]
}
],
"description": "This example demonstrates how to deploy a Fullstack serverless application",
"title": "Serverless Email Sign Up Form"
}
5 changes: 3 additions & 2 deletions aws-node-function-compiled-with-babel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
"babel-preset-latest": "^6.16.0",
"serverless-babel-plugin": "^0.1.3"
},
"dependencies": {}
}
"dependencies": {},
"title": "AWS compiling a Lambda function with Babel"
}
2 changes: 1 addition & 1 deletion aws-node-github-check/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions aws-node-github-check/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "serverless-github-check",
"name": "aws-node-github-check",
"version": "0.0.1",
"main": "handler.js",
"scripts": {
Expand All @@ -23,5 +23,7 @@
"dependencies": {
"octonode": "^0.9.5",
"babel-runtime": "^6.26.0"
}
}
},
"description": "The idea is to validate that all Pull Requests are related to a specific trello card.",
"title": "Serverless Github Check"
}
5 changes: 3 additions & 2 deletions aws-node-github-webhook-listener/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@
"logs": "serverless logs -f githubWebhookListener -t"
},
"author": "David Wells",
"license": "MIT"
}
"license": "MIT",
"title": "AWS GitHub webhook listener"
}
2 changes: 1 addition & 1 deletion aws-node-graphql-and-rds/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 20 additions & 19 deletions aws-node-graphql-and-rds/package.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
{
"name": "graphql-api-and-serverless",
"version": "1.0.0",
"description": "",
"main": "handler.js",
"scripts": {
"func": "serverless deploy function --function graphql",
"deploy": "serverless deploy",
"remove": "serverless remove"
},
"dependencies": {
"graphql-yoga": "^1.17.4",
"pg": "^7.11.0",
"serverless-mysql": "^1.4.0",
"uuid": "^3.3.2"
},
"devDependencies": {
"serverless-pseudo-parameters": "^2.4.0"
}
}
"name": "aws-node-graphql-and-rds",
"version": "1.0.0",
"description": "This is an example project that uses 3 RDS databases to illustrate the differences between using each of them",
"main": "handler.js",
"scripts": {
"func": "serverless deploy function --function graphql",
"deploy": "serverless deploy",
"remove": "serverless remove"
},
"dependencies": {
"graphql-yoga": "^1.17.4",
"pg": "^7.11.0",
"serverless-mysql": "^1.4.0",
"uuid": "^3.3.2"
},
"devDependencies": {
"serverless-pseudo-parameters": "^2.4.0"
},
"title": "A Simple Serverless GraphQL API for MySQL, Postgres and Aurora"
}
5 changes: 3 additions & 2 deletions aws-node-graphql-api-with-dynamodb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC"
}
"license": "ISC",
"title": "GraphQL query endpoint in NodeJS on AWS with DynamoDB"
}
5 changes: 3 additions & 2 deletions aws-node-heroku-postgres/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
"pg": "^7.7.1",
"pg-connection-string": "^2.0.0",
"serverless-http": "^1.8.0"
}
}
},
"title": "AWS Lambda, Heroku and Postgres"
}
Loading