@mr.dj2u/cli 0.1.0 → 0.1.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/bundles/claude-code/.claude-plugin/plugin.json +12 -0
- package/bundles/claude-code/.mcp.json +8 -0
- package/bundles/claude-code/CLAUDE.md +59 -0
- package/bundles/claude-code/README.md +51 -0
- package/bundles/claude-code/agents/mds.md +35 -0
- package/bundles/claude-code/commands/continue-development.md +27 -0
- package/bundles/claude-code/commands/create-expo-super-stack.md +30 -0
- package/bundles/claude-code/commands/fix-seo.md +29 -0
- package/bundles/claude-code/commands/prepare-deploy.md +31 -0
- package/bundles/claude-code/commands/project-research-plan.md +29 -0
- package/bundles/claude-code/commands/review-expo-project.md +32 -0
- package/bundles/claude-code/commands/run-doctor.md +32 -0
- package/bundles/claude-code/settings.json +3 -0
- package/bundles/claude-code/skills/api-routes/SKILL.md +37 -0
- package/bundles/claude-code/skills/continue-development/SKILL.md +32 -0
- package/bundles/claude-code/skills/create-expo-super-stack/SKILL.md +35 -0
- package/bundles/claude-code/skills/debugging/SKILL.md +36 -0
- package/bundles/claude-code/skills/deployment/SKILL.md +36 -0
- package/bundles/claude-code/skills/dev-server-management/SKILL.md +36 -0
- package/bundles/claude-code/skills/env-vars/SKILL.md +36 -0
- package/bundles/claude-code/skills/expo-router-architecture/SKILL.md +37 -0
- package/bundles/claude-code/skills/expo-ssr-safety/SKILL.md +36 -0
- package/bundles/claude-code/skills/fix-seo/SKILL.md +34 -0
- package/bundles/claude-code/skills/plugin-creation/SKILL.md +45 -0
- package/bundles/claude-code/skills/prepare-deploy/SKILL.md +36 -0
- package/bundles/claude-code/skills/production-server-patterns/SKILL.md +35 -0
- package/bundles/claude-code/skills/project-onboarding/SKILL.md +35 -0
- package/bundles/claude-code/skills/project-research-plan/SKILL.md +34 -0
- package/bundles/claude-code/skills/research-plan-intake/SKILL.md +36 -0
- package/bundles/claude-code/skills/review-expo-project/SKILL.md +37 -0
- package/bundles/claude-code/skills/run-doctor/SKILL.md +37 -0
- package/bundles/claude-code/skills/seo-metadata/SKILL.md +35 -0
- package/bundles/claude-code/skills/super-stack-startup/SKILL.md +38 -0
- package/bundles/claude-code/skills/uniwind-theming/SKILL.md +36 -0
- package/bundles/codex/.codex-plugin/plugin.json +42 -0
- package/bundles/codex/.mcp.json +11 -0
- package/bundles/codex/README.md +47 -0
- package/bundles/codex/commands/continue-development.md +27 -0
- package/bundles/codex/commands/create-expo-super-stack.md +30 -0
- package/bundles/codex/commands/fix-seo.md +29 -0
- package/bundles/codex/commands/prepare-deploy.md +31 -0
- package/bundles/codex/commands/project-research-plan.md +29 -0
- package/bundles/codex/commands/review-expo-project.md +32 -0
- package/bundles/codex/commands/run-doctor.md +32 -0
- package/bundles/codex/skills/api-routes/SKILL.md +32 -0
- package/bundles/codex/skills/continue-development/SKILL.md +32 -0
- package/bundles/codex/skills/debugging/SKILL.md +32 -0
- package/bundles/codex/skills/deployment/SKILL.md +31 -0
- package/bundles/codex/skills/dev-server-management/SKILL.md +32 -0
- package/bundles/codex/skills/env-vars/SKILL.md +31 -0
- package/bundles/codex/skills/expo-router-architecture/SKILL.md +32 -0
- package/bundles/codex/skills/expo-ssr-safety/SKILL.md +31 -0
- package/bundles/codex/skills/plugin-creation/SKILL.md +41 -0
- package/bundles/codex/skills/production-server-patterns/SKILL.md +31 -0
- package/bundles/codex/skills/project-onboarding/SKILL.md +31 -0
- package/bundles/codex/skills/research-plan-intake/SKILL.md +32 -0
- package/bundles/codex/skills/seo-metadata/SKILL.md +31 -0
- package/bundles/codex/skills/super-stack-startup/SKILL.md +34 -0
- package/bundles/codex/skills/uniwind-theming/SKILL.md +31 -0
- package/bundles/vscode-copilot/.github/agents/mds.agent.md +22 -0
- package/bundles/vscode-copilot/.github/copilot-instructions.md +8 -0
- package/bundles/vscode-copilot/.github/prompts/continue-development.prompt.md +32 -0
- package/bundles/vscode-copilot/.github/prompts/create-expo-super-stack.prompt.md +35 -0
- package/bundles/vscode-copilot/.github/prompts/fix-seo.prompt.md +34 -0
- package/bundles/vscode-copilot/.github/prompts/prepare-deploy.prompt.md +36 -0
- package/bundles/vscode-copilot/.github/prompts/project-research-plan.prompt.md +34 -0
- package/bundles/vscode-copilot/.github/prompts/review-expo-project.prompt.md +37 -0
- package/bundles/vscode-copilot/.github/prompts/run-doctor.prompt.md +37 -0
- package/bundles/vscode-copilot/.github/skills/api-routes/SKILL.md +38 -0
- package/bundles/vscode-copilot/.github/skills/continue-development/SKILL.md +37 -0
- package/bundles/vscode-copilot/.github/skills/debugging/SKILL.md +37 -0
- package/bundles/vscode-copilot/.github/skills/deployment/SKILL.md +37 -0
- package/bundles/vscode-copilot/.github/skills/dev-server-management/SKILL.md +37 -0
- package/bundles/vscode-copilot/.github/skills/env-vars/SKILL.md +37 -0
- package/bundles/vscode-copilot/.github/skills/expo-router-architecture/SKILL.md +38 -0
- package/bundles/vscode-copilot/.github/skills/expo-ssr-safety/SKILL.md +37 -0
- package/bundles/vscode-copilot/.github/skills/plugin-creation/SKILL.md +46 -0
- package/bundles/vscode-copilot/.github/skills/production-server-patterns/SKILL.md +36 -0
- package/bundles/vscode-copilot/.github/skills/project-onboarding/SKILL.md +36 -0
- package/bundles/vscode-copilot/.github/skills/research-plan-intake/SKILL.md +37 -0
- package/bundles/vscode-copilot/.github/skills/seo-metadata/SKILL.md +36 -0
- package/bundles/vscode-copilot/.github/skills/super-stack-startup/SKILL.md +39 -0
- package/bundles/vscode-copilot/.github/skills/uniwind-theming/SKILL.md +37 -0
- package/bundles/vscode-copilot/.vscode/mcp.json +11 -0
- package/bundles/vscode-copilot/.vscode/settings.json +14 -0
- package/bundles/vscode-copilot/README.md +32 -0
- package/bundles/vscode-copilot/user/.copilot/agents/mds.agent.md +22 -0
- package/bundles/vscode-copilot/user/.copilot/instructions.md +8 -0
- package/bundles/vscode-copilot/user/.copilot/skills/api-routes/SKILL.md +38 -0
- package/bundles/vscode-copilot/user/.copilot/skills/continue-development/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/debugging/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/deployment/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/dev-server-management/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/env-vars/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/expo-router-architecture/SKILL.md +38 -0
- package/bundles/vscode-copilot/user/.copilot/skills/expo-ssr-safety/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/plugin-creation/SKILL.md +46 -0
- package/bundles/vscode-copilot/user/.copilot/skills/production-server-patterns/SKILL.md +36 -0
- package/bundles/vscode-copilot/user/.copilot/skills/project-onboarding/SKILL.md +36 -0
- package/bundles/vscode-copilot/user/.copilot/skills/research-plan-intake/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/seo-metadata/SKILL.md +36 -0
- package/bundles/vscode-copilot/user/.copilot/skills/super-stack-startup/SKILL.md +39 -0
- package/bundles/vscode-copilot/user/.copilot/skills/uniwind-theming/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/workflow-continue-development/SKILL.md +32 -0
- package/bundles/vscode-copilot/user/.copilot/skills/workflow-create-expo-super-stack/SKILL.md +35 -0
- package/bundles/vscode-copilot/user/.copilot/skills/workflow-fix-seo/SKILL.md +34 -0
- package/bundles/vscode-copilot/user/.copilot/skills/workflow-prepare-deploy/SKILL.md +36 -0
- package/bundles/vscode-copilot/user/.copilot/skills/workflow-project-research-plan/SKILL.md +34 -0
- package/bundles/vscode-copilot/user/.copilot/skills/workflow-review-expo-project/SKILL.md +37 -0
- package/bundles/vscode-copilot/user/.copilot/skills/workflow-run-doctor/SKILL.md +37 -0
- package/dist/cli.js +2 -2
- package/dist/cli.js.map +1 -1
- package/dist/commands/agent.d.ts.map +1 -1
- package/dist/commands/agent.js +26 -12
- package/dist/commands/agent.js.map +1 -1
- package/dist/commands/mcp-install.d.ts +2 -2
- package/dist/commands/mcp-install.d.ts.map +1 -1
- package/dist/commands/mcp-install.js +7 -7
- package/dist/commands/mcp-install.js.map +1 -1
- package/dist/commands/onboard.d.ts +2 -2
- package/dist/commands/onboard.d.ts.map +1 -1
- package/dist/commands/onboard.js +4 -4
- package/dist/commands/onboard.js.map +1 -1
- package/package.json +66 -64
- package/templates/project/guidelines.md +88 -88
package/package.json
CHANGED
|
@@ -1,64 +1,66 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@mr.dj2u/cli",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"description": "CLI entry point for mds commands (doctor, onboard, test-and-iterate)",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"bin": {
|
|
7
|
-
"mds": "
|
|
8
|
-
},
|
|
9
|
-
"files": [
|
|
10
|
-
"dist",
|
|
11
|
-
"templates"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"lint
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"@
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@mr.dj2u/cli",
|
|
3
|
+
"version": "0.1.2",
|
|
4
|
+
"description": "CLI entry point for mds commands (doctor, onboard, test-and-iterate)",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"bin": {
|
|
7
|
+
"mds": "dist/cli.js"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"templates",
|
|
12
|
+
"bundles"
|
|
13
|
+
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": "./dist/cli.js",
|
|
17
|
+
"types": "./dist/cli.d.ts"
|
|
18
|
+
},
|
|
19
|
+
"./project-memory": {
|
|
20
|
+
"import": "./dist/project-memory.js",
|
|
21
|
+
"types": "./dist/project-memory.d.ts"
|
|
22
|
+
},
|
|
23
|
+
"./onboarding": {
|
|
24
|
+
"import": "./dist/commands/onboard.js",
|
|
25
|
+
"types": "./dist/commands/onboard.d.ts"
|
|
26
|
+
},
|
|
27
|
+
"./continue": {
|
|
28
|
+
"import": "./dist/continue.js",
|
|
29
|
+
"types": "./dist/continue.d.ts"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"main": "./dist/cli.js",
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "tsc",
|
|
35
|
+
"type-check": "tsc --noEmit",
|
|
36
|
+
"lint": "eslint src",
|
|
37
|
+
"lint:fix": "eslint src --fix",
|
|
38
|
+
"test": "vitest run --passWithNoTests",
|
|
39
|
+
"prepack": "node ./scripts/copy-agent-bundles.mjs && node ../../scripts/verify-publish-manifest.mjs .",
|
|
40
|
+
"dev": "tsc --watch",
|
|
41
|
+
"clean": "node -e \"const fs=require('node:fs'); for (const p of ['dist','tsconfig.tsbuildinfo']) fs.rmSync(p,{recursive:true,force:true});\""
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"@clack/prompts": "^0.11.0",
|
|
45
|
+
"@mr.dj2u/doctor": "^0.1.1",
|
|
46
|
+
"@mr.dj2u/knowledge": "^0.1.1",
|
|
47
|
+
"chalk": "^5.3.0",
|
|
48
|
+
"yargs": "^17.7.2"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@types/node": "^20.10.0",
|
|
52
|
+
"@types/yargs": "^17.0.24",
|
|
53
|
+
"typescript": "^5.9.0"
|
|
54
|
+
},
|
|
55
|
+
"keywords": [
|
|
56
|
+
"expo",
|
|
57
|
+
"cli",
|
|
58
|
+
"doctor",
|
|
59
|
+
"onboarding"
|
|
60
|
+
],
|
|
61
|
+
"author": "DJ",
|
|
62
|
+
"license": "MIT",
|
|
63
|
+
"publishConfig": {
|
|
64
|
+
"access": "public"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -1,88 +1,88 @@
|
|
|
1
|
-
# {{appName}} Guidelines
|
|
2
|
-
|
|
3
|
-
## MDS Template Baseline
|
|
4
|
-
|
|
5
|
-
This file was copied from the bundled MDS `guidelines.md` template. Customize
|
|
6
|
-
it for the app before treating it as final.
|
|
7
|
-
|
|
8
|
-
## Source Of Truth
|
|
9
|
-
|
|
10
|
-
- The `project/` folder is the golden source of truth for product intent,
|
|
11
|
-
roadmap, visual style, and technical rules.
|
|
12
|
-
- Agents and contributors must read `project/info.md`, `project/todo.md`,
|
|
13
|
-
`project/style.md`, and this file before making product or architecture
|
|
14
|
-
changes.
|
|
15
|
-
- Never make a change that conflicts with the project memory files unless the
|
|
16
|
-
user explicitly updates them first.
|
|
17
|
-
|
|
18
|
-
## TodoForContext Markers Block Onboarding
|
|
19
|
-
|
|
20
|
-
- The string `# TodoForContext(optional):` marks sections the user has not
|
|
21
|
-
yet decided about.
|
|
22
|
-
- Before agentic intake, planning, or scaffolding, scan every `project/`
|
|
23
|
-
file for this marker.
|
|
24
|
-
- If any marker is present: stop, list each file and line, and tell the
|
|
25
|
-
user to fill the section underneath OR delete the marker line to
|
|
26
|
-
acknowledge they do not want to add that context.
|
|
27
|
-
- Only proceed when zero markers remain. `mds doctor` also surfaces this
|
|
28
|
-
as
|
|
29
|
-
|
|
30
|
-
## Product Context
|
|
31
|
-
|
|
32
|
-
- Audience: {{audience}}
|
|
33
|
-
- Core flows: {{coreFlows}}
|
|
34
|
-
- Data needs: {{dataNeeds}}
|
|
35
|
-
- Deployment target: {{deploymentTarget}}
|
|
36
|
-
- Target platforms:
|
|
37
|
-
{{targetPlatforms}}
|
|
38
|
-
- First MVP platform: {{firstTargetPlatform}}
|
|
39
|
-
- Expo Router app directory: {{appDirectory}}
|
|
40
|
-
- Platform-specific organization: {{platformFileStrategy}}
|
|
41
|
-
- Platform layout mode: {{platformLayoutMode}}
|
|
42
|
-
- Web output: {{webOutput}}
|
|
43
|
-
- Deployed server: {{deployedServer}}
|
|
44
|
-
- Latest Expo SDK preference: {{useLatestExpoSdk}}
|
|
45
|
-
- Advanced package setup: {{advancedPackageSetup}}
|
|
46
|
-
- Create Expo starter components: {{includeCreateExpoComponents}}
|
|
47
|
-
- Expo UI: {{usesExpoUi}}
|
|
48
|
-
- Expo Native Tabs: {{usesExpoNativeTabs}}
|
|
49
|
-
- Data start: {{dataStart}}
|
|
50
|
-
- Test-to-main safeguards: {{testToMainSafeguards}}
|
|
51
|
-
- EAS usage:
|
|
52
|
-
{{easUses}}
|
|
53
|
-
|
|
54
|
-
## Expo Architecture
|
|
55
|
-
|
|
56
|
-
- Keep Expo Router route files thin; route files should import feature screens
|
|
57
|
-
or layouts.
|
|
58
|
-
- Put reusable business logic in `src/features`, `src/services`, `src/data`, or
|
|
59
|
-
shared hooks.
|
|
60
|
-
- Keep Expo Router routes in {{appDirectory}} unless project memory changes.
|
|
61
|
-
- Use {{platformLayoutMode}} for selected platform shells.
|
|
62
|
-
- Prefer Uniwind with Tailwind v4 for new styling work.
|
|
63
|
-
- Use Zustand only when state is shared across screens or features.
|
|
64
|
-
- Keep private environment variables server-side and never expose secrets with
|
|
65
|
-
`EXPO_PUBLIC_`.
|
|
66
|
-
|
|
67
|
-
## Default Package Support
|
|
68
|
-
|
|
69
|
-
- Software Mansion core support starts with Reanimated/Worklets, Gesture
|
|
70
|
-
Handler, Screens, SVG, and Keyboard Controller.
|
|
71
|
-
- Use the temporary `/exposition` pages to decide which package examples should
|
|
72
|
-
stay, be replaced, or be removed.
|
|
73
|
-
- Use `react-native-keyboard-controller` for real keyboard-heavy flows instead
|
|
74
|
-
of piling up manual keyboard offsets.
|
|
75
|
-
- Use Reanimated for meaningful motion, but avoid expensive animation loops in
|
|
76
|
-
long lists.
|
|
77
|
-
|
|
78
|
-
## Workflow
|
|
79
|
-
|
|
80
|
-
- Run `mds doctor --ci` before pushing.
|
|
81
|
-
- Use `mds clear-expo-start` when Metro or server ports get wedged.
|
|
82
|
-
- When enabled, develop through feature branches into `test`, then promote
|
|
83
|
-
validated work from `test` to `main`.
|
|
84
|
-
- Treat monorepo scaffolding as future work until the single-app MVP is stable.
|
|
85
|
-
|
|
86
|
-
## Selected Defaults
|
|
87
|
-
|
|
88
|
-
{{defaults}}
|
|
1
|
+
# {{appName}} Guidelines
|
|
2
|
+
|
|
3
|
+
## MDS Template Baseline
|
|
4
|
+
|
|
5
|
+
This file was copied from the bundled MDS `guidelines.md` template. Customize
|
|
6
|
+
it for the app before treating it as final.
|
|
7
|
+
|
|
8
|
+
## Source Of Truth
|
|
9
|
+
|
|
10
|
+
- The `project/` folder is the golden source of truth for product intent,
|
|
11
|
+
roadmap, visual style, and technical rules.
|
|
12
|
+
- Agents and contributors must read `project/info.md`, `project/todo.md`,
|
|
13
|
+
`project/style.md`, and this file before making product or architecture
|
|
14
|
+
changes.
|
|
15
|
+
- Never make a change that conflicts with the project memory files unless the
|
|
16
|
+
user explicitly updates them first.
|
|
17
|
+
|
|
18
|
+
## TodoForContext Markers Block Onboarding
|
|
19
|
+
|
|
20
|
+
- The string `# TodoForContext(optional):` marks sections the user has not
|
|
21
|
+
yet decided about.
|
|
22
|
+
- Before agentic intake, planning, or scaffolding, scan every `project/`
|
|
23
|
+
file for this marker.
|
|
24
|
+
- If any marker is present: stop, list each file and line, and tell the
|
|
25
|
+
user to fill the section underneath OR delete the marker line to
|
|
26
|
+
acknowledge they do not want to add that context.
|
|
27
|
+
- Only proceed when zero markers remain. `mds doctor` also surfaces this
|
|
28
|
+
as an error that blocks CI.
|
|
29
|
+
|
|
30
|
+
## Product Context
|
|
31
|
+
|
|
32
|
+
- Audience: {{audience}}
|
|
33
|
+
- Core flows: {{coreFlows}}
|
|
34
|
+
- Data needs: {{dataNeeds}}
|
|
35
|
+
- Deployment target: {{deploymentTarget}}
|
|
36
|
+
- Target platforms:
|
|
37
|
+
{{targetPlatforms}}
|
|
38
|
+
- First MVP platform: {{firstTargetPlatform}}
|
|
39
|
+
- Expo Router app directory: {{appDirectory}}
|
|
40
|
+
- Platform-specific organization: {{platformFileStrategy}}
|
|
41
|
+
- Platform layout mode: {{platformLayoutMode}}
|
|
42
|
+
- Web output: {{webOutput}}
|
|
43
|
+
- Deployed server: {{deployedServer}}
|
|
44
|
+
- Latest Expo SDK preference: {{useLatestExpoSdk}}
|
|
45
|
+
- Advanced package setup: {{advancedPackageSetup}}
|
|
46
|
+
- Create Expo starter components: {{includeCreateExpoComponents}}
|
|
47
|
+
- Expo UI: {{usesExpoUi}}
|
|
48
|
+
- Expo Native Tabs: {{usesExpoNativeTabs}}
|
|
49
|
+
- Data start: {{dataStart}}
|
|
50
|
+
- Test-to-main safeguards: {{testToMainSafeguards}}
|
|
51
|
+
- EAS usage:
|
|
52
|
+
{{easUses}}
|
|
53
|
+
|
|
54
|
+
## Expo Architecture
|
|
55
|
+
|
|
56
|
+
- Keep Expo Router route files thin; route files should import feature screens
|
|
57
|
+
or layouts.
|
|
58
|
+
- Put reusable business logic in `src/features`, `src/services`, `src/data`, or
|
|
59
|
+
shared hooks.
|
|
60
|
+
- Keep Expo Router routes in {{appDirectory}} unless project memory changes.
|
|
61
|
+
- Use {{platformLayoutMode}} for selected platform shells.
|
|
62
|
+
- Prefer Uniwind with Tailwind v4 for new styling work.
|
|
63
|
+
- Use Zustand only when state is shared across screens or features.
|
|
64
|
+
- Keep private environment variables server-side and never expose secrets with
|
|
65
|
+
`EXPO_PUBLIC_`.
|
|
66
|
+
|
|
67
|
+
## Default Package Support
|
|
68
|
+
|
|
69
|
+
- Software Mansion core support starts with Reanimated/Worklets, Gesture
|
|
70
|
+
Handler, Screens, SVG, and Keyboard Controller.
|
|
71
|
+
- Use the temporary `/exposition` pages to decide which package examples should
|
|
72
|
+
stay, be replaced, or be removed.
|
|
73
|
+
- Use `react-native-keyboard-controller` for real keyboard-heavy flows instead
|
|
74
|
+
of piling up manual keyboard offsets.
|
|
75
|
+
- Use Reanimated for meaningful motion, but avoid expensive animation loops in
|
|
76
|
+
long lists.
|
|
77
|
+
|
|
78
|
+
## Workflow
|
|
79
|
+
|
|
80
|
+
- Run `mds doctor --ci` before pushing.
|
|
81
|
+
- Use `mds clear-expo-start` when Metro or server ports get wedged.
|
|
82
|
+
- When enabled, develop through feature branches into `test`, then promote
|
|
83
|
+
validated work from `test` to `main`.
|
|
84
|
+
- Treat monorepo scaffolding as future work until the single-app MVP is stable.
|
|
85
|
+
|
|
86
|
+
## Selected Defaults
|
|
87
|
+
|
|
88
|
+
{{defaults}}
|