@contractspec/example.calendar-google 1.62.0 → 2.1.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.
@@ -3,32 +3,32 @@ $ 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 20ms
6
+ Bundled 6 modules in 13ms
7
7
 
8
8
  docs/calendar-google.docblock.js 1.63 KB (entry point)
9
- ./index.js 5.64 KB (entry point)
9
+ ./index.js 5.65 KB (entry point)
10
10
  docs/index.js 1.63 KB (entry point)
11
- ./example.js 0.96 KB (entry point)
11
+ ./example.js 0.97 KB (entry point)
12
12
  ./run.js 3.15 KB (entry point)
13
13
  ./sync.js 3.1 KB (entry point)
14
14
 
15
15
  [contractspec-bun-build] transpile target=node root=src entries=6
16
- Bundled 6 modules in 33ms
16
+ Bundled 6 modules in 16ms
17
17
 
18
18
  docs/calendar-google.docblock.js 1.62 KB (entry point)
19
- ./index.js 5.63 KB (entry point)
19
+ ./index.js 5.64 KB (entry point)
20
20
  docs/index.js 1.62 KB (entry point)
21
- ./example.js 0.95 KB (entry point)
21
+ ./example.js 0.96 KB (entry point)
22
22
  ./run.js 3.15 KB (entry point)
23
23
  ./sync.js 3.1 KB (entry point)
24
24
 
25
25
  [contractspec-bun-build] transpile target=browser root=src entries=6
26
- Bundled 6 modules in 28ms
26
+ Bundled 6 modules in 10ms
27
27
 
28
28
  docs/calendar-google.docblock.js 1.62 KB (entry point)
29
- ./index.js 5.63 KB (entry point)
29
+ ./index.js 5.64 KB (entry point)
30
30
  docs/index.js 1.62 KB (entry point)
31
- ./example.js 0.95 KB (entry point)
31
+ ./example.js 0.96 KB (entry point)
32
32
  ./run.js 3.15 KB (entry point)
33
33
  ./sync.js 3.1 KB (entry point)
34
34
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,41 @@
1
1
  # @contractspec/example.calendar-google
2
2
 
3
+ ## 2.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 362fbac: feat: improve video
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [b4bfbc5]
12
+ - Updated dependencies [362fbac]
13
+ - Updated dependencies [659d15f]
14
+ - @contractspec/lib.contracts-spec@2.1.0
15
+ - @contractspec/integration.providers-impls@2.1.0
16
+
17
+ ## 2.0.0
18
+
19
+ ### Major Changes
20
+
21
+ - a09bafc: feat: optimize performance
22
+
23
+ ### Patch Changes
24
+
25
+ - 7f3203a: fix: make workspace test runs resilient when packages have no tests
26
+
27
+ Updates package test scripts to pass cleanly when no matching test files exist:
28
+ - Uses `bun test --pass-with-no-tests` in Bun-based packages that currently ship without test files.
29
+ - Uses `jest --passWithNoTests` for the UI kit web package.
30
+ - Adds `.vscode-test.mjs` for `vscode-contractspec` so VS Code extension test runs have an explicit config and stop failing on missing default configuration.
31
+
32
+ This keeps `turbo run test` deterministic across the monorepo while preserving existing test execution behavior where tests are present.
33
+
34
+ - Updated dependencies [a09bafc]
35
+ - Updated dependencies [f152678]
36
+ - @contractspec/integration.providers-impls@2.0.0
37
+ - @contractspec/lib.contracts-spec@2.0.0
38
+
3
39
  ## 1.62.0
4
40
 
5
41
  ### Minor Changes
@@ -23,7 +59,7 @@
23
59
 
24
60
  - Updated dependencies [374fd71]
25
61
  - @contractspec/integration.providers-impls@1.61.0
26
- - @contractspec/lib.contracts@1.61.0
62
+ - @contractspec/lib.contracts-spec@1.61.0
27
63
 
28
64
  ## 1.60.0
29
65
 
@@ -35,7 +71,7 @@
35
71
 
36
72
  - Updated dependencies
37
73
  - @contractspec/integration.providers-impls@1.60.0
38
- - @contractspec/lib.contracts@1.60.0
74
+ - @contractspec/lib.contracts-spec@1.60.0
39
75
 
40
76
  ## 1.59.0
41
77
 
@@ -47,7 +83,7 @@
47
83
 
48
84
  - Updated dependencies [1a0cf44]
49
85
  - @contractspec/integration.providers-impls@1.59.0
50
- - @contractspec/lib.contracts@1.59.0
86
+ - @contractspec/lib.contracts-spec@1.59.0
51
87
 
52
88
  ## 1.58.0
53
89
 
@@ -60,7 +96,7 @@
60
96
  - Updated dependencies [d1f0fd0]
61
97
  - Updated dependencies [4355a9e]
62
98
  - @contractspec/integration.providers-impls@1.58.0
63
- - @contractspec/lib.contracts@1.58.0
99
+ - @contractspec/lib.contracts-spec@1.58.0
64
100
 
65
101
  ## 1.57.0
66
102
 
@@ -78,7 +114,7 @@
78
114
  - Updated dependencies [4651e06]
79
115
  - Updated dependencies [ad9d10a]
80
116
  - Updated dependencies [11a5a05]
81
- - @contractspec/lib.contracts@1.57.0
117
+ - @contractspec/lib.contracts-spec@1.57.0
82
118
  - @contractspec/integration.providers-impls@1.57.0
83
119
 
84
120
  ## 1.56.1
@@ -91,4 +127,4 @@
91
127
 
92
128
  - Updated dependencies
93
129
  - @contractspec/integration.providers-impls@1.56.1
94
- - @contractspec/lib.contracts@1.56.1
130
+ - @contractspec/lib.contracts-spec@1.56.1
@@ -1,5 +1,5 @@
1
1
  // src/docs/calendar-google.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.calendar-google",
@@ -1,5 +1,5 @@
1
1
  // src/docs/calendar-google.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.calendar-google",
@@ -1,5 +1,5 @@
1
1
  // src/example.ts
