Skip to content

Commit

Permalink
chore(release): Adjust publish asset handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidnioulz committed Oct 19, 2024
1 parent 3eadbae commit 2ed1259
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./manager": {
"types": "./dist/index.d.ts",
"import": "./dist/manager.js",
"require": "./dist/manager.cjs"
},
"./preview": {
"types": "./dist/index.d.ts",
"import": "./dist/preview.js",
Expand All @@ -29,8 +34,8 @@
"files": [
"dist/**/*",
"README.md",
"*.js",
"*.d.ts"
"manager.js",
"preview.js"
],
"bundler": {
"exportEntries": [
Expand Down
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default {
[
'@semantic-release/github',
{
assets: ['dist/**', 'README.md', '*.js', '*.d.ts'],
assets: ['dist/**', 'README.md', 'manager.js', 'preview.js'],
},
],
'@semantic-release/npm',
Expand Down

0 comments on commit 2ed1259

Please sign in to comment.