sheetloaf 1.20.3 → 1.20.5-beta
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/dist/fileFinder.js +2 -6
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/dist/fileFinder.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.buildDestinationPath = exports.getAllFilesPathsFromSources = void 0;
|
|
|
7
7
|
const fs_1 = __importDefault(require("fs"));
|
|
8
8
|
const path_1 = __importDefault(require("path"));
|
|
9
9
|
const picomatch_1 = __importDefault(require("picomatch"));
|
|
10
|
-
const
|
|
10
|
+
const glob_1 = require("glob");
|
|
11
11
|
function getAllFilesPathsFromSources(input, callback) {
|
|
12
12
|
let sourcesCompleted = 0;
|
|
13
13
|
let filePaths = [];
|
|
@@ -54,11 +54,7 @@ function getAllFilesPathsFromSources(input, callback) {
|
|
|
54
54
|
}
|
|
55
55
|
exports.getAllFilesPathsFromSources = getAllFilesPathsFromSources;
|
|
56
56
|
function getGlobPaths(glob, callback) {
|
|
57
|
-
let expanded =
|
|
58
|
-
.sync(glob, {
|
|
59
|
-
dot: true
|
|
60
|
-
})
|
|
61
|
-
.map((entry) => path_1.default.normalize(entry));
|
|
57
|
+
let expanded = (0, glob_1.globSync)(glob).map((entry) => path_1.default.normalize(entry));
|
|
62
58
|
callback(expanded);
|
|
63
59
|
}
|
|
64
60
|
function getAllFilePathsInDir(dir, callback) {
|
package/dist/index.js
CHANGED
|
@@ -47,7 +47,7 @@ const configs = __importStar(require("./configs"));
|
|
|
47
47
|
const fileFinder = __importStar(require("./fileFinder"));
|
|
48
48
|
const sources = __importStar(require("./sources"));
|
|
49
49
|
const sheetloaf = new commander_1.Command();
|
|
50
|
-
sheetloaf.version("1.20.
|
|
50
|
+
sheetloaf.version("1.20.5-beta", '-v, --version', 'Print the version of Sheetloaf.');
|
|
51
51
|
let usingStdin = false;
|
|
52
52
|
let postcssConfig = {
|
|
53
53
|
plugins: []
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sheetloaf",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.5-beta",
|
|
4
4
|
"description": "freshmade stylesheets for the whole family.",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
"@types/node": "^18.6.3",
|
|
39
39
|
"@types/picomatch": "^2.3.0",
|
|
40
40
|
"autoprefixer": "^10.4.19",
|
|
41
|
+
"bootstrap": "^5.3.3",
|
|
41
42
|
"mocha": "^9.2.2",
|
|
42
43
|
"postcss": "^8.4.38",
|
|
43
44
|
"postcss-custom-properties": "^13.3.10",
|
|
44
45
|
"ts-node": "^10.9.1",
|
|
45
|
-
"bootstrap": "^5.3.3",
|
|
46
46
|
"typescript": "^4.7.4"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"chokidar": "^3.6.0",
|
|
53
53
|
"commander": "^9.4.0",
|
|
54
|
-
"
|
|
54
|
+
"glob": "^11.0.0",
|
|
55
55
|
"picocolors": "^1.0.1",
|
|
56
56
|
"picomatch": "^4.0.2",
|
|
57
|
-
"sass": "^1.77.
|
|
57
|
+
"sass": "^1.77.8"
|
|
58
58
|
}
|
|
59
59
|
}
|