@auto-engineer/design-system-importer 0.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/.turbo/turbo-build.log +5 -0
- package/CHANGELOG.md +10 -0
- package/LICENSE +10 -0
- package/dist/commands/import-design-system.d.ts +17 -0
- package/dist/commands/import-design-system.d.ts.map +1 -0
- package/dist/commands/import-design-system.js +67 -0
- package/dist/commands/import-design-system.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +109 -0
- package/dist/index.js.map +1 -0
- package/package.json +37 -0
- package/src/commands/import-design-system.ts +99 -0
- package/src/index.ts +118 -0
- package/tsconfig.json +11 -0
- package/tsconfig.tsbuildinfo +1 -0
package/CHANGELOG.md
ADDED
package/LICENSE
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Elastic License 2.0
|
|
2
|
+
|
|
3
|
+
Copyright 2024 Sam Hatoum
|
|
4
|
+
|
|
5
|
+
This software and associated documentation files (the "Software") are licensed under the Elastic License 2.0 (the "License"). You may not use this file except in compliance with the License.
|
|
6
|
+
|
|
7
|
+
You may obtain a copy of the License at:
|
|
8
|
+
https://www.elastic.co/licensing/elastic-license
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type CommandHandler, type Command, type Event } from '@auto-engineer/message-bus';
|
|
2
|
+
export type ImportDesignSystemCommand = Command<'ImportDesignSystem', {
|
|
3
|
+
inputDir: string;
|
|
4
|
+
outputDir: string;
|
|
5
|
+
}>;
|
|
6
|
+
export type DesignSystemImportedEvent = Event<'DesignSystemImported', {
|
|
7
|
+
inputDir: string;
|
|
8
|
+
outputDir: string;
|
|
9
|
+
}>;
|
|
10
|
+
export type DesignSystemImportFailedEvent = Event<'DesignSystemImportFailed', {
|
|
11
|
+
error: string;
|
|
12
|
+
inputDir: string;
|
|
13
|
+
outputDir: string;
|
|
14
|
+
}>;
|
|
15
|
+
export declare function handleImportDesignSystemCommand(command: ImportDesignSystemCommand): Promise<DesignSystemImportedEvent | DesignSystemImportFailedEvent>;
|
|
16
|
+
export declare const importDesignSystemCommandHandler: CommandHandler<ImportDesignSystemCommand>;
|
|
17
|
+
//# sourceMappingURL=import-design-system.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-design-system.d.ts","sourceRoot":"","sources":["../../src/commands/import-design-system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAI3F,MAAM,MAAM,yBAAyB,GAAG,OAAO,CAC7C,oBAAoB,EACpB;IACE,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB,CACF,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAC3C,sBAAsB,EACtB;IACE,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB,CACF,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,KAAK,CAC/C,0BAA0B,EAC1B;IACE,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB,CACF,CAAC;AAGF,wBAAsB,+BAA+B,CACnD,OAAO,EAAE,yBAAyB,GACjC,OAAO,CAAC,yBAAyB,GAAG,6BAA6B,CAAC,CAsDpE;AAED,eAAO,MAAM,gCAAgC,EAAE,cAAc,CAAC,yBAAyB,CAUtF,CAAC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { promises as fs } from 'fs';
|
|
2
|
+
import { copyDesignSystemDocsAndUserPreferences } from '../index.js';
|
|
3
|
+
// Handler
|
|
4
|
+
export async function handleImportDesignSystemCommand(command) {
|
|
5
|
+
const { inputDir, outputDir } = command.data;
|
|
6
|
+
try {
|
|
7
|
+
// Check if input directory exists
|
|
8
|
+
const inputExists = await fs
|
|
9
|
+
.access(inputDir)
|
|
10
|
+
.then(() => true)
|
|
11
|
+
.catch(() => false);
|
|
12
|
+
if (!inputExists) {
|
|
13
|
+
// Input directory doesn't exist - this is likely an error
|
|
14
|
+
return {
|
|
15
|
+
type: 'DesignSystemImportFailed',
|
|
16
|
+
data: {
|
|
17
|
+
error: `Input directory does not exist: ${inputDir}`,
|
|
18
|
+
inputDir,
|
|
19
|
+
outputDir,
|
|
20
|
+
},
|
|
21
|
+
timestamp: new Date(),
|
|
22
|
+
requestId: command.requestId,
|
|
23
|
+
correlationId: command.correlationId,
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
await copyDesignSystemDocsAndUserPreferences(inputDir, outputDir);
|
|
27
|
+
console.log(`Design system files processed from ${inputDir} to ${outputDir}`);
|
|
28
|
+
return {
|
|
29
|
+
type: 'DesignSystemImported',
|
|
30
|
+
data: {
|
|
31
|
+
inputDir,
|
|
32
|
+
outputDir,
|
|
33
|
+
},
|
|
34
|
+
timestamp: new Date(),
|
|
35
|
+
requestId: command.requestId,
|
|
36
|
+
correlationId: command.correlationId,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
catch (error) {
|
|
40
|
+
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
41
|
+
console.error('Error importing design system:', error);
|
|
42
|
+
return {
|
|
43
|
+
type: 'DesignSystemImportFailed',
|
|
44
|
+
data: {
|
|
45
|
+
error: errorMessage,
|
|
46
|
+
inputDir,
|
|
47
|
+
outputDir,
|
|
48
|
+
},
|
|
49
|
+
timestamp: new Date(),
|
|
50
|
+
requestId: command.requestId,
|
|
51
|
+
correlationId: command.correlationId,
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
export const importDesignSystemCommandHandler = {
|
|
56
|
+
name: 'ImportDesignSystem',
|
|
57
|
+
handle: async (command) => {
|
|
58
|
+
const result = await handleImportDesignSystemCommand(command);
|
|
59
|
+
if (result.type === 'DesignSystemImported') {
|
|
60
|
+
console.log('Design system imported successfully');
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
console.error(`Failed: ${result.data.error}`);
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
//# sourceMappingURL=import-design-system.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-design-system.js","sourceRoot":"","sources":["../../src/commands/import-design-system.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,IAAI,EAAE,EAAE,MAAM,IAAI,CAAC;AACpC,OAAO,EAAE,sCAAsC,EAAE,MAAM,UAAU,CAAC;AA2BlE,UAAU;AACV,MAAM,CAAC,KAAK,UAAU,+BAA+B,CACnD,OAAkC;IAElC,MAAM,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAE7C,IAAI,CAAC;QACH,kCAAkC;QAClC,MAAM,WAAW,GAAG,MAAM,EAAE;aACzB,MAAM,CAAC,QAAQ,CAAC;aAChB,IAAI,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC;aAChB,KAAK,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC;QAEtB,IAAI,CAAC,WAAW,EAAE,CAAC;YACjB,0DAA0D;YAC1D,OAAO;gBACL,IAAI,EAAE,0BAA0B;gBAChC,IAAI,EAAE;oBACJ,KAAK,EAAE,mCAAmC,QAAQ,EAAE;oBACpD,QAAQ;oBACR,SAAS;iBACV;gBACD,SAAS,EAAE,IAAI,IAAI,EAAE;gBACrB,SAAS,EAAE,OAAO,CAAC,SAAS;gBAC5B,aAAa,EAAE,OAAO,CAAC,aAAa;aACrC,CAAC;QACJ,CAAC;QAED,MAAM,sCAAsC,CAAC,QAAQ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package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function generateDesignSystemMarkdown(inputDir: string, outputDir: string): Promise<void>;
|
|
2
|
+
export * from './commands/import-design-system';
|
|
3
|
+
export declare function copyDesignSystemDocsAndUserPreferences(inputDir: string, outputDir: string): Promise<void>;
|
|
4
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA6BA,wBAAsB,4BAA4B,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAiBrG;AAED,cAAc,iCAAiC,CAAC;AAiBhD,wBAAsB,sCAAsC,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CA2B/G"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import * as path from 'path';
|
|
2
|
+
import * as fs from 'fs/promises';
|
|
3
|
+
import * as dotenv from 'dotenv';
|
|
4
|
+
import { fileURLToPath } from 'url';
|
|
5
|
+
dotenv.config();
|
|
6
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
7
|
+
async function getAllTsxFiles(dir) {
|
|
8
|
+
let results = [];
|
|
9
|
+
const entries = await fs.readdir(dir, { withFileTypes: true });
|
|
10
|
+
for (const entry of entries) {
|
|
11
|
+
const fullPath = path.join(dir, entry.name);
|
|
12
|
+
if (entry.isDirectory()) {
|
|
13
|
+
results = results.concat(await getAllTsxFiles(fullPath));
|
|
14
|
+
}
|
|
15
|
+
else if (entry.isFile() && entry.name.endsWith('.tsx')) {
|
|
16
|
+
results.push(fullPath);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
return results;
|
|
20
|
+
}
|
|
21
|
+
function getComponentNameFromFile(filePath) {
|
|
22
|
+
const file = path.basename(filePath, '.tsx');
|
|
23
|
+
// Capitalize first letter
|
|
24
|
+
return file.charAt(0).toUpperCase() + file.slice(1);
|
|
25
|
+
}
|
|
26
|
+
export async function generateDesignSystemMarkdown(inputDir, outputDir) {
|
|
27
|
+
const files = await getAllTsxFiles(inputDir);
|
|
28
|
+
if (files.length === 0) {
|
|
29
|
+
console.warn('No .tsx files found in input directory.');
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
const componentNames = files.map(getComponentNameFromFile).sort();
|
|
33
|
+
let md = '# Design System\n\n## Components\n\n';
|
|
34
|
+
for (const name of componentNames) {
|
|
35
|
+
md += `- ${name}\n`;
|
|
36
|
+
}
|
|
37
|
+
await fs.mkdir(outputDir, { recursive: true });
|
|
38
|
+
const outPath = path.join(outputDir, 'design-system.md');
|
|
39
|
+
await fs.writeFile(outPath, md);
|
|
40
|
+
}
|
|
41
|
+
export * from './commands/import-design-system.js';
|
|
42
|
+
async function copyFile(inputDir, outputDir, file) {
|
|
43
|
+
const srcPath = path.join(inputDir, file);
|
|
44
|
+
const destPath = path.join(outputDir, file);
|
|
45
|
+
// Check if source file exists
|
|
46
|
+
try {
|
|
47
|
+
await fs.access(srcPath);
|
|
48
|
+
await fs.mkdir(outputDir, { recursive: true });
|
|
49
|
+
await fs.copyFile(srcPath, destPath);
|
|
50
|
+
}
|
|
51
|
+
catch (error) {
|
|
52
|
+
// File doesn't exist, skip copying
|
|
53
|
+
console.log(`File ${file} not found in ${inputDir}, skipping...`, error);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
export async function copyDesignSystemDocsAndUserPreferences(inputDir, outputDir) {
|
|
57
|
+
// Ensure output directory exists
|
|
58
|
+
await fs.mkdir(outputDir, { recursive: true });
|
|
59
|
+
// Try to copy existing files
|
|
60
|
+
await copyFile(inputDir, outputDir, 'design-system.md');
|
|
61
|
+
await copyFile(inputDir, outputDir, 'design-system-principles.md');
|
|
62
|
+
// If design-system.md doesn't exist in output, try to generate it from TSX files
|
|
63
|
+
const designSystemPath = path.join(outputDir, 'design-system.md');
|
|
64
|
+
try {
|
|
65
|
+
await fs.access(designSystemPath);
|
|
66
|
+
}
|
|
67
|
+
catch {
|
|
68
|
+
// File doesn't exist, try to generate from TSX files if inputDir exists
|
|
69
|
+
try {
|
|
70
|
+
await fs.access(inputDir);
|
|
71
|
+
const files = await getAllTsxFiles(inputDir);
|
|
72
|
+
if (files.length > 0) {
|
|
73
|
+
await generateDesignSystemMarkdown(inputDir, outputDir);
|
|
74
|
+
console.log(`Generated design-system.md from ${files.length} component files`);
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
console.log(`No .tsx files found in ${inputDir} to generate design-system.md`);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
catch {
|
|
81
|
+
console.log(`Input directory ${inputDir} not accessible`);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
// Check if this file is being run directly
|
|
86
|
+
if (process.argv[1] === __filename) {
|
|
87
|
+
const [, , inputDir, outputDir] = process.argv;
|
|
88
|
+
if (!inputDir || !outputDir) {
|
|
89
|
+
console.error('Usage: tsx src/index.ts <inputDir> <outputDir>');
|
|
90
|
+
process.exit(1);
|
|
91
|
+
}
|
|
92
|
+
// generateDesignSystemMarkdown(inputDir, outputDir)
|
|
93
|
+
// .then(() => {
|
|
94
|
+
// console.log(`design-system.md generated in ${outputDir}`);
|
|
95
|
+
// })
|
|
96
|
+
// .catch((err) => {
|
|
97
|
+
// console.error('Error generating design-system.md:', err);
|
|
98
|
+
// process.exit(1);
|
|
99
|
+
// });
|
|
100
|
+
copyDesignSystemDocsAndUserPreferences(inputDir, outputDir)
|
|
101
|
+
.then(() => {
|
|
102
|
+
console.log(`design-system.md copied to ${outputDir}`);
|
|
103
|
+
})
|
|
104
|
+
.catch((err) => {
|
|
105
|
+
console.error('Error copying design-system.md:', err);
|
|
106
|
+
process.exit(1);
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
//# sour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C;YACjF,CAAC;QACH,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,CAAC,GAAG,CAAC,mBAAmB,QAAQ,iBAAiB,CAAC,CAAC;QAC5D,CAAC;IACH,CAAC;AACH,CAAC;AAED,2CAA2C;AAC3C,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,KAAK,UAAU,EAAE,CAAC;IACnC,MAAM,CAAC,EAAE,AAAD,EAAG,QAAQ,EAAE,SAAS,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAC/C,IAAI,CAAC,QAAQ,IAAI,CAAC,SAAS,EAAE,CAAC;QAC5B,OAAO,CAAC,KAAK,CAAC,gDAAgD,CAAC,CAAC;QAChE,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC;IACD,oDAAoD;IACpD,kBAAkB;IAClB,iEAAiE;IACjE,OAAO;IACP,sBAAsB;IACtB,gEAAgE;IAChE,uBAAuB;IACvB,QAAQ;IACR,sCAAsC,CAAC,QAAQ,EAAE,SAAS,CAAC;SACxD,IAAI,CAAC,GAAG,EAAE;QACT,OAAO,CAAC,GAAG,CAAC,8BAA8B,SAAS,EAAE,CAAC,CAAC;IACzD,CAAC,CAAC;SACD,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;QACb,OAAO,CAAC,KAAK,CAAC,iCAAiC,EAAE,GAAG,CAAC,CAAC;QACtD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC,CAAC,CAAC;AACP,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@auto-engineer/design-system-importer",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"import": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./commands/import-design-system": {
|
|
13
|
+
"types": "./dist/commands/import-design-system.d.ts",
|
|
14
|
+
"import": "./dist/commands/import-design-system.js"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@auto-engineer/message-bus": "0.0.2"
|
|
22
|
+
},
|
|
23
|
+
"scripts": {
|
|
24
|
+
"start": "tsx src/index.ts",
|
|
25
|
+
"build": "tsc && tsx ../../scripts/fix-esm-imports.ts",
|
|
26
|
+
"dev": "tsc --watch",
|
|
27
|
+
"test": "vitest run",
|
|
28
|
+
"test:coverage": "vitest run --coverage",
|
|
29
|
+
"lint": "eslint 'src/**/*.ts' --max-warnings 0 --config ../../eslint.config.ts",
|
|
30
|
+
"type-check": "tsc --noEmit",
|
|
31
|
+
"format": "prettier --write \"**/*.{js,ts,json,md,yml,yaml}\" --ignore-path ../../.prettierignore",
|
|
32
|
+
"lint:fix": "eslint 'src/**/*.ts' --fix --config ../../eslint.config.ts",
|
|
33
|
+
"format:fix": "prettier --write \"**/*.{js,ts,json,md,yml,yaml}\" --ignore-path ../../.prettierignore",
|
|
34
|
+
"link:dev": "pnpm build && pnpm link --global",
|
|
35
|
+
"unlink:dev": "pnpm unlink --global"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { type CommandHandler, type Command, type Event } from '@auto-engineer/message-bus';
|
|
2
|
+
import { promises as fs } from 'fs';
|
|
3
|
+
import { copyDesignSystemDocsAndUserPreferences } from '../index';
|
|
4
|
+
|
|
5
|
+
export type ImportDesignSystemCommand = Command<
|
|
6
|
+
'ImportDesignSystem',
|
|
7
|
+
{
|
|
8
|
+
inputDir: string;
|
|
9
|
+
outputDir: string;
|
|
10
|
+
}
|
|
11
|
+
>;
|
|
12
|
+
|
|
13
|
+
export type DesignSystemImportedEvent = Event<
|
|
14
|
+
'DesignSystemImported',
|
|
15
|
+
{
|
|
16
|
+
inputDir: string;
|
|
17
|
+
outputDir: string;
|
|
18
|
+
}
|
|
19
|
+
>;
|
|
20
|
+
|
|
21
|
+
export type DesignSystemImportFailedEvent = Event<
|
|
22
|
+
'DesignSystemImportFailed',
|
|
23
|
+
{
|
|
24
|
+
error: string;
|
|
25
|
+
inputDir: string;
|
|
26
|
+
outputDir: string;
|
|
27
|
+
}
|
|
28
|
+
>;
|
|
29
|
+
|
|
30
|
+
// Handler
|
|
31
|
+
export async function handleImportDesignSystemCommand(
|
|
32
|
+
command: ImportDesignSystemCommand,
|
|
33
|
+
): Promise<DesignSystemImportedEvent | DesignSystemImportFailedEvent> {
|
|
34
|
+
const { inputDir, outputDir } = command.data;
|
|
35
|
+
|
|
36
|
+
try {
|
|
37
|
+
// Check if input directory exists
|
|
38
|
+
const inputExists = await fs
|
|
39
|
+
.access(inputDir)
|
|
40
|
+
.then(() => true)
|
|
41
|
+
.catch(() => false);
|
|
42
|
+
|
|
43
|
+
if (!inputExists) {
|
|
44
|
+
// Input directory doesn't exist - this is likely an error
|
|
45
|
+
return {
|
|
46
|
+
type: 'DesignSystemImportFailed',
|
|
47
|
+
data: {
|
|
48
|
+
error: `Input directory does not exist: ${inputDir}`,
|
|
49
|
+
inputDir,
|
|
50
|
+
outputDir,
|
|
51
|
+
},
|
|
52
|
+
timestamp: new Date(),
|
|
53
|
+
requestId: command.requestId,
|
|
54
|
+
correlationId: command.correlationId,
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
await copyDesignSystemDocsAndUserPreferences(inputDir, outputDir);
|
|
59
|
+
console.log(`Design system files processed from ${inputDir} to ${outputDir}`);
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
type: 'DesignSystemImported',
|
|
63
|
+
data: {
|
|
64
|
+
inputDir,
|
|
65
|
+
outputDir,
|
|
66
|
+
},
|
|
67
|
+
timestamp: new Date(),
|
|
68
|
+
requestId: command.requestId,
|
|
69
|
+
correlationId: command.correlationId,
|
|
70
|
+
};
|
|
71
|
+
} catch (error) {
|
|
72
|
+
const errorMessage = error instanceof Error ? error.message : String(error);
|
|
73
|
+
console.error('Error importing design system:', error);
|
|
74
|
+
|
|
75
|
+
return {
|
|
76
|
+
type: 'DesignSystemImportFailed',
|
|
77
|
+
data: {
|
|
78
|
+
error: errorMessage,
|
|
79
|
+
inputDir,
|
|
80
|
+
outputDir,
|
|
81
|
+
},
|
|
82
|
+
timestamp: new Date(),
|
|
83
|
+
requestId: command.requestId,
|
|
84
|
+
correlationId: command.correlationId,
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export const importDesignSystemCommandHandler: CommandHandler<ImportDesignSystemCommand> = {
|
|
90
|
+
name: 'ImportDesignSystem',
|
|
91
|
+
handle: async (command: ImportDesignSystemCommand): Promise<void> => {
|
|
92
|
+
const result = await handleImportDesignSystemCommand(command);
|
|
93
|
+
if (result.type === 'DesignSystemImported') {
|
|
94
|
+
console.log('Design system imported successfully');
|
|
95
|
+
} else {
|
|
96
|
+
console.error(`Failed: ${result.data.error}`);
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
};
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import * as path from 'path';
|
|
2
|
+
import * as fs from 'fs/promises';
|
|
3
|
+
import * as dotenv from 'dotenv';
|
|
4
|
+
import { fileURLToPath } from 'url';
|
|
5
|
+
|
|
6
|
+
dotenv.config();
|
|
7
|
+
|
|
8
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
9
|
+
|
|
10
|
+
async function getAllTsxFiles(dir: string): Promise<string[]> {
|
|
11
|
+
let results: string[] = [];
|
|
12
|
+
const entries = await fs.readdir(dir, { withFileTypes: true });
|
|
13
|
+
for (const entry of entries) {
|
|
14
|
+
const fullPath = path.join(dir, entry.name);
|
|
15
|
+
if (entry.isDirectory()) {
|
|
16
|
+
results = results.concat(await getAllTsxFiles(fullPath));
|
|
17
|
+
} else if (entry.isFile() && entry.name.endsWith('.tsx')) {
|
|
18
|
+
results.push(fullPath);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
return results;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function getComponentNameFromFile(filePath: string): string {
|
|
25
|
+
const file = path.basename(filePath, '.tsx');
|
|
26
|
+
// Capitalize first letter
|
|
27
|
+
return file.charAt(0).toUpperCase() + file.slice(1);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export async function generateDesignSystemMarkdown(inputDir: string, outputDir: string): Promise<void> {
|
|
31
|
+
const files = await getAllTsxFiles(inputDir);
|
|
32
|
+
if (files.length === 0) {
|
|
33
|
+
console.warn('No .tsx files found in input directory.');
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
const componentNames = files.map(getComponentNameFromFile).sort();
|
|
38
|
+
|
|
39
|
+
let md = '# Design System\n\n## Components\n\n';
|
|
40
|
+
for (const name of componentNames) {
|
|
41
|
+
md += `- ${name}\n`;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
await fs.mkdir(outputDir, { recursive: true });
|
|
45
|
+
const outPath = path.join(outputDir, 'design-system.md');
|
|
46
|
+
await fs.writeFile(outPath, md);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export * from './commands/import-design-system';
|
|
50
|
+
|
|
51
|
+
async function copyFile(inputDir: string, outputDir: string, file: string): Promise<void> {
|
|
52
|
+
const srcPath = path.join(inputDir, file);
|
|
53
|
+
const destPath = path.join(outputDir, file);
|
|
54
|
+
|
|
55
|
+
// Check if source file exists
|
|
56
|
+
try {
|
|
57
|
+
await fs.access(srcPath);
|
|
58
|
+
await fs.mkdir(outputDir, { recursive: true });
|
|
59
|
+
await fs.copyFile(srcPath, destPath);
|
|
60
|
+
} catch (error) {
|
|
61
|
+
// File doesn't exist, skip copying
|
|
62
|
+
console.log(`File ${file} not found in ${inputDir}, skipping...`, error);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export async function copyDesignSystemDocsAndUserPreferences(inputDir: string, outputDir: string): Promise<void> {
|
|
67
|
+
// Ensure output directory exists
|
|
68
|
+
await fs.mkdir(outputDir, { recursive: true });
|
|
69
|
+
|
|
70
|
+
// Try to copy existing files
|
|
71
|
+
await copyFile(inputDir, outputDir, 'design-system.md');
|
|
72
|
+
await copyFile(inputDir, outputDir, 'design-system-principles.md');
|
|
73
|
+
|
|
74
|
+
// If design-system.md doesn't exist in output, try to generate it from TSX files
|
|
75
|
+
const designSystemPath = path.join(outputDir, 'design-system.md');
|
|
76
|
+
try {
|
|
77
|
+
await fs.access(designSystemPath);
|
|
78
|
+
} catch {
|
|
79
|
+
// File doesn't exist, try to generate from TSX files if inputDir exists
|
|
80
|
+
try {
|
|
81
|
+
await fs.access(inputDir);
|
|
82
|
+
const files = await getAllTsxFiles(inputDir);
|
|
83
|
+
if (files.length > 0) {
|
|
84
|
+
await generateDesignSystemMarkdown(inputDir, outputDir);
|
|
85
|
+
console.log(`Generated design-system.md from ${files.length} component files`);
|
|
86
|
+
} else {
|
|
87
|
+
console.log(`No .tsx files found in ${inputDir} to generate design-system.md`);
|
|
88
|
+
}
|
|
89
|
+
} catch {
|
|
90
|
+
console.log(`Input directory ${inputDir} not accessible`);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
// Check if this file is being run directly
|
|
96
|
+
if (process.argv[1] === __filename) {
|
|
97
|
+
const [, , inputDir, outputDir] = process.argv;
|
|
98
|
+
if (!inputDir || !outputDir) {
|
|
99
|
+
console.error('Usage: tsx src/index.ts <inputDir> <outputDir>');
|
|
100
|
+
process.exit(1);
|
|
101
|
+
}
|
|
102
|
+
// generateDesignSystemMarkdown(inputDir, outputDir)
|
|
103
|
+
// .then(() => {
|
|
104
|
+
// console.log(`design-system.md generated in ${outputDir}`);
|
|
105
|
+
// })
|
|
106
|
+
// .catch((err) => {
|
|
107
|
+
// console.error('Error generating design-system.md:', err);
|
|
108
|
+
// process.exit(1);
|
|
109
|
+
// });
|
|
110
|
+
copyDesignSystemDocsAndUserPreferences(inputDir, outputDir)
|
|
111
|
+
.then(() => {
|
|
112
|
+
console.log(`design-system.md copied to ${outputDir}`);
|
|
113
|
+
})
|
|
114
|
+
.catch((err) => {
|
|
115
|
+
console.error('Error copying design-system.md:', err);
|
|
116
|
+
process.exit(1);
|
|
117
|
+
});
|
|
118
|
+
}
|
package/tsconfig.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../tsconfig.base.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"composite": true,
|
|
5
|
+
"outDir": "./dist",
|
|
6
|
+
"rootDir": "./src"
|
|
7
|
+
},
|
|
8
|
+
"include": ["src/**/*.ts", "src/**/*.json"],
|
|
9
|
+
"exclude": ["node_modules", "dist"],
|
|
10
|
+
"references": [{ "path": "../message-bus" }]
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"program":{"fileNames":["../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2016.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.core.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.collection.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.generator.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2016.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.date.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.object.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.string.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.array.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.object.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.string.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2019.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.date.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.promise.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.string.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.intl.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.es2020.number.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.decorators.d.ts","../../node_modules/.pnpm/typescript@5.5.4/node_modules/typescript/lib/lib.decorators.legacy.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/compatibility/disposable.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/compatibility/indexable.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/compatibility/iterators.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/compatibility/index.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/ts5.6/globals.typedarray.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/ts5.6/buffer.buffer.d.ts","../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/header.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/readable.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/file.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/fetch.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/formdata.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/connector.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/client.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/errors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/dispatcher.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-dispatcher.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/global-origin.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool-stats.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/handlers.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/balanced-pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-interceptor.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-client.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-pool.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/mock-errors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/env-http-proxy-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-handler.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/retry-agent.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/api.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/interceptors.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/util.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cookies.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/patch.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/websocket.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/eventsource.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/filereader.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/diagnostics-channel.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/content-type.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/cache.d.ts","../../node_modules/.pnpm/undici-types@6.21.0/node_modules/undici-types/index.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/globals.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/assert.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/assert/strict.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/async_hooks.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/buffer.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/child_process.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/cluster.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/console.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/constants.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/crypto.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/dgram.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/diagnostics_channel.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/dns.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/dns/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/domain.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/dom-events.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/events.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/fs.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/fs/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/http.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/http2.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/https.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/inspector.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/module.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/net.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/os.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/path.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/perf_hooks.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/process.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/punycode.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/querystring.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/readline.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/readline/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/repl.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/sea.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/stream.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/stream/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/stream/consumers.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/stream/web.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/string_decoder.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/test.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/timers.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/timers/promises.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/tls.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/trace_events.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/tty.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/url.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/util.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/v8.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/vm.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/wasi.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/worker_threads.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/zlib.d.ts","../../node_modules/.pnpm/@types+node@20.19.11/node_modules/@types/node/ts5.6/index.d.ts","../../node_modules/.pnpm/dotenv@16.6.1/node_modules/dotenv/lib/main.d.ts","../message-bus/dist/types.d.ts","../message-bus/dist/message-bus.d.ts","../message-bus/dist/index.d.ts","./src/commands/import-design-system.ts","./src/index.ts"],"fileInfos":[{"version":"44e584d4f6444f58791784f1d530875970993129442a847597db702a073ca68c","affectsGlobalScope":true},"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","9a68c0c07ae2fa71b44384a839b7b8d81662a236d4b9ac30916718f7510b1b2d","5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4",{"version":"6920e1448680767498a0b77c6a00a8e77d14d62c3da8967b171f1ddffa3c18e4","affectsGlobalScope":true},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true},{"version":"4443e68b35f3332f753eacc66a04ac1d2053b8b035a0e0ac1d455392b5e243b3","affectsGlobalScope":true},{"version":"bc47685641087c015972a3f072480889f0d6c65515f12bd85222f49a98952ed7","affectsGlobalScope":true},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true},{"version":"93495ff27b8746f55d19fcbcdbaccc99fd95f19d057aed1bd2c0cafe1335fbf0","affectsGlobalScope":true},{"version":"6fc23bb8c3965964be8c597310a2878b53a0306edb71d4b5a4dfe760186bcc01","affectsGlobalScope":true},{"version":"ea011c76963fb15ef1cdd7ce6a6808b46322c527de2077b6cfdf23ae6f5f9ec7","affectsGlobalScope":true},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true},{"version":"bb42a7797d996412ecdc5b2787720de477103a0b2e53058569069a0e2bae6c7e","affectsGlobalScope":true},{"version":"4738f2420687fd85629c9efb470793bb753709c2379e5f85bc1815d875ceadcd","affectsGlobalScope":true},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true},{"version":"9fc46429fbe091ac5ad2608c657201eb68b6f1b8341bd6d670047d32ed0a88fa","affectsGlobalScope":true},{"version":"61c37c1de663cf4171e1192466e52c7a382afa58da01b1dc75058f032ddf0839","affectsGlobalScope":true},{"version":"b541a838a13f9234aba650a825393ffc2292dc0fc87681a5d81ef0c96d281e7a","affectsGlobalScope":true},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true},{"version":"ae37d6ccd1560b0203ab88d46987393adaaa78c919e51acf32fb82c86502e98c","affectsGlobalScope":true},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true},{"version":"bf14a426dbbf1022d11bd08d6b8e709a2e9d246f0c6c1032f3b2edb9a902adbe","affectsGlobalScope":true},{"version":"5e07ed3809d48205d5b985642a59f2eba47c402374a7cf8006b686f79efadcbd","affectsGlobalScope":true},{"version":"2b72d528b2e2fe3c57889ca7baef5e13a56c957b946906d03767c642f386bbc3","affectsGlobalScope":true},{"version":"479553e3779be7d4f68e9f40cdb82d038e5ef7592010100410723ceced22a0f7","affectsGlobalScope":true},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true},{"version":"33358442698bb565130f52ba79bfd3d4d484ac85fe33f3cb1759c54d18201393","affectsGlobalScope":true},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true},{"version":"70521b6ab0dcba37539e5303104f29b721bfb2940b2776da4cc818c07e1fefc1","affectsGlobalScope":true},{"version":"ab41ef1f2cdafb8df48be20cd969d875602483859dc194e9c97c8a576892c052","affectsGlobalScope":true},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true},"21d819c173c0cf7cc3ce57c3276e77fd9a8a01d35a06ad87158781515c9a438a",{"version":"613b21ccdf3be6329d56e6caa13b258c842edf8377be7bc9f014ed14cdcfc308","affectsGlobalScope":true},{"version":"109b9c280e8848c08bf4a78fff1fed0750a6ca1735671b5cf08b71bae5448c03","affectsGlobalScope":true},"4967529644e391115ca5592184d4b63980569adf60ee685f968fd59ab1557188","5929864ce17fba74232584d90cb721a89b7ad277220627cc97054ba15a98ea8f","763fe0f42b3d79b440a9b6e51e9ba3f3f91352469c1e4b3b67bfa4ff6352f3f4","25c8056edf4314820382a5fdb4bb7816999acdcb929c8f75e3f39473b87e85bc","c464d66b20788266e5353b48dc4aa6bc0dc4a707276df1e7152ab0c9ae21fad8","78d0d27c130d35c60b5e5566c9f1e5be77caf39804636bc1a40133919a949f21","c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","1d6e127068ea8e104a912e42fc0a110e2aa5a66a356a917a163e8cf9a65e4a75","5ded6427296cdf3b9542de4471d2aa8d3983671d4cac0f4bf9c637208d1ced43","7f182617db458e98fc18dfb272d40aa2fff3a353c44a89b2c0ccb3937709bfb5","cadc8aced301244057c4e7e73fbcae534b0f5b12a37b150d80e5a45aa4bebcbd","385aab901643aa54e1c36f5ef3107913b10d1b5bb8cbcd933d4263b80a0d7f20","9670d44354bab9d9982eca21945686b5c24a3f893db73c0dae0fd74217a4c219","0b8a9268adaf4da35e7fa830c8981cfa22adbbe5b3f6f5ab91f6658899e657a7","11396ed8a44c02ab9798b7dca436009f866e8dae3c9c25e8c1fbc396880bf1bb","ba7bc87d01492633cb5a0e5da8a4a42a1c86270e7b3d2dea5d156828a84e4882","4893a895ea92c85345017a04ed427cbd6a1710453338df26881a6019432febdd","c21dc52e277bcfc75fac0436ccb75c204f9e1b3fa5e12729670910639f27343e","13f6f39e12b1518c6650bbb220c8985999020fe0f21d818e28f512b7771d00f9","9b5369969f6e7175740bf51223112ff209f94ba43ecd3bb09eefff9fd675624a","4fe9e626e7164748e8769bbf74b538e09607f07ed17c2f20af8d680ee49fc1da","24515859bc0b836719105bb6cc3d68255042a9f02a6022b3187948b204946bd2","ea0148f897b45a76544ae179784c95af1bd6721b8610af9ffa467a518a086a43","24c6a117721e606c9984335f71711877293a9651e44f59f3d21c1ea0856f9cc9","dd3273ead9fbde62a72949c97dbec2247ea08e0c6952e701a483d74ef92d6a17","405822be75ad3e4d162e07439bac80c6bcc6dbae1929e179cf467ec0b9ee4e2e","0db18c6e78ea846316c012478888f33c11ffadab9efd1cc8bcc12daded7a60b6","e61be3f894b41b7baa1fbd6a66893f2579bfad01d208b4ff61daef21493ef0a8","bd0532fd6556073727d28da0edfd1736417a3f9f394877b6d5ef6ad88fba1d1a","89167d696a849fce5ca508032aabfe901c0868f833a8625d5a9c6e861ef935d2","615ba88d0128ed16bf83ef8ccbb6aff05c3ee2db1cc0f89ab50a4939bfc1943f","a4d551dbf8746780194d550c88f26cf937caf8d56f102969a110cfaed4b06656","8bd86b8e8f6a6aa6c49b71e14c4ffe1211a0e97c80f08d2c8cc98838006e4b88","317e63deeb21ac07f3992f5b50cdca8338f10acd4fbb7257ebf56735bf52ab00","4732aec92b20fb28c5fe9ad99521fb59974289ed1e45aecb282616202184064f","2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","bf67d53d168abc1298888693338cb82854bdb2e69ef83f8a0092093c2d562107",{"version":"1ca84b44ad1d8e4576f24904d8b95dd23b94ea67e1575f89614ac90062fc67f4","affectsGlobalScope":true},"6d586db0a09a9495ebb5dece28f54df9684bfbd6e1f568426ca153126dac4a40","7394959e5a741b185456e1ef5d64599c36c60a323207450991e7a42e08911419","8c0bcd6c6b67b4b503c11e91a1fb91522ed585900eab2ab1f61bba7d7caa9d6f",{"version":"567b7f607f400873151d7bc63a049514b53c3c00f5f56e9e95695d93b66a138e","affectsGlobalScope":true},"823f9c08700a30e2920a063891df4e357c64333fdba6889522acc5b7ae13fc08","84c1930e33d1bb12ad01bcbe11d656f9646bd21b2fb2afd96e8e10615a021aef",{"version":"35ec8b6760fd7138bbf5809b84551e31028fb2ba7b6dc91d95d098bf212ca8b4","affectsGlobalScope":true},"5524481e56c48ff486f42926778c0a3cce1cc85dc46683b92b1271865bcf015a",{"version":"4b87f767c7bc841511113c876a6b8bf1fd0cb0b718c888ad84478b372ec486b1","affectsGlobalScope":true},"8d04e3640dd9eb67f7f1e5bd3d0bf96c784666f7aefc8ac1537af6f2d38d4c29","9d19808c8c291a9010a6c788e8532a2da70f811adb431c97520803e0ec649991","2bf469abae4cc9c0f340d4e05d9d26e37f936f9c8ca8f007a6534f109dcc77e4","4aacb0dd020eeaef65426153686cc639a78ec2885dc72ad220be1d25f1a439df","f0bd7e6d931657b59605c44112eaf8b980ba7f957a5051ed21cb93d978cf2f45",{"version":"71450bbc2d82821d24ca05699a533e72758964e9852062c53b30f31c36978ab8","affectsGlobalScope":true},{"version":"0ada07543808f3b967624645a8e1ccd446f8b01ade47842acf1328aec899fed0","affectsGlobalScope":true},"4c21aaa8257d7950a5b75a251d9075b6a371208fc948c9c8402f6690ef3b5b55","b5895e6353a5d708f55d8685c38a235c3a6d8138e374dee8ceb8ffde5aa8002a","54c4f21f578864961efc94e8f42bc893a53509e886370ec7dd602e0151b9266c","de735eca2c51dd8b860254e9fdb6d9ec19fe402dfe597c23090841ce3937cfc5","4ff41188773cbf465807dd2f7059c7494cbee5115608efc297383832a1150c43","5650cf3dace09e7c25d384e3e6b818b938f68f4e8de96f52d9c5a1b3db068e86",{"version":"1354ca5c38bd3fd3836a68e0f7c9f91f172582ba30ab15bb8c075891b91502b7","affectsGlobalScope":true},"5155da3047ef977944d791a2188ff6e6c225f6975cc1910ab7bb6838ab84cede","93f437e1398a4f06a984f441f7fa7a9f0535c04399619b5c22e0b87bdee182cb","afbe24ab0d74694372baa632ecb28bb375be53f3be53f9b07ecd7fc994907de5",{"version":"e16d218a30f6a6810b57f7e968124eaa08c7bb366133ea34bbf01e7cd6b8c0ad","affectsGlobalScope":true},{"version":"eb8692dea24c27821f77e397272d9ed2eda0b95e4a75beb0fdda31081d15a8ae","affectsGlobalScope":true},"9e043a1bc8fbf2a255bccf9bf27e0f1caf916c3b0518ea34aa72357c0afd42ec","b4f70ec656a11d570e1a9edce07d118cd58d9760239e2ece99306ee9dfe61d02","3bc2f1e2c95c04048212c569ed38e338873f6a8593930cf5a7ef24ffb38fc3b6","8145e07aad6da5f23f2fcd8c8e4c5c13fb26ee986a79d03b0829b8fce152d8b2","f9d9d753d430ed050dc1bf2667a1bab711ccbb1c1507183d794cc195a5b085cc","9eece5e586312581ccd106d4853e861aaaa1a39f8e3ea672b8c3847eedd12f6e","5b6844ad931dcc1d3aca53268f4bd671428421464b1286746027aede398094f2","37ba7b45141a45ce6e80e66f2a96c8a5ab1bcef0fc2d0f56bb58df96ec67e972","125d792ec6c0c0f657d758055c494301cc5fdb327d9d9d5960b3f129aff76093",{"version":"0225ecb9ed86bdb7a2c7fd01f1556906902929377b44483dc4b83e03b3ef227d","affectsGlobalScope":true},"1851a3b4db78664f83901bb9cac9e45e03a37bb5933cc5bf37e10bb7e91ab4eb","461e54289e6287e8494a0178ba18182acce51a02bca8dea219149bf2cf96f105",{"version":"12ed4559eba17cd977aa0db658d25c4047067444b51acfdcbf38470630642b23","affectsGlobalScope":true},"f3ffabc95802521e1e4bcba4c88d8615176dc6e09111d920c7a213bdda6e1d65","e31e51c55800014d926e3f74208af49cb7352803619855c89296074d1ecbb524","ae56f65caf3be91108707bd8dfbccc2a57a91feb5daabf7165a06a945545ed26","a136d5de521da20f31631a0a96bf712370779d1c05b7015d7019a9b2a0446ca9",{"version":"dfb96ba5177b68003deec9e773c47257da5c4c8a74053d8956389d832df72002","affectsGlobalScope":true},{"version":"92d3070580cf72b4bb80959b7f16ede9a3f39e6f4ef2ac87cfa4561844fdc69f","affectsGlobalScope":true},"d3dffd70e6375b872f0b4e152de4ae682d762c61a24881ecc5eb9f04c5caf76f","613deebaec53731ff6b74fe1a89f094b708033db6396b601df3e6d5ab0ec0a47","d91a7d8b5655c42986f1bdfe2105c4408f472831c8f20cf11a8c3345b6b56c8c",{"version":"e56eb632f0281c9f8210eb8c86cc4839a427a4ffffcfd2a5e40b956050b3e042","affectsGlobalScope":true},"e8a979b8af001c9fc2e774e7809d233c8ca955a28756f52ee5dee88ccb0611d2","9091e564b81e7b4c382a33c62de704a699e10508190547d4f7c1c3e039d2db2b","0c5f112b6d3377b9e8214d8920e1a69d8098b881d941f2ab3ca45234d13d68de","df47fd9f3376361bd3c95f8ed682e93f17975341bc48971fdcd1becfd7126bf3","7b4016a0a25c81c83f90dc80f0d71245d7f9a196ea33473bcddc5d90fa8e41bf","0049beb632aa48dd202a8fbedbd05ccef5c8eb51614ee73d7bb9bdcecb5076d7",{"version":"590f3f85a443b8cd585bdbd166fa106cdca51e2f43335ed18f290dae485f1c84","signature":"3f09961e24399762a0e785bacf28ec24c3960b5c6542506b6b114d9ea2080dd4"},{"version":"ba115425cf4a0c8f604162268078c1fe84632d855d3ddf24b6127be85e5b4d73","signature":"5f5cc568a58915de4329cc88d75c744a57ba28052c229e10ca5c715411d68fff"}],"root":[147,148],"options":{"allowJs":true,"composite":true,"declaration":true,"declarationMap":true,"esModuleInterop":true,"inlineSources":false,"module":99,"noUnusedLocals":false,"noUnusedParameters":false,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"strict":true,"strictNullChecks":true,"target":7},"fileIdsList":[[50,90,93],[50,92,93],[50,93,98,127],[50,93,94,99,105,113,124,135],[50,93,94,95,105,113],[50,93],[45,46,47,50,93],[50,93,96,136],[50,93,97,98,106,114],[50,93,98,124,132],[50,93,99,101,105,113],[50,92,93,100],[50,93,101,102],[50,93,103,105],[50,92,93,105],[50,93,105,106,107,124,135],[50,93,105,106,107,120,124,127],[50,88,93],[50,93,101,105,108,113,124,135],[50,93,105,106,108,109,113,124,132,135],[50,93,108,110,124,132,135],[50,93,105,111],[50,93,112,135,140],[50,93,101,105,113,124],[50,93,114],[50,93,115],[50,92,93,116],[50,90,91,92,93,94,95,96,97,98,99,100,101,102,103,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141],[50,93,118],[50,93,119],[50,93,105,120,121],[50,93,120,122,136,138],[50,93,105,124,125,127],[50,93,126,127],[50,93,124,125],[50,93,127],[50,93,128],[50,90,93,124,129],[50,93,105,130,131],[50,93,130,131],[50,93,98,113,124,132],[50,93,133],[93],[48,49,50,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141],[50,93,113,134],[50,93,108,119,135],[50,93,98,136],[50,93,124,137],[50,93,112,138],[50,93,139],[50,93,105,107,116,124,127,135,138,140],[50,93,124,141],[50,93,135,142],[50,60,64,93,135],[50,60,93,124,135],[50,55,93],[50,57,60,93,132,135],[50,93,113,132],[50,93,142],[50,55,93,142],[50,57,60,93,113,135],[50,52,53,56,59,93,105,124,135],[50,60,67,93],[50,52,58,93],[50,60,81,82,93],[50,56,60,93,127,135,142],[50,81,93,142],[50,54,55,93,142],[50,60,93],[50,54,55,56,57,58,59,60,61,62,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,82,83,84,85,86,87,93],[50,60,75,93],[50,60,67,68,93],[50,58,60,68,69,93],[50,59,93],[50,52,55,60,93],[50,60,64,68,69,93],[50,64,93],[50,58,60,63,93,135],[50,52,57,60,67,93],[50,93,124],[50,55,60,81,93,140,142],[50,93,106,146,148],[50,93,107,115,135,143,147],[50,93,144,145],[50,93,144]],"referencedMap":[[90,1],[91,1],[92,2],[93,3],[94,4],[95,5],[45,6],[48,7],[46,6],[47,6],[96,8],[97,9],[98,10],[99,11],[100,12],[101,13],[102,13],[104,6],[103,14],[105,15],[106,16],[107,17],[89,18],[108,19],[109,20],[110,21],[111,22],[112,23],[113,24],[114,25],[115,26],[116,27],[117,28],[118,29],[119,30],[120,31],[121,31],[122,32],[123,6],[124,33],[126,34],[125,35],[127,36],[128,37],[129,38],[130,39],[131,40],[132,41],[133,42],[50,43],[49,6],[142,44],[134,45],[135,46],[136,47],[137,48],[138,49],[139,50],[140,51],[141,52],[51,6],[143,53],[43,6],[44,6],[9,6],[8,6],[2,6],[10,6],[11,6],[12,6],[13,6],[14,6],[15,6],[16,6],[17,6],[3,6],[18,6],[4,6],[19,6],[23,6],[20,6],[21,6],[22,6],[24,6],[25,6],[26,6],[5,6],[27,6],[28,6],[29,6],[30,6],[6,6],[34,6],[31,6],[32,6],[33,6],[35,6],[7,6],[36,6],[41,6],[42,6],[37,6],[38,6],[39,6],[40,6],[1,6],[67,54],[77,55],[66,54],[87,56],[58,57],[57,58],[86,59],[80,60],[85,61],[60,62],[74,63],[59,64],[83,65],[55,66],[54,59],[84,67],[56,68],[61,69],[62,6],[65,69],[52,6],[88,70],[78,71],[69,72],[70,73],[72,74],[68,75],[71,76],[81,59],[63,77],[64,78],[73,79],[53,80],[76,71],[75,69],[79,6],[82,81],[147,82],[148,83],[146,84],[145,85],[144,6]],"latestChangedDtsFile":"./dist/index.d.ts"},"version":"5.5.4"}
|