oneie 3.6.7 → 3.6.12
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/.claude/agents/agent-backend.md +83 -0
- package/.claude/agents/agent-designer.md +97 -0
- package/.claude/agents/agent-director.md +118 -7
- package/.claude/agents/agent-documenter.md +93 -0
- package/.claude/agents/agent-frontend.md +96 -0
- package/.claude/agents/agent-ops.md +264 -32
- package/.claude/agents/agent-problem-solver.md +166 -0
- package/.claude/agents/agent-quality.md +127 -0
- package/.claude/commands/build.md +293 -0
- package/.claude/commands/cascade.md +231 -127
- package/.claude/commands/deploy.md +56 -17
- package/.claude/commands/mcp-toggle.md +93 -0
- package/.claude/commands/one.md +78 -127
- package/.claude/commands/plan.md +394 -80
- package/.claude/commands/push.md +75 -14
- package/.claude/commands/release.md +89 -25
- package/.claude/commands/server.md +2 -0
- package/.claude/hooks/__pycache__/todo.cpython-313.pyc +0 -0
- package/.claude/hooks/root-cleanup.py +75 -0
- package/.claude/skills/INDEX.md +523 -0
- package/.claude/skills/REGISTRY.md +529 -0
- package/.claude/skills/agent-backend-create-mutation.md +319 -0
- package/.claude/skills/agent-designer-create-wireframe.md +341 -0
- package/.claude/skills/agent-frontend-create-page.md +413 -0
- package/.claude/skills/agents/README.md +238 -0
- package/dist/clone-web.js +1 -1
- package/dist/clone-web.js.map +1 -1
- package/folders.yaml +1 -1
- package/one/.obsidian/workspace.json +38 -38
- package/one/connections/api/queries-reference.md +842 -0
- package/one/connections/api-reference.md +1011 -0
- package/one/connections/integration-examples.md +875 -0
- package/one/connections/integration-guide.md +869 -0
- package/one/connections/integration-phase2.md +736 -0
- package/one/events/API_ROUTES_FIXES_SUMMARY.md +262 -0
- package/one/events/ASTRO-INTEGRATION-EXAMPLES.md +636 -0
- package/one/events/BEFORE_AFTER_COMPARISON.md +960 -0
- package/one/events/CONNECTIONS_DEMO.md +501 -0
- package/one/events/DELIVERABLES.md +432 -0
- package/one/events/DEMO-GROUPS-PAGE.md +392 -0
- package/one/events/DEMO-TESTING-SUMMARY.md +518 -0
- package/one/events/DEMO_COMPONENTS.md +487 -0
- package/one/events/DEMO_HOOKS_INDEX.md +334 -0
- package/one/events/DEMO_INFRASTRUCTURE.md +905 -0
- package/one/events/DEMO_INFRASTRUCTURE_SUMMARY.md +570 -0
- package/one/events/DEMO_INTEGRATION_CHECKLIST.md +431 -0
- package/one/events/DEMO_QUICK_REFERENCE.md +441 -0
- package/one/events/DEMO_SETUP.md +476 -0
- package/one/events/EFFECT_TS_API_PATTERN.md +478 -0
- package/one/events/GROUPS_DEMO_IMPLEMENTATION.md +414 -0
- package/one/events/HOOKS-DEMO.md +441 -0
- package/one/events/ONTOLOGY-HOOKS-README.md +700 -0
- package/one/events/ONTOLOGY-INTEGRATION-MANIFEST.md +365 -0
- package/one/events/QA-CHECKLIST.md +674 -0
- package/one/events/QUICK-START-ONTOLOGY.md +408 -0
- package/one/events/SEARCH_DEMO_CODE_REFERENCE.md +639 -0
- package/one/events/SEARCH_DEMO_DELIVERY.md +415 -0
- package/one/events/SEARCH_DEMO_SUMMARY.md +303 -0
- package/one/events/SEARCH_DEMO_VISUAL_GUIDE.md +381 -0
- package/one/events/TEST-PLAN-INDEX.md +346 -0
- package/one/events/TEST-PLAN.md +1417 -0
- package/one/events/TESTING-DELIVERY.txt +372 -0
- package/one/events/TRANSITIONS-QUICK-START.md +141 -0
- package/one/events/TYPESCRIPT_FIXES.md +152 -0
- package/one/events/TYPESCRIPT_FIXES_COMPLETE.txt +412 -0
- package/one/events/TYPESCRIPT_FIXES_INDEX.md +341 -0
- package/one/events/VIEW-TRANSITIONS.md +428 -0
- package/one/events/backend-integration-tests.md +606 -0
- package/one/events/backend-structure-diagram.txt +393 -0
- package/one/events/backend-structure-summary.txt +269 -0
- package/one/events/cloudflare-pages-infrastructure-setup.md +264 -0
- package/one/events/convex-analysis-index.md +304 -0
- package/one/events/convex-structure-analysis.md +700 -0
- package/one/events/design-spec-complete.md +208 -0
- package/one/events/ontology-test-examples.md +562 -0
- package/one/events/phase1-backend-implementation-complete.md +518 -0
- package/one/events/test-dashboard.md +345 -0
- package/one/events/test-index.md +361 -0
- package/one/events/test-report-ontology.md +582 -0
- package/one/events/testing-summary.md +344 -0
- package/one/groups/features.md +2878 -0
- package/one/groups/strategy copy.md +869 -0
- package/one/knowledge/backend-api-reference.md +710 -0
- package/one/knowledge/documentation-summary.md +285 -0
- package/one/knowledge/lessons-learned.md +294 -4
- package/one/knowledge/ontology-visual-guide.md +360 -0
- package/one/knowledge/ontology.md +9 -17
- package/one/things/demo-accessibility-animations.md +999 -0
- package/one/things/demo-components.md +1304 -0
- package/one/things/demo-design-summary.md +629 -0
- package/one/things/demo-design-system.md +919 -0
- package/one/things/demo-page-layouts.md +989 -0
- package/one/things/designs/accessibility-audit.md +790 -0
- package/one/things/designs/component-specifications.md +757 -0
- package/one/things/designs/design-overview.md +318 -0
- package/one/things/designs/design-tokens.md +414 -0
- package/one/things/designs/wireframes-dashboard.md +653 -0
- package/one/things/docs/api-requests.md +923 -0
- package/one/things/features/0 All Features.md +2 -0
- package/one/things/implementation/backend-guide.md +412 -0
- package/one/things/plans/2-backend-agnostic-frontend.md +11 -8
- package/one/things/plans/2-sites.md +895 -0
- package/one/things/plans/ai-elements.md +1259 -0
- package/one/things/plans/ai-integration.md +947 -0
- package/one/things/plans/ai-sdk.md +761 -0
- package/one/things/plans/app.md +1 -1
- package/one/things/plans/architecture-summary.md +283 -0
- package/one/things/plans/async-ai-agents.md +215 -0
- package/one/things/plans/backend-agnostic-frontend.md +11 -6
- package/one/things/plans/backend-cleanup-quickstart.md +346 -0
- package/one/things/plans/backend-ontology-conformance.md +416 -0
- package/one/things/plans/backend-status.md +541 -0
- package/one/things/plans/backend-structure.md +799 -0
- package/one/things/plans/backend-target-structure.md +438 -0
- package/one/things/plans/backend.md +1133 -0
- package/one/things/plans/better-auth-any-backend.md +11 -11
- package/one/things/plans/cli-updates-required.md +280 -0
- package/one/things/plans/complete-step-by-step.md +1302 -0
- package/one/things/plans/convex-agents.md +1005 -0
- package/one/things/plans/deployment-architecture.md +426 -0
- package/one/things/plans/development-plan.md +1220 -0
- package/one/things/plans/effect.md +808 -48
- package/one/things/plans/integrate-frontend-and-backend.md +579 -0
- package/one/things/plans/mcp-clear-context-prompt.md +60 -0
- package/one/things/plans/mcp-simple.md +228 -0
- package/one/things/plans/one.md +8 -7
- package/one/things/plans/ontology-6-dimensions.md +20 -14
- package/one/things/plans/quick-wins.md +1273 -0
- package/one/things/plans/readme-backend-cleanup.md +361 -0
- package/one/things/plans/separate-demo.md +830 -0
- package/one/things/plans/separate.md +3 -3
- package/one/things/plans/sequence.md +1897 -0
- package/one/things/plans/sync-checklist.md +321 -0
- package/one/things/plans/unified-implementation-plan.md +3 -3
- package/one/things/plans/update-demos.md +513 -0
- package/package.json +1 -1
- package/.claude/agents/backend-specialist.md +0 -169
- package/.claude/agents/designer.md +0 -216
- package/.claude/agents/frontend-specialist.md +0 -236
- package/.claude/commands/done.md +0 -35
- package/.claude/commands/infer.md +0 -138
- package/.claude/commands/next.md +0 -53
- package/.claude/commands/one copy.md +0 -565
- package/.claude/commands/one-template.md +0 -106
- package/.claude/commands/one-v1.md +0 -609
- package/.claude/hooks/__pycache__/knowledge-post.cpython-313.pyc +0 -0
- package/.claude/hooks/__pycache__/knowledge-pre.cpython-313.pyc +0 -0
- package/one/groups/nine-padel-customers.md +0 -138
- package/one/groups/nine-padel-data-structure.md +0 -167
- package/one/groups/nine-padel-ontology-specification.md +0 -359
- package/one/groups/nine-padel-ontology.md +0 -143
- package/one/groups/nine-padel-strategy.md +0 -234
- package/one/groups/nine-padel.md +0 -211
- package/one/groups/nine-padle-contents.baked.md +0 -1252
- package/one/groups/nine-padle-contents.md +0 -6
- package/one/things/features/1-1-agent-prompts/design.md +0 -470
- package/one/things/features/1-1-agent-prompts/tests.md +0 -264
- package/one/things/features/1-2-yaml-orchestrator/design.md +0 -497
- package/one/things/features/1-2-yaml-orchestrator/tests.md +0 -227
- package/one/things/features/1-3-event-coordination/design.md +0 -544
- package/one/things/features/1-3-event-coordination/tests.md +0 -223
- package/one/things/features/1-4-knowledge-management/design.md +0 -609
- package/one/things/features/1-4-knowledge-management/tests.md +0 -195
- package/one/things/features/1-5-quality-loops/design.md +0 -797
- package/one/things/features/1-5-quality-loops/tests.md +0 -212
- package/one/things/features/1-6-numbering-structure/design.md +0 -610
- package/one/things/features/1-6-numbering-structure/tests.md +0 -213
- package/one/things/features/dataprovider-interface/1-tests.md +0 -1522
package/.claude/commands/push.md
CHANGED
|
@@ -2,10 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
**Purpose:** Intelligently commit and push changes to all ONE Platform repositories with contextual commit messages.
|
|
4
4
|
|
|
5
|
+
## Two-Site Architecture
|
|
6
|
+
|
|
7
|
+
**CRITICAL:** ONE Platform uses a two-site architecture:
|
|
8
|
+
|
|
9
|
+
- **oneie/** - Production site (source of truth) → `github.com/one-ie/oneie`
|
|
10
|
+
- **web/** - Starter template (AUTO-GENERATED) → `github.com/one-ie/web`
|
|
11
|
+
|
|
12
|
+
**Golden Rule:** NEVER edit web/ directly. It is generated from oneie/ via:
|
|
13
|
+
```bash
|
|
14
|
+
cd oneie && bun run build:starter
|
|
15
|
+
```
|
|
16
|
+
|
|
5
17
|
## How It Works
|
|
6
18
|
|
|
7
|
-
This command analyzes changes across the
|
|
8
|
-
- `/
|
|
19
|
+
This command analyzes changes across the repositories and pushes to:
|
|
20
|
+
- `/oneie` → `github.com/one-ie/oneie` (production site)
|
|
21
|
+
- `/web` → `github.com/one-ie/web` (auto-generated starter)
|
|
9
22
|
- `/cli` → `github.com/one-ie/cli`
|
|
10
23
|
- `/one` → `github.com/one-ie/one-ontology`
|
|
11
24
|
- `/apps/one` → `github.com/one-ie/one` (assembly repository)
|
|
@@ -19,7 +32,10 @@ When the user runs `/push`, you MUST:
|
|
|
19
32
|
Run git status in each directory to understand what changed:
|
|
20
33
|
|
|
21
34
|
```bash
|
|
22
|
-
# Check
|
|
35
|
+
# Check oneie changes (production site)
|
|
36
|
+
cd oneie && git status --short
|
|
37
|
+
|
|
38
|
+
# Check web changes (should be AUTO-GENERATED only)
|
|
23
39
|
cd web && git status --short
|
|
24
40
|
|
|
25
41
|
# Check cli changes
|
|
@@ -32,6 +48,8 @@ cd one && git status --short
|
|
|
32
48
|
cd apps/one && git status --short
|
|
33
49
|
```
|
|
34
50
|
|
|
51
|
+
**IMPORTANT:** If web/ has changes, ensure oneie/ was developed first and `bun run build:starter` was run.
|
|
52
|
+
|
|
35
53
|
### Step 2: Generate Contextual Commit Messages
|
|
36
54
|
|
|
37
55
|
Based on the changes detected, create commit messages following this structure:
|
|
@@ -62,14 +80,14 @@ Co-Authored-By: Claude <noreply@anthropic.com>
|
|
|
62
80
|
|
|
63
81
|
For each repository with changes:
|
|
64
82
|
|
|
65
|
-
**
|
|
83
|
+
**Production Site Repository (oneie):**
|
|
66
84
|
```bash
|
|
67
|
-
cd
|
|
85
|
+
cd oneie
|
|
68
86
|
git add .
|
|
69
87
|
git commit -m "$(cat <<'EOF'
|
|
70
88
|
<type>: <description>
|
|
71
89
|
|
|
72
|
-
<detailed explanation of
|
|
90
|
+
<detailed explanation of production site changes>
|
|
73
91
|
|
|
74
92
|
Changes:
|
|
75
93
|
- Updated component X with Y
|
|
@@ -84,6 +102,27 @@ EOF
|
|
|
84
102
|
git push origin main
|
|
85
103
|
```
|
|
86
104
|
|
|
105
|
+
**Starter Template Repository (web - AUTO-GENERATED):**
|
|
106
|
+
```bash
|
|
107
|
+
cd web
|
|
108
|
+
git add .
|
|
109
|
+
git commit -m "$(cat <<'EOF'
|
|
110
|
+
chore: regenerate starter template from oneie
|
|
111
|
+
|
|
112
|
+
Auto-generated from oneie/ production site.
|
|
113
|
+
|
|
114
|
+
⚠️ This repository is AUTO-GENERATED. Do not edit directly.
|
|
115
|
+
|
|
116
|
+
Generated via: cd oneie && bun run build:starter
|
|
117
|
+
|
|
118
|
+
🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
|
119
|
+
|
|
120
|
+
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
121
|
+
EOF
|
|
122
|
+
)"
|
|
123
|
+
git push origin main
|
|
124
|
+
```
|
|
125
|
+
|
|
87
126
|
**CLI Repository:**
|
|
88
127
|
```bash
|
|
89
128
|
cd cli
|
|
@@ -156,14 +195,18 @@ Analyze the actual file changes to craft meaningful messages:
|
|
|
156
195
|
|
|
157
196
|
**Example Analysis:**
|
|
158
197
|
```bash
|
|
159
|
-
# For
|
|
160
|
-
git diff --stat
|
|
198
|
+
# For oneie changes (production site)
|
|
199
|
+
git diff --stat oneie/
|
|
161
200
|
|
|
162
201
|
# Look for patterns:
|
|
163
202
|
# - src/pages/*.astro → "page updates"
|
|
164
203
|
# - src/components/*.tsx → "component changes"
|
|
165
204
|
# - src/styles/*.css → "styling updates"
|
|
166
205
|
# - package.json → "dependency updates"
|
|
206
|
+
# - scripts/generate-starter.sh → "transform script updates"
|
|
207
|
+
|
|
208
|
+
# For web changes (should always be "regenerated from oneie")
|
|
209
|
+
git diff --stat web/
|
|
167
210
|
```
|
|
168
211
|
|
|
169
212
|
**Example Smart Messages:**
|
|
@@ -234,7 +277,10 @@ After pushing, provide a clear summary:
|
|
|
234
277
|
✅ Multi-Repository Push Complete!
|
|
235
278
|
|
|
236
279
|
📦 Repositories Updated:
|
|
237
|
-
-
|
|
280
|
+
- oneie: feat: add hierarchical group navigation (production site)
|
|
281
|
+
→ https://github.com/one-ie/oneie/commit/<hash>
|
|
282
|
+
|
|
283
|
+
- web: chore: regenerate starter template from oneie (AUTO-GENERATED)
|
|
238
284
|
→ https://github.com/one-ie/web/commit/<hash>
|
|
239
285
|
|
|
240
286
|
- cli: fix: resolve TypeScript errors in init command
|
|
@@ -246,9 +292,13 @@ After pushing, provide a clear summary:
|
|
|
246
292
|
- apps/one: chore: sync assembly repository
|
|
247
293
|
→ https://github.com/one-ie/one/commit/<hash>
|
|
248
294
|
|
|
249
|
-
🔗 Total commits:
|
|
295
|
+
🔗 Total commits: 5
|
|
250
296
|
⏱️ Time: ~30 seconds
|
|
251
297
|
|
|
298
|
+
Architecture:
|
|
299
|
+
- oneie/ → one.ie (source of truth)
|
|
300
|
+
- web/ → web.one.ie (generated)
|
|
301
|
+
|
|
252
302
|
Next Steps:
|
|
253
303
|
- Monitor CI/CD pipelines
|
|
254
304
|
- Review commit history on GitHub
|
|
@@ -262,8 +312,11 @@ Next Steps:
|
|
|
262
312
|
If only one repository has changes, only push that one:
|
|
263
313
|
|
|
264
314
|
```bash
|
|
315
|
+
# User: /push oneie
|
|
316
|
+
# → Only push production site repository
|
|
317
|
+
|
|
265
318
|
# User: /push web
|
|
266
|
-
# → Only push
|
|
319
|
+
# → Only push starter template (must be regenerated first!)
|
|
267
320
|
|
|
268
321
|
# User: /push cli one
|
|
269
322
|
# → Push both cli and one repositories
|
|
@@ -419,12 +472,20 @@ Would commit and push:
|
|
|
419
472
|
## Integration with /release
|
|
420
473
|
|
|
421
474
|
The `/push` command is complementary to `/release`:
|
|
422
|
-
- Use `/push` for regular development commits
|
|
475
|
+
- Use `/push` for regular development commits (oneie/ → web/)
|
|
423
476
|
- Use `/release` for versioned releases with deployment
|
|
424
477
|
|
|
478
|
+
**Two-Site Workflow:**
|
|
425
479
|
```
|
|
426
|
-
Development
|
|
427
|
-
|
|
480
|
+
Development:
|
|
481
|
+
1. Edit oneie/ (production site)
|
|
482
|
+
2. Run: cd oneie && bun run build:starter
|
|
483
|
+
3. Run: /push (commits both oneie/ and web/)
|
|
484
|
+
|
|
485
|
+
Release:
|
|
486
|
+
1. Complete development cycle
|
|
487
|
+
2. Run: /release patch
|
|
488
|
+
3. Deploys both sites to Cloudflare
|
|
428
489
|
```
|
|
429
490
|
|
|
430
491
|
---
|
|
@@ -18,6 +18,24 @@ This command **MUST** delegate to the `agent-ops` specialist agent, which has th
|
|
|
18
18
|
6. Cloudflare deployments (using CLOUDFLARE_GLOBAL_API_KEY)
|
|
19
19
|
7. Verification and reporting
|
|
20
20
|
|
|
21
|
+
## Two-Site Architecture
|
|
22
|
+
|
|
23
|
+
**CRITICAL:** ONE Platform uses a two-site architecture:
|
|
24
|
+
|
|
25
|
+
- **oneie/** - Production site (source of truth) deployed to https://one.ie
|
|
26
|
+
- **web/** - Starter template (AUTO-GENERATED) distributed via `npx oneie`
|
|
27
|
+
|
|
28
|
+
**Golden Rule:** NEVER edit web/ directly. It is generated from oneie/ via transform script.
|
|
29
|
+
|
|
30
|
+
**Workflow:**
|
|
31
|
+
```
|
|
32
|
+
oneie/ (edit here)
|
|
33
|
+
↓
|
|
34
|
+
bun run build:starter (generates)
|
|
35
|
+
↓
|
|
36
|
+
web/ (never edit)
|
|
37
|
+
```
|
|
38
|
+
|
|
21
39
|
## Release Types
|
|
22
40
|
|
|
23
41
|
- `/release patch` - Bug fixes (3.3.5 → 3.3.6)
|
|
@@ -56,77 +74,123 @@ IMPORTANT: The CLOUDFLARE_GLOBAL_API_KEY is set in .env and provides FULL ACCESS
|
|
|
56
74
|
3. If errors found, report to user and STOP
|
|
57
75
|
4. If warnings only, continue
|
|
58
76
|
|
|
59
|
-
### Step 2:
|
|
77
|
+
### Step 2: Generate Starter Template
|
|
78
|
+
1. Generate web/ from oneie/ source:
|
|
79
|
+
```bash
|
|
80
|
+
cd oneie
|
|
81
|
+
bun run build:starter
|
|
82
|
+
```
|
|
83
|
+
2. This runs `scripts/generate-starter.sh` which:
|
|
84
|
+
- Copies all files from oneie/ to web/
|
|
85
|
+
- Replaces homepage with simple 3-option template chooser
|
|
86
|
+
- Simplifies Sidebar.tsx to 2 navigation items (Stream, License)
|
|
87
|
+
- Reduces blog content to 1 example post
|
|
88
|
+
- Reduces products to 3 examples
|
|
89
|
+
- Updates package.json name to "oneie-starter"
|
|
90
|
+
- Creates AUTO-GENERATED warning in README.md
|
|
91
|
+
3. Commit generated web/ changes
|
|
92
|
+
|
|
93
|
+
### Step 3: Version Bump & Sync
|
|
60
94
|
1. Run `./scripts/release.sh [patch|minor|major]`
|
|
61
95
|
2. This will:
|
|
62
96
|
- Bump version in cli/package.json
|
|
63
|
-
- Sync 518+ files to
|
|
97
|
+
- Sync 518+ files to distribution repos:
|
|
64
98
|
- `/one/*` → `cli/one/` and `apps/one/one/`
|
|
65
99
|
- `/.claude/*` → `cli/.claude/` and `apps/one/one/.claude/`
|
|
66
|
-
- `/
|
|
100
|
+
- `/oneie/*` → `apps/oneie/` (production site)
|
|
101
|
+
- `/web/*` → `apps/one/web/` (starter template)
|
|
67
102
|
- `CLAUDE.md`, `README.md`, `LICENSE.md`, `SECURITY.md` → all targets
|
|
68
|
-
- `
|
|
69
|
-
- **AUTOMATICALLY** commit and push
|
|
103
|
+
- `oneie/AGENTS.md` → `apps/one/one/AGENTS.md`
|
|
104
|
+
- **AUTOMATICALLY** commit and push to GitHub repos:
|
|
105
|
+
- oneie/ → github.com/one-ie/oneie
|
|
106
|
+
- web/ → github.com/one-ie/web
|
|
70
107
|
- Show git status for review
|
|
71
108
|
3. When prompted for cli/ "Commit and push?", answer 'y'
|
|
72
109
|
4. When prompted "Create tag?", answer 'y'
|
|
73
110
|
|
|
74
|
-
### Step
|
|
111
|
+
### Step 4: npm Publish
|
|
75
112
|
1. `cd cli`
|
|
76
113
|
2. Run `npm publish --access public`
|
|
77
114
|
3. Wait for completion
|
|
78
115
|
4. Verify: `npm view oneie version`
|
|
79
116
|
5. Report new version to user
|
|
80
117
|
|
|
81
|
-
### Step
|
|
118
|
+
### Step 5: Build & Deploy to Cloudflare
|
|
119
|
+
|
|
120
|
+
**Two-Site Architecture:**
|
|
121
|
+
- **oneie/** → https://one.ie (Wrangler project: oneie) - Full production site
|
|
122
|
+
- **web/** → https://web.one.ie (Wrangler project: web) - Starter template
|
|
123
|
+
|
|
124
|
+
**Deployment Process:**
|
|
82
125
|
|
|
83
|
-
**
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
126
|
+
1. **Deploy Production Site (oneie/):**
|
|
127
|
+
```bash
|
|
128
|
+
cd oneie
|
|
129
|
+
bun run build
|
|
130
|
+
wrangler pages deploy dist --project-name=oneie
|
|
131
|
+
# Deployed to: https://one.ie
|
|
132
|
+
```
|
|
89
133
|
|
|
90
|
-
**
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
134
|
+
2. **Deploy Starter Template (web/):**
|
|
135
|
+
```bash
|
|
136
|
+
cd web
|
|
137
|
+
bun run build
|
|
138
|
+
wrangler pages deploy dist --project-name=web
|
|
139
|
+
# Deployed to: https://web.one.ie
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
**Automatic Mode (if CLOUDFLARE_GLOBAL_API_KEY is set):**
|
|
143
|
+
- Scripts automatically use global API key from `.env`
|
|
144
|
+
- Deploys via Cloudflare API without confirmation
|
|
145
|
+
- Shows deployment status and URLs
|
|
146
|
+
- **Zero manual intervention needed**
|
|
96
147
|
|
|
97
148
|
**Standalone Deployment:**
|
|
98
149
|
```bash
|
|
99
|
-
# Deploy
|
|
150
|
+
# Deploy production site (oneie)
|
|
151
|
+
scripts/cloudflare-deploy.sh deploy oneie oneie/dist production
|
|
152
|
+
|
|
153
|
+
# Deploy starter template (web)
|
|
100
154
|
scripts/cloudflare-deploy.sh deploy web web/dist production
|
|
101
155
|
|
|
102
156
|
# Check deployment status
|
|
157
|
+
scripts/cloudflare-deploy.sh status oneie
|
|
103
158
|
scripts/cloudflare-deploy.sh status web
|
|
104
159
|
|
|
105
160
|
# List recent deployments
|
|
161
|
+
scripts/cloudflare-deploy.sh list oneie 5
|
|
106
162
|
scripts/cloudflare-deploy.sh list web 5
|
|
107
163
|
```
|
|
108
164
|
|
|
109
|
-
### Step
|
|
165
|
+
### Step 6: Verification
|
|
110
166
|
1. Test npm package: `npx oneie@latest --version`
|
|
111
167
|
2. Report all live URLs:
|
|
112
168
|
- npm: https://www.npmjs.com/package/oneie
|
|
113
|
-
-
|
|
169
|
+
- Production Site: https://one.ie
|
|
170
|
+
- Starter Template: https://web.one.ie
|
|
171
|
+
- GitHub oneie: https://github.com/one-ie/oneie
|
|
172
|
+
- GitHub web: https://github.com/one-ie/web
|
|
114
173
|
- GitHub CLI: https://github.com/one-ie/cli
|
|
115
|
-
- GitHub One: https://github.com/one-ie/one
|
|
116
174
|
|
|
117
|
-
### Step
|
|
175
|
+
### Step 7: Summary Report
|
|
118
176
|
Provide a concise summary:
|
|
119
177
|
```
|
|
120
178
|
✅ Release v2.0.X Complete!
|
|
121
179
|
|
|
122
180
|
📦 npm: oneie@2.0.X (live)
|
|
123
|
-
🌐
|
|
181
|
+
🌐 Production: https://one.ie (deployed)
|
|
182
|
+
🎁 Starter: https://web.one.ie (deployed)
|
|
124
183
|
🏷️ GitHub: v2.0.X tagged
|
|
125
184
|
⏱️ Total time: ~X minutes
|
|
126
185
|
|
|
186
|
+
Architecture:
|
|
187
|
+
- oneie/ → one.ie (full production site)
|
|
188
|
+
- web/ → web.one.ie (auto-generated starter)
|
|
189
|
+
|
|
127
190
|
Next steps:
|
|
128
191
|
- Create GitHub releases
|
|
129
192
|
- Test installation: npx oneie@latest
|
|
193
|
+
- Test starter template: npx oneie init my-project
|
|
130
194
|
- Monitor for errors
|
|
131
195
|
```
|
|
132
196
|
|
|
Binary file
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""
|
|
3
|
+
Automatically move demo/deliverable markdown files from root to /one/events/
|
|
4
|
+
Keeps root clean with only essential documentation files.
|
|
5
|
+
"""
|
|
6
|
+
import os
|
|
7
|
+
import shutil
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
|
|
10
|
+
# Root directory
|
|
11
|
+
root_dir = Path("/Users/toc/Server/ONE")
|
|
12
|
+
|
|
13
|
+
# Files allowed to stay in root
|
|
14
|
+
ALLOWED_ROOT_FILES = {
|
|
15
|
+
"README.md",
|
|
16
|
+
"CLAUDE.md",
|
|
17
|
+
"LICENSE.md",
|
|
18
|
+
"SECURITY.md",
|
|
19
|
+
"AGENTS.md",
|
|
20
|
+
"release.md",
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
# Target directory for demo/deliverable files
|
|
24
|
+
events_dir = root_dir / "one" / "events"
|
|
25
|
+
events_dir.mkdir(parents=True, exist_ok=True)
|
|
26
|
+
|
|
27
|
+
# Find all markdown and text files in root that should be moved
|
|
28
|
+
files_moved = []
|
|
29
|
+
files_skipped = []
|
|
30
|
+
|
|
31
|
+
for file_path in root_dir.glob("*.md"):
|
|
32
|
+
filename = file_path.name
|
|
33
|
+
|
|
34
|
+
# Skip allowed files
|
|
35
|
+
if filename in ALLOWED_ROOT_FILES:
|
|
36
|
+
files_skipped.append(filename)
|
|
37
|
+
continue
|
|
38
|
+
|
|
39
|
+
# Move file to events
|
|
40
|
+
try:
|
|
41
|
+
dest = events_dir / filename
|
|
42
|
+
shutil.move(str(file_path), str(dest))
|
|
43
|
+
files_moved.append(filename)
|
|
44
|
+
except Exception as e:
|
|
45
|
+
print(f"❌ Failed to move {filename}: {e}")
|
|
46
|
+
|
|
47
|
+
# Also move .txt files that look like deliverables
|
|
48
|
+
for file_path in root_dir.glob("*.txt"):
|
|
49
|
+
filename = file_path.name
|
|
50
|
+
|
|
51
|
+
# Skip if it's a git-related file
|
|
52
|
+
if filename in {"package-lock.txt", ".gitignore"}:
|
|
53
|
+
continue
|
|
54
|
+
|
|
55
|
+
try:
|
|
56
|
+
dest = events_dir / filename
|
|
57
|
+
shutil.move(str(file_path), str(dest))
|
|
58
|
+
files_moved.append(filename)
|
|
59
|
+
except Exception as e:
|
|
60
|
+
print(f"❌ Failed to move {filename}: {e}")
|
|
61
|
+
|
|
62
|
+
# Report
|
|
63
|
+
if files_moved:
|
|
64
|
+
print(f"✅ Root cleanup complete!")
|
|
65
|
+
print(f" Moved {len(files_moved)} files to /one/events/:")
|
|
66
|
+
for f in sorted(files_moved):
|
|
67
|
+
print(f" • {f}")
|
|
68
|
+
print()
|
|
69
|
+
|
|
70
|
+
if files_skipped:
|
|
71
|
+
print(f"✅ Kept {len(files_skipped)} essential files in root:")
|
|
72
|
+
for f in sorted(files_skipped):
|
|
73
|
+
print(f" • {f}")
|
|
74
|
+
else:
|
|
75
|
+
print("✅ Root is clean - all essential files preserved!")
|