Skip to content

Commit

Permalink
chore(cli): add scarf to track cli usage
Browse files Browse the repository at this point in the history
  • Loading branch information
StarpTech committed Oct 24, 2024
1 parent def31da commit 3daee2c
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cdn-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ concurrency:

env:
CI: true
DO_NOT_TRACK: '1'

jobs:
build_test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/cli-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ concurrency:

env:
CI: true
DO_NOT_TRACK: '1'

jobs:
build_test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/composition-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ concurrency:

env:
CI: true
DO_NOT_TRACK: '1'

jobs:
build_test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/controlplane-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ concurrency:

env:
CI: true
DO_NOT_TRACK: '1'

jobs:
build_test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/playground-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ concurrency:

env:
CI: true
DO_NOT_TRACK: '1'

jobs:
build_test:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ concurrency:

env:
CI: true
DO_NOT_TRACK: '1'

jobs:
version:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ concurrency:

env:
CI: true
DO_NOT_TRACK: '1'

jobs:
stable-version:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/shared-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ concurrency:
group: ${{github.workflow}}-${{github.head_ref}}
cancel-in-progress: true

env:
CI: true
DO_NOT_TRACK: '1'

jobs:
build_test:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/studio-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ concurrency:

env:
CI: true
DO_NOT_TRACK: '1'

jobs:
build_test:
Expand Down
7 changes: 7 additions & 0 deletions cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ npx wgc --help
npm install -g wgc --help
```

### Telemetry

The CLI tool collects anonymous usage data to improve the tool. You can disable this by setting this variable in accordance to the [Console Do Not Track](https://consoledonottrack.com/) standard:
```shell
export DO_NOT_TRACK=1
```

### Development

Ensure that at least Node.js 20.6.0 is installed because we rely on the native .env file support.
Expand Down
1 change: 1 addition & 0 deletions cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"@connectrpc/connect": "^1.4.0",
"@connectrpc/connect-node": "^1.4.0",
"@graphql-tools/utils": "^10.2.2",
"@scarf/scarf": "^1.3.0",
"@wundergraph/composition": "workspace:*",
"@wundergraph/cosmo-connect": "workspace:*",
"@wundergraph/cosmo-shared": "workspace:*",
Expand Down
8 changes: 8 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3daee2c

Please sign in to comment.