@caweb/cli 1.5.10 → 1.5.11

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.
Files changed (2) hide show
  1. package/lib/cli.js +15 -2
  2. package/package.json +2 -2
package/lib/cli.js CHANGED
@@ -56,10 +56,23 @@ function addWebpackCmds(){
56
56
  program.command('serve')
57
57
  .description('Serve the current project')
58
58
  .addOption(new Option('--template <template>', 'Serves the project using templating.').choices(['default', 'blank']).default('default'))
59
- .option( '--audit', 'Performs WordPress CSS-Audit.', true )
59
+ .addOption(new Option('--scheme <scheme>', 'Serves the project using template colorscheme.').choices([
60
+ 'delta',
61
+ 'eureka',
62
+ 'mono',
63
+ 'oceanside',
64
+ 'orangecounty',
65
+ 'pasorobles',
66
+ 'sacramento',
67
+ 'santabarbara',
68
+ 'santacruz',
69
+ 'shasta',
70
+ 'sierra',
71
+ 'trinity'
72
+ ]).default('oceanside'))
60
73
  .option( '--no-audit', 'Skips WordPress CSS-Audit.', false )
61
- .option( '--a11y', 'Performs IBM Accessibility Checker.', true )
62
74
  .option( '--no-a11y', 'Skips IBM Accessibility Checker.', false )
75
+ .option( '--no-jshint', 'Skips JSHint.', false )
63
76
  .allowUnknownOption(true)
64
77
  .action(env.webpack)
65
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caweb/cli",
3
- "version": "1.5.10",
3
+ "version": "1.5.11",
4
4
  "description": "CAWebPublishing Command Line Interface.",
5
5
  "exports": "./lib/env.js",
6
6
  "type": "module",
@@ -56,7 +56,7 @@
56
56
  }
57
57
  },
58
58
  "dependencies": {
59
- "@caweb/webpack": "^1.1.4",
59
+ "@caweb/webpack": "^1.2.1",
60
60
  "@inquirer/prompts": "^5.3.2",
61
61
  "@wordpress/create-block": "^4.46.0",
62
62
  "@wordpress/env": "^10.3.0",