@lssm/example.saas-boilerplate 0.0.0-canary-20251207012602 → 0.0.0-canary-20251207013726

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.
@@ -2,7 +2,7 @@ $ bun build:bundle && bun build:types
2
2
  $ tsdown
3
3
  ℹ tsdown v0.17.0 powered by rolldown v1.0.0-beta.53
4
4
  ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/saas-boilerplate/tsdown.config.js
5
- ℹ entry: src/events.ts, src/feature.ts, src/index.ts, src/entities/billing.ts, src/entities/index.ts, src/entities/project.ts, src/entities/settings.ts, src/handlers/billing.handlers.ts, src/handlers/index.ts, src/handlers/mock-data.ts, src/handlers/project.handlers.ts, src/contracts/billing.ts, src/contracts/index.ts, src/contracts/project.ts, src/presentations/billing.ts, src/presentations/dashboard.ts, src/presentations/index.ts, src/presentations/project-list.ts
5
+ ℹ entry: src/events.ts, src/feature.ts, src/index.ts, src/contracts/billing.ts, src/contracts/index.ts, src/contracts/project.ts, src/entities/billing.ts, src/entities/index.ts, src/entities/project.ts, src/entities/settings.ts, src/handlers/billing.handlers.ts, src/handlers/index.ts, src/handlers/mock-data.ts, src/handlers/project.handlers.ts, src/presentations/billing.ts, src/presentations/dashboard.ts, src/presentations/index.ts, src/presentations/project-list.ts
6
6
  ℹ target: esnext
7
7
  ℹ tsconfig: tsconfig.json
8
8
  ℹ Build start
@@ -561,32 +561,42 @@ $ tsdown
561
561
  ℹ dist/modules/notifications/dist/libs/contracts/dist/jsonschema.js  0.01 kB │ gzip: 0.03 kB
562
562
  ℹ dist/modules/notifications/dist/libs/contracts/dist/presentations.js  0.01 kB │ gzip: 0.03 kB
563
563
  ℹ dist/contracts/project.d.ts 16.57 kB │ gzip: 1.04 kB
564
- ℹ dist/contracts/billing.d.ts  9.42 kB │ gzip: 0.94 kB
565
- ℹ dist/events.d.ts  8.45 kB │ gzip: 0.71 kB
566
- ℹ dist/entities/index.d.ts  5.19 kB │ gzip: 0.73 kB
564
+ ℹ dist/contracts/billing.d.ts  9.32 kB │ gzip: 0.93 kB
565
+ ℹ dist/events.d.ts  8.53 kB │ gzip: 0.71 kB
566
+ ℹ dist/entities/index.d.ts  5.19 kB │ gzip: 0.72 kB
567
567
  ℹ dist/index.d.ts  4.77 kB │ gzip: 1.03 kB
568
- ℹ dist/entities/billing.d.ts  2.59 kB │ gzip: 0.48 kB
568
+ ℹ dist/entities/billing.d.ts  2.51 kB │ gzip: 0.49 kB
569
569
  ℹ dist/handlers/billing.handlers.d.ts  2.07 kB │ gzip: 0.69 kB
570
570
  ℹ dist/handlers/project.handlers.d.ts  1.89 kB │ gzip: 0.51 kB
571
571
  ℹ dist/handlers/mock-data.d.ts  1.63 kB │ gzip: 0.48 kB
572
- ℹ dist/entities/settings.d.ts  1.52 kB │ gzip: 0.36 kB
573
- ℹ dist/entities/project.d.ts  1.50 kB │ gzip: 0.38 kB
574
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'fs' in ../../libs/contracts/dist/server/graphql-schema-export.js
572
+ ℹ dist/entities/settings.d.ts  1.57 kB │ gzip: 0.37 kB
573
+ ℹ dist/entities/project.d.ts  1.52 kB │ gzip: 0.38 kB
575
574
  ℹ dist/contracts/index.d.ts  1.48 kB │ gzip: 0.30 kB
576
- ╭─[ ../../libs/contracts/dist/server/graphql-schema-export.js:1:167 ]
577
575
  ℹ dist/handlers/index.d.ts  1.13 kB │ gzip: 0.33 kB
