@dxtmisha/scripts 0.5.8 → 0.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/media/templates/prompts/aiDocClassPrompt.en.txt +2 -6
- package/src/media/templates/prompts/aiDocClassPrompt.ru.txt +2 -4
- package/src/media/templates/prompts/aiDocComposablePrompt.en.txt +2 -3
- package/src/media/templates/prompts/aiDocComposablePrompt.ru.txt +2 -3
- package/src/media/templates/prompts/aiDocFunctionPrompt.en.txt +2 -3
- package/src/media/templates/prompts/aiDocFunctionPrompt.ru.txt +2 -3
- package/src/media/templates/prompts/componentPrompt.en.txt +1 -1
- package/src/media/templates/prompts/componentPrompt.ru.txt +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxtmisha/scripts",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.9",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Development scripts and CLI tools for DXT UI projects - automated component generation, library building and project management tools",
|
|
7
7
|
"keywords": [
|
|
@@ -12,7 +12,7 @@ Use the following template and style. Your response must contain ONLY MDX code.
|
|
|
12
12
|
### Documentation Structure:
|
|
13
13
|
|
|
14
14
|
1. **Header**:
|
|
15
|
-
```javascript
|
|
15
|
+
```javascript (or typescript if typing is present)
|
|
16
16
|
import {Meta} from '@storybook/addon-docs/blocks'
|
|
17
17
|
|
|
18
18
|
<Meta title='[title]'/>
|
|
@@ -43,7 +43,7 @@ Use the following template and style. Your response must contain ONLY MDX code.
|
|
|
43
43
|
- **Returns:** (if it returns a value)
|
|
44
44
|
- `Type` — description.
|
|
45
45
|
- **Code Example**:
|
|
46
|
-
```javascript
|
|
46
|
+
```javascript (or typescript if typing is present)
|
|
47
47
|
// Example usage
|
|
48
48
|
Class.method(arg);
|
|
49
49
|
```
|
|
@@ -60,7 +60,3 @@ Use the following template and style. Your response must contain ONLY MDX code.
|
|
|
60
60
|
6. Return only the full MDX documentation code without any additional text, comments, or markdown formatting (```).
|
|
61
61
|
7. The result must be exclusively text (response); do not attach any files.
|
|
62
62
|
8. Return the response in the format: [short description of 3-5 words about the class purpose]#########[original class code with comments for methods, variables, properties, and the class itself (add them if missing). If everything is already present, return --FULL--]#########[the MDX documentation following the template above].
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
### Структура документации:
|
|
13
13
|
|
|
14
14
|
1. **Шапка**:
|
|
15
|
-
```javascript
|
|
15
|
+
```javascript (или typescript, если есть типизация)
|
|
16
16
|
import {Meta} from '@storybook/addon-docs/blocks'
|
|
17
17
|
|
|
18
18
|
<Meta title='[title]'/>
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
- **Возвращает:** (если возвращает значение)
|
|
44
44
|
- `Тип` — описание.
|
|
45
45
|
- **Пример кода**:
|
|
46
|
-
```javascript
|
|
46
|
+
```javascript (или typescript, если есть типизация)
|
|
47
47
|
// Пример вызова
|
|
48
48
|
Class.method(arg);
|
|
49
49
|
```
|
|
@@ -60,5 +60,3 @@
|
|
|
60
60
|
6. Верни только полный MDX-код документации без какого-либо дополнительного текста, комментариев или форматирования markdown (```).
|
|
61
61
|
7. Результат должен быть исключительно в виде текста (ответа), не прикрепляй никаких файлов.
|
|
62
62
|
8. Верни ответ в формате: [короткое описание в несколько слов (3-5) о назначении класса]#########[оригинальный код класса с комментариями к методам, переменным, свойствам и самому классу (добавь их, если они отсутствуют). Если все комментарии уже присутствуют, верни --FULL--]#########[сама документация в MDX формате по шаблону выше].
|
|
63
|
-
|
|
64
|
-
|
|
@@ -12,7 +12,7 @@ Use the following template and style. Your response must contain ONLY MDX code.
|
|
|
12
12
|
### Documentation Structure:
|
|
13
13
|
|
|
14
14
|
1. **Header**:
|
|
15
|
-
```javascript
|
|
15
|
+
```javascript (or typescript if typing is present)
|
|
16
16
|
import {Meta} from '@storybook/addon-docs/blocks'
|
|
17
17
|
|
|
18
18
|
<Meta title='[title]'/>
|
|
@@ -39,7 +39,7 @@ Use the following template and style. Your response must contain ONLY MDX code.
|
|
|
39
39
|
- **TypeName:**
|
|
40
40
|
- List of properties: `- `name: type` — description`.
|
|
41
41
|
- **Code Example**:
|
|
42
|
-
```javascript
|
|
42
|
+
```javascript (or typescript if typing is present)
|
|
43
43
|
import { useName } from '@package'
|
|
44
44
|
// Initialization example
|
|
45
45
|
```
|
|
@@ -64,4 +64,3 @@ Use the following template and style. Your response must contain ONLY MDX code.
|
|
|
64
64
|
6. Return only the full MDX documentation code without any additional text, comments, or markdown formatting (```).
|
|
65
65
|
7. The result must be exclusively text (response); do not attach any files.
|
|
66
66
|
8. Return the response in the format: [short description of 3-5 words about the purpose]#########[original code with comments for parameters and types (add them if missing). If everything is already present, return --FULL--]#########[the MDX documentation following the template above].
|
|
67
|
-
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
### Структура документации:
|
|
13
13
|
|
|
14
14
|
1. **Шапка**:
|
|
15
|
-
```javascript
|
|
15
|
+
```javascript (или typescript, если есть типизация)
|
|
16
16
|
import {Meta} from '@storybook/addon-docs/blocks'
|
|
17
17
|
|
|
18
18
|
<Meta title='[title]'/>
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
- **ИмяТипа:**
|
|
40
40
|
- Список свойств: `- `имя: тип` — описание`.
|
|
41
41
|
- **Пример кода**:
|
|
42
|
-
```javascript
|
|
42
|
+
```javascript (или typescript, если есть типизация)
|
|
43
43
|
import { useName } from '@package'
|
|
44
44
|
// Пример инициализации
|
|
45
45
|
```
|
|
@@ -64,4 +64,3 @@
|
|
|
64
64
|
6. Верни только полный MDX-код документации без какого-либо дополнительного текста, комментариев или форматирования markdown (```).
|
|
65
65
|
7. Результат должен быть исключительно в виде текста (ответа), не прикрепляй никаких файлов.
|
|
66
66
|
8. Верни ответ в формате: [короткое описание в несколько слов (3-5) о назначении]#########[оригинальный код с комментариями к параметрам и типам (добавь их, если они отсутствуют). Если все комментарии уже присутствуют, верни --FULL--]#########[сама документация в MDX формате по шаблону выше].
|
|
67
|
-
|
|
@@ -12,7 +12,7 @@ Use the following template and style. Your response must contain ONLY MDX code.
|
|
|
12
12
|
### Documentation Structure:
|
|
13
13
|
|
|
14
14
|
1. **Header**:
|
|
15
|
-
```javascript
|
|
15
|
+
```javascript (or typescript if typing is present)
|
|
16
16
|
import {Meta} from '@storybook/addon-docs/blocks'
|
|
17
17
|
|
|
18
18
|
<Meta title='[title]'/>
|
|
@@ -32,7 +32,7 @@ Use the following template and style. Your response must contain ONLY MDX code.
|
|
|
32
32
|
|
|
33
33
|
5. **Example**:
|
|
34
34
|
- Usage code example.
|
|
35
|
-
```javascript
|
|
35
|
+
```javascript (or typescript if typing is present)
|
|
36
36
|
import { name } from '@package'
|
|
37
37
|
// Call example
|
|
38
38
|
```
|
|
@@ -54,4 +54,3 @@ Use the following template and style. Your response must contain ONLY MDX code.
|
|
|
54
54
|
6. Return only the full MDX documentation code without any additional text, comments, or markdown formatting (```).
|
|
55
55
|
7. The result must be exclusively text (response); do not attach any files.
|
|
56
56
|
8. Return the response in the format: [short description of 3-5 words about the purpose]#########[original code with comments for parameters and types (add them if missing). If everything is already present, return --FULL--]#########[the MDX documentation following the template above].
|
|
57
|
-
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
### Структура документации:
|
|
13
13
|
|
|
14
14
|
1. **Шапка**:
|
|
15
|
-
```javascript
|
|
15
|
+
```javascript (или typescript, если есть типизация)
|
|
16
16
|
import {Meta} from '@storybook/addon-docs/blocks'
|
|
17
17
|
|
|
18
18
|
<Meta title='[title]'/>
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
5. **Пример**:
|
|
34
34
|
- Пример кода использования.
|
|
35
|
-
```javascript
|
|
35
|
+
```javascript (или typescript, если есть типизация)
|
|
36
36
|
import { name } from '@package'
|
|
37
37
|
// Пример вызова
|
|
38
38
|
```
|
|
@@ -54,4 +54,3 @@
|
|
|
54
54
|
6. Верни только полный MDX-код документации без какого-либо дополнительного текста, комментариев или форматирования markdown (```).
|
|
55
55
|
7. Результат должен быть исключительно в виде текста (ответа), не прикрепляй никаких файлов.
|
|
56
56
|
8. Верни ответ в формате: [короткое описание в несколько слов (3-5) о назначении]#########[оригинальный код с комментариями к параметрам и типам (добавь их, если они отсутствуют). Если все комментарии уже присутствуют, верни --FULL--]#########[сама документация в MDX формате по шаблону выше].
|
|
57
|
-
|