@adamlui/scss-to-css 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/cli/lib/init.js +1 -1
- package/dist/scss-to-css.js +2 -2
- package/docs/README.md +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
<img height=31 src="https://img.shields.io/npm/dm/%40adamlui%2Fscss-to-css?logo=npm&color=af68ff&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
34
34
|
<a href="#%EF%B8%8F-mit-license">
|
|
35
35
|
<img height=31 src="https://img.shields.io/badge/License-MIT-orange.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
36
|
-
<a href="https://github.com/adamlui/js-utils/releases/tag/scss-to-css-2.3.
|
|
37
|
-
<img height=31 src="https://img.shields.io/badge/Latest_Build-2.3.
|
|
36
|
+
<a href="https://github.com/adamlui/js-utils/releases/tag/scss-to-css-2.3.1">
|
|
37
|
+
<img height=31 src="https://img.shields.io/badge/Latest_Build-2.3.1-44cc11.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
38
38
|
<a href="https://www.npmjs.com/package/@adamlui/scss-to-css?activeTab=code">
|
|
39
39
|
<img height=31 src="https://img.shields.io/npm/unpacked-size/%40adamlui%2Fscss-to-css?style=for-the-badge&logo=ebox&logoColor=white&color=blue&labelColor=464646"></a>
|
|
40
40
|
<a href="https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=adamlui_scss-to-css:src/scss-to-css.js">
|
package/dist/cli/lib/init.js
CHANGED
|
@@ -31,7 +31,7 @@ module.exports = {
|
|
|
31
31
|
fs.copyFileSync(paths.src, paths.target) // use found template
|
|
32
32
|
|
|
33
33
|
else { // use jsDelivr copy
|
|
34
|
-
const jsdURL = `${require('./jsdelivr').pkgVerURL()}/${filename}
|
|
34
|
+
const jsdURL = `${require('./jsdelivr').pkgVerURL()}/${filename}`
|
|
35
35
|
log.data(`${cli.msgs.info_fetchingRemoteConfigFrom} ${jsdURL}...`)
|
|
36
36
|
try {
|
|
37
37
|
const data = require('./data'),
|
package/dist/scss-to-css.js
CHANGED
|
@@ -50,9 +50,9 @@ function findSCSS(searchDir, options = {}) {
|
|
|
50
50
|
_log.info('Searching for files...')
|
|
51
51
|
dirFiles.forEach(file => {
|
|
52
52
|
const filePath = path.resolve(searchDir, file)
|
|
53
|
-
const shouldIgnore = options.ignores.some(ignore => {
|
|
53
|
+
const shouldIgnore = options.ignores?.length && options.ignores.filter(Boolean).some(ignore => {
|
|
54
54
|
ignore = ignore.replace(/\/$/, '')
|
|
55
|
-
return file == ignore || filePath.split(path.sep).
|
|
55
|
+
return file == ignore || filePath.split(path.sep).includes(ignore)
|
|
56
56
|
})
|
|
57
57
|
if (shouldIgnore) {
|
|
58
58
|
if (options.verbose) _log.info(`** ${file} ignored`)
|
package/docs/README.md
CHANGED
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
<img height=31 src="https://img.shields.io/npm/dm/%40adamlui%2Fscss-to-css?logo=npm&color=af68ff&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
34
34
|
<a href="#%EF%B8%8F-mit-license">
|
|
35
35
|
<img height=31 src="https://img.shields.io/badge/License-MIT-orange.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
36
|
-
<a href="https://github.com/adamlui/js-utils/releases/tag/scss-to-css-2.3.
|
|
37
|
-
<img height=31 src="https://img.shields.io/badge/Latest_Build-2.3.
|
|
36
|
+
<a href="https://github.com/adamlui/js-utils/releases/tag/scss-to-css-2.3.1">
|
|
37
|
+
<img height=31 src="https://img.shields.io/badge/Latest_Build-2.3.1-44cc11.svg?logo=icinga&logoColor=white&labelColor=464646&style=for-the-badge"></a>
|
|
38
38
|
<a href="https://www.npmjs.com/package/@adamlui/scss-to-css?activeTab=code">
|
|
39
39
|
<img height=31 src="https://img.shields.io/npm/unpacked-size/%40adamlui%2Fscss-to-css?style=for-the-badge&logo=ebox&logoColor=white&color=blue&labelColor=464646"></a>
|
|
40
40
|
<a href="https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=adamlui_scss-to-css:src/scss-to-css.js">
|