From 7807e74a31a3e8fd1e2a9603605594d25b2afa7a Mon Sep 17 00:00:00 2001 From: Stamen Stoychev Date: Wed, 17 Apr 2024 14:38:39 +0300 Subject: [PATCH] get better logging --- .github/workflows/node.js.yml | 2 +- browser/tasks/gulp-samples.js | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 56c8b3514a..1554ccee78 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -38,7 +38,7 @@ jobs: # echo "//packages.infragistics.com/npm/js-licensed/:_auth=${{ secrets.PROGET_TOKEN }}" >> ~/.npmrc # echo "//packages.infragistics.com/npm/js-licensed/:always-auth=true" >> ~/.npmrc - - name: npm install --legacy-peer-deps + - name: npm install run: cd browser && npm install - name: Build run: cd browser && npm run build diff --git a/browser/tasks/gulp-samples.js b/browser/tasks/gulp-samples.js index 9fd2cdba2e..d202067232 100644 --- a/browser/tasks/gulp-samples.js +++ b/browser/tasks/gulp-samples.js @@ -144,13 +144,12 @@ function getSamples(cb) { cleanSamples(); samplesList = []; - console.log(sampleSource); gulp.src(sampleSource) // .pipe(gSort( { asc: false } )) .pipe(es.map(function(samplePackage, sampleCallback) { - console.log(samplePackage); - console.log(sampleCallback); let sampleFolderName = Transformer.getRelative(samplePackage.dirname); + console.log('dir'); console.log(samplePackage.dirname); + console.log('transformer'); console.log(sampleFolderName); if (skipSamples.indexOf(sampleFolderName) >= 0) { // skip until material UI components are replaced in samples @@ -184,7 +183,7 @@ function getSamples(cb) { console.log("end"); Transformer.sort(samplesList); - console.log(samplesList); + // console.log(samplesList); Transformer.process(samplesList); // Transformer.verify(samplesList); // Transformer.print(samplesList);