2024-10-03 23:15:42 +05:30
|
|
|
export interface PackageOptions {
|
|
|
|
name: string;
|
|
|
|
packageName: string;
|
|
|
|
file: string;
|
|
|
|
}
|
|
|
|
|
2023-08-13 18:33:41 +05:30
|
|
|
/**
|
|
|
|
* Shared common options for both ESBuild and Vite
|
|
|
|
*/
|
|
|
|
export const packageOptions = {
|
2023-08-20 17:00:45 +03:00
|
|
|
parser: {
|
|
|
|
name: 'mermaid-parser',
|
|
|
|
packageName: 'parser',
|
|
|
|
file: 'index.ts',
|
|
|
|
},
|
2023-08-13 18:33:41 +05:30
|
|
|
mermaid: {
|
|
|
|
name: 'mermaid',
|
|
|
|
packageName: 'mermaid',
|
|
|
|
file: 'mermaid.ts',
|
|
|
|
},
|
|
|
|
'mermaid-example-diagram': {
|
|
|
|
name: 'mermaid-example-diagram',
|
|
|
|
packageName: 'mermaid-example-diagram',
|
|
|
|
file: 'detector.ts',
|
|
|
|
},
|
|
|
|
'mermaid-zenuml': {
|
|
|
|
name: 'mermaid-zenuml',
|
|
|
|
packageName: 'mermaid-zenuml',
|
|
|
|
file: 'detector.ts',
|
|
|
|
},
|
2024-05-15 18:59:53 +05:30
|
|
|
'mermaid-layout-elk': {
|
|
|
|
name: 'mermaid-layout-elk',
|
|
|
|
packageName: 'mermaid-layout-elk',
|
2024-05-22 17:01:34 +05:30
|
|
|
file: 'layouts.ts',
|
2024-05-15 18:59:53 +05:30
|
|
|
},
|
2024-10-03 23:15:42 +05:30
|
|
|
} as const satisfies Record<string, PackageOptions>;
|