purgetss 5.3.27 → 6.0.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/bin/purgetss CHANGED
@@ -47,19 +47,20 @@ program
47
47
  program
48
48
  .command('build')
49
49
  .alias('b')
50
- .description('Build a custom `tailwind.tss` file.')
51
- .help('It will generate a new custom `tailwind.tss` file based on the attributes defined in `./purgetss/config.js`.\n\nIt will also generate a custom `fontawesome.tss` file if you installed the proper dependencies, like FontAwesome Beta or FontAwesome Pro.')
50
+ .description('Build a `tailwind.tss` file.')
51
+ .option('-d, --debug', 'Generate extra files for debuging.')
52
+ .help('It will generate a `tailwind.tss` file based on the attributes defined in `./purgetss/config.js`.\n\nIt will also generate a custom `fontawesome.tss` file if you installed the proper dependencies, like FontAwesome Beta or FontAwesome Pro.')
52
53
  .action((args, options, logger) => {
53
- purgetss.buildCustom();
54
+ purgetss.build(options);
54
55
  });
55
56
 
56
57
  program
57
- .command('auto-build')
58
- .description('Build a custom `tailwind.tss` file.')
59
- .help('It will generate a new custom `tailwind.tss` file based on the attributes defined in `./purgetss/config.js`.\n\nIt will also generate a custom `fontawesome.tss` file if you installed the proper dependencies, like FontAwesome Beta or FontAwesome Pro.')
58
+ .command('build-legacy')
59
+ .alias('bl')
60
+ .description('Build a Legacy `tailwind.tss` file.')
61
+ .help('It will generate a Legacy `tailwind.tss` file based on the attributes defined in `./purgetss/config.js`.\n\nIt will also generate a custom `fontawesome.tss` file if you installed the proper dependencies, like FontAwesome Beta or FontAwesome Pro.')
60
62
  .action((args, options, logger) => {
61
- // require('../testing-scripts/completions').completions();
62
- // require('../testing-scripts/completions').completionsRevised();
63
+ purgetss.buildLegacy();
63
64
  });
64
65
 
65
66
  program
@@ -86,11 +87,11 @@ program
86
87
  program
87
88
  .command('build-fonts')
88
89
  .alias('bf')
89
- .description('Build a custom `fonts.tss` file.')
90
- .help('It will generate a new custom `fonts.tss` file based on the fonts and css files located in `./purgetss/fonts` folder.')
90
+ .description('Build a `fonts.tss` file.')
91
+ .help('It will generate a new `fonts.tss` file based on the fonts and css files located in `./purgetss/fonts` folder.')
91
92
  .option('-m, --modules', 'Use the `--modules` option to also generate a CommonJS module into `./app/lib/` folder called `purgetss-fonts.js`.')
92
93
  .action((args, options, logger) => {
93
- purgetss.buildCustomFonts(options);
94
+ purgetss.buildFonts(options);
94
95
  });
95
96
 
96
97
  program