1
0
Fork 0

chore: Work on peer-deps in worflows

This commit is contained in:
Joost De Cock 2020-03-14 17:09:14 +01:00
parent 7874e297d6
commit d1ad6ee7e5
31 changed files with 63 additions and 181 deletions

View file

@ -478,8 +478,10 @@ function configurePatternUnitTests(pkg, config) {
// Write templates
let replace = {
pattern: pkg,
Pattern: capitalize(pkg)
Pattern: capitalize(pkg),
peerdeps: Object.keys(peerDependencies(pkg, config, 'pattern')).join(' ')
};
for (let file of ["config.test.js"]) {
fs.writeFileSync(
path.join(dest, file),