@contractspec/example.calendar-google 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.
@@ -3,12 +3,12 @@ $ 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 34ms
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
 
@@ -16,19 +16,19 @@ Bundled 6 modules in 20ms
16
16
  Bundled 6 modules in 33ms
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 17ms
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,27 @@
1
1
  # @contractspec/example.calendar-google
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
 
@@ -78,7 +100,7 @@
78
100
  - Updated dependencies [4651e06]
79
101
  - Updated dependencies [ad9d10a]
80
102
  - Updated dependencies [11a5a05]
81
- - @contractspec/lib.contracts@1.57.0
103
+ - @contractspec/lib.contracts-spec@1.57.0
82
104
  - @contractspec/integration.providers-impls@1.57.0
83
105
 
84
106
  ## 1.56.1
@@ -91,4 +113,4 @@
91
113
 
92
114
  - Updated dependencies
93
115
  - @contractspec/integration.providers-impls@1.56.1
94
- - @contractspec/lib.contracts@1.56.1
116
+ - @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.0.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.0.0",
75
+ "@contractspec/lib.contracts-spec": "2.0.0",
76
76
  "googleapis": "^171.4.0"
77
77
  },
78
78
  "devDependencies": {
79
- "@contractspec/tool.typescript": "1.62.0",
79
+ "@contractspec/tool.typescript": "2.0.0",
80
80
  "typescript": "^5.9.3",
81
- "@contractspec/tool.bun": "1.61.0"
81
+ "@contractspec/tool.bun": "2.0.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"}