mirror of
https://gitee.com/ByteDance/flowgram.ai.git
synced 2025-07-07 17:43:29 +08:00
fix: license header autoinstall (#455)
* fix: autoinstall license dep * chore: add filter
This commit is contained in:
parent
0903f0fe07
commit
e5d73966b4
@ -11,6 +11,8 @@ const ignoreFile = fs.readFileSync(path.join(__dirname, "../../../.gitignore"),
|
|||||||
encoding: "utf-8",
|
encoding: "utf-8",
|
||||||
});
|
});
|
||||||
ig.add(ignoreFile);
|
ig.add(ignoreFile);
|
||||||
|
// ignore cli install demos
|
||||||
|
ig.add(['.next', 'doc_build']);
|
||||||
|
|
||||||
const src = path.resolve(__dirname, '../../../');
|
const src = path.resolve(__dirname, '../../../');
|
||||||
|
|
||||||
|
|||||||
@ -11,5 +11,5 @@
|
|||||||
if [ "$PRE_LINT" != "1" ]; then
|
if [ "$PRE_LINT" != "1" ]; then
|
||||||
node common/scripts/install-run-rush.js -q lint-staged || exit $?
|
node common/scripts/install-run-rush.js -q lint-staged || exit $?
|
||||||
node common/scripts/install-run-rush.js check
|
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
|
fi
|
||||||
|
|||||||
@ -22,7 +22,8 @@
|
|||||||
"Sandpack",
|
"Sandpack",
|
||||||
"testrun",
|
"testrun",
|
||||||
"zoomin",
|
"zoomin",
|
||||||
"zoomout"
|
"zoomout",
|
||||||
|
"Bytedance"
|
||||||
],
|
],
|
||||||
"ignoreWords": [],
|
"ignoreWords": [],
|
||||||
"import": []
|
"import": []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user