Skip to content

Commit

Permalink
fix: try only uploading dist folder to github
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Webb authored and Brandon Webb committed Sep 15, 2021
1 parent 91fd099 commit f9db666
Show file tree
Hide file tree
Showing 4 changed files with 184 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .releaserc.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ module.exports = {
}],
["@semantic-release/github", {
"assets": [
{ "path": "dist/types/**/*.d.ts", "label": "Typings" },
{ "path": "dist/ReactImageMagnify.js", "label": "ReactImageMagnify" },
{ "path": "dist/ReactImageMagnify.js.map", "label": "Sourcemap" }
{ "path": "dist", "label": "distribution" },
]
}],
],
Expand Down
164 changes: 164 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
"ts-jest": "^27.0.5",
"ts-loader": "^9.2.5",
"tsconfig-paths-webpack-plugin": "^3.5.1",
"typedoc": "^0.22.3",
"typescript": "^4.3.5",
"webpack": "^5.51.1",
"webpack-bundle-analyzer": "^4.4.2",
Expand Down
19 changes: 18 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,22 @@
"**/__mocks__/**/*",
"**/__test__/**/*",
"**/__mock__/**/*"
]
],
"typedocOptions": {
"entryPoints": [
"src/index.ts"
],
"out": "docs",
"exclude": [
"dist/**/*",
"node_modules/**/*",
".vscode/**/*",
"**/stories/**/*",
"**/__tests__/**/*",
"**/__mocks__/**/*",
"**/__test__/**/*",
"**/__mock__/**/*"
],
"readme": "./README.dm"
}
}

0 comments on commit f9db666

Please sign in to comment.