Skip to content

Commit 7b077ae

Browse files
committed
📦 Filter files to be included in deploy package
1 parent 72999b9 commit 7b077ae

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
node_modules/
22
dist/
33
coverage/
4-
schemaDiff/
5-
schema.graphql
4+
.dev/

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@
1212
"lint:fix": "prettier --parser typescript --single-quote --write src/**"
1313
},
1414
"bin": "dist/cli.js",
15+
"files": [
16+
"dist/",
17+
"npm-shrinkwrap.json"
18+
],
1519
"keywords": [
1620
"graphql",
1721
"schema",

tsconfig.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@
1010
"resolveJsonModule": true,
1111
"declaration": true,
1212
"noImplicitAny": true
13-
}
13+
},
14+
"include": ["src/**/*.ts"],
15+
"exclude": ["src/__tests__"]
1416
}

0 commit comments

Comments
 (0)