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

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/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
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
6
6
  ℹ target: esnext
7
7
  ℹ tsconfig: tsconfig.json
8
8
  ℹ Build start
@@ -561,42 +561,32 @@ $ 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.33 kB │ gzip: 0.94 kB
565
- ℹ dist/events.d.ts  8.37 kB │ gzip: 0.70 kB
566
- ℹ dist/entities/index.d.ts  5.19 kB │ gzip: 0.72 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
567
567
  ℹ dist/index.d.ts  4.77 kB │ gzip: 1.03 kB
568
568
  ℹ dist/entities/billing.d.ts  2.59 kB │ gzip: 0.48 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.57 kB │ gzip: 0.37 kB
573
- ℹ dist/entities/project.d.ts  1.52 kB │ gzip: 0.38 kB
574
- ℹ dist/contracts/index.d.ts  1.48 kB │ gzip: 0.30 kB
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.68 kB
582
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/contracts/dist/presentations.v2.js
583
- - Module not found, treating it as an external dependency in ../../libs/contracts/dist/presentations.v2.js at 93..103
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 'node:perf_hooks' in ../../libs/contracts/dist/integrations/runtime.js
588
- - Module not found, treating it as an external dependency in ../../libs/contracts/dist/integrations/runtime.js at 28..45
589
-  │
590
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
591
-
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
592
574
  [UNRESOLVED_IMPORT] Warning: Could not resolve 'fs' in ../../libs/contracts/dist/server/graphql-schema-export.js
575
+ ℹ dist/contracts/index.d.ts  1.48 kB │ gzip: 0.30 kB
593
576
  â•­─[ ../../libs/contracts/dist/server/graphql-schema-export.js:1:167 ]
577
+ ℹ dist/handlers/index.d.ts  1.13 kB │ gzip: 0.33 kB
594
578
  │
595
579
  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
596
582
   │ ──┬─
597
583
   │ ╰─── Module not found, treating it as an external dependency
598
584
   │
599
585
   │ 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
600
590
  ───╯
601
591
 
602
592
  [UNRESOLVED_IMPORT] Warning: Could not resolve 'path' in ../../libs/contracts/dist/server/graphql-schema-export.js
@@ -609,11 +599,21 @@ $ tsdown
609
599
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
610
600
  ───╯
611
601
 
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
+
612
607
  [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/contracts/dist/telemetry/tracker.js
613
608
  - Module not found, treating it as an external dependency in ../../libs/contracts/dist/telemetry/tracker.js at 27..35
614
609
   │
615
610
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
616
611
 
612
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:perf_hooks' in ../../libs/contracts/dist/integrations/runtime.js
613
+ - Module not found, treating it as an external dependency in ../../libs/contracts/dist/integrations/runtime.js at 28..45
614
+  │
615
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
616
+
617
617
  [UNRESOLVED_IMPORT] Warning: Could not resolve '@apollo/subgraph' in ../../libs/contracts/dist/graphql-federation/dist/index.js
618
618
  â•­─[ ../../libs/contracts/dist/graphql-federation/dist/index.js:1:71 ]
619
619
  │
@@ -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 ../../libs/identity-rbac/dist/contracts/dist/presentations.v2.js
628
- ╭─[ ../../libs/identity-rbac/dist/contracts/dist/presentations.v2.js:1:21 ]
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 ]
629
629
  │
630
630
  1 │ import"react";import"turndown";
631
631
   │ ─────┬────
@@ -634,8 +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 ../../libs/identity-rbac/dist/contracts/dist/telemetry/tracker.js
638
- ╭─[ ../../libs/identity-rbac/dist/contracts/dist/telemetry/tracker.js:1:7 ]
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
639
  │
640
640
  1 │ import"crypto";
641
641
   │ ────┬───
@@ -644,18 +644,18 @@ $ tsdown
644
644
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
645
645
  ───╯
646
646
 
647
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../libs/jobs/dist/contracts/dist/telemetry/tracker.js
648
- ╭─[ ../../libs/jobs/dist/contracts/dist/telemetry/tracker.js:1:7 ]
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 ]
649
649
  │
650
- 1 │ import"crypto";
651
-  │ ────┬───
652
-  │ ╰───── Module not found, treating it as an external dependency
650
+ 1 │ import"node:perf_hooks";
651
+  │ ────────┬────────
652
+  │ ╰────────── Module not found, treating it as an external dependency
653
653
   │
654
654
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
655
655
  ───╯
656
656
 
657
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../libs/jobs/dist/contracts/dist/presentations.v2.js
658
- ╭─[ ../../libs/jobs/dist/contracts/dist/presentations.v2.js:1:21 ]
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
659
  │
660
660
  1 │ import"react";import"turndown";
661
661
   │ ─────┬────
@@ -664,12 +664,22 @@ $ tsdown
664
664
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
665
665
  ───╯
666
666
 
667
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:perf_hooks' in ../../libs/jobs/dist/contracts/dist/integrations/runtime.js
668
- ╭─[ ../../libs/jobs/dist/contracts/dist/integrations/runtime.js:1:7 ]
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 ]
669
669
  │
