Skip to content

Commit dfdbe01

Browse files
authored
Merge branch 'main' into chore/observability-cli
2 parents c2b762c + 28f4ea2 commit dfdbe01

File tree

9 files changed

+35
-9
lines changed

9 files changed

+35
-9
lines changed

demo/adonisjs/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# adonis
22

3+
## 0.0.59
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`bb14deb`](https://github.com/lingodotdev/lingo.dev/commit/bb14debf734bf87a2ea64946f8e7235c01b05578)]:
8+
9+
310
## 0.0.58
411

512
### Patch Changes

demo/adonisjs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "adonis",
3-
"version": "0.0.58",
3+
"version": "0.0.59",
44
"private": true,
55
"type": "module",
66
"license": "UNLICENSED",

demo/next-app/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# next-app
22

3+
## 0.2.111
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`bb14deb`](https://github.com/lingodotdev/lingo.dev/commit/bb14debf734bf87a2ea64946f8e7235c01b05578)]:
8+
9+
310
## 0.2.110
411

512
### Patch Changes

demo/next-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "next-app",
3-
"version": "0.2.110",
3+
"version": "0.2.111",
44
"private": true,
55
"scripts": {
66
"dev": "next dev",

demo/react-router-app/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# react-router-app
22

3+
## 1.0.20
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`bb14deb`](https://github.com/lingodotdev/lingo.dev/commit/bb14debf734bf87a2ea64946f8e7235c01b05578)]:
8+
9+
310
## 1.0.19
411

512
### Patch Changes

demo/react-router-app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-router-app",
3-
"version": "1.0.19",
3+
"version": "1.0.20",
44
"private": true,
55
"type": "module",
66
"scripts": {

packages/cli/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# lingo.dev
22

3+
## 0.117.19
4+
5+
### Patch Changes
6+
7+
- [#1678](https://github.com/lingodotdev/lingo.dev/pull/1678) [`bb14deb`](https://github.com/lingodotdev/lingo.dev/commit/bb14debf734bf87a2ea64946f8e7235c01b05578) Thanks [@vrcprl](https://github.com/vrcprl)! - Fix inconsistent event tracking in CLI to ensure start/success/error events are always paired correctly for accurate health metrics
8+
39
## 0.117.18
410

511
### Patch Changes

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lingo.dev",
3-
"version": "0.117.18",
3+
"version": "0.117.19",
44
"description": "Lingo.dev CLI",
55
"private": false,
66
"repository": {

packages/cli/src/cli/cmd/i18n.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ export default new Command()
9393
.action(async function (options) {
9494
updateGitignore();
9595

96+
await trackEvent(null, "cmd.i18n.start", {
97+
rawOptions: options,
98+
});
99+
96100
const ora = Ora();
97101
let flags: ReturnType<typeof parseFlags>;
98102

@@ -149,11 +153,6 @@ export default new Command()
149153
ora.succeed(`Authenticated as ${auth.email}`);
150154
}
151155

152-
await trackEvent(authId, "cmd.i18n.start", {
153-
i18nConfig,
154-
flags,
155-
});
156-
157156
let buckets = getBuckets(i18nConfig!);
158157
if (flags.bucket?.length) {
159158
buckets = buckets.filter((bucket: any) =>

0 commit comments

Comments
 (0)