@commitlint/config-nx-scopes 20.5.0 → 21.0.0

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.
Files changed (2) hide show
  1. package/package.json +6 -6
  2. package/readme.md +2 -5
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commitlint/config-nx-scopes",
3
3
  "type": "module",
4
- "version": "20.5.0",
4
+ "version": "21.0.0",
5
5
  "description": "Shareable commitlint config enforcing nx project names as scopes",
6
6
  "main": "index.js",
7
7
  "files": [
@@ -37,14 +37,14 @@
37
37
  }
38
38
  },
39
39
  "engines": {
40
- "node": ">=v18"
40
+ "node": ">=22.12.0"
41
41
  },
42
42
  "dependencies": {
43
- "@commitlint/types": "^20.5.0"
43
+ "@commitlint/types": "^21.0.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@commitlint/test": "^20.4.3",
47
- "@commitlint/utils": "^20.0.0"
46
+ "@commitlint/test": "^21.0.0",
47
+ "@commitlint/utils": "^21.0.0"
48
48
  },
49
- "gitHead": "a7918e9cf70f822505cb4422c03150a86f802627"
49
+ "gitHead": "f081a8ef93019bb8b07f39c756f6d4a052020d3b"
50
50
  }
package/readme.md CHANGED
@@ -97,17 +97,14 @@ packages
97
97
  └── web
98
98
 
99
99
  ❯ echo "build(api): change something in api's build" | commitlint
100
- ⧗ input: build(api): change something in api's build
101
- ✔ found 0 problems, 0 warnings
102
100
 
103
101
  ❯ echo "test(foo): this won't pass" | commitlint
104
- ⧗ input: test(foo): this won't pass
102
+ ⧗ --- input ---
103
+ test(foo): this won't pass
105
104
  ✖ scope must be one of [api, app, web] [scope-enum]
106
105
  ✖ found 1 problems, 0 warnings
107
106
 
108
107
  ❯ echo "ci: do some general maintenance" | commitlint
109
- ⧗ input: ci: do some general maintenance
110
- ✔ found 0 problems, 0 warnings
111
108
  ```
112
109
 
113
110
  Consult [Rules reference](https://commitlint.js.org/reference/rules) for a list of available rules.