Skip to content

Commit

Permalink
Merge pull request #4 from Boehringer-Ingelheim/feature/maintenance
Browse files Browse the repository at this point in the history
feature/maintenance
  • Loading branch information
SimonGolms authored Apr 9, 2024
2 parents a1b0fdc + d34f119 commit 7290200
Show file tree
Hide file tree
Showing 9 changed files with 2,801 additions and 3,138 deletions.
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit "$1" || { echo "Try \033[1;32mnpx git-cz --disable-emoji\033[0;37m to commit and be align with the conventions or use \033[1;33mgit commit -m \"yolo!\" --no-verify\033[0;37m to bypass the commit-msg hook."; exit 1; }
7 changes: 2 additions & 5 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

# Install any missing dependencies since package.json changed
git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD | grep --quiet package.json && npm install
# Install any missing dependencies since package.json changed, while only versions changes are ignored.
git diff-tree -r --ignore-matching-lines="version" --name-only --no-commit-id ORIG_HEAD HEAD | grep --quiet package.json && npm install
3 changes: 0 additions & 3 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm test
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v20
10 changes: 9 additions & 1 deletion .releaserc.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
/** @type {import('semantic-release').Options} */
module.exports = {
branches: [
"master",
{
name: "next",
prerelease: true,
},
],
plugins: [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
"@semantic-release/npm",
[
"@semantic-release/git",
{
assets: ["CHANGELOG.md", "README.md", "package.json", "package-lock.json"],
message: "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}",
},
],
"@semantic-release/github",
"@semantic-release/npm",
],
};
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 Boehringer Ingelheim
Copyright (c) 2024 Boehringer Ingelheim

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Give a ⭐️ if this project helped you!

## License

Copyright © 2022 [Boehringer Ingelheim](https://github.com/boehringer-ingelheim).<br />
Copyright © 2024 [Boehringer Ingelheim](https://github.com/boehringer-ingelheim).<br />
This project is [MIT](https://github.com/boehringer-ingelheim/prettier-config/blob/master/LICENSE) licensed.

## Resources
Expand Down
Loading

0 comments on commit 7290200

Please sign in to comment.