@marktiderman/genesis-cli 1.13.1 → 1.13.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/dist/cli.js +3 -1
- package/dist/cli.js.map +1 -1
- package/dist/doctor.js +3 -1
- package/dist/doctor.js.map +1 -1
- package/dist/genesis-catalog.json +26 -11
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/vite.js +3 -1
- package/dist/vite.js.map +1 -1
- package/package.json +3 -3
|
@@ -55,8 +55,11 @@
|
|
|
55
55
|
"@marktiderman/genesis-collab": {
|
|
56
56
|
"version": "0.1.0"
|
|
57
57
|
},
|
|
58
|
+
"@marktiderman/genesis-connect": {
|
|
59
|
+
"version": "0.1.1"
|
|
60
|
+
},
|
|
58
61
|
"@marktiderman/genesis-core": {
|
|
59
|
-
"version": "1.
|
|
62
|
+
"version": "1.16.1"
|
|
60
63
|
},
|
|
61
64
|
"@marktiderman/genesis-switchboard": {
|
|
62
65
|
"version": "2.1.0"
|
|
@@ -68,10 +71,10 @@
|
|
|
68
71
|
"version": "0.2.0"
|
|
69
72
|
},
|
|
70
73
|
"@marktiderman/genesis-features": {
|
|
71
|
-
"version": "0.6.
|
|
74
|
+
"version": "0.6.1"
|
|
72
75
|
},
|
|
73
76
|
"@marktiderman/genesis-forms": {
|
|
74
|
-
"version": "0.
|
|
77
|
+
"version": "0.10.0"
|
|
75
78
|
},
|
|
76
79
|
"@marktiderman/genesis-forms-builder": {
|
|
77
80
|
"version": "0.6.4"
|
|
@@ -92,10 +95,10 @@
|
|
|
92
95
|
"version": "0.6.3"
|
|
93
96
|
},
|
|
94
97
|
"@marktiderman/genesis": {
|
|
95
|
-
"version": "0.9.
|
|
98
|
+
"version": "0.9.19"
|
|
96
99
|
},
|
|
97
100
|
"@marktiderman/genesis-cli": {
|
|
98
|
-
"version": "1.13.
|
|
101
|
+
"version": "1.13.2"
|
|
99
102
|
},
|
|
100
103
|
"@marktiderman/genesis-native": {
|
|
101
104
|
"version": "0.5.0",
|
|
@@ -385,7 +388,7 @@
|
|
|
385
388
|
"version": "0.4.0"
|
|
386
389
|
},
|
|
387
390
|
"@marktiderman/genesis-supabase": {
|
|
388
|
-
"version": "0.
|
|
391
|
+
"version": "0.9.0",
|
|
389
392
|
"blocks": {
|
|
390
393
|
"account": {
|
|
391
394
|
"feature": {
|
|
@@ -512,10 +515,18 @@
|
|
|
512
515
|
{
|
|
513
516
|
"file": "migrations/0014_genesis_feature_registry_hardening.sql",
|
|
514
517
|
"test": "migrations/tests/0014_genesis_feature_registry_hardening.test.sql"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"file": "migrations/0016_genesis_viewer_people.sql",
|
|
521
|
+
"test": "migrations/tests/0016_genesis_viewer_people.test.sql"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"file": "migrations/0017_genesis_person_entitlements.sql",
|
|
525
|
+
"test": "migrations/tests/0017_genesis_person_entitlements.test.sql"
|
|
515
526
|
}
|
|
516
527
|
],
|
|
517
528
|
"steps": [
|
|
518
|
-
"Sync the registry on every deploy with the service key: syncFeatureRegistry(admin, features.json, { version: BUILD_TIME } (the build time, from a production deployment only)). Grant paid features by writing feature_entitlements from your billing webhook."
|
|
529
|
+
"Sync the registry on every deploy with the service key: syncFeatureRegistry(admin, features.json, { version: BUILD_TIME } (the build time, from a production deployment only)). Grant paid features by writing feature_entitlements from your billing webhook (a tenant's) or calling grant_person_entitlement (one person's). For person grants, define private.genesis_viewer_people(viewer) as 0016 shows."
|
|
519
530
|
]
|
|
520
531
|
},
|
|
521
532
|
"owner-access": {
|
|
@@ -544,13 +555,17 @@
|
|
|
544
555
|
{
|
|
545
556
|
"file": "migrations/0009_genesis_owner_access.sql",
|
|
546
557
|
"test": "migrations/tests/0009_genesis_owner_access.test.sql"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"file": "migrations/0016_genesis_viewer_people.sql",
|
|
561
|
+
"test": "migrations/tests/0016_genesis_viewer_people.test.sql"
|
|
547
562
|
}
|
|
548
563
|
],
|
|
549
564
|
"install": [
|
|
550
565
|
"@supabase/supabase-js@^2.118.0"
|
|
551
566
|
],
|
|
552
567
|
"steps": [
|
|
553
|
-
"Define private.genesis_owner_can(tenant, viewer, person_id, team_id, organization_id, action) and private.genesis_readable_owners(viewer) in your own migration, as the header of 0009 shows. Without them the wrappers answer no."
|
|
568
|
+
"Define private.genesis_owner_can(tenant, viewer, person_id, team_id, organization_id, action) and private.genesis_readable_owners(viewer) in your own migration, as the header of 0009 shows, and private.genesis_viewer_people(viewer) as 0016 shows. Without them the wrappers answer no."
|
|
554
569
|
]
|
|
555
570
|
},
|
|
556
571
|
"web-handoff": {
|
|
@@ -780,13 +795,13 @@
|
|
|
780
795
|
}
|
|
781
796
|
},
|
|
782
797
|
"@marktiderman/genesis-ui": {
|
|
783
|
-
"version": "2.
|
|
798
|
+
"version": "2.20.0"
|
|
784
799
|
},
|
|
785
800
|
"@marktiderman/genesis-ui-native": {
|
|
786
|
-
"version": "2.
|
|
801
|
+
"version": "2.8.1"
|
|
787
802
|
},
|
|
788
803
|
"@marktiderman/genesis-work": {
|
|
789
|
-
"version": "0.
|
|
804
|
+
"version": "0.3.0",
|
|
790
805
|
"blocks": {
|
|
791
806
|
"pursuits": {
|
|
792
807
|
"feature": {
|
package/dist/index.js
CHANGED
|
@@ -3589,7 +3589,9 @@ function checkChanges(ctx, pkg, json, base, mergeBase) {
|
|
|
3589
3589
|
}
|
|
3590
3590
|
const raw = json;
|
|
3591
3591
|
if (jsonBefore && (JSON.stringify(jsonBefore.genesis) !== JSON.stringify(raw.genesis) || JSON.stringify(jsonBefore.exports) !== JSON.stringify(raw.exports))) {
|
|
3592
|
-
const
|
|
3592
|
+
const appInRepo = path14.relative(top, realpathSync(ctx.root)).split(path14.sep).join("/");
|
|
3593
|
+
const candidates = [.../* @__PURE__ */ new Set(["features.ts", "src/features.ts", ...appInRepo ? [`${appInRepo}/features.ts`, `${appInRepo}/src/features.ts`] : []])];
|
|
3594
|
+
const registry = (git(top, ["diff", "--name-only", mergeBase, "--", ...candidates]) ?? "").trim();
|
|
3593
3595
|
if (!registry) ctx.report({ rule: "package-unversioned-change", level: "warn", file: `${pkg.rel}/package.json`, message: `${pkg.name}'s blocks or exports changed but features.ts didn't; update the features they belong to` });
|
|
3594
3596
|
}
|
|
3595
3597
|
if (bumped && !named && before !== null) {
|