0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/packages/telemetry
Okiki Ojo 9c8a7c0b09
fix(@astrojs/telemetry): add optional integrations field (#3614)
* fix: filter out falsy integration from telemetry

Falsy integrations are now ignored in `@astrojs/telemetry`

This error should no longer occur,
```ts
 error   Cannot read properties of null (reading 'name')
    at file:///workspaces/bundle/node_modules/.pnpm/@astrojs+telemetry@0.1.2/node_modules/@astrojs/telemetry/dist/events/session.js:53:117
    ...
```

* ci: add tests for optional integrations

* ci: add changeset

* fix(@astrojs/telemetry): count number of optional integrations in use

* ci: add test for counting the total number of optional integrations in use

* ci: update changeset

* chore: make the changes @tony-sull sugested

* revert(@astrojs/webapi): mod.d.ts -> a4c78b5: [ci] format

* ci: remove `@astrojs/webapi` patch change

* chore(@astrojs/telemetry): remove totalIntegrations payload field

* fix(@astrojs/telemetry): add optional integrations field

* ci: add changeset
2022-06-16 14:53:07 -04:00
..
src fix(@astrojs/telemetry): add optional integrations field (#3614) 2022-06-16 14:53:07 -04:00
test fix(@astrojs/telemetry): add optional integrations field (#3614) 2022-06-16 14:53:07 -04:00
CHANGELOG.md [ci] release (#3308) 2022-05-06 09:28:57 -04:00
events.d.ts Telemetry (#3256) 2022-05-03 09:07:28 -04:00
package.json Collect project meta info (#3587) 2022-06-14 15:30:39 -05:00
README.md Telemetry (#3256) 2022-05-03 09:07:28 -04:00
tsconfig.json Telemetry (#3256) 2022-05-03 09:07:28 -04:00

Astro Telemetry

This package is used to collect anonymous telemetry data within the Astro CLI. Telemetry data does not contain any personal identifying information and can be disabled via:

astro telemetry disable

See the CLI documentation for more options on configuration telemetry.