Skip to content

Commit

Permalink
refactor: added pkgRoot and set assets path
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahwaheed committed May 9, 2024
1 parent e09e369 commit 71c5065
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
17 changes: 14 additions & 3 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"branch": "master",
"tagFormat": "v${version}",
"verifyConditions": [
"@semantic-release/npm",
{
"path": "@semantic-release/npm",
"pkgRoot": "dist"
},
{
"path": "@semantic-release/github",
"assets": {
Expand All @@ -12,9 +15,17 @@
],
"analyzeCommits": "@semantic-release/commit-analyzer",
"generateNotes": "@semantic-release/release-notes-generator",
"prepare": "@semantic-release/npm",
"prepare": [
{
"path": "@semantic-release/npm",
"pkgRoot": "dist"
}
],
"publish": [
"@semantic-release/npm",
{
"path": "@semantic-release/npm",
"pkgRoot": "dist"
},
{
"path": "@semantic-release/github",
"assets": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@edx/frontend-logging",
"version": "1.0.0-semantically-released",
"description": "edX Frontend logging client code for sending logging and events to Datadog",
"main": "dist/index.js",
"main": "index.js",
"sideEffects": false,
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 71c5065

Please sign in to comment.