@master/css-cli 2.0.0-rc.25 → 2.0.0-rc.27

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.
@@ -1,7 +1,7 @@
1
1
  import log from '@techor/log';
2
2
  import prettyHartime from 'pretty-hrtime';
3
3
  import { explorePathsSync } from '@techor/glob';
4
- import exploreConfig from 'explore-config';
4
+ import exploreConfig from '@master/css-explore-config';
5
5
  import { readFile, writeFileSync } from 'fs';
6
6
  import { brotliCompressSync } from 'zlib';
7
7
  import bytes from 'bytes';
@@ -21,8 +21,8 @@ var commandRender = ((program)=>program.command('render').description('Scans HTM
21
21
  }
22
22
  }).length + 10, 20);
23
23
  const col2Width = 8;
24
- const config = typeof options.config === 'string' ? exploreConfig(options.config, {
25
- found: (basename)=>log.i`Loaded **${basename}**`
24
+ const config = typeof options.config === 'string' ? exploreConfig({
25
+ name: options.config
26
26
  }) : undefined;
27
27
  log``;
28
28
  log`${' Source Files'.padEnd(col1Width)}${'CSS Size'.padStart(col2Width)}`;
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@master/css-cli","scripts":{"build":"techor build \"src/**/*.ts\" --formats esm","dev":"pnpm build --watch","lint":"eslint ./src","type-check":"tsc --noEmit","test":"jest"},"type":"module","license":"MIT","description":"Master CSS CLI","author":"Aoyue Design LLC.","funding":"https://css.master.co/docs/donate","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/cli"},"keywords":["cli","css","mastercss"],"bin":{"mcss":"./dist/bin/index.mjs","mastercss":"./dist/bin/index.mjs"},"files":["dist"],"publishConfig":{"access":"public","provenance":true},"dependencies":{"@master/css":"^2.0.0-rc.25","@master/css-extractor":"^2.0.0-rc.25","@master/css-server":"^2.0.0-rc.25","@techor/extend":"^3.0.18","@techor/fs":"^3.0.18","@techor/glob":"^3.0.18","@techor/log":"^3.0.18","bytes":"^3.1.2","chokidar":"^3.6.0","commander":"^12.0.0","explore-config":"^3.0.18","minimatch":"^9.0.3","pretty-hrtime":"^1.0.3"},"devDependencies":{"@types/pretty-hrtime":"^1.0.3","fast-glob":"^3.3.2"},"version":"2.0.0-rc.25"}
1
+ {"name":"@master/css-cli","scripts":{"build":"techor build \"src/**/*.ts\" --formats esm","dev":"pnpm build --watch","lint":"eslint ./src","type-check":"tsc --noEmit","test":"jest"},"type":"module","license":"MIT","description":"Master CSS CLI","author":"Aoyue Design LLC.","funding":"https://css.master.co/docs/donate","homepage":"https://css.master.co","bugs":{"url":"https://github.com/master-co/css/issues"},"repository":{"type":"git","url":"https://github.com/master-co/css.git","directory":"packages/cli"},"keywords":["cli","css","mastercss"],"bin":{"mcss":"./dist/bin/index.mjs","mastercss":"./dist/bin/index.mjs"},"files":["dist"],"publishConfig":{"access":"public","provenance":true},"dependencies":{"@master/css":"^2.0.0-rc.27","@master/css-explore-config":"^2.0.0-rc.27","@master/css-extractor":"^2.0.0-rc.27","@master/css-server":"^2.0.0-rc.27","@techor/extend":"^3.0.18","@techor/fs":"^3.0.18","@techor/glob":"^3.0.18","@techor/log":"^3.0.18","bytes":"^3.1.2","chokidar":"^3.6.0","commander":"^12.0.0","minimatch":"^9.0.3","pretty-hrtime":"^1.0.3"},"devDependencies":{"@types/pretty-hrtime":"^1.0.3","fast-glob":"^3.3.2","@master/css-shared":"^2.0.0-rc.27"},"version":"2.0.0-rc.27"}