-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: ScriptedAlchemy <[email protected]>
- Loading branch information
1 parent
a8616de
commit 31b82ee
Showing
3 changed files
with
13 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,12 @@ | ||
const getPackages = require('./repotools.js'); | ||
const stdout = JSON.stringify(getPackages('./', 'origin/master')) | ||
const all = getPackages('./', null) | ||
try { | ||
// remove last line of stdout | ||
const updatedPackages = JSON.parse(stdout); | ||
// if (stdout.includes("cypress")) { | ||
// TODO filter for "@" added temporary to not to add packages wich are not automated and formated yet. | ||
const changedPackages = getPackages('./', 'origin/master'); | ||
const allPackages = getPackages('./', null); | ||
|
||
const newPackages = all.filter(x => !x.name?.includes("_") && !updatedPackages?.includes(x) && !x.name?.includes("cypress") && !x.name?.includes("@")); | ||
console.log(JSON.stringify({ container: newPackages.map(x => x.name)})); | ||
// } else { | ||
// console.log(JSON.stringify({ container: updatedPackages.filter(x => !x.name.includes("_") && !x.name.includes("@")).map(x => x.name) | ||
// })) | ||
// } | ||
} catch (e) { | ||
console.error(e); | ||
} | ||
try { | ||
const updatedPackages = changedPackages; | ||
const newPackages = changedPackages | ||
|
||
console.log(JSON.stringify({ container: newPackages.map(package => package.name)})); | ||
} catch (e) { | ||
console.error(e); | ||
} |
Submodule native-federation-core-microfrontend
updated
from 461c49 to c5678a
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters