@contractspec/example.integration-posthog 1.62.0 → 2.0.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/.turbo/turbo-build.log +11 -11
- package/CHANGELOG.md +28 -6
- package/dist/browser/docs/index.js +1 -1
- package/dist/browser/docs/integration-posthog.docblock.js +1 -1
- package/dist/browser/example.js +1 -1
- package/dist/browser/index.js +2 -2
- package/dist/docs/index.d.ts +0 -1
- package/dist/docs/index.js +1 -1
- package/dist/docs/integration-posthog.docblock.d.ts +0 -1
- package/dist/docs/integration-posthog.docblock.js +1 -1
- package/dist/example.d.ts +1 -2
- package/dist/example.js +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +2 -2
- package/dist/node/docs/index.js +1 -1
- package/dist/node/docs/integration-posthog.docblock.js +1 -1
- package/dist/node/example.js +1 -1
- package/dist/node/index.js +2 -2
- package/dist/posthog.d.ts +0 -1
- package/dist/run.d.ts +0 -1
- package/package.json +6 -6
- package/src/docs/integration-posthog.docblock.ts +2 -2
- package/src/example.ts +1 -1
- package/dist/docs/index.d.ts.map +0 -1
- package/dist/docs/integration-posthog.docblock.d.ts.map +0 -1
- package/dist/example.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/posthog.d.ts.map +0 -1
- package/dist/run.d.ts.map +0 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -3,31 +3,31 @@ $ bun run prebuild && bun run build:bundle && bun run build:types
|
|
|
3
3
|
$ contractspec-bun-build prebuild
|
|
4
4
|
$ contractspec-bun-build transpile
|
|
5
5
|
[contractspec-bun-build] transpile target=bun root=src entries=6
|
|
6
|
-
Bundled 6 modules in
|
|
6
|
+
Bundled 6 modules in 23ms
|
|
7
7
|
|
|
8
8
|
docs/index.js 1.98 KB (entry point)
|
|
9
|
-
./index.js 11.
|
|
9
|
+
./index.js 11.21 KB (entry point)
|
|
10
10
|
docs/integration-posthog.docblock.js 1.98 KB (entry point)
|
|
11
|
-
./example.js 1.
|
|
11
|
+
./example.js 1.0 KB (entry point)
|
|
12
12
|
./run.js 8.37 KB (entry point)
|
|
13
13
|
./posthog.js 8.25 KB (entry point)
|
|
14
14
|
|
|
15
15
|
[contractspec-bun-build] transpile target=node root=src entries=6
|
|
16
|
-
Bundled 6 modules in
|
|
16
|
+
Bundled 6 modules in 32ms
|
|
17
17
|
|
|
18
|
-
docs/index.js 1.
|
|
19
|
-
./index.js 11.
|
|
20
|
-
docs/integration-posthog.docblock.js 1.
|
|
18
|
+
docs/index.js 1.97 KB (entry point)
|
|
19
|
+
./index.js 11.19 KB (entry point)
|
|
20
|
+
docs/integration-posthog.docblock.js 1.97 KB (entry point)
|
|
21
21
|
./example.js 0.99 KB (entry point)
|
|
22
22
|
./run.js 8.37 KB (entry point)
|
|
23
23
|
./posthog.js 8.24 KB (entry point)
|
|
24
24
|
|
|
25
25
|
[contractspec-bun-build] transpile target=browser root=src entries=6
|
|
26
|
-
Bundled 6 modules in
|
|
26
|
+
Bundled 6 modules in 21ms
|
|
27
27
|
|
|
28
|
-
docs/index.js 1.
|
|
29
|
-
./index.js 11.
|
|
30
|
-
docs/integration-posthog.docblock.js 1.
|
|
28
|
+
docs/index.js 1.97 KB (entry point)
|
|
29
|
+
./index.js 11.19 KB (entry point)
|
|
30
|
+
docs/integration-posthog.docblock.js 1.97 KB (entry point)
|
|
31
31
|
./example.js 0.99 KB (entry point)
|
|
32
32
|
./run.js 8.37 KB (entry point)
|
|
33
33
|
./posthog.js 8.24 KB (entry point)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @contractspec/example.integration-posthog
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- a09bafc: feat: optimize performance
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 7f3203a: fix: make workspace test runs resilient when packages have no tests
|
|
12
|
+
|
|
13
|
+
Updates package test scripts to pass cleanly when no matching test files exist:
|
|
14
|
+
- Uses `bun test --pass-with-no-tests` in Bun-based packages that currently ship without test files.
|
|
15
|
+
- Uses `jest --passWithNoTests` for the UI kit web package.
|
|
16
|
+
- Adds `.vscode-test.mjs` for `vscode-contractspec` so VS Code extension test runs have an explicit config and stop failing on missing default configuration.
|
|
17
|
+
|
|
18
|
+
This keeps `turbo run test` deterministic across the monorepo while preserving existing test execution behavior where tests are present.
|
|
19
|
+
|
|
20
|
+
- Updated dependencies [a09bafc]
|
|
21
|
+
- Updated dependencies [f152678]
|
|
22
|
+
- @contractspec/integration.providers-impls@2.0.0
|
|
23
|
+
- @contractspec/lib.contracts-spec@2.0.0
|
|
24
|
+
|
|
3
25
|
## 1.62.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
|
@@ -23,7 +45,7 @@
|
|
|
23
45
|
|
|
24
46
|
- Updated dependencies [374fd71]
|
|
25
47
|
- @contractspec/integration.providers-impls@1.61.0
|
|
26
|
-
- @contractspec/lib.contracts@1.61.0
|
|
48
|
+
- @contractspec/lib.contracts-spec@1.61.0
|
|
27
49
|
|
|
28
50
|
## 1.60.0
|
|
29
51
|
|
|
@@ -35,7 +57,7 @@
|
|
|
35
57
|
|
|
36
58
|
- Updated dependencies
|
|
37
59
|
- @contractspec/integration.providers-impls@1.60.0
|
|
38
|
-
- @contractspec/lib.contracts@1.60.0
|
|
60
|
+
- @contractspec/lib.contracts-spec@1.60.0
|
|
39
61
|
|
|
40
62
|
## 1.59.0
|
|
41
63
|
|
|
@@ -47,7 +69,7 @@
|
|
|
47
69
|
|
|
48
70
|
- Updated dependencies [1a0cf44]
|
|
49
71
|
- @contractspec/integration.providers-impls@1.59.0
|
|
50
|
-
- @contractspec/lib.contracts@1.59.0
|
|
72
|
+
- @contractspec/lib.contracts-spec@1.59.0
|
|
51
73
|
|
|
52
74
|
## 1.58.0
|
|
53
75
|
|
|
@@ -60,7 +82,7 @@
|
|
|
60
82
|
- Updated dependencies [d1f0fd0]
|
|
61
83
|
- Updated dependencies [4355a9e]
|
|
62
84
|
- @contractspec/integration.providers-impls@1.58.0
|
|
63
|
-
- @contractspec/lib.contracts@1.58.0
|
|
85
|
+
- @contractspec/lib.contracts-spec@1.58.0
|
|
64
86
|
|
|
65
87
|
## 1.57.0
|
|
66
88
|
|
|
@@ -76,7 +98,7 @@
|
|
|
76
98
|
- Updated dependencies [4651e06]
|
|
77
99
|
- Updated dependencies [ad9d10a]
|
|
78
100
|
- Updated dependencies [11a5a05]
|
|
79
|
-
- @contractspec/lib.contracts@1.57.0
|
|
101
|
+
- @contractspec/lib.contracts-spec@1.57.0
|
|
80
102
|
- @contractspec/integration.providers-impls@1.57.0
|
|
81
103
|
|
|
82
104
|
## 1.56.1
|
|
@@ -89,4 +111,4 @@
|
|
|
89
111
|
|
|
90
112
|
- Updated dependencies
|
|
91
113
|
- @contractspec/integration.providers-impls@1.56.1
|
|
92
|
-
- @contractspec/lib.contracts@1.56.1
|
|
114
|
+
- @contractspec/lib.contracts-spec@1.56.1
|
package/dist/browser/example.js
CHANGED
package/dist/browser/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/docs/integration-posthog.docblock.ts
|
|
2
|
-
import { registerDocBlocks } from "@contractspec/lib.contracts/docs";
|
|
2
|
+
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
3
3
|
var blocks = [
|
|
4
4
|
{
|
|
5
5
|
id: "docs.examples.integration-posthog",
|
|
@@ -49,7 +49,7 @@ var blocks = [
|
|
|
49
49
|
];
|
|
50
50
|
registerDocBlocks(blocks);
|
|
51
51
|
// src/example.ts
|
|
52
|
-
import { defineExample } from "@contractspec/lib.contracts";
|
|
52
|
+
import { defineExample } from "@contractspec/lib.contracts-spec";
|
|
53
53
|
var example = defineExample({
|
|
54
54
|
meta: {
|
|
55
55
|
key: "integration-posthog",
|
package/dist/docs/index.d.ts
CHANGED
package/dist/docs/index.js
CHANGED
package/dist/example.d.ts
CHANGED
package/dist/example.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
// src/docs/integration-posthog.docblock.ts
|
|
3
|
-
import { registerDocBlocks } from "@contractspec/lib.contracts/docs";
|
|
3
|
+
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
4
4
|
var blocks = [
|
|
5
5
|
{
|
|
6
6
|
id: "docs.examples.integration-posthog",
|
|
@@ -50,7 +50,7 @@ var blocks = [
|
|
|
50
50
|
];
|
|
51
51
|
registerDocBlocks(blocks);
|
|
52
52
|
// src/example.ts
|
|
53
|
-
import { defineExample } from "@contractspec/lib.contracts";
|
|
53
|
+
import { defineExample } from "@contractspec/lib.contracts-spec";
|
|
54
54
|
var example = defineExample({
|
|
55
55
|
meta: {
|
|
56
56
|
key: "integration-posthog",
|
package/dist/node/docs/index.js
CHANGED
package/dist/node/example.js
CHANGED
package/dist/node/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/docs/integration-posthog.docblock.ts
|
|
2
|
-
import { registerDocBlocks } from "@contractspec/lib.contracts/docs";
|
|
2
|
+
import { registerDocBlocks } from "@contractspec/lib.contracts-spec/docs";
|
|
3
3
|
var blocks = [
|
|
4
4
|
{
|
|
5
5
|
id: "docs.examples.integration-posthog",
|
|
@@ -49,7 +49,7 @@ var blocks = [
|
|
|
49
49
|
];
|
|
50
50
|
registerDocBlocks(blocks);
|
|
51
51
|
// src/example.ts
|
|
52
|
-
import { defineExample } from "@contractspec/lib.contracts";
|
|
52
|
+
import { defineExample } from "@contractspec/lib.contracts-spec";
|
|
53
53
|
var example = defineExample({
|
|
54
54
|
meta: {
|
|
55
55
|
key: "integration-posthog",
|
package/dist/posthog.d.ts
CHANGED
package/dist/run.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/example.integration-posthog",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "PostHog analytics integration example: capture events, run HogQL, and manage feature flags.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -66,18 +66,18 @@
|
|
|
66
66
|
"lint": "bun lint:fix",
|
|
67
67
|
"lint:fix": "eslint src --fix",
|
|
68
68
|
"lint:check": "eslint src",
|
|
69
|
-
"test": "bun test",
|
|
69
|
+
"test": "bun test --pass-with-no-tests",
|
|
70
70
|
"prebuild": "contractspec-bun-build prebuild",
|
|
71
71
|
"typecheck": "tsc --noEmit"
|
|
72
72
|
},
|
|
73
73
|
"dependencies": {
|
|
74
|
-
"@contractspec/integration.providers-impls": "
|
|
75
|
-
"@contractspec/lib.contracts": "
|
|
74
|
+
"@contractspec/integration.providers-impls": "2.0.0",
|
|
75
|
+
"@contractspec/lib.contracts-spec": "2.0.0"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
|
-
"@contractspec/tool.typescript": "
|
|
78
|
+
"@contractspec/tool.typescript": "2.0.0",
|
|
79
79
|
"typescript": "^5.9.3",
|
|
80
|
-
"@contractspec/tool.bun": "
|
|
80
|
+
"@contractspec/tool.bun": "2.0.0"
|
|
81
81
|
},
|
|
82
82
|
"publishConfig": {
|
|
83
83
|
"access": "public",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { DocBlock } from '@contractspec/lib.contracts/docs';
|
|
2
|
-
import { registerDocBlocks } from '@contractspec/lib.contracts/docs';
|
|
1
|
+
import type { DocBlock } from '@contractspec/lib.contracts-spec/docs';
|
|
2
|
+
import { registerDocBlocks } from '@contractspec/lib.contracts-spec/docs';
|
|
3
3
|
|
|
4
4
|
const blocks: DocBlock[] = [
|
|
5
5
|
{
|
package/src/example.ts
CHANGED
package/dist/docs/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/docs/index.ts"],"names":[],"mappings":"AAAA,OAAO,gCAAgC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"integration-posthog.docblock.d.ts","sourceRoot":"","sources":["../../src/docs/integration-posthog.docblock.ts"],"names":[],"mappings":""}
|
package/dist/example.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"example.d.ts","sourceRoot":"","sources":["../src/example.ts"],"names":[],"mappings":"AAEA,QAAA,MAAM,OAAO,mDA2BX,CAAC;AAEH,eAAe,OAAO,CAAC"}
|
package/dist/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,QAAQ,CAAC"}
|
package/dist/posthog.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"posthog.d.ts","sourceRoot":"","sources":["../src/posthog.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAGV,oBAAoB,EAGrB,MAAM,qDAAqD,CAAC;AAE7D,MAAM,MAAM,kBAAkB,GAC1B,SAAS,GACT,OAAO,GACP,SAAS,GACT,MAAM,GACN,KAAK,CAAC;AAEV,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,kBAAkB,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC;IACvC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/B,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED,wBAAsB,wBAAwB,IAAI,OAAO,CAAC,oBAAoB,CAAC,CAmD9E;AAED,wBAAgB,kBAAkB,IAAI,kBAAkB,CAcvD"}
|
package/dist/run.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../src/run.ts"],"names":[],"mappings":""}
|