@carbon/cli 11.12.1 → 11.13.0

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/cli",
3
3
  "description": "Task automation for working with the Carbon Design System",
4
- "version": "11.12.1",
4
+ "version": "11.13.0",
5
5
  "license": "Apache-2.0",
6
6
  "bin": {
7
7
  "carbon-cli": "./bin/carbon-cli.js"
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@babel/core": "^7.18.2",
27
- "@carbon/cli-reporter": "^10.7.1",
27
+ "@carbon/cli-reporter": "^10.7.0",
28
28
  "@octokit/plugin-retry": "^3.0.7",
29
29
  "@octokit/plugin-throttling": "^4.0.0",
30
30
  "@octokit/rest": "^19.0.0",
@@ -46,11 +46,11 @@
46
46
  "prettier-config-carbon": "^0.11.0",
47
47
  "progress-estimator": "^0.3.0",
48
48
  "remark": "^10.0.1",
49
- "replace-in-file": "^6.1.0",
49
+ "replace-in-file": "^7.0.0",
50
50
  "rollup": "^2.79.1",
51
51
  "sass": "^1.51.0",
52
52
  "sassdoc": "^2.7.3",
53
53
  "yargs": "^17.0.1"
54
54
  },
55
- "gitHead": "033a51ca9c37d409f96fd14ef723ca053585ff2d"
55
+ "gitHead": "42cf1b925449af74bf39204135987584e1f54d73"
56
56
  }
@@ -21,6 +21,12 @@ async function check({ glob: pattern, ignore = [], list = false }) {
21
21
  logger.info(`Running in: ${cwd}`);
22
22
  logger.info(`Checking pattern: '${pattern}', ignoring: '${ignore}'`);
23
23
 
24
+ // fast-glob's ignore option only accepts an array of strings, not a string
25
+ // See: https://github.com/mrmlnc/fast-glob/issues/404#issuecomment-1624832288
26
+ if (typeof ignore === 'string') {
27
+ ignore = [ignore];
28
+ }
29
+
24
30
  const files = await glob(pattern, {
25
31
  cwd,
26
32
  ignore,