@nextnode-solutions/standards 1.3.0 → 1.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nextnode-solutions/standards",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Centralized development standards for NextNode projects: oxlint, oxfmt, TypeScript, Tailwind, Vitest, commitlint",
5
5
  "keywords": [
6
6
  "commitlint",
@@ -33,6 +33,11 @@
33
33
  "prepare": "husky",
34
34
  "test": "echo 'Configuration package — no tests needed'"
35
35
  },
36
+ "dependencies": {
37
+ "@semantic-release/git": "^10.0.1",
38
+ "@semantic-release/github": "^12.0.6",
39
+ "semantic-release-monorepo": "^8.0.2"
40
+ },
36
41
  "devDependencies": {
37
42
  "@commitlint/cli": "^19.8.1",
38
43
  "@commitlint/config-conventional": "^19.8.1",
@@ -1,8 +1,12 @@
1
+ const ERROR = 2
2
+ const WARNING = 1
3
+ const MAX_LINE_LENGTH = 100
4
+
1
5
  export default {
2
6
  extends: ['@commitlint/config-conventional'],
3
7
  rules: {
4
8
  'type-enum': [
5
- 2,
9
+ ERROR,
6
10
  'always',
7
11
  [
8
12
  'feat',
@@ -18,20 +22,20 @@ export default {
18
22
  'revert',
19
23
  ],
20
24
  ],
21
- 'type-case': [2, 'always', 'lower-case'],
22
- 'type-empty': [2, 'never'],
23
- 'scope-case': [2, 'always', 'lower-case'],
25
+ 'type-case': [ERROR, 'always', 'lower-case'],
26
+ 'type-empty': [ERROR, 'never'],
27
+ 'scope-case': [ERROR, 'always', 'lower-case'],
24
28
  'subject-case': [
25
- 2,
29
+ ERROR,
26
30
  'never',
27
31
  ['sentence-case', 'start-case', 'pascal-case', 'upper-case'],
28
32
  ],
29
- 'subject-empty': [2, 'never'],
30
- 'subject-full-stop': [2, 'never', '.'],
31
- 'header-max-length': [2, 'always', 100],
32
- 'body-leading-blank': [1, 'always'],
33
- 'body-max-line-length': [2, 'always', 100],
34
- 'footer-leading-blank': [1, 'always'],
35
- 'footer-max-line-length': [2, 'always', 100],
33
+ 'subject-empty': [ERROR, 'never'],
34
+ 'subject-full-stop': [ERROR, 'never', '.'],
35
+ 'header-max-length': [ERROR, 'always', MAX_LINE_LENGTH],
36
+ 'body-leading-blank': [WARNING, 'always'],
37
+ 'body-max-line-length': [ERROR, 'always', MAX_LINE_LENGTH],
38
+ 'footer-leading-blank': [WARNING, 'always'],
39
+ 'footer-max-line-length': [ERROR, 'always', MAX_LINE_LENGTH],
36
40
  },
37
41
  }