fix: license header autoinstall (#455)

* fix: autoinstall license dep

* chore: add filter
This commit is contained in:
chenjiawei.inizio 2025-07-03 18:16:49 +08:00 committed by GitHub
parent 0903f0fe07
commit e5d73966b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View File

@ -11,6 +11,8 @@ const ignoreFile = fs.readFileSync(path.join(__dirname, "../../../.gitignore"),
encoding: "utf-8",
});
ig.add(ignoreFile);
// ignore cli install demos
ig.add(['.next', 'doc_build']);
const src = path.resolve(__dirname, '../../../');

View File

@ -11,5 +11,5 @@
if [ "$PRE_LINT" != "1" ]; then
node common/scripts/install-run-rush.js -q lint-staged || exit $?
node common/scripts/install-run-rush.js check
node common/autoinstallers/license-header/index.js
node common/scripts/install-run-rush.js license-header
fi

View File

@ -22,7 +22,8 @@
"Sandpack",
"testrun",
"zoomin",
"zoomout"
"zoomout",
"Bytedance"
],
"ignoreWords": [],
"import": []