Skip to content

Commit

Permalink
Merge pull request #11 from openedx/bw/dist-index
Browse files Browse the repository at this point in the history
fix: use files package.json and dist folder
  • Loading branch information
muselesscreator authored Jun 27, 2023
2 parents 22ee384 + e34c764 commit 84c6e9c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 30 deletions.
35 changes: 6 additions & 29 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -1,32 +1,9 @@
{
"branches": ["main", "next"],
"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": []
"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", "next"]
},
"files": [
"/dist"
],
"scripts": {
"build": "make build",
"lint": "fedx-scripts eslint --ext .jsx,.js src/",
Expand Down

0 comments on commit 84c6e9c

Please sign in to comment.