/
githubmirror
/
strapi
Обзор
Документация
Войти
/
githubmirror
/
strapi
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
scripts/ai-tooling/post-setup.ts
14 строк
489 B
Nico André
chore: add ai-tooling sync script for skill symlinks (#26594)
23 июн 2026, 18:50
Не верифицирован
23 июн 2026, 18:50
169757b
Код
Авторство
О чём код?
import path from 'node:path'; import { fileURLToPath } from 'node:url'; // @ts-expect-error - no .ts extension import import { hasMissingLinks, SETUP_HINT_LINES } from './links.ts'; // @ts-expect-error - import.meta.url is not supported in commonjs context const scriptDir = path.dirname(fileURLToPath(import.meta.url)); const repoRoot = path.resolve(scriptDir, '..', '..'); if (hasMissingLinks(repoRoot) === true) { for (const line of SETUP_HINT_LINES) { console.log(line); } }