Some cleanup on AWS examples

This commit is contained in:
Luke Hoban 2017-06-07 16:16:55 -07:00
parent 0f8bd74a82
commit 73e4be9f5e
16 changed files with 32 additions and 20 deletions

View file

@ -1,4 +1,3 @@
.lumi/
bin/
node_modules/

View file

@ -1,6 +1,6 @@
{
"name": "beanstalk",
"main": ".lumi/bin/index.js",
"version": "0.1",
"typings": ".lumi/bin/index.d.ts",
"scripts": {
"build": "lumijs"

View file

@ -1,4 +1,3 @@
.lumi/
bin/
node_modules/

View file

@ -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"
},

View file

@ -1,3 +1,3 @@
bin/
.lumi/
node_modules/

View file

@ -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: "*"

View file

@ -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" });

View 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": "*"
}
}

View file

@ -1,6 +1,6 @@
{
"compilerOptions": {
"outDir": "bin",
"outDir": ".lumi/bin",
"target": "es6",
"module": "commonjs",
"moduleResolution": "node",

View file

@ -16,7 +16,9 @@
"strictNullChecks": true
},
"files": [
"index.ts"
"index.ts",
"infra.ts",
"swarm.ts"
]
}

View file

@ -1,4 +1,3 @@
.lumi/
bin/
node_modules/

View file

@ -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"
},

View file

@ -1,4 +1,3 @@
.lumi/
bin/
node_modules/

View file

@ -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"
},

View file

@ -1,4 +1,3 @@
.lumi/
bin/
node_modules/

View file

@ -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"
},