@patternfly/pfe-sass
Advanced tools
Comparing version 1.4.0 to 1.5.0
@@ -11,4 +11,4 @@ const { | ||
const pfelementPackage = require("./package.json"); | ||
const version = pfelementPackage.version; | ||
const elementName = pfelementPackage.pfelement.elementName; | ||
// const version = pfelementPackage.version; | ||
// const elementName = pfelementPackage.pfelement.elementName; | ||
@@ -22,9 +22,7 @@ const paths = { | ||
const clean = require("gulp-clean"); | ||
const mergeStream = require("merge-stream"); | ||
const globSass = require("gulp-sass-globbing"); | ||
const sassdoc = require("sassdoc"); | ||
// Delete the temp directory | ||
// Delete the demo assets | ||
task("clean", () => { | ||
return src(["__*.scss", "demo/*.html", "demo/assets"], { | ||
return src(["demo/*.html", "demo/assets"], { | ||
cwd: paths.compiled, | ||
@@ -36,25 +34,2 @@ read: false, | ||
// Custom gulp for sass globbing | ||
task("sass:globbing", () => { | ||
let stream = mergeStream(); | ||
["extends", "functions", "maps", "mixins", "variables"].forEach(folder => { | ||
stream.add( | ||
src([ | ||
`${folder}/_*.scss` | ||
// `!${folder}/_deprecated*.scss`, | ||
]) | ||
.pipe( | ||
globSass({ | ||
path: `__${folder}.scss` | ||
}, { | ||
signature: `// generated with sass globbing, v${version}` | ||
}) | ||
) | ||
.pipe(dest(paths.compiled)) | ||
); | ||
}); | ||
return stream; | ||
}); | ||
task("build:sassdoc", () => { | ||
@@ -67,3 +42,3 @@ return src(["{extends,functions,maps,mixins,variables}/_*.scss", "pfe-sass.scss"], { | ||
task("build", series("clean", parallel("build:sassdoc", "sass:globbing"))); | ||
task("build", series("clean", "build:sassdoc")); | ||
@@ -74,3 +49,3 @@ task("watch", () => watch( | ||
}, | ||
series("build") | ||
series("build:sassdoc") | ||
)); | ||
@@ -77,0 +52,0 @@ |
@@ -9,3 +9,3 @@ { | ||
}, | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"publishConfig": { | ||
@@ -68,3 +68,3 @@ "access": "public" | ||
}, | ||
"gitHead": "54602c91c3570d923f848fce2f3d7ce61e3cdfd2" | ||
"gitHead": "f6a7fc24f517ffdc80a75a1d9056a8c94562b252" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
881165
812