Skip to content

Commit c592cfc

Browse files
committed
Remove legacy exercise canonicalization and plan import scripts; migrate to new workout group structure
1 parent e3a50c3 commit c592cfc

7 files changed

Lines changed: 1 addition & 3183 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ src/
131131
| `yarn generate:types` | Regenerate `payload-types.ts` from collection configs |
132132
| `yarn generate:importmap` | Regenerate Payload admin import map (run after adding custom views) |
133133
| `yarn seed` | Seed database with demo data |
134-
| `yarn import:plan` | Import a training plan from JSON |
134+
| `yarn seed:export` | Export current database state to seed file |
135135
| `yarn lint` | Run ESLint |
136136
| `yarn install-skills` | Link `.ai/skills/` into `.claude/` and `.codex/` |
137137

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
"devsafe": "rm -rf .next && cross-env NODE_OPTIONS=--no-deprecation next dev",
1111
"generate:importmap": "cross-env NODE_OPTIONS=--no-deprecation payload generate:importmap",
1212
"generate:types": "cross-env NODE_OPTIONS=--no-deprecation payload generate:types",
13-
"import:plan": "cross-env NODE_OPTIONS=\"--no-deprecation --import=tsx/esm\" tsx src/scripts/import-plan.ts",
14-
"import:plan-v2": "cross-env NODE_OPTIONS=\"--no-deprecation --import=tsx/esm\" tsx src/scripts/import-plan-v2.ts",
15-
"migrate:data": "cross-env NODE_OPTIONS=\"--no-deprecation --import=tsx/esm\" tsx src/scripts/migrate-to-workout-groups.ts",
1613
"seed:export": "cross-env NODE_OPTIONS=\"--no-deprecation --import=tsx/esm\" tsx src/scripts/export-seed.ts",
1714
"seed": "cross-env NODE_OPTIONS=\"--no-deprecation --import=tsx/esm\" tsx src/scripts/seed.ts",
1815
"lint": "cross-env NODE_OPTIONS=--no-deprecation eslint .",

0 commit comments

Comments
 (0)