@contractspec/example.saas-boilerplate 3.7.7 → 3.8.2
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 +36 -24
- package/CHANGELOG.md +36 -0
- package/README.md +1 -0
- package/dist/browser/index.js +371 -92
- package/dist/browser/saas-boilerplate.feature.js +208 -0
- package/dist/browser/ui/SaasDashboard.js +311 -60
- package/dist/browser/ui/SaasDashboard.visualizations.js +249 -0
- package/dist/browser/ui/index.js +362 -92
- package/dist/browser/ui/renderers/index.js +229 -3
- package/dist/browser/ui/renderers/project-list.markdown.js +229 -3
- package/dist/browser/visualizations/catalog.js +155 -0
- package/dist/browser/visualizations/index.js +217 -0
- package/dist/browser/visualizations/selectors.js +210 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +371 -92
- package/dist/node/index.js +371 -92
- package/dist/node/saas-boilerplate.feature.js +208 -0
- package/dist/node/ui/SaasDashboard.js +311 -60
- package/dist/node/ui/SaasDashboard.visualizations.js +249 -0
- package/dist/node/ui/index.js +362 -92
- package/dist/node/ui/renderers/index.js +229 -3
- package/dist/node/ui/renderers/project-list.markdown.js +229 -3
- package/dist/node/visualizations/catalog.js +155 -0
- package/dist/node/visualizations/index.js +217 -0
- package/dist/node/visualizations/selectors.js +210 -0
- package/dist/saas-boilerplate.feature.js +208 -0
- package/dist/ui/SaasDashboard.js +311 -60
- package/dist/ui/SaasDashboard.visualizations.d.ts +5 -0
- package/dist/ui/SaasDashboard.visualizations.js +250 -0
- package/dist/ui/index.js +362 -92
- package/dist/ui/renderers/index.js +229 -3
- package/dist/ui/renderers/project-list.markdown.js +229 -3
- package/dist/visualizations/catalog.d.ts +11 -0
- package/dist/visualizations/catalog.js +156 -0
- package/dist/visualizations/index.d.ts +2 -0
- package/dist/visualizations/index.js +218 -0
- package/dist/visualizations/selectors.d.ts +8 -0
- package/dist/visualizations/selectors.js +211 -0
- package/dist/visualizations/selectors.test.d.ts +1 -0
- package/package.json +68 -12
- package/src/index.ts +1 -0
- package/src/saas-boilerplate.feature.ts +3 -0
- package/src/ui/SaasDashboard.tsx +8 -0
- package/src/ui/SaasDashboard.visualizations.tsx +41 -0
- package/src/ui/renderers/project-list.markdown.ts +38 -14
- package/src/visualizations/catalog.ts +153 -0
- package/src/visualizations/index.ts +2 -0
- package/src/visualizations/selectors.test.ts +25 -0
- package/src/visualizations/selectors.ts +85 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -2,31 +2,35 @@ $ contractspec-bun-build prebuild
|
|
|
2
2
|
$ bun run prebuild && bun run build:bundle && bun run build:types
|
|
3
3
|
$ contractspec-bun-build prebuild
|
|
4
4
|
$ contractspec-bun-build transpile
|
|
5
|
-
[contractspec-bun-build] transpile target=bun root=src entries=
|
|
6
|
-
Bundled
|
|
5
|
+
[contractspec-bun-build] transpile target=bun root=src entries=52 noBundle=false
|
|
6
|
+
Bundled 52 modules in 68ms
|
|
7
7
|
|
|
8
8
|
billing/billing.entity.js 3.54 KB (entry point)
|
|
9
9
|
tests/operations.test-spec.js 2.91 KB (entry point)
|
|
10
10
|
seeders/index.js 0.60 KB (entry point)
|
|
11
11
|
shared/overlay-types.js 8 bytes (entry point)
|
|
12
12
|
presentations/index.js 8.94 KB (entry point)
|
|
13
|
-
./index.js
|
|
14
|
-
ui/index.js
|
|
13
|
+
./index.js 122.20 KB (entry point)
|
|
14
|
+
ui/index.js 74.0 KB (entry point)
|
|
15
15
|
ui/modals/index.js 19.42 KB (entry point)
|
|
16
16
|
ui/overlays/index.js 1.31 KB (entry point)
|
|
17
17
|
ui/overlays/demo-overlays.js 1.31 KB (entry point)
|
|
18
|
-
ui/renderers/index.js
|
|
19
|
-
ui/renderers/project-list.markdown.js 15.53 KB (entry point)
|
|
18
|
+
ui/renderers/index.js 28.1 KB (entry point)
|
|
20
19
|
ui/renderers/project-list.renderer.js 5.82 KB (entry point)
|
|
21
|
-
ui/
|
|
20
|
+
ui/renderers/project-list.markdown.js 22.26 KB (entry point)
|
|
21
|
+
ui/SaasDashboard.js 46.0 KB (entry point)
|
|
22
22
|
ui/modals/CreateProjectModal.js 6.22 KB (entry point)
|
|
23
23
|
ui/modals/ProjectActionsModal.js 13.12 KB (entry point)
|
|
24
|
+
ui/SaasDashboard.visualizations.js 7.55 KB (entry point)
|
|
24
25
|
ui/SaasProjectList.js 5.28 KB (entry point)
|
|
25
26
|
ui/SaasSettingsPanel.js 6.42 KB (entry point)
|
|
26
27
|
ui/hooks/index.js 5.0 KB (entry point)
|
|
27
28
|
ui/hooks/useProjectList.js 2.1 KB (entry point)
|
|
28
29
|
ui/hooks/useProjectMutations.js 2.91 KB (entry point)
|
|
29
|
-
./saas-boilerplate.feature.js
|
|
30
|
+
./saas-boilerplate.feature.js 9.49 KB (entry point)
|
|
31
|
+
visualizations/index.js 6.39 KB (entry point)
|
|
32
|
+
visualizations/selectors.js 6.17 KB (entry point)
|
|
33
|
+
visualizations/catalog.js 4.37 KB (entry point)
|
|
30
34
|
settings/index.js 2.30 KB (entry point)
|
|
31
35
|
settings/settings.entity.js 2.28 KB (entry point)
|
|
32
36
|
settings/settings.enum.js 310 bytes (entry point)
|
|
@@ -54,31 +58,35 @@ Bundled 48 modules in 67ms
|
|
|
54
58
|
billing/billing.schema.js 4.50 KB (entry point)
|
|
55
59
|
billing/billing.enum.js 443 bytes (entry point)
|
|
56
60
|
|
|
57
|
-
[contractspec-bun-build] transpile target=node root=src entries=
|
|
58
|
-
Bundled
|
|
61
|
+
[contractspec-bun-build] transpile target=node root=src entries=52 noBundle=false
|
|
62
|
+
Bundled 52 modules in 40ms
|
|
59
63
|
|
|
60
64
|
billing/billing.entity.js 3.53 KB (entry point)
|
|
61
65
|
tests/operations.test-spec.js 2.90 KB (entry point)
|
|
62
66
|
seeders/index.js 0.59 KB (entry point)
|
|
63
67
|
shared/overlay-types.js 0 KB (entry point)
|
|
64
68
|
presentations/index.js 8.93 KB (entry point)
|
|
65
|
-
./index.js
|
|
66
|
-
ui/index.js
|
|
69
|
+
./index.js 122.10 KB (entry point)
|
|
70
|
+
ui/index.js 73.92 KB (entry point)
|
|
67
71
|
ui/modals/index.js 19.40 KB (entry point)
|
|
68
72
|
ui/overlays/index.js 1.30 KB (entry point)
|
|
69
73
|
ui/overlays/demo-overlays.js 1.30 KB (entry point)
|
|
70
|
-
ui/renderers/index.js
|
|
71
|
-
ui/renderers/project-list.markdown.js 15.47 KB (entry point)
|
|
74
|
+
ui/renderers/index.js 28.0 KB (entry point)
|
|
72
75
|
ui/renderers/project-list.renderer.js 5.81 KB (entry point)
|
|
73
|
-
ui/
|
|
76
|
+
ui/renderers/project-list.markdown.js 22.19 KB (entry point)
|
|
77
|
+
ui/SaasDashboard.js 46.0 KB (entry point)
|
|
74
78
|
ui/modals/CreateProjectModal.js 6.21 KB (entry point)
|
|
75
79
|
ui/modals/ProjectActionsModal.js 13.1 KB (entry point)
|
|
80
|
+
ui/SaasDashboard.visualizations.js 7.54 KB (entry point)
|
|
76
81
|
ui/SaasProjectList.js 5.27 KB (entry point)
|
|
77
82
|
ui/SaasSettingsPanel.js 6.41 KB (entry point)
|
|
78
83
|
ui/hooks/index.js 5.0 KB (entry point)
|
|
79
84
|
ui/hooks/useProjectList.js 2.0 KB (entry point)
|
|
80
85
|
ui/hooks/useProjectMutations.js 2.91 KB (entry point)
|
|
81
|
-
./saas-boilerplate.feature.js
|
|
86
|
+
./saas-boilerplate.feature.js 9.48 KB (entry point)
|
|
87
|
+
visualizations/index.js 6.38 KB (entry point)
|
|
88
|
+
visualizations/selectors.js 6.16 KB (entry point)
|
|
89
|
+
visualizations/catalog.js 4.36 KB (entry point)
|
|
82
90
|
settings/index.js 2.29 KB (entry point)
|
|
83
91
|
settings/settings.entity.js 2.27 KB (entry point)
|
|
84
92
|
settings/settings.enum.js 302 bytes (entry point)
|
|
@@ -106,31 +114,35 @@ Bundled 48 modules in 68ms
|
|
|
106
114
|
billing/billing.schema.js 4.49 KB (entry point)
|
|
107
115
|
billing/billing.enum.js 435 bytes (entry point)
|
|
108
116
|
|
|
109
|
-
[contractspec-bun-build] transpile target=browser root=src entries=
|
|
110
|
-
Bundled
|
|
117
|
+
[contractspec-bun-build] transpile target=browser root=src entries=52 noBundle=false
|
|
118
|
+
Bundled 52 modules in 70ms
|
|
111
119
|
|
|
112
120
|
billing/billing.entity.js 3.53 KB (entry point)
|
|
113
121
|
tests/operations.test-spec.js 2.90 KB (entry point)
|
|
114
122
|
seeders/index.js 0.59 KB (entry point)
|
|
115
123
|
shared/overlay-types.js 0 KB (entry point)
|
|
116
124
|
presentations/index.js 8.93 KB (entry point)
|
|
117
|
-
./index.js
|
|
118
|
-
ui/index.js
|
|
125
|
+
./index.js 122.10 KB (entry point)
|
|
126
|
+
ui/index.js 73.92 KB (entry point)
|
|
119
127
|
ui/modals/index.js 19.40 KB (entry point)
|
|
120
128
|
ui/overlays/index.js 1.30 KB (entry point)
|
|
121
129
|
ui/overlays/demo-overlays.js 1.30 KB (entry point)
|
|
122
|
-
ui/renderers/index.js
|
|
123
|
-
ui/renderers/project-list.markdown.js 15.47 KB (entry point)
|
|
130
|
+
ui/renderers/index.js 28.0 KB (entry point)
|
|
124
131
|
ui/renderers/project-list.renderer.js 5.81 KB (entry point)
|
|
125
|
-
ui/
|
|
132
|
+
ui/renderers/project-list.markdown.js 22.19 KB (entry point)
|
|
133
|
+
ui/SaasDashboard.js 46.0 KB (entry point)
|
|
126
134
|
ui/modals/CreateProjectModal.js 6.21 KB (entry point)
|
|
127
135
|
ui/modals/ProjectActionsModal.js 13.1 KB (entry point)
|
|
136
|
+
ui/SaasDashboard.visualizations.js 7.54 KB (entry point)
|
|
128
137
|
ui/SaasProjectList.js 5.27 KB (entry point)
|
|
129
138
|
ui/SaasSettingsPanel.js 6.41 KB (entry point)
|
|
130
139
|
ui/hooks/index.js 5.0 KB (entry point)
|
|
131
140
|
ui/hooks/useProjectList.js 2.0 KB (entry point)
|
|
132
141
|
ui/hooks/useProjectMutations.js 2.91 KB (entry point)
|
|
133
|
-
./saas-boilerplate.feature.js
|
|
142
|
+
./saas-boilerplate.feature.js 9.48 KB (entry point)
|
|
143
|
+
visualizations/index.js 6.38 KB (entry point)
|
|
144
|
+
visualizations/selectors.js 6.16 KB (entry point)
|
|
145
|
+
visualizations/catalog.js 4.36 KB (entry point)
|
|
134
146
|
settings/index.js 2.29 KB (entry point)
|
|
135
147
|
settings/settings.entity.js 2.27 KB (entry point)
|
|
136
148
|
settings/settings.enum.js 302 bytes (entry point)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,37 @@
|
|
|
1
1
|
# @contractspec/example.saas-boilerplate
|
|
2
2
|
|
|
3
|
+
## 3.8.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1a44cb6: feat: improve examples to increase coverage of Contracts type
|
|
8
|
+
- Updated dependencies [1a44cb6]
|
|
9
|
+
- @contractspec/lib.example-shared-ui@6.0.10
|
|
10
|
+
- @contractspec/module.notifications@3.7.10
|
|
11
|
+
- @contractspec/lib.runtime-sandbox@2.7.9
|
|
12
|
+
- @contractspec/lib.contracts-spec@4.1.2
|
|
13
|
+
- @contractspec/module.audit-trail@3.7.10
|
|
14
|
+
- @contractspec/lib.design-system@3.8.3
|
|
15
|
+
- @contractspec/lib.identity-rbac@3.7.10
|
|
16
|
+
- @contractspec/lib.schema@3.7.8
|
|
17
|
+
- @contractspec/lib.jobs@3.7.10
|
|
18
|
+
|
|
19
|
+
## 3.8.1
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- fix: release
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
- @contractspec/lib.example-shared-ui@6.0.9
|
|
26
|
+
- @contractspec/module.notifications@3.7.9
|
|
27
|
+
- @contractspec/lib.runtime-sandbox@2.7.8
|
|
28
|
+
- @contractspec/lib.contracts-spec@4.1.1
|
|
29
|
+
- @contractspec/module.audit-trail@3.7.9
|
|
30
|
+
- @contractspec/lib.design-system@3.8.2
|
|
31
|
+
- @contractspec/lib.identity-rbac@3.7.9
|
|
32
|
+
- @contractspec/lib.jobs@3.7.9
|
|
33
|
+
- @contractspec/lib.schema@3.7.7
|
|
34
|
+
|
|
3
35
|
## 3.7.6
|
|
4
36
|
|
|
5
37
|
### Patch Changes
|
|
@@ -625,6 +657,7 @@
|
|
|
625
657
|
- 7f3203a: fix: make workspace test runs resilient when packages have no tests
|
|
626
658
|
|
|
627
659
|
Updates package test scripts to pass cleanly when no matching test files exist:
|
|
660
|
+
|
|
628
661
|
- Uses `bun test --pass-with-no-tests` in Bun-based packages that currently ship without test files.
|
|
629
662
|
- Uses `jest --passWithNoTests` for the UI kit web package.
|
|
630
663
|
- Adds `.vscode-test.mjs` for `vscode-contractspec` so VS Code extension test runs have an explicit config and stop failing on missing default configuration.
|
|
@@ -1130,14 +1163,17 @@
|
|
|
1130
1163
|
feat: Contract layers support (features, examples, app-configs)
|
|
1131
1164
|
|
|
1132
1165
|
### New CLI Commands
|
|
1166
|
+
|
|
1133
1167
|
- `contractspec list layers` - List all contract layers with filtering
|
|
1134
1168
|
|
|
1135
1169
|
### Enhanced Commands
|
|
1170
|
+
|
|
1136
1171
|
- `contractspec ci` - New `layers` check category validates features/examples/config
|
|
1137
1172
|
- `contractspec doctor` - New `layers` health checks
|
|
1138
1173
|
- `contractspec integrity` - Now shows layer statistics
|
|
1139
1174
|
|
|
1140
1175
|
### New APIs
|
|
1176
|
+
|
|
1141
1177
|
- `discoverLayers()` - Scan workspace for all layer files
|
|
1142
1178
|
- `scanExampleSource()` - Parse ExampleSpec from source code
|
|
1143
1179
|
- `isExampleFile()` - Check if file is an example spec
|
package/README.md
CHANGED
|
@@ -9,6 +9,7 @@ Website: https://contractspec.io
|
|
|
9
9
|
- Multi-domain SaaS architecture (billing, project, settings, dashboard).
|
|
10
10
|
- Per-domain entity/enum/event/handler/operations/presentation/schema pattern.
|
|
11
11
|
- React UI with hooks, modals, overlays, renderers, and dashboard.
|
|
12
|
+
- Contract-backed visualizations for portfolio status, tier mix, usage, and recent project activity.
|
|
12
13
|
- Feature definition, seeders, and test-spec patterns.
|
|
13
14
|
- RBAC, audit trail, and notification module integration.
|
|
14
15
|
- `src/docs/` contains docblocks and documentation-facing exports.
|