Skip to content
This repository was archived by the owner on Sep 8, 2021. It is now read-only.

Commit b26fb25

Browse files
committed
Add lambda to .gitignore
1 parent 3a06395 commit b26fb25

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

generator.js

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
const fs = require('fs')
2+
13
module.exports = (api, options, rootOptions) => {
24
api.render("./template")
5+
6+
fs.appendFileSync(api.resolve(".gitignore"), "\n# Compiled Lambda functions\n/lambda/\n")
37
}

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "vue-cli-plugin-netlify-lambda",
3-
"version": "0.0.1",
4-
"description": "",
3+
"version": "0.1.0",
4+
"description": "Vue Cli plugin for adding Netlify Lambda",
55
"main": "index.js",
66
"scripts": {
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
9-
"author": "",
10-
"license": "ISC",
9+
"author": "Netlify",
10+
"license": "MIT",
1111
"dependencies": {
1212
"netlify-lambda": "1.0.0-babel-7-beta"
1313
}

0 commit comments

Comments
 (0)