diff --git a/.releaserc b/.releaserc index d49cd4b..2c101b5 100644 --- a/.releaserc +++ b/.releaserc @@ -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" + ] } diff --git a/package.json b/package.json index 8c42aec..039b2e9 100644 --- a/package.json +++ b/package.json @@ -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/",