mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
build: allow release scope in commit message check
.npmrc uses chore(release): %s again, and the commit-msg hook accepts "release" alongside lib/ directory names, styles and widgets.
This commit is contained in:
@@ -13,7 +13,7 @@ const root = join(dirname(fileURLToPath(import.meta.url)), "..");
|
||||
const SCOPES = readdirSync(join(root, "lib"), { withFileTypes: true })
|
||||
.filter((entry) => entry.isDirectory())
|
||||
.map((entry) => entry.name)
|
||||
.concat(["styles", "widgets"])
|
||||
.concat(["styles", "widgets", "release"])
|
||||
.sort();
|
||||
|
||||
const file = process.argv[2];
|
||||
|
||||
Reference in New Issue
Block a user