@duro-app/diagrams 0.51.0 → 1.0.0
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/dist/component-meta.d.ts
CHANGED
|
@@ -1,15 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
description: string;
|
|
3
|
-
whenToUse: string[];
|
|
4
|
-
whenNotToUse: string[];
|
|
5
|
-
anatomy?: {
|
|
6
|
-
required: string[];
|
|
7
|
-
optional?: string[];
|
|
8
|
-
};
|
|
9
|
-
relatedTo?: Array<{
|
|
10
|
-
component: string;
|
|
11
|
-
relationship: string;
|
|
12
|
-
}>;
|
|
13
|
-
example: string;
|
|
14
|
-
}
|
|
1
|
+
export type { ComponentMeta } from '@duro-app/ui/component-meta';
|
|
15
2
|
//# sourceMappingURL=component-meta.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-meta.d.ts","sourceRoot":"","sources":["../src/component-meta.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"component-meta.d.ts","sourceRoot":"","sources":["../src/component-meta.ts"],"names":[],"mappings":"AAEA,YAAY,EAAC,aAAa,EAAC,MAAM,6BAA6B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@duro-app/diagrams",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -43,7 +43,8 @@
|
|
|
43
43
|
"typescript": "^5.7.0",
|
|
44
44
|
"vite": "^6.0.0",
|
|
45
45
|
"vite-plugin-babel": "^1.5.0",
|
|
46
|
-
"vite-plugin-dts": "^4.0.0"
|
|
46
|
+
"vite-plugin-dts": "^4.0.0",
|
|
47
|
+
"@duro-app/ui": "^1.0.0"
|
|
47
48
|
},
|
|
48
49
|
"sideEffects": [
|
|
49
50
|
"**/*.css"
|
package/src/component-meta.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
whenNotToUse: string[]
|
|
5
|
-
anatomy?: {required: string[]; optional?: string[]}
|
|
6
|
-
relatedTo?: Array<{component: string; relationship: string}>
|
|
7
|
-
example: string
|
|
8
|
-
}
|
|
1
|
+
// Single source of truth lives in @duro-app/ui; this re-export keeps the
|
|
2
|
+
// diagram metas' existing relative imports working.
|
|
3
|
+
export type {ComponentMeta} from '@duro-app/ui/component-meta'
|