Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plasma-infra: Scaffold components docs by template #1128

Merged
merged 4 commits into from
Mar 27, 2024

Conversation

Yakutoc
Copy link
Collaborator

@Yakutoc Yakutoc commented Mar 19, 2024

Scaffold components docs

  • добавлена генерация компонентов по заданному шаблону

What/why changed

📦 Published PR as canary version: Canary Versions

✨ Test out this PR locally via:

npm install @salutejs/caldera-online@0.26.1-canary.1128.8446493855.0
npm install @salutejs/caldera@0.26.1-canary.1128.8446493855.0
npm install @salutejs/plasma-asdk@0.63.1-canary.1128.8446493855.0
npm install @salutejs/plasma-b2c@1.305.1-canary.1128.8446493855.0
npm install @salutejs/plasma-new-hope@0.66.1-canary.1128.8446493855.0
npm install @salutejs/plasma-web@1.305.1-canary.1128.8446493855.0
npm install @salutejs/sdds-serv@0.30.1-canary.1128.8446493855.0
# or 
yarn add @salutejs/caldera-online@0.26.1-canary.1128.8446493855.0
yarn add @salutejs/caldera@0.26.1-canary.1128.8446493855.0
yarn add @salutejs/plasma-asdk@0.63.1-canary.1128.8446493855.0
yarn add @salutejs/plasma-b2c@1.305.1-canary.1128.8446493855.0
yarn add @salutejs/plasma-new-hope@0.66.1-canary.1128.8446493855.0
yarn add @salutejs/plasma-web@1.305.1-canary.1128.8446493855.0
yarn add @salutejs/sdds-serv@0.30.1-canary.1128.8446493855.0


```tsx live
import React from 'react';
import { Button } from '@salutejs/{{package}}';
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Yeti-or

Я тебя правильно понял?

Шаблоны документации будут лежать в plasma-new-hope/component/component.docs.mdx?

Или другой будет путь?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

давай назовем как-то типа component.doc-tmpl.mdx ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Yeti-or

тогда template-doc.mdx чтобы уже наверняка

В new-hope будет лежать?

@Yakutoc Yakutoc requested a review from TitanKuzmich March 19, 2024 06:50
@Yakutoc Yakutoc requested a review from Yeti-or March 19, 2024 09:28
@Yakutoc Yakutoc force-pushed the chore-scaffold-components branch from 598224a to 7cd3831 Compare March 20, 2024 05:33
@Yakutoc Yakutoc force-pushed the chore-scaffold-components branch from 7cd3831 to 98b517c Compare March 20, 2024 10:04
@Yakutoc Yakutoc changed the title plasma-infra: Scaffold components docs by template [WIP] plasma-infra: Scaffold components docs by template Mar 20, 2024
@Yakutoc Yakutoc marked this pull request as ready for review March 20, 2024 10:04
@Yakutoc Yakutoc requested review from TitanKuzmich and removed request for neretin-trike and kayman233 March 20, 2024 14:55
@Yakutoc Yakutoc force-pushed the chore-scaffold-components branch from 98b517c to ee248b1 Compare March 21, 2024 04:14
Copy link
Contributor

⚡ Component performance testing

Result: 🟢 OK

scaffold/Readme.md Show resolved Hide resolved
scaffold/template-docs/docs/intro.mdx Show resolved Hide resolved
Copy link
Contributor

⚡ Component performance testing

Result: 🟢 OK

@Yakutoc Yakutoc added this pull request to the merge queue Mar 27, 2024
Merged via the queue into dev with commit 8aa26b0 Mar 27, 2024
29 checks passed
@Yakutoc Yakutoc deleted the chore-scaffold-components branch March 27, 2024 04:38
This was referenced Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants