This commit is contained in:
Jaco Greeff
2020-03-21 11:37:03 +01:00
committed by GitHub
parent 6f5adca0cc
commit ee613b1578
5 changed files with 18 additions and 17 deletions
+5 -5
View File
@@ -1,11 +1,11 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const path = require('path');
const getWorkspaces = require('get-yarn-workspaces');
const workspaces = getWorkspaces(__dirname).filter(item => {
return path.normalize(item) !== path.normalize(__dirname);
});
let workspacesBuildDirs = workspaces.map(workspace => path.join(workspace, 'build/'));
workspacesBuildDirs = workspacesBuildDirs.filter(item => item !== path.join(__dirname, '../reactnative-identicon/build/'));
const workspaces = getWorkspaces(__dirname).filter((item) =>
path.normalize(item) !== path.normalize(__dirname)
);
let workspacesBuildDirs = workspaces.map((workspace) => path.join(workspace, 'build/'));
workspacesBuildDirs = workspacesBuildDirs.filter((item) => item !== path.join(__dirname, '../reactnative-identicon/build/'));
module.exports = {