576
+ ℹ dist/presentations/index.d.ts  0.67 kB │ gzip: 0.26 kB
577
+ ℹ dist/presentations/project-list.d.ts  0.43 kB │ gzip: 0.21 kB
578
+ ℹ dist/presentations/dashboard.d.ts  0.42 kB │ gzip: 0.21 kB
579
+ ℹ dist/presentations/billing.d.ts  0.41 kB │ gzip: 0.20 kB
580
+ ℹ dist/feature.d.ts  0.33 kB │ gzip: 0.22 kB
581
+ ℹ 572 files, total: 422.74 kB
582
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/contracts/dist/telemetry/tracker.js
583
+ - Module not found, treating it as an external dependency in ../../libs/contracts/dist/telemetry/tracker.js at 27..35
584
+  │
585
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
586
+
587
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/dist/presentations.v2.js
588
+ - Module not found, treating it as an external dependency in ../../libs/contracts/dist/presentations.v2.js at 93..103
589
+  │
590
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
591
+
592
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'fs' in ../../libs/contracts/dist/server/graphql-schema-export.js
593
+ ╭─[ ../../libs/contracts/dist/server/graphql-schema-export.js:1:167 ]
578
594
  │
579
595
  1 │ "use server";import{t as e}from"../graphql-federation/dist/index.js";import{GraphQLSchema as t,printSchema as n}from"graphql";const r=async(t,r)=>{let i=await import(`fs`),a=await import(`path`),o=n(t),s=e(t),c=a.join(r,`../schema.graphql`),l=a.join(r,`../schema.subgraph.graphql`);i.writeFileSync(c,o),console.log(`Schema exported to ${c}`),i.writeFileSync(l,s),console.log(`Subgraph exported to ${l}`)};export{r as exportContractsToGraphQLSchema};
580
- ℹ dist/presentations/index.d.ts  0.67 kB │ gzip: 0.27 kB
581
- ℹ dist/presentations/project-list.d.ts  0.43 kB │ gzip: 0.21 kB
582
596
   │ ──┬─
583
597
   │ ╰─── Module not found, treating it as an external dependency
584
598
   │
585
599
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
586
- ℹ dist/presentations/dashboard.d.ts  0.42 kB │ gzip: 0.21 kB
587
- ℹ dist/presentations/billing.d.ts  0.41 kB │ gzip: 0.20 kB
588
- ℹ dist/feature.d.ts  0.33 kB │ gzip: 0.22 kB
589
- ℹ 572 files, total: 422.77 kB
590
600
  ───╯
591
601
 
592
602
  [UNRESOLVED_IMPORT] Warning: Could not resolve 'path' in ../../libs/contracts/dist/server/graphql-schema-export.js
@@ -599,16 +609,6 @@ $ tsdown
599
609
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
600
610
  ───╯
601
611
 
