Skip to content

Commit

Permalink
fix: include the files field in the package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
smoak committed Oct 5, 2023
1 parent 8adf7fc commit dfc5f24
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,19 @@
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/changelog",
{
"changelogFile": "docs/CHANGELOG.md"
}
],
"@semantic-release/npm",
[
"@semantic-release/git",
{
"assets": [
"dist/**/*.{js,d.ts}",
"docs",
"package.json"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
Expand Down
124 changes: 122 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
"module": "dist/esm/index.js",
"main": "dist/cjs/index.js",
"types": "dist/esm/index.d.ts",
"files": [
"dist/**"
],
"scripts": {
"build": "run-p 'build:*'",
"build:cjs": "tsc -p ./tsconfig.cjs.json",
Expand Down Expand Up @@ -34,6 +37,8 @@
"@babel/core": "^7.22.11",
"@babel/preset-env": "^7.22.10",
"@babel/preset-typescript": "^7.22.11",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/exec": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^9.2.1",
"@semantic-release/npm": "^11.0.0",
Expand Down

0 comments on commit dfc5f24

Please sign in to comment.