Skip to content

Commit c20468d

Browse files
committed
Fix gitignore + npmignore files
1 parent 0045168 commit c20468d

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,6 @@
2626

2727
# typescript related output files
2828
addon/**/*.js
29-
addon/**/*.d.ts
29+
addon/**/*.d.ts
30+
package/
31+
*.tgz

.npmignore

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/.travis.yml
2222
/.watchmanconfig
2323
/bower.json
24-
/config/ember-try.js
24+
/config/
2525
/CONTRIBUTING.md
2626
/ember-cli-build.js
2727
/testem.js
@@ -41,4 +41,9 @@
4141
# until they have become enforced "public" APIs
4242
*.ts
4343
# to enable d.ts consumption remove the next line
44-
# !*.d.ts
44+
# !*.d.ts
45+
!addon/**/*.js
46+
server/
47+
tsconfig.json
48+
*.tgz
49+
DEPRECATIONS.md

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@
2727
"test:ember": "ember test",
2828
"test:ember-compatibility": "ember try:each",
2929
"test-typings": "node node_modules/typescript/bin/tsc",
30-
"postpack": "rimraf addon-test-support/**/*.js",
30+
"postpack": "rimraf addon/**/*.js",
3131
"postpublish": "npm-run-all clean",
32-
"prepublishOnly": "yarn babel --extensions '.ts' --presets @babel/preset-typescript addon --out-dir addon/ --ignore '**/*.d.ts'"
32+
"prepack": "yarn babel --extensions '.ts' --presets @babel/preset-typescript addon --out-dir addon/ --ignore '**/*.d.ts'"
3333
},
3434
"dependencies": {
3535
"ember-cli-babel": "^7.26.6"

0 commit comments

Comments
 (0)