refactor(migration): remove obsolete mirror extraction tooling
- delete extraction scripts that depended on the removed local mirror - remove stale extract npm scripts and migration-brief references - drop the old mirror ignore rule from .gitignore - update reports and redirect reasons to use live-source wording
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import fs from 'node:fs/promises';
|
||||
|
||||
const redirects = [
|
||||
{ from: '/aba', to: '/aba-therapy', status: 301, reason: 'Brief alias to preserved mirror URL' },
|
||||
{ from: '/autismevaluations', to: '/autism-evaluations', status: 301, reason: 'Brief alias to preserved mirror URL' },
|
||||
{ from: '/learnersocialclub', to: '/learner-social-club', status: 301, reason: 'Brief alias to preserved mirror URL' }
|
||||
{ from: '/aba', to: '/aba-therapy', status: 301, reason: 'Brief legacy alias to preserved URL' },
|
||||
{ from: '/autismevaluations', to: '/autism-evaluations', status: 301, reason: 'Brief legacy alias to preserved URL' },
|
||||
{ from: '/learnersocialclub', to: '/learner-social-club', status: 301, reason: 'Brief legacy alias to preserved URL' }
|
||||
];
|
||||
await fs.writeFile(new URL('../src/data/redirects.json', import.meta.url), `${JSON.stringify(redirects, null, 2)}\n`);
|
||||
await fs.writeFile(new URL('../reports/redirect-map.csv', import.meta.url),
|
||||
|
||||
Reference in New Issue
Block a user