Skip to content

feat(components): use example packages for component templates#700

Merged
TorinAsakura merged 1 commit into
masterfrom
feat/component-templates-from-packages
Jun 8, 2026
Merged

feat(components): use example packages for component templates#700
TorinAsakura merged 1 commit into
masterfrom
feat/component-templates-from-packages

Conversation

@TorinAsakura

Copy link
Copy Markdown
Member

Таска

Как проверять

Основной сценарий

  1. Контекст: @atls-ui-generators/components, генерация bottom-navigation/sidebar
    Действие: запустить generator через dist CLI для bottom-navigation и sidebar
    Ожидаемый результат: создаются файлы из ui-admin/examples/*/src без .hbs/.raw и без импортов @atls-ui-admin/theme

Дополнительный сценарий

  1. Контекст: @atls-ui-generators/components, существующий checkbox template
    Действие: запустить generator через dist CLI для checkbox
    Ожидаемый результат: создаются component.tsx, index.ts, styles.css.ts без .raw в output

Пруфы

  • node .yarn/releases/yarn-remote.mjs workspace @atls-ui-generators/components build
  • node .yarn/releases/yarn-remote.mjs lint -- generators/components/src/config.ts generators/components/src/build-templates.ts
  • node .yarn/releases/yarn-remote.mjs typecheck -- generators/components/src/config.ts generators/components/src/build-templates.ts
  • git diff --check
  • dist CLI smoke: bottom-navigation 8 files, sidebar 11 files, checkbox 3 files; no .hbs/.raw in output; no @atls-ui-admin/theme in generated bottom-navigation/sidebar

@TorinAsakura TorinAsakura self-assigned this Jun 8, 2026
@TorinAsakura TorinAsakura merged commit 043b253 into master Jun 8, 2026
6 checks passed
@TorinAsakura TorinAsakura deleted the feat/component-templates-from-packages branch June 8, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Шаблоны компонентов из директорий пакетов

1 participant