mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-17 21:15:32 +09:00
fix(repo): make the workspace lint, typecheck and test clean (#1978)
This commit is contained in:
1 parent
b268320406
commit
f004685424
11 files changed
+27
-13
No files matched your search
@@ -135,7 +135,14 @@ function addFilesFromDirectory(files, packageDir, relativeDir, predicate) {
|
||||
|
||||
function collectRuntimeArtifactPaths(packageDir) {
|
||||
const artifacts = new Set();
|
||||
for (const fileName of ['index.js', 'index.d.ts', 'binding.js', 'binding.d.ts', 'loader-diagnostics.cjs', 'pure.cjs']) {
|
||||
for (const fileName of [
|
||||
'index.js',
|
||||
'index.d.ts',
|
||||
'binding.js',
|
||||
'binding.d.ts',
|
||||
'loader-diagnostics.cjs',
|
||||
'pure.cjs',
|
||||
]) {
|
||||
if (fs.existsSync(path.join(packageDir, fileName))) {
|
||||
artifacts.add(fileName);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user