@wrelik/analytics 2.0.0 → 2.0.2
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/.turbo/turbo-build.log +25 -25
- package/.turbo/turbo-lint.log +4 -0
- package/.turbo/turbo-test.log +15 -0
- package/.turbo/turbo-typecheck.log +4 -0
- package/CHANGELOG.md +35 -6
- package/package.json +9 -8
- package/src/server/index.test.ts +3 -1
- package/src/server/index.ts +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
|
|
2
|
-
> @wrelik/analytics@2.0.
|
|
2
|
+
> @wrelik/analytics@2.0.2 build /Users/lee/Projects/wrelik-kit/packages/analytics
|
|
3
3
|
> tsup src/server/index.ts src/client/index.ts src/shared/index.ts --format cjs,esm --dts --clean
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
5
|
+
CLI Building entry: src/server/index.ts, src/shared/index.ts, src/client/index.ts
|
|
6
|
+
CLI Using tsconfig: tsconfig.json
|
|
7
|
+
CLI tsup v8.5.1
|
|
8
|
+
CLI Target: es2022
|
|
9
|
+
CLI Cleaning output folder
|
|
10
|
+
CJS Build start
|
|
11
|
+
ESM Build start
|
|
12
|
+
CJS dist/server/index.js 2.85 KB
|
|
13
|
+
CJS dist/shared/index.js 1.32 KB
|
|
14
|
+
CJS dist/client/index.js 1.63 KB
|
|
15
|
+
CJS ⚡️ Build success in 235ms
|
|
16
|
+
ESM dist/server/index.mjs 1.45 KB
|
|
17
|
+
ESM dist/chunk-HZPXP2CE.mjs 310.00 B
|
|
18
|
+
ESM dist/shared/index.mjs 93.00 B
|
|
19
|
+
ESM dist/client/index.mjs 381.00 B
|
|
20
|
+
ESM ⚡️ Build success in 236ms
|
|
21
|
+
DTS Build start
|
|
22
|
+
DTS ⚡️ Build success in 1636ms
|
|
23
|
+
DTS dist/server/index.d.ts 1.20 KB
|
|
24
|
+
DTS dist/shared/index.d.ts 88.00 B
|
|
25
|
+
DTS dist/client/index.d.ts 545.00 B
|
|
26
|
+
DTS dist/server/index.d.mts 1.20 KB
|
|
27
|
+
DTS dist/shared/index.d.mts 88.00 B
|
|
28
|
+
DTS dist/client/index.d.mts 545.00 B
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
|
|
2
|
+
> @wrelik/analytics@2.0.1 test /Users/lee/Projects/wrelik-kit/packages/analytics
|
|
3
|
+
> vitest run --passWithNoTests
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
[1m[30m[46m RUN [49m[39m[22m [36mv4.1.9 [39m[90m/Users/lee/Projects/wrelik-kit/packages/analytics[39m
|
|
7
|
+
|
|
8
|
+
[32m✓[39m src/shared/index.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 10[2mms[22m[39m
|
|
9
|
+
[32m✓[39m src/server/index.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 147[2mms[22m[39m
|
|
10
|
+
|
|
11
|
+
[2m Test Files [22m [1m[32m2 passed[39m[22m[90m (2)[39m
|
|
12
|
+
[2m Tests [22m [1m[32m4 passed[39m[22m[90m (4)[39m
|
|
13
|
+
[2m Start at [22m 15:16:07
|
|
14
|
+
[2m Duration [22m 1.21s[2m (transform 333ms, setup 0ms, import 327ms, tests 156ms, environment 0ms)[22m
|
|
15
|
+
|
package/CHANGELOG.md
CHANGED
|
@@ -1,16 +1,45 @@
|
|
|
1
1
|
# @wrelik/analytics
|
|
2
2
|
|
|
3
|
-
## 2.0.
|
|
3
|
+
## 2.0.2
|
|
4
4
|
|
|
5
|
-
###
|
|
5
|
+
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- 8083eb8: chore(deps): bump runtime dependencies to latest compatible versions
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
- `posthog-node` 5.28.11 → 5.39.4 (@wrelik/analytics)
|
|
10
|
+
- `@clerk/backend` 3.2.4 → 3.10.0 (@wrelik/auth)
|
|
11
|
+
- `resend` 6.10.0 → 6.17.1 (@wrelik/email)
|
|
12
|
+
- `@sentry/browser` + `@sentry/node` 10.47.0 → 10.63.0 (@wrelik/errors)
|
|
13
|
+
- `inngest` 4.1.2 → 4.11.0 (@wrelik/jobs)
|
|
14
|
+
- `@aws-sdk/client-s3` + `@aws-sdk/s3-request-presigner` 3.1023.0 → 3.1079.0 (@wrelik/storage)
|
|
15
|
+
|
|
16
|
+
No breaking changes. Workspace tooling also updated: turbo 2.10.3, typescript 6.0.3,
|
|
17
|
+
eslint 10.6.0, prettier 3.9.4, @changesets/cli 2.31.0, dependency-cruiser 18.0.0,
|
|
18
|
+
vitest 4.1.9, @types/node 26.x (all devDependencies, no changeset required).
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [8083eb8]
|
|
21
|
+
- @wrelik/errors@2.0.2
|
|
22
|
+
|
|
23
|
+
## 2.0.1
|
|
24
|
+
|
|
25
|
+
### Patch Changes
|
|
10
26
|
|
|
11
|
-
-
|
|
27
|
+
- 3262454: Upgrade runtime SDK and workspace tooling dependencies to latest compatible versions, including Clerk, Sentry, AWS SDK, Inngest, Resend, Upstash, Zod, TypeScript, Turbo, Vitest, TSUP, and ESLint.
|
|
12
28
|
|
|
13
|
-
|
|
29
|
+
Adopt root ESLint flat config and align wrapper peer ranges for updated SDK majors while preserving package export paths. Also apply a patched transitive Next.js resolution to close audit findings and keep production audit clean.
|
|
30
|
+
|
|
31
|
+
Note: Vite is pinned to the latest 7.x line for runtime compatibility in this environment; this avoids current rolldown native-binding failures seen with Vite 8 under Node 20.18.0.
|
|
32
|
+
|
|
33
|
+
Breaking change: `@wrelik/auth` and `@wrelik/clerk-next` now require `@clerk/nextjs@7.x` via updated peer ranges (`>=7 <8`). Consumers on Clerk v4-v6 must upgrade to Clerk v7 before adopting these versions.
|
|
34
|
+
|
|
35
|
+
- Updated dependencies [3262454]
|
|
36
|
+
- @wrelik/errors@2.0.1
|
|
37
|
+
|
|
38
|
+
## 2.0.0
|
|
39
|
+
|
|
40
|
+
### Major Changes
|
|
41
|
+
|
|
42
|
+
- 818ed58: Refactor runtime packages to strict subpath exports (`/server`, `/client`, `/shared`) with side-effect free entrypoints and hard CI/runtime boundary enforcement.
|
|
14
43
|
|
|
15
44
|
### Patch Changes
|
|
16
45
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wrelik/analytics",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -29,15 +29,16 @@
|
|
|
29
29
|
"./package.json": "./package.json"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"posthog-node": "^
|
|
33
|
-
"@wrelik/errors": "2.0.
|
|
32
|
+
"posthog-node": "^5.39.4",
|
|
33
|
+
"@wrelik/errors": "2.0.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@types/node": "^
|
|
37
|
-
"tsup": "^8.
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"@wrelik/
|
|
36
|
+
"@types/node": "^26.1.0",
|
|
37
|
+
"tsup": "^8.5.1",
|
|
38
|
+
"vite": "^7.3.1",
|
|
39
|
+
"vitest": "^4.1.9",
|
|
40
|
+
"@wrelik/eslint-config": "0.1.2",
|
|
41
|
+
"@wrelik/tsconfig": "0.1.2"
|
|
41
42
|
},
|
|
42
43
|
"wrelik": {
|
|
43
44
|
"runtimes": [
|
package/src/server/index.test.ts
CHANGED
|
@@ -15,7 +15,9 @@ describe('@wrelik/analytics/server', () => {
|
|
|
15
15
|
const identify = vi.fn();
|
|
16
16
|
const capture = vi.fn();
|
|
17
17
|
const shutdown = vi.fn(async () => undefined);
|
|
18
|
-
const PostHog = vi.fn(()
|
|
18
|
+
const PostHog = vi.fn(function PostHogMock() {
|
|
19
|
+
return { identify, capture, shutdown };
|
|
20
|
+
});
|
|
19
21
|
|
|
20
22
|
vi.doMock('posthog-node', () => ({ PostHog }));
|
|
21
23
|
|
package/src/server/index.ts
CHANGED