@carbon/cli 11.15.1 → 11.16.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/README.md CHANGED
@@ -55,3 +55,12 @@ check out our [Contributing Guide](/.github/CONTRIBUTING.md)! 👀
55
55
  ## 📝 License
56
56
 
57
57
  Licensed under the [Apache 2.0 License](/LICENSE).
58
+
59
+ ## <picture><source height="20" width="20" media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-dark.svg"><source height="20" width="20" media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg"><img height="20" width="20" alt="IBM Telemetry" src="https://raw.githubusercontent.com/ibm-telemetry/telemetry-js/main/docs/images/ibm-telemetry-light.svg"></picture> IBM Telemetry
60
+
61
+ This package uses IBM Telemetry to collect metrics data. By installing this
62
+ package as a dependency you are agreeing to telemetry collection. To opt out,
63
+ see
64
+ [Opting out of IBM Telemetry data collection](https://github.com/ibm-telemetry/telemetry-js/tree/main#opting-out-of-ibm-telemetry-data-collection).
65
+ For more information on the data being collected, please see the
66
+ [IBM Telemetry documentation](https://github.com/ibm-telemetry/telemetry-js/tree/main#ibm-telemetry-collection-basics).
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.15.1",
4
+ "version": "11.16.0",
5
5
  "license": "Apache-2.0",
6
6
  "bin": {
7
7
  "carbon-cli": "./bin/carbon-cli.js"
@@ -23,9 +23,13 @@
23
23
  "access": "public",
24
24
  "provenance": true
25
25
  },
26
+ "scripts": {
27
+ "postinstall": "ibmtelemetry --config=telemetry.yml"
28
+ },
26
29
  "dependencies": {
27
30
  "@babel/core": "^7.18.2",
28
31
  "@carbon/cli-reporter": "^10.7.0",
32
+ "@ibm/telemetry-js": "^1.2.1",
29
33
  "@octokit/plugin-retry": "^3.0.7",
30
34
  "@octokit/plugin-throttling": "^4.0.0",
31
35
  "@octokit/rest": "^19.0.0",
@@ -51,8 +55,8 @@
51
55
  "rollup": "^2.79.1",
52
56
  "sass": "^1.51.0",
53
57
  "sassdoc": "^2.7.3",
54
- "typescript-config-carbon": "^0.2.1",
58
+ "typescript-config-carbon": "^0.2.0",
55
59
  "yargs": "^17.0.1"
56
60
  },
57
- "gitHead": "d6904c019acc9b8cb8f5a01732bc963a71fa93bf"
61
+ "gitHead": "7920f5261d5867837e0b7e6092c98a6597ac0771"
58
62
  }
package/telemetry.yml ADDED
@@ -0,0 +1,7 @@
1
+ # yaml-language-server: $schema=https://unpkg.com/@ibm/telemetry-config-schema@v1/dist/config.schema.json
2
+ version: 1
3
+ projectId: 9495f863-d218-4262-acd0-fbf6076ff244
4
+ endpoint: https://collector-prod.1am6wm210aow.us-south.codeengine.appdomain.cloud/v1/metrics
5
+ collect:
6
+ npm:
7
+ dependencies: null