@marktiderman/genesis-cli
1.36.1Tooling · CoreGenesis CLI — `genesis init` scaffolds a Genesis app (`--template native`: a new Expo app from the RN starter); `genesis add <block>` adds a block from what its package declares; `genesis migrate` copies new package migrations in and never rewrites an applied one; `genesis upgrade` moves every Genesis package to one release and refreshes the files Genesis owns; `genesis doctor` checks an app against the installed Genesis; `genesis data init` turns Genesis Data on; `genesis introspect` writes a checked-in contract; `genesis features build|check` keeps generated feature docs in step with features.ts; `withGenesis()` (`app.plugin.js`, `/expo`) is the Expo config plugin; `/eslint` is Genesis's lint rules for an app's eslint.config.
Scaffolds a Genesis consumer: a brand package, Tailwind and tokens.
Makes a new Expo app from the Genesis RN starter, in `./<app>` (or `--target`), which must be new or empty. See A new native app.
pnpm add @marktiderman/genesis-cliOther exports (31)
appNavTargets · appRoutes · BUILD_STAMP_FILE · checkFigmaRoutes · CommentSettingsError · compareFigmaRoutes · defineDoctorPlugin · detectHost · DoctorConfigError · emitContracts · EmitError · FigmaConfigError · formatCoverage · formatReport · GenesisConfigError · introspectOpenApi · introspectPostgres · parseColumnComment · parseTableComment · planScaffold · planStudioInit · readFigma · readFigmaConfig · readGenesisConfig · resolveBuildStamp · runDoctor · runScaffold · validateConsumerName · validateFigmaConfig · validateLinks · writeBuildStamp
And 33 types.
Other exports (5)
brand · brand · planScaffold · runScaffold · validateConsumerName
And 7 types.
Other exports (75)
agentGuideEdits · agentGuideState · agentHooksEdit · agentHooksState · agentRules · allFixes · applyExtensions · applyPlan · attachFixes · BLOCKED_FIX · BUILTIN_RULES · builtinChecks · builtinFixes · catalogTable · changedSince · CLAUDE_IMPORT · clearPackageRulesCache · dedupeFindings · defineDoctorPlugin · defineFix · DENY_RULES · discoverPackages · DoctorConfigError · extensionProblem · FileConflictError · findPackageDir · FixError · formatPrimitives · formatReport · GenesisConfigError · genesisInstalls · genesisSummary · globToRegExp · loadConfig · loadFixes · loadGenesis · mergeAgentHooks · nativeLayouts · PackageDeclarationError · packageGuides · parseExportNames · parseRulesMarkdown · planFix · postgresContract · postgresSource · preferRules · primitivesCatalog · primitivesSummary · readGenesisConfig · readPackageExports · readReleaseManifest · readUpgradeStatus · renderAgentsBlock · renderSkill · routesDir · ruleNamespace · runDoctor · satisfies · SETTINGS_PATH · SKILL_PATH · skillDescription · sqlStatements · StalePlanError · SUBAGENT_HOOK_COMMAND · subagentContext · subagentHookOutput · toJson · unlistedGuides · validateConfig · validateDeclaration · validateLinks · validateRepo · webRoutes · writeAgentGuide · writeAgentHooks
And 26 types.
Other exports (25)
allowFor · allViewports · applyAllow · AXE_TAGS · checkPage · contextOptions · domChecks · ENGINES · entryCovers · flattenReactRouterRoutes · formatFinding · matchesPage · matchesPattern · matchesTarget · onePathPerPattern · patternCovers · patternFor · runsIn · targetParts · TEXT_ZOOM_VIEWPORT · validateAllow · WIDTHS · widthViewport · ZOOM_VIEWPORTS · zoomText
And 11 types.
Other exports (1)
genesisDoctor
And 1 types.
Other exports (22)
APP_VARIANTS · applyExportCompliance · applyFingerprint · applyLinks · applyPrivacyApis · applyPrivacyData · applyVariant · collectedDataFor · DEFAULT_VARIANT_SUFFIXES · GenesisConfigError · PRIVACY_APIS · PRIVACY_BLOCKS · PRIVACY_DATA_TYPES · PRIVACY_PURPOSES · privacyApisFor · privacyBlocksFor · privacyDataType · readGenesisConfig · resolveVariant · validateLinks · validatePrivacy · withGenesis
And 8 types.
Other exports (6)
genesis · RNTL_ASYNC_CALLS · rntlAwaitSelectors · TEST_FILES · testing · TESTING_LIBRARY_PLUGIN
And 3 types.