602
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/dist/presentations.v2.js
603
- - Module not found, treating it as an external dependency in ../../libs/contracts/dist/presentations.v2.js at 93..103
604
-  │
605
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
606
-
607
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/contracts/dist/telemetry/tracker.js
608
- - Module not found, treating it as an external dependency in ../../libs/contracts/dist/telemetry/tracker.js at 27..35
609
-  │
610
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
611
-
612
612
  [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:perf_hooks' in ../../libs/contracts/dist/integrations/runtime.js
613
613
  - Module not found, treating it as an external dependency in ../../libs/contracts/dist/integrations/runtime.js at 28..45
614
614
   │
@@ -624,8 +624,8 @@ $ tsdown
624
624
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
625
625
  ───╯
626
626
 
627
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../modules/notifications/dist/libs/contracts/dist/presentations.v2.js
628
- ╭─[ ../../modules/notifications/dist/libs/contracts/dist/presentations.v2.js:1:21 ]
627
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/jobs/dist/contracts/dist/presentations.v2.js
628
+ ╭─[ ../../libs/jobs/dist/contracts/dist/presentations.v2.js:1:21 ]
629
629
  │
630
630
  1 │ import"react";import"turndown";
631
631
   │ ─────┬────
@@ -634,18 +634,8 @@ $ tsdown
634
634
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
635
635
  ───╯
636
636
 
637
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../modules/notifications/dist/libs/contracts/dist/telemetry/tracker.js
638
- ╭─[ ../../modules/notifications/dist/libs/contracts/dist/telemetry/tracker.js:1:7 ]
639
- │
640
- 1 │ import"crypto";
641
-  │ ────┬───
642
-  │ ╰───── Module not found, treating it as an external dependency
643
-  │
644
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
645
- ───╯
646
-
647
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:perf_hooks' in ../../modules/notifications/dist/libs/contracts/dist/integrations/runtime.js
648
- ╭─[ ../../modules/notifications/dist/libs/contracts/dist/integrations/runtime.js:1:7 ]
637
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:perf_hooks' in ../../modules/audit-trail/dist/libs/contracts/dist/integrations/runtime.js
638
+ ╭─[ ../../modules/audit-trail/dist/libs/contracts/dist/integrations/runtime.js:1:7 ]
649
639
  │
650
640
  1 │ import"node:perf_hooks";
651
641
   │ ────────┬────────
@@ -654,18 +644,8 @@ $ tsdown
654
644
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
655
645
  ───╯
656
646
 
657
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/identity-rbac/dist/contracts/dist/presentations.v2.js
658
- ╭─[ ../../libs/identity-rbac/dist/contracts/dist/presentations.v2.js:1:21 ]
659
- │
660
- 1 │ import"react";import"turndown";
661
-  │ ─────┬────
662
-  │ ╰────── Module not found, treating it as an external dependency
663
-  │
664
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
665
- ───╯
666
-
667
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/jobs/dist/contracts/dist/telemetry/tracker.js
668
- ╭─[ ../../libs/jobs/dist/contracts/dist/telemetry/tracker.js:1:7 ]
647
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../modules/audit-trail/dist/libs/contracts/dist/telemetry/tracker.js
648
+ ╭─[ ../../modules/audit-trail/dist/libs/contracts/dist/telemetry/tracker.js:1:7 ]
669
649
  │
670
650
  1 │ import"crypto";
671
651
   │ ────┬───
@@ -674,8 +654,8 @@ $ tsdown
674
654
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
675
655
  ───╯
676
656
 
677
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/identity-rbac/dist/contracts/dist/telemetry/tracker.js
678
- ╭─[ ../../libs/identity-rbac/dist/contracts/dist/telemetry/tracker.js:1:7 ]
657
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/jobs/dist/contracts/dist/telemetry/tracker.js
658
+ ╭─[ ../../libs/jobs/dist/contracts/dist/telemetry/tracker.js:1:7 ]
679
659
  │
680
660
  1 │ import"crypto";
681
661
   │ ────┬───
@@ -684,12 +664,12 @@ $ tsdown
684
664
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
685
665
  ───╯
686
666
 
687
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:perf_hooks' in ../../libs/identity-rbac/dist/contracts/dist/integrations/runtime.js
688
- ╭─[ ../../libs/identity-rbac/dist/contracts/dist/integrations/runtime.js:1:7 ]
667
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../modules/audit-trail/dist/libs/contracts/dist/presentations.v2.js
668
+ ╭─[ ../../modules/audit-trail/dist/libs/contracts/dist/presentations.v2.js:1:21 ]
689
669
  │
690
- 1 │ import"node:perf_hooks";
691
-  │ ────────┬────────
692
-  │ ╰────────── Module not found, treating it as an external dependency
670
+ 1 │ import"react";import"turndown";
671
+  │ ─────┬────
672
+  │ ╰────── Module not found, treating it as an external dependency
693
673
   │
694
674
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
695
675
  ───╯
@@ -704,8 +684,8 @@ $ tsdown
704
684
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
705
685
  ───╯
706
686
 
707
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../modules/audit-trail/dist/libs/contracts/dist/presentations.v2.js
708
- ╭─[ ../../modules/audit-trail/dist/libs/contracts/dist/presentations.v2.js:1:21 ]
687
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../modules/notifications/dist/libs/contracts/dist/presentations.v2.js
688
+ ╭─[ ../../modules/notifications/dist/libs/contracts/dist/presentations.v2.js:1:21 ]
709
689
  │
710
690
  1 │ import"react";import"turndown";
711
691
   │ ─────┬────
@@ -714,8 +694,8 @@ $ tsdown
714
694
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
715
695
  ───╯
716
696
 
717
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/jobs/dist/contracts/dist/presentations.v2.js
718
- ╭─[ ../../libs/jobs/dist/contracts/dist/presentations.v2.js:1:21 ]
697
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/identity-rbac/dist/contracts/dist/presentations.v2.js
698
+ ╭─[ ../../libs/identity-rbac/dist/contracts/dist/presentations.v2.js:1:21 ]
719
699
  │
720
700
  1 │ import"react";import"turndown";
721
701
   │ ─────┬────
@@ -724,8 +704,8 @@ $ tsdown
724
704
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
725
705
  ───╯
726
706
 
727
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../modules/audit-trail/dist/libs/contracts/dist/telemetry/tracker.js
728
- ╭─[ ../../modules/audit-trail/dist/libs/contracts/dist/telemetry/tracker.js:1:7 ]
707
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../modules/notifications/dist/libs/contracts/dist/telemetry/tracker.js
708
+ ╭─[ ../../modules/notifications/dist/libs/contracts/dist/telemetry/tracker.js:1:7 ]
729
709
  │
730
710
  1 │ import"crypto";
731
711
   │ ────┬───
@@ -734,8 +714,8 @@ $ tsdown
734
714
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
735
715
  ───╯
736
716
 
737
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:perf_hooks' in ../../modules/audit-trail/dist/libs/contracts/dist/integrations/runtime.js
738
- ╭─[ ../../modules/audit-trail/dist/libs/contracts/dist/integrations/runtime.js:1:7 ]
717
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:perf_hooks' in ../../libs/identity-rbac/dist/contracts/dist/integrations/runtime.js
718
+ ╭─[ ../../libs/identity-rbac/dist/contracts/dist/integrations/runtime.js:1:7 ]
739
719
  │
740
720
  1 │ import"node:perf_hooks";
741
721
   │ ────────┬────────
@@ -744,8 +724,28 @@ $ tsdown
744
724
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
745
725
  ───╯
746
726
 
747
- [UNRESOLVED_IMPORT] Warning: Could not resolve '@apollo/subgraph' in ../../libs/identity-rbac/dist/contracts/dist/graphql-federation/dist/index.js
748
- ╭─[ ../../libs/identity-rbac/dist/contracts/dist/graphql-federation/dist/index.js:1:41 ]
727
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/identity-rbac/dist/contracts/dist/telemetry/tracker.js
728
+ ╭─[ ../../libs/identity-rbac/dist/contracts/dist/telemetry/tracker.js:1:7 ]
729
+ │
730
+ 1 │ import"crypto";
731
+  │ ────┬───
732
+  │ ╰───── Module not found, treating it as an external dependency
733
+  │
734
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
735
+ ───╯
736
+
737
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:perf_hooks' in ../../modules/notifications/dist/libs/contracts/dist/integrations/runtime.js
738
+ ╭─[ ../../modules/notifications/dist/libs/contracts/dist/integrations/runtime.js:1:7 ]
739
+ │
740
+ 1 │ import"node:perf_hooks";
741
+  │ ────────┬────────
742
+  │ ╰────────── Module not found, treating it as an external dependency
743
+  │
744
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
745
+ ───╯
746
+
747
+ [UNRESOLVED_IMPORT] Warning: Could not resolve '@apollo/subgraph' in ../../libs/jobs/dist/contracts/dist/graphql-federation/dist/index.js
748
+ ╭─[ ../../libs/jobs/dist/contracts/dist/graphql-federation/dist/index.js:1:41 ]
749
749
  │
750
750
  1 │ import"@pothos/plugin-federation";import"@apollo/subgraph";
751
751
   │ ─────────┬────────
@@ -764,8 +764,8 @@ $ tsdown
764
764
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
765
765
  ───╯
766
766
 
767
- [UNRESOLVED_IMPORT] Warning: Could not resolve '@apollo/subgraph' in ../../libs/jobs/dist/contracts/dist/graphql-federation/dist/index.js
768
- ╭─[ ../../libs/jobs/dist/contracts/dist/graphql-federation/dist/index.js:1:41 ]
767
+ [UNRESOLVED_IMPORT] Warning: Could not resolve '@apollo/subgraph' in ../../libs/identity-rbac/dist/contracts/dist/graphql-federation/dist/index.js
768
+ ╭─[ ../../libs/identity-rbac/dist/contracts/dist/graphql-federation/dist/index.js:1:41 ]
769
769
  │
770
770
  1 │ import"@pothos/plugin-federation";import"@apollo/subgraph";
771
771
   │ ─────────┬────────
@@ -784,5 +784,5 @@ $ tsdown
784
784
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
785
785
  ───╯
786
786
 
787
- ✔ Build complete in 36113ms
787
+ ✔ Build complete in 32655ms
788
788
  $ tsc --noEmit
package/CHANGELOG.md CHANGED
@@ -1,15 +1,15 @@
1
1
  # @lssm/example.saas-boilerplate
2
2
 
3
- ## 0.0.0-canary-20251207012602
3
+ ## 0.0.0-canary-20251207013726
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - 3086383: refactor: dependencies upgrade
8
8
  - Updated dependencies [3086383]
9
- - @lssm/lib.contracts@0.0.0-canary-20251207012602
10
- - @lssm/lib.schema@0.0.0-canary-20251207012602
11
- - @lssm/lib.jobs@0.0.0-canary-20251207012602
12
- - @lssm/lib.bus@0.0.0-canary-20251207012602
13
- - @lssm/lib.identity-rbac@0.0.0-canary-20251207012602
14
- - @lssm/module.audit-trail@0.0.0-canary-20251207012602
15
- - @lssm/module.notifications@0.0.0-canary-20251207012602
9
+ - @lssm/lib.contracts@0.0.0-canary-20251207013726
10
+ - @lssm/lib.schema@0.0.0-canary-20251207013726
11
+ - @lssm/lib.jobs@0.0.0-canary-20251207013726
12
+ - @lssm/lib.bus@0.0.0-canary-20251207013726
13
+ - @lssm/lib.identity-rbac@0.0.0-canary-20251207013726
14
+ - @lssm/module.audit-trail@0.0.0-canary-20251207013726
15
+ - @lssm/module.notifications@0.0.0-canary-20251207013726