Skip to content

Commit

Permalink
fix(build): prevent semantic-release from committing package-lock.json (
Browse files Browse the repository at this point in the history
  • Loading branch information
padamstx authored May 14, 2021
1 parent f5e7716 commit 7fa259f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 827 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
.DS_Store
credentials.txt
*.coverprofile
node_modules/
.project
*.env

Expand All @@ -18,4 +17,8 @@ coverage.txt
.secrets.baseline
/.settings/
/.vscode/

# files produced by "npm install" commands during build
package.json
package-lock.json
node_modules/
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
1 change: 1 addition & 0 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
[
"@semantic-release/git",
{
"assets" : [ "CHANGELOG.md" ],
"message": "chore(release): ${nextRelease.version} release notes [skip ci]\n\n${nextRelease.notes}"
}
],
Expand Down
Loading

0 comments on commit 7fa259f

Please sign in to comment.