670
- 1 │ import"node:perf_hooks";
671
-  │ ────────┬────────
672
-  │ ╰────────── Module not found, treating it as an external dependency
670
+ 1 │ import"crypto";
671
+  │ ────┬───
672
+  │ ╰───── Module not found, treating it as an external dependency
673
+  │
674
+  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
675
+ ───╯
676
+
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 ]
679
+ │
680
+ 1 │ import"crypto";
681
+  │ ────┬───
682
+  │ ╰───── Module not found, treating it as an external dependency
673
683
   │
674
684
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
675
685
  ───╯
@@ -684,12 +694,12 @@ $ tsdown
684
694
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
685
695
  ───╯
686
696
 
687
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../modules/audit-trail/dist/libs/contracts/dist/telemetry/tracker.js
688
- ╭─[ ../../modules/audit-trail/dist/libs/contracts/dist/telemetry/tracker.js:1:7 ]
697
+ [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:perf_hooks' in ../../libs/jobs/dist/contracts/dist/integrations/runtime.js
698
+ ╭─[ ../../libs/jobs/dist/contracts/dist/integrations/runtime.js:1:7 ]
689
699
  │
690
- 1 │ import"crypto";
691
-  │ ────┬───
692
-  │ ╰───── Module not found, treating it as an external dependency
700
+ 1 │ import"node:perf_hooks";
701
+  │ ────────┬────────
702
+  │ ╰────────── Module not found, treating it as an external dependency
693
703
   │
694
704
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
695
705
  ───╯
@@ -704,22 +714,22 @@ $ tsdown
704
714
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
705
715
  ───╯
706
716
 
707
- [UNRESOLVED_IMPORT] Warning: Could not resolve '@apollo/subgraph' in ../../libs/jobs/dist/contracts/dist/graphql-federation/dist/index.js
708
- ╭─[ ../../libs/jobs/dist/contracts/dist/graphql-federation/dist/index.js:1:41 ]
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 ]
709
719
  │
710
- 1 │ import"@pothos/plugin-federation";import"@apollo/subgraph";
711
-  │ ─────────┬────────
712
-  │ ╰────────── Module not found, treating it as an external dependency
720
+ 1 │ import"react";import"turndown";
721
+  │ ─────┬────
722
+  │ ╰────── Module not found, treating it as an external dependency
713
723
   │
714
724
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
715
725
  ───╯
716
726
 
717
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'turndown' in ../../modules/notifications/dist/libs/contracts/dist/presentations.v2.js
718
- ╭─[ ../../modules/notifications/dist/libs/contracts/dist/presentations.v2.js:1:21 ]
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 ]
719
729
  │
720
- 1 │ import"react";import"turndown";
721
-  │ ─────┬────
722
-  │ ╰────── Module not found, treating it as an external dependency
730
+ 1 │ import"crypto";
731
+  │ ────┬───
732
+  │ ╰───── Module not found, treating it as an external dependency
723
733
   │
724
734
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
725
735
  ───╯
@@ -744,28 +754,18 @@ $ tsdown
744
754
   │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
745
755
  ───╯
746
756
 
747
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'crypto' in ../../modules/notifications/dist/libs/contracts/dist/telemetry/tracker.js
748
- ╭─[ ../../modules/notifications/dist/libs/contracts/dist/telemetry/tracker.js:1:7 ]
749
- │
750
- 1 │ import"crypto";
751
-  │ ────┬───
752
-  │ ╰───── Module not found, treating it as an external dependency
753
-  │
754
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
755
- ───╯
756
-
757
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'node:perf_hooks' in ../../modules/notifications/dist/libs/contracts/dist/integrations/runtime.js
758
- ╭─[ ../../modules/notifications/dist/libs/contracts/dist/integrations/runtime.js:1:7 ]
757
+ [UNRESOLVED_IMPORT] Warning: Could not resolve '@apollo/subgraph' in ../../modules/audit-trail/dist/libs/contracts/dist/graphql-federation/dist/index.js
758
+ ╭─[ ../../modules/audit-trail/dist/libs/contracts/dist/graphql-federation/dist/index.js:1:41 ]
759
759
  │
760
- 1 │ import"node:perf_hooks";
761
-  │ ────────┬────────
762
-  │ ╰────────── Module not found, treating it as an external dependency
760
+ 1 │ import"@pothos/plugin-federation";import"@apollo/subgraph";
761
+  │ ─────────┬────────
762
+  │ ╰────────── Module not found, treating it as an external dependency
763
763
   │
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 ../../modules/audit-trail/dist/libs/contracts/dist/graphql-federation/dist/index.js
768
- ╭─[ ../../modules/audit-trail/dist/libs/contracts/dist/graphql-federation/dist/index.js:1:41 ]
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 ]
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 34901ms
787
+ ✔ Build complete in 36113ms
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-20251206160926
3
+ ## 0.0.0-canary-20251207012602
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-20251206160926
10
- - @lssm/lib.schema@0.0.0-canary-20251206160926
11
- - @lssm/lib.jobs@0.0.0-canary-20251206160926
12
- - @lssm/lib.bus@0.0.0-canary-20251206160926
13
- - @lssm/lib.identity-rbac@0.0.0-canary-20251206160926
14
- - @lssm/module.audit-trail@0.0.0-canary-20251206160926
15
- - @lssm/module.notifications@0.0.0-canary-20251206160926
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