@dxtmisha/scripts 1.0.0 → 1.1.1
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/CHANGELOG.md +32 -0
- package/bin/build-packages.ts +24 -3
- package/bin/design-prompt.ts +7 -2
- package/dist/{AiZAi-x3CInynJ.js → AiZAi-P-St-CZL.js} +1 -1
- package/dist/{PropertiesConfig-ChizwW5y.js → PropertiesConfig-BBsuNndv.js} +67 -52
- package/dist/config.d.ts +6 -0
- package/dist/config.js +5 -5
- package/dist/library-ai.js +1 -1
- package/dist/library-figma.js +1 -1
- package/dist/library-ui.js +648 -637
- package/dist/library.d.ts +262 -21
- package/dist/library.js +317 -185
- package/dist/{propertyTypes-DflziKuR.js → propertyTypes-CstobYcc.js} +2 -2
- package/package.json +18 -18
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, t } from "./PropertiesConfig-
|
|
1
|
+
import { n as e, t } from "./PropertiesConfig-BBsuNndv.js";
|
|
2
2
|
import { UI_DIRS_LIBRARY as n, UI_DIR_PACKAGES as r, UI_FILE_PACKAGE as i } from "./config.js";
|
|
3
3
|
import { forEach as a, isFilled as o } from "@dxtmisha/functional-basic";
|
|
4
4
|
import s from "node:path";
|
|
@@ -41,7 +41,7 @@ var l = {
|
|
|
41
41
|
},
|
|
42
42
|
library: {
|
|
43
43
|
"README.md": "# @packages/library\n",
|
|
44
|
-
"_.gitignore.txt": "# Logs\nlogs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\npnpm-debug.log*\nlerna-debug.log*\n\nnode_modules\ndist-ssr\n*.local\n\
|
|
44
|
+
"_.gitignore.txt": "# Logs\nlogs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\npnpm-debug.log*\nlerna-debug.log*\n\nnode_modules\ndist-ssr\n*.local\n\n# Editor directories and files\n.vscode/*\n!.vscode/extensions.json\n.idea\n.DS_Store\n*.suo\n*.ntvs*\n*.njsproj\n*.sln\n*.sw?\n",
|
|
45
45
|
"ai-description.md": "Core Purpose: This library provides a template structure for creating modular, reusable, and type-safe component/utility packages within the design system.\n\nKey Expositions:\n- UI Components: Reusable components located under `src/components/`.\n- Composables: Stateful composition hooks under `src/composables/`.\n- Classes: Logical or utility class abstractions under `src/classes/`.\n- Functions: Pure helpers and utility functions under `src/functions/`.\n- Types: TypeScript declarations and interfaces under `src/types/`.\n\nCritical Development Rules:\n- **Do NOT modify `src/library.ts` directly**: This file is auto-generated and serves as the main entry point exporting all library entities. Manually editing it is strictly forbidden.\n- **Run the library generation script**: When creating, renaming, or deleting any new class, component, function, composable, or type, you MUST run the generation command to update the exports automatically:\n ```bash\n npm run library\n ```\n",
|
|
46
46
|
"design.config.json": "{\n \"extends\": \"../../design.config.json\"\n}\n",
|
|
47
47
|
"index.html": "<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"UTF-8\" />\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\" />\n <title>@packages/library</title>\n </head>\n <body>\n <div id=\"app\"></div>\n <script type=\"module\" src=\"/src/main.ts\"><\/script>\n </body>\n</html>\n",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dxtmisha/scripts",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "CLI tools, AI integration scripts, and automation utilities for DXT UI — automated component scaffolding, Figma layout generation, library packaging, documentation building, screenshot captures, and AI prompt processing.",
|
|
7
7
|
"keywords": [
|
|
@@ -94,27 +94,27 @@
|
|
|
94
94
|
"node": ">=20.0.0"
|
|
95
95
|
},
|
|
96
96
|
"dependencies": {
|
|
97
|
-
"@dxtmisha/functional": "
|
|
98
|
-
"@dxtmisha/functional-basic": "
|
|
99
|
-
"@dxtmisha/media": "
|
|
100
|
-
"sass": "
|
|
101
|
-
"typescript": "
|
|
102
|
-
"vite-node": "
|
|
103
|
-
"vue": "
|
|
97
|
+
"@dxtmisha/functional": ">=1.15.16",
|
|
98
|
+
"@dxtmisha/functional-basic": ">=1.11.0",
|
|
99
|
+
"@dxtmisha/media": ">=0.7.4",
|
|
100
|
+
"sass": ">=1.103.1",
|
|
101
|
+
"typescript": ">=6.0.3",
|
|
102
|
+
"vite-node": ">=6.0.0",
|
|
103
|
+
"vue": ">=3.5.42"
|
|
104
104
|
},
|
|
105
105
|
"devDependencies": {
|
|
106
|
-
"puppeteer": "
|
|
106
|
+
"puppeteer": ">=25.9.0"
|
|
107
107
|
},
|
|
108
108
|
"peerDependencies": {
|
|
109
|
-
"@ai-sdk/xai": "
|
|
110
|
-
"@anthropic-ai/claude-agent-sdk": "
|
|
111
|
-
"@anthropic-ai/sdk": "
|
|
112
|
-
"@dxtmisha/wiki": "
|
|
113
|
-
"@google/genai": "
|
|
114
|
-
"@napi-rs/canvas": "
|
|
115
|
-
"ai": "
|
|
116
|
-
"openai": "
|
|
117
|
-
"puppeteer": "
|
|
109
|
+
"@ai-sdk/xai": ">=4.0.50",
|
|
110
|
+
"@anthropic-ai/claude-agent-sdk": ">=0.3.251",
|
|
111
|
+
"@anthropic-ai/sdk": ">=0.122.0",
|
|
112
|
+
"@dxtmisha/wiki": ">=0.114.0",
|
|
113
|
+
"@google/genai": ">=2.19.0",
|
|
114
|
+
"@napi-rs/canvas": ">=1.0.8",
|
|
115
|
+
"ai": ">=7.0.85",
|
|
116
|
+
"openai": ">=7.8.0",
|
|
117
|
+
"puppeteer": ">=25.9.0"
|
|
118
118
|
},
|
|
119
119
|
"peerDependenciesMeta": {
|
|
120
120
|
"@ai-sdk/xai": {
|