@marktiderman/genesis-cli 1.15.0 → 1.16.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.
- package/README.md +1 -1
- package/dist/cli.js +4 -4
- package/dist/cli.js.map +1 -1
- package/dist/doctor.js +4 -4
- package/dist/doctor.js.map +1 -1
- package/dist/genesis-catalog.json +37 -6
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/starter/package.json +8 -8
- package/dist/vite.js +4 -4
- package/dist/vite.js.map +1 -1
- package/package.json +21 -5
|
@@ -32,14 +32,14 @@
|
|
|
32
32
|
"@marktiderman/genesis-support": "workspace:^",
|
|
33
33
|
"@marktiderman/genesis-ui-native": "workspace:^",
|
|
34
34
|
"@react-native-async-storage/async-storage": "2.2.0",
|
|
35
|
-
"@react-native-community/datetimepicker": "9.2.
|
|
35
|
+
"@react-native-community/datetimepicker": "9.2.2",
|
|
36
36
|
"@react-native-community/netinfo": "12.0.1",
|
|
37
|
-
"@sentry/react-native": "~8.
|
|
38
|
-
"@shopify/flash-list": "2.3.
|
|
37
|
+
"@sentry/react-native": "~8.31.0",
|
|
38
|
+
"@shopify/flash-list": "2.3.3",
|
|
39
39
|
"@supabase/supabase-js": "^2.118.0",
|
|
40
|
-
"@tanstack/query-async-storage-persister": "5.
|
|
41
|
-
"@tanstack/query-persist-client-core": "5.
|
|
42
|
-
"@tanstack/react-query": "5.
|
|
40
|
+
"@tanstack/query-async-storage-persister": "5.104.5",
|
|
41
|
+
"@tanstack/query-persist-client-core": "5.104.5",
|
|
42
|
+
"@tanstack/react-query": "5.104.5",
|
|
43
43
|
"clsx": "^2.1.1",
|
|
44
44
|
"expo": "~58.0.19",
|
|
45
45
|
"expo-apple-authentication": "~58.0.2",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"react-native-view-shot": "6.1.1",
|
|
82
82
|
"react-native-worklets": "0.13.0",
|
|
83
83
|
"tailwind-merge": "^3.5.0",
|
|
84
|
-
"zod": "^4.
|
|
84
|
+
"zod": "^4.6.6"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@marktiderman/genesis-cli": "workspace:^",
|
|
@@ -97,7 +97,7 @@
|
|
|
97
97
|
"tailwindcss": "^3.4.17",
|
|
98
98
|
"tsx": "^4.21.0",
|
|
99
99
|
"typescript": "~6.0.3",
|
|
100
|
-
"vitest": "^
|
|
100
|
+
"vitest": "^5.0.5",
|
|
101
101
|
"yaml": "^2.6.0"
|
|
102
102
|
}
|
|
103
103
|
}
|
package/dist/vite.js
CHANGED
|
@@ -4661,7 +4661,7 @@ function checkLocalGenesisCopies(ctx) {
|
|
|
4661
4661
|
});
|
|
4662
4662
|
}
|
|
4663
4663
|
}
|
|
4664
|
-
function
|
|
4664
|
+
function checkRecordViews(ctx) {
|
|
4665
4665
|
if (isNative2(ctx) || !ctx.genesis.values.has("AppShellPageHeader")) return;
|
|
4666
4666
|
const header = /<AppShellPageHeader(?=[\s>/])/;
|
|
4667
4667
|
const byFolder = /* @__PURE__ */ new Map();
|
|
@@ -5329,7 +5329,7 @@ var AGENTS_END = "<!-- genesis-primitives:end -->";
|
|
|
5329
5329
|
var RULES = [
|
|
5330
5330
|
"Use the Genesis primitive for the need first: reuse, then extend, then invent (docs/FRAMEWORK.md, G1 to G6).",
|
|
5331
5331
|
"Never copy an older screen as a template. Old screens predate the primitives; the doctor flags what they did.",
|
|
5332
|
-
"A list screen is a view (`defineView`) rendered by `ResourceView`; a record
|
|
5332
|
+
"A list screen is a view (`defineView`) rendered by `ResourceView`; a record view is `RecordView`; on the phone, `NativeResourceView`.",
|
|
5333
5333
|
"Screens never call the database client (`supabase.from`, `.rpc`) directly: reads go through a view or a named data function, writes through the resource's provider rules.",
|
|
5334
5334
|
"When no primitive fits, write the gap up for Genesis before inventing, then invent in the app on Genesis primitives.",
|
|
5335
5335
|
"Run `genesis doctor` before you finish; it enforces these rules."
|
|
@@ -5338,7 +5338,7 @@ function renderSkill(rows) {
|
|
|
5338
5338
|
return [
|
|
5339
5339
|
"---",
|
|
5340
5340
|
"name: genesis",
|
|
5341
|
-
"description: Which Genesis primitive to use for each need (list screens, record
|
|
5341
|
+
"description: Which Genesis primitive to use for each need (list screens, record views, forms, data access, dates and more), with its import and docs. Load before writing any screen, list, form or data access in a Genesis app.",
|
|
5342
5342
|
"---",
|
|
5343
5343
|
"",
|
|
5344
5344
|
"<!-- Generated by `genesis agents` from the installed Genesis packages. Don't edit; run `genesis agents` after upgrading Genesis. -->",
|
|
@@ -5500,7 +5500,7 @@ function builtinChecks(config, options = {}) {
|
|
|
5500
5500
|
{ name: "peer-ranges", check: checkPeerRanges },
|
|
5501
5501
|
{ name: "hand-rolled-sub-nav", check: checkHandRolledSubNav },
|
|
5502
5502
|
{ name: "local-genesis-copies", check: checkLocalGenesisCopies },
|
|
5503
|
-
{ name: "resource-workspaces", check:
|
|
5503
|
+
{ name: "resource-workspaces", check: checkRecordViews },
|
|
5504
5504
|
{ name: "page-layouts", check: checkPageLayouts },
|
|
5505
5505
|
{ name: "iso-date-slices", check: checkIsoDateSlices },
|
|
5506
5506
|
{ name: "resource-view-trees", check: checkTreeViews },
|