@itcase/config 1.6.12 → 1.6.14

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.
@@ -9,7 +9,11 @@ export default {
9
9
  rules: {
10
10
  'type-case': [2, 'always', 'lower-case'],
11
11
  'type-empty': [2, 'never'],
12
- 'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'test', 'ci', 'other']],
12
+ 'type-enum': [
13
+ 2,
14
+ 'always',
15
+ ['feat', 'fix', 'refactor', 'docs', 'test', 'ci', 'deps', 'other'],
16
+ ],
13
17
  'body-empty': [1, 'always'],
14
18
  'subject-case': [
15
19
  2,
@@ -40,6 +44,12 @@ export default {
40
44
  description: 'A bug fix',
41
45
  emoji: '🐛',
42
46
  },
47
+ refactor: {
48
+ title: 'Refactoring',
49
+ description:
50
+ "Is for code changes that don't add features or fix bugs.",
51
+ emoji: '📦',
52
+ },
43
53
  docs: {
44
54
  title: 'Documentation',
45
55
  description: 'Documentation only changes',
@@ -55,6 +65,11 @@ export default {
55
65
  description: 'Changes to our CI configuration files and scripts',
56
66
  emoji: '⚙️ ',
57
67
  },
68
+ deps: {
69
+ title: 'Dependencies',
70
+ description: 'Update dependencies',
71
+ emoji: '📌',
72
+ },
58
73
  other: {
59
74
  title: 'Other',
60
75
  description: "Other changes that don't include scope",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/config",
3
- "version": "1.6.12",
3
+ "version": "1.6.14",
4
4
  "author": "ITCase",
5
5
  "description": "ITCase Config ",
6
6
  "engines": {
@@ -31,9 +31,9 @@
31
31
  "registry": "https://registry.npmjs.org/"
32
32
  },
33
33
  "dependencies": {
34
- "@commitlint/cli": "^20.3.0",
35
- "@commitlint/config-conventional": "^20.3.0",
36
- "@commitlint/cz-commitlint": "^20.3.0",
34
+ "@commitlint/cli": "^20.3.1",
35
+ "@commitlint/config-conventional": "^20.3.1",
36
+ "@commitlint/cz-commitlint": "^20.3.1",
37
37
  "@lehoczky/postcss-fluid": "^1.0.3",
38
38
  "@semantic-release/changelog": "^6.0.3",
39
39
  "@semantic-release/git": "^10.0.1",
@@ -44,7 +44,7 @@
44
44
  "conventional-changelog-conventionalcommits": "^9.1.0",
45
45
  "cssnano": "^7.1.2",
46
46
  "cssnano-preset-default": "^7.0.10",
47
- "inquirer": "^13.1.0",
47
+ "inquirer": "^13.2.0",
48
48
  "postcss-aspect-ratio-polyfill": "^2.0.0",
49
49
  "postcss-clamp": "^4.1.0",
50
50
  "postcss-cli": "^11.0.1",
@@ -68,7 +68,7 @@
68
68
  "postcss-nested-ancestors": "^3.0.0",
69
69
  "postcss-normalize": "^13.0.1",
70
70
  "postcss-prepend-imports": "^1.0.1",
71
- "postcss-preset-env": "^10.6.0",
71
+ "postcss-preset-env": "^10.6.1",
72
72
  "postcss-pxtorem": "^6.1.0",
73
73
  "postcss-sort-media-queries": "^5.2.0",
74
74
  "postcss-url": "^10.1.3",
@@ -76,10 +76,10 @@
76
76
  "semantic-release": "^24.2.9"
77
77
  },
78
78
  "devDependencies": {
79
- "@itcase/lint": "^1.1.73",
79
+ "@itcase/lint": "^1.1.74",
80
80
  "eslint": "^9.39.2",
81
81
  "husky": "^9.1.7",
82
- "inquirer": "^13.1.0",
82
+ "inquirer": "^13.2.0",
83
83
  "lint-staged": "^16.2.7",
84
84
  "prettier": "^3.7.4",
85
85
  "stylelint": "^16.26.1",
@@ -4,18 +4,22 @@ const releaseRules = [
4
4
  { type: 'patch', release: 'patch' },
5
5
  { type: 'feat', release: 'patch' },
6
6
  { type: 'fix', release: 'patch' },
7
+ { type: 'refactor', release: 'patch' },
7
8
  { type: 'docs', release: 'patch' },
8
9
  { type: 'test', release: 'patch' },
9
10
  { type: 'ci', release: 'patch' },
11
+ { type: 'deps', release: 'patch' },
10
12
  { type: 'other', release: 'patch' },
11
13
  ]
12
14
 
13
15
  const releaseNotesTypes = [
14
16
  { type: 'feat', section: 'Features' },
15
17
  { type: 'fix', section: 'Bug Fixes' },
18
+ { type: 'refactor', release: 'Refactoring' },
16
19
  { type: 'docs', section: 'Documentation' },
17
20
  { type: 'test', section: 'Tests' },
18
21
  { type: 'ci', section: 'Continuous Integrations' },
22
+ { type: 'deps', release: 'Dependencies' },
19
23
  { type: 'other', section: 'Other' },
20
24
  ]
21
25