Skip to content

Commit 9cb0a9c

Browse files
fix: Update semantic-release configuration for npm publishing
- Adjusted npm plugin configuration to specify package root directory. - Removed unused GitHub plugin from package-lock.json. - Added publishConfig to package.json to define the directory for publishing.
1 parent 3b67f4a commit 9cb0a9c

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.releaserc.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@
77
"@semantic-release/commit-analyzer",
88
"@semantic-release/release-notes-generator",
99
"@semantic-release/changelog",
10-
"@semantic-release/npm",
10+
[
11+
"@semantic-release/npm",
12+
{
13+
"pkgRoot": "package"
14+
}
15+
],
1116
[
1217
"@semantic-release/git",
1318
{

package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
"url": "https://github.com/aviarytech/did-peer/issues"
1111
},
1212
"homepage": "https://github.com/aviarytech/did-peer#readme",
13+
"publishConfig": {
14+
"directory": "package"
15+
},
1316
"scripts": {
1417
"dev": "vite dev",
1518
"build": "svelte-kit sync && svelte-package",

0 commit comments

Comments
 (0)