@goldstack/template-lambda-api-cli 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/bin/template +12 -0
- package/bin/template.ts +6 -0
- package/package.json +88 -0
package/README.md
ADDED
package/bin/template
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
5
|
+
require('source-map-support').install();
|
|
6
|
+
|
|
7
|
+
require('./../dist/src/templateLambdaApiCli')
|
|
8
|
+
.run(process.argv)
|
|
9
|
+
.catch((e) => {
|
|
10
|
+
console.log(e);
|
|
11
|
+
process.exit(1);
|
|
12
|
+
});
|
package/bin/template.ts
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@goldstack/template-lambda-api-cli",
|
|
3
|
+
"version": "0.4.1",
|
|
4
|
+
"description": "Companion for project templates for deploying Lambdas as a REST API",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"goldstack",
|
|
7
|
+
"utility",
|
|
8
|
+
"lambda",
|
|
9
|
+
"aws",
|
|
10
|
+
"serverless",
|
|
11
|
+
"infrastructure",
|
|
12
|
+
"IaC",
|
|
13
|
+
"configuration"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://goldstack.party",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/goldstack/goldstack/issues"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/goldstack/goldstack.git"
|
|
22
|
+
},
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"author": "Max Rohde",
|
|
25
|
+
"sideEffects": false,
|
|
26
|
+
"main": "dist/src/templateLambdaApiCli.js",
|
|
27
|
+
"bin": {
|
|
28
|
+
"template": "./bin/template",
|
|
29
|
+
"template-lambda-api": "./bin/template"
|
|
30
|
+
},
|
|
31
|
+
"scripts": {
|
|
32
|
+
"build": "yarn clean && yarn compile",
|
|
33
|
+
"build:watch": "yarn clean && yarn compile-watch",
|
|
34
|
+
"clean": "rimraf ./dist",
|
|
35
|
+
"cli": "ts-node bin/template.ts",
|
|
36
|
+
"compile": "tsc -p tsconfig.json",
|
|
37
|
+
"compile-watch": "tsc -p tsconfig.json --watch",
|
|
38
|
+
"compile-watch:light": "nodemon --watch ./src/ -e '*' --exec 'yarn compile'",
|
|
39
|
+
"coverage": "jest --collect-coverage --passWithNoTests --config=./jest.config.js --runInBand",
|
|
40
|
+
"prepublishOnly": "yarn run build",
|
|
41
|
+
"publish": "utils-git changed --exec \"yarn npm publish $@\"",
|
|
42
|
+
"test-build-lambdas": "ts-node scripts/buildTestLambdas.ts",
|
|
43
|
+
"test-ci": "jest --passWithNoTests --config=./jest.config.js --runInBand",
|
|
44
|
+
"version:apply": "utils-git changed --exec \"yarn version $@ && yarn version apply\"",
|
|
45
|
+
"version:apply:force": "yarn version $@ && yarn version apply"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@goldstack/infra": "0.3.36",
|
|
49
|
+
"@goldstack/infra-aws": "0.3.44",
|
|
50
|
+
"@goldstack/template-lambda-api": "0.4.42",
|
|
51
|
+
"@goldstack/utils-aws-lambda": "0.1.28",
|
|
52
|
+
"@goldstack/utils-cli": "0.2.13",
|
|
53
|
+
"@goldstack/utils-config": "0.3.33",
|
|
54
|
+
"@goldstack/utils-docker": "0.3.38",
|
|
55
|
+
"@goldstack/utils-log": "0.2.14",
|
|
56
|
+
"@goldstack/utils-package": "0.3.38",
|
|
57
|
+
"@goldstack/utils-package-config": "0.3.39",
|
|
58
|
+
"@goldstack/utils-s3-deployment": "0.3.55",
|
|
59
|
+
"@goldstack/utils-sh": "0.4.31",
|
|
60
|
+
"@goldstack/utils-template": "0.3.35",
|
|
61
|
+
"@goldstack/utils-terraform": "0.3.68",
|
|
62
|
+
"@goldstack/utils-terraform-aws": "0.3.67",
|
|
63
|
+
"@yarnpkg/esbuild-plugin-pnp": "^3.0.0-rc.1",
|
|
64
|
+
"archiver": "^5.3.1",
|
|
65
|
+
"esbuild": "^0.14.34",
|
|
66
|
+
"source-map-support": "^0.5.21",
|
|
67
|
+
"yargs": "^15.4.1"
|
|
68
|
+
},
|
|
69
|
+
"devDependencies": {
|
|
70
|
+
"@goldstack/utils-docs-cli": "0.3.11",
|
|
71
|
+
"@goldstack/utils-git": "0.1.34",
|
|
72
|
+
"@goldstack/utils-package-config-generate": "0.2.14",
|
|
73
|
+
"@types/aws-lambda": "^8.10.88",
|
|
74
|
+
"@types/jest": "^27.5.1",
|
|
75
|
+
"@types/node": "^17.0.33",
|
|
76
|
+
"@types/yargs": "^15.0.5",
|
|
77
|
+
"jest": "^28.1.0",
|
|
78
|
+
"jest-pnp-resolver": "^1.2.2",
|
|
79
|
+
"rimraf": "^3.0.2",
|
|
80
|
+
"ts-jest": "^28.0.2",
|
|
81
|
+
"ts-json-schema-generator": "^1.0.0",
|
|
82
|
+
"ts-node": "^10.7.0",
|
|
83
|
+
"typescript": "^4.6.4"
|
|
84
|
+
},
|
|
85
|
+
"publishConfig": {
|
|
86
|
+
"main": "dist/src/templateLambdaApiCli.js"
|
|
87
|
+
}
|
|
88
|
+
}
|