Skip to content

Commit

Permalink
Merge pull request #3 from kuzzleio/develop
Browse files Browse the repository at this point in the history
  • Loading branch information
fmauNeko authored Jan 14, 2025
2 parents 9b0440b + 561bb85 commit 8092b96
Show file tree
Hide file tree
Showing 10 changed files with 3,461 additions and 4,096 deletions.
8 changes: 0 additions & 8 deletions .eslintrc.json

This file was deleted.

3 changes: 3 additions & 0 deletions .github/workflows/release.workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- main
- develop

env:
HUSKY: 0

jobs:
release:
name: Release process
Expand Down
5 changes: 0 additions & 5 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
#!/usr/bin/env sh
[ -n "$CI" ] && exit 0

. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit ${1}
5 changes: 0 additions & 5 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
#!/usr/bin/env sh
[ -n "$CI" ] && exit 0

. "$(dirname -- "$0")/_/husky.sh"

npm run lint
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## [1.1.0-develop.1](https://github.com/kuzzleio/semantic-release-config-kuzzle/compare/v1.0.0...v1.1.0-develop.1) (2025-01-14)

### Features

* **config:** switch to conventionalcommits from the default angular ([20e52a9](https://github.com/kuzzleio/semantic-release-config-kuzzle/commit/20e52a9a4f67e47e57b4d403dc8ab170cde0acd0))

# 1.0.0 (2023-06-30)


Expand Down
19 changes: 19 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import kuzzlePlugin from "eslint-plugin-kuzzle";

export default [
{
ignores: ["dist/"],
},
...kuzzlePlugin.configs.default,
...kuzzlePlugin.configs.node,
...kuzzlePlugin.configs.typescript,
{
languageOptions: {
parserOptions: {
projectService: {
allowDefaultProject: ["eslint.config.mjs"],
},
},
},
},
];
9 changes: 6 additions & 3 deletions lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,16 @@ if (existsSync("package.json")) {
} else {
// eslint-disable-next-line no-console
console.warn(
"Could not infer package type, assuming publication is handled externally."
"Could not infer package type, assuming publication is handled externally.",
);
}

const plugins: PluginSpec[] = [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
["@semantic-release/commit-analyzer", { preset: "conventionalcommits" }],
[
"@semantic-release/release-notes-generator",
{ preset: "conventionalcommits" },
],
"@semantic-release/changelog",
...publishPlugins,
"@semantic-release/github",
Expand Down
Loading

0 comments on commit 8092b96

Please sign in to comment.