@carbon/colors 11.20.1 → 11.21.0-rc.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
@@ -153,3 +153,12 @@ check out our [Contributing Guide](/.github/CONTRIBUTING.md)! 👀
153
153
  ## 📝 License
154
154
 
155
155
  Licensed under the [Apache 2.0 License](/LICENSE).
156
+
157
+ ## <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
158
+
159
+ This package uses IBM Telemetry to collect metrics data. By installing this
160
+ package as a dependency you are agreeing to telemetry collection. To opt out,
161
+ see
162
+ [Opting out of IBM Telemetry data collection](https://github.com/ibm-telemetry/telemetry-js/tree/main#opting-out-of-ibm-telemetry-data-collection).
163
+ For more information on the data being collected, please see the
164
+ [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/colors",
3
3
  "description": "Colors for digital and software products using the Carbon Design System",
4
- "version": "11.20.1",
4
+ "version": "11.21.0-rc.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -16,7 +16,8 @@
16
16
  "lib",
17
17
  "scss",
18
18
  "umd",
19
- "index.scss"
19
+ "index.scss",
20
+ "telemetry.yml"
20
21
  ],
21
22
  "keywords": [
22
23
  "eyeglass-module",
@@ -34,10 +35,11 @@
34
35
  },
35
36
  "scripts": {
36
37
  "build": "yarn clean && carbon-cli bundle src/index.js --name CarbonColors && node tasks/build.js && carbon-cli check \"scss/*.scss\"",
37
- "clean": "rimraf css es lib umd scss index.scss"
38
+ "clean": "rimraf css es lib umd scss index.scss",
39
+ "postinstall": "ibmtelemetry --config=telemetry.yml"
38
40
  },
39
41
  "devDependencies": {
40
- "@carbon/cli": "^11.15.1",
42
+ "@carbon/cli": "^11.16.0-rc.0",
41
43
  "@carbon/cli-reporter": "^10.7.0",
42
44
  "@carbon/scss-generator": "^10.18.0",
43
45
  "@carbon/test-utils": "^10.30.0",
@@ -52,5 +54,8 @@
52
54
  "sassDir": "scss",
53
55
  "needs": "^1.3.0"
54
56
  },
55
- "gitHead": "d6904c019acc9b8cb8f5a01732bc963a71fa93bf"
57
+ "dependencies": {
58
+ "@ibm/telemetry-js": "^1.2.1"
59
+ },
60
+ "gitHead": "fd9030978919c8d2ce0c102db94aeabf88563c34"
56
61
  }
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: 8c6b584f-72b3-499f-9341-bb0afeda0aa8
4
+ endpoint: https://collector-prod.1am6wm210aow.us-south.codeengine.appdomain.cloud/v1/metrics
5
+ collect:
6
+ npm:
7
+ dependencies: null