2
- import { defineExample } from "@contractspec/lib.contracts";
2
+ import { defineExample } from "@contractspec/lib.contracts-spec";
3
3
  var example = defineExample({
4
4
  meta: {
5
5
  key: "calendar-google",
@@ -1,5 +1,5 @@
1
1
  // src/docs/calendar-google.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.calendar-google",
@@ -44,7 +44,7 @@ var blocks = [
44
44
  ];
45
45
  registerDocBlocks(blocks);
46
46
  // src/example.ts
47
- import { defineExample } from "@contractspec/lib.contracts";
47
+ import { defineExample } from "@contractspec/lib.contracts-spec";
48
48
  var example = defineExample({
49
49
  meta: {
50
50
  key: "calendar-google",
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=calendar-google.docblock.d.ts.map
@@ -1,6 +1,6 @@
1
1
  // @bun
2
2
  // src/docs/calendar-google.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.calendar-google",
@@ -1,2 +1 @@
1
1
  import './calendar-google.docblock';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,6 @@
1
1
  // @bun
2
2
  // src/docs/calendar-google.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.calendar-google",
package/dist/example.d.ts CHANGED
@@ -1,3 +1,2 @@
1
- declare const example: import("@contractspec/lib.contracts").ExampleSpec;
1
+ declare const example: import("@contractspec/lib.contracts-spec").ExampleSpec;
2
2
  export default example;
3
- //# sourceMappingURL=example.d.ts.map
package/dist/example.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // @bun
2
2
  // src/example.ts
3
- import { defineExample } from "@contractspec/lib.contracts";
3
+ import { defineExample } from "@contractspec/lib.contracts-spec";
4
4
  var example = defineExample({
5
5
  meta: {
6
6
  key: "calendar-google",
package/dist/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
1
  export * from './sync';
2
2
  export { default as example } from './example';
3
3
  import './docs';
4
- //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // @bun
2
2
  // src/docs/calendar-google.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.calendar-google",
@@ -45,7 +45,7 @@ var blocks = [
45
45
  ];
46
46
  registerDocBlocks(blocks);
47
47
  // src/example.ts
48
- import { defineExample } from "@contractspec/lib.contracts";
48
+ import { defineExample } from "@contractspec/lib.contracts-spec";
49
49
  var example = defineExample({
50
50
  meta: {
51
51
  key: "calendar-google",
@@ -1,5 +1,5 @@
1
1
  // src/docs/calendar-google.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.calendar-google",
@@ -1,5 +1,5 @@
1
1
  // src/docs/calendar-google.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.calendar-google",
@@ -1,5 +1,5 @@
1
1
  // src/example.ts
2
- import { defineExample } from "@contractspec/lib.contracts";
2
+ import { defineExample } from "@contractspec/lib.contracts-spec";
3
3
  var example = defineExample({
4
4
  meta: {
5
5
  key: "calendar-google",
@@ -1,5 +1,5 @@
1
1
  // src/docs/calendar-google.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.calendar-google",
@@ -44,7 +44,7 @@ var blocks = [
44
44
  ];
45
45
  registerDocBlocks(blocks);
46
46
  // src/example.ts
47
- import { defineExample } from "@contractspec/lib.contracts";
47
+ import { defineExample } from "@contractspec/lib.contracts-spec";
48
48
  var example = defineExample({
49
49
  meta: {
50
50
  key: "calendar-google",
package/dist/run.d.ts CHANGED
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=run.d.ts.map
package/dist/sync.d.ts CHANGED
@@ -7,4 +7,3 @@ export declare function runCalendarSyncFromEnv(): Promise<CalendarSyncOutput>;
7
7
  export declare function buildSampleEvent(calendarId: string): CalendarEventInput;
8
8
  export declare function buildUpcomingQuery(calendarId: string): CalendarListEventsQuery;
9
9
  export declare function createProviderFromEnv(calendarId: string): CalendarProvider;
10
- //# sourceMappingURL=sync.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.calendar-google",
3
- "version": "1.62.0",
3
+ "version": "2.1.0",
4
4
  "description": "Google Calendar integration example: list and create events.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -66,19 +66,19 @@
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": "1.62.0",
75
- "@contractspec/lib.contracts": "1.62.0",
74
+ "@contractspec/integration.providers-impls": "2.1.0",
75
+ "@contractspec/lib.contracts-spec": "2.1.0",
76
76
  "googleapis": "^171.4.0"
77
77
  },
78
78
  "devDependencies": {
79
- "@contractspec/tool.typescript": "1.62.0",
79
+ "@contractspec/tool.typescript": "2.1.0",
80
80
  "typescript": "^5.9.3",
81
- "@contractspec/tool.bun": "1.61.0"
81
+ "@contractspec/tool.bun": "2.1.0"
82
82
  },
83
83
  "publishConfig": {
84
84
  "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
@@ -1,4 +1,4 @@
1
- import { defineExample } from '@contractspec/lib.contracts';
1
+ import { defineExample } from '@contractspec/lib.contracts-spec';
2
2
 
3
3
  const example = defineExample({
4
4
  meta: {
@@ -1 +0,0 @@
1
- {"version":3,"file":"calendar-google.docblock.d.ts","sourceRoot":"","sources":["../../src/docs/calendar-google.docblock.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/docs/index.ts"],"names":[],"mappings":"AAAA,OAAO,4BAA4B,CAAC"}
@@ -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"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,QAAQ,CAAC"}
package/dist/run.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"run.d.ts","sourceRoot":"","sources":["../src/run.ts"],"names":[],"mappings":""}
@@ -1 +0,0 @@
1
- {"version":3,"file":"sync.d.ts","sourceRoot":"","sources":["../src/sync.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,aAAa,EACb,kBAAkB,EAClB,uBAAuB,EACvB,gBAAgB,EACjB,MAAM,oDAAoD,CAAC;AAE5D,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,aAAa,GAAG,kBAAkB,CAAC;IAC7C,QAAQ,EAAE,aAAa,EAAE,GAAG,kBAAkB,EAAE,CAAC;CAClD;AAED,wBAAsB,sBAAsB,IAAI,OAAO,CAAC,kBAAkB,CAAC,CAc1E;AAED,wBAAgB,gBAAgB,CAAC,UAAU,EAAE,MAAM,GAAG,kBAAkB,CAevE;AAED,wBAAgB,kBAAkB,CAChC,UAAU,EAAE,MAAM,GACjB,uBAAuB,CASzB;AAED,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,MAAM,GAAG,gBAAgB,CAG1E"}