Skip to content

Commit fb12e5c

Browse files
committed
add types to push
1 parent 4ebab3f commit fb12e5c

File tree

5 files changed

+11
-2
lines changed

5 files changed

+11
-2
lines changed

.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
out/
2+
samples/http
3+
src/

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
{
22
"name": "create-function-app",
3-
"version": "0.0.0",
3+
"version": "0.0.2",
44
"description": "",
5+
"main": "dist/index.js",
6+
"types" : "dist/index.d.ts",
57
"scripts": {
68
"build": "tsc && cd ./src/cli && node main.js build -p '../../dist/samples/http/app.js' -o '../../out' -e '../../samples/http/.env'",
79
"watch": "tsc -w",

src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * from "./azure-functions"
2+
export * from "./types"

src/types/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export * from "./hostConfig"
2+
export * from "./bindings"

0 commit comments

Comments
 (0)