Ver Fonte

hacks because pnpify wont work

Adam Shaw há 4 anos atrás
pai
commit
ee2d8d9d48
2 ficheiros alterados com 8 adições e 0 exclusões
  1. 4 0
      scripts/contrib-run.js
  2. 4 0
      scripts/example-run.js

+ 4 - 0
scripts/contrib-run.js

@@ -31,6 +31,10 @@ for (let projName of projNames) {
   switch(projName) {
   switch(projName) {
 
 
     case 'angular':
     case 'angular':
+      // !!! - HACK: pnpify is broken with our built yarn (see .yarnrc.yml)
+      console.log('SKIPPING PnP simulation')
+      continue
+      // !!!
       console.log('Using PnP simulation')
       console.log('Using PnP simulation')
       console.log('')
       console.log('')
       exec.sync(
       exec.sync(

+ 4 - 0
scripts/example-run.js

@@ -51,6 +51,10 @@ for (let projName of projNames) {
       break
       break
 
 
     case 'angular':
     case 'angular':
+      // !!! - HACK: pnpify is broken with our built yarn (see .yarnrc.yml)
+      console.log('SKIPPING PnP simulation')
+      continue
+      // !!!
       console.log('Using PnP simulation')
       console.log('Using PnP simulation')
       console.log()
       console.log()
       exec.sync(
       exec.sync(