Skip to content

Commit

Permalink
fix: use files package.json and dist folder
Browse files Browse the repository at this point in the history
  • Loading branch information
muselesscreator committed Jun 27, 2023
1 parent 270eef4 commit e0a6827
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 31 deletions.
37 changes: 7 additions & 30 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,32 +1,9 @@
{
"branch": "main",
"tagFormat": "v${version}",
"verifyConditions": [
{
"path": "@semantic-release/npm",
"pkgRoot": "dist"
},
{
"path": "@semantic-release/github"
}
],
"analyzeCommits": "@semantic-release/commit-analyzer",
"generateNotes": "@semantic-release/release-notes-generator",
"prepare": [
{
"path": "@semantic-release/npm",
"pkgRoot": "dist"
}
],
"publish": [
{
"path": "@semantic-release/npm",
"pkgRoot": "dist"
},
{
"path": "@semantic-release/github"
}
],
"success": [],
"fail": []
"branches": ["master", "next"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github"
]
}
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
"name": "@edx/react-unit-test-utils",
"version": "1.0.0-semantically-released",
"description": "React toolkit for writing and testing react components",
"main": "index.js",
"main": "dist/index.js",
"release": {
"branches": ["main"]
},
"files": [
"/dist"
],
"scripts": {
"build": "make build",
"lint": "fedx-scripts eslint --ext .jsx,.js src/",
Expand Down

0 comments on commit e0a6827

Please sign in to comment.