Some cleanup on AWS examples
This commit is contained in:
parent
0f8bd74a82
commit
73e4be9f5e
1
examples/scenarios/aws/beanstalk/.gitignore
vendored
1
examples/scenarios/aws/beanstalk/.gitignore
vendored
|
@ -1,4 +1,3 @@
|
|||
.lumi/
|
||||
bin/
|
||||
node_modules/
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "beanstalk",
|
||||
"main": ".lumi/bin/index.js",
|
||||
"version": "0.1",
|
||||
"typings": ".lumi/bin/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "lumijs"
|
||||
|
|
1
examples/scenarios/aws/cpuwatch/.gitignore
vendored
1
examples/scenarios/aws/cpuwatch/.gitignore
vendored
|
@ -1,4 +1,3 @@
|
|||
.lumi/
|
||||
bin/
|
||||
node_modules/
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "cpuwatch",
|
||||
"main": "bin/index.js",
|
||||
"typings": "bin/index.d.ts",
|
||||
"version": "0.1",
|
||||
"typings": ".lumi/bin/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "lumijs"
|
||||
},
|
||||
|
|
2
examples/scenarios/aws/minimal/.gitignore
vendored
2
examples/scenarios/aws/minimal/.gitignore
vendored
|
@ -1,3 +1,3 @@
|
|||
bin/
|
||||
.lumi/
|
||||
node_modules/
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: aws/minimal
|
||||
description: A minimal AWS blueprint that consists solely of creating a single VPC resource.
|
||||
description: An empty Lumi script.
|
||||
dependencies:
|
||||
lumi: "*"
|
||||
aws: "*"
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
import * as lumi from "@lumi/lumi";
|
||||
import * as aws from "@lumi/aws";
|
||||
|
||||
let vpc = new aws.ec2.VPC({ cidrBlock: "10.0.0.0/16" });
|
||||
|
||||
|
|
16
examples/scenarios/aws/minimal/package.json
Normal file
16
examples/scenarios/aws/minimal/package.json
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"name": "minimal",
|
||||
"version": "0.1",
|
||||
"typings": ".lumi/bin/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "lumijs"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^2.1.4"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@lumi/lumi": "*",
|
||||
"@lumi/aws": "*"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"outDir": "bin",
|
||||
"outDir": ".lumi/bin",
|
||||
"target": "es6",
|
||||
"module": "commonjs",
|
||||
"moduleResolution": "node",
|
||||
|
|
|
@ -16,7 +16,9 @@
|
|||
"strictNullChecks": true
|
||||
},
|
||||
"files": [
|
||||
"index.ts"
|
||||
"index.ts",
|
||||
"infra.ts",
|
||||
"swarm.ts"
|
||||
]
|
||||
}
|
||||
|
||||
|
|
1
examples/scenarios/aws/serverless/.gitignore
vendored
1
examples/scenarios/aws/serverless/.gitignore
vendored
|
@ -1,4 +1,3 @@
|
|||
.lumi/
|
||||
bin/
|
||||
node_modules/
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "serverless",
|
||||
"main": "bin/index.js",
|
||||
"typings": "bin/index.d.ts",
|
||||
"version": "0.1",
|
||||
"typings": ".lumi/bin/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "lumijs"
|
||||
},
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
.lumi/
|
||||
bin/
|
||||
node_modules/
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "webserver",
|
||||
"main": "bin/index.js",
|
||||
"typings": "bin/index.d.ts",
|
||||
"version": "0.1",
|
||||
"typings": ".lumi/bin/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "lumijs"
|
||||
},
|
||||
|
|
1
examples/scenarios/aws/webserver/.gitignore
vendored
1
examples/scenarios/aws/webserver/.gitignore
vendored
|
@ -1,4 +1,3 @@
|
|||
.lumi/
|
||||
bin/
|
||||
node_modules/
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "webserver",
|
||||
"main": "bin/index.js",
|
||||
"typings": "bin/index.d.ts",
|
||||
"version": "0.1",
|
||||
"typings": ".lumi/bin/index.d.ts",
|
||||
"scripts": {
|
||||
"build": "lumijs"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue