ts-graphviz 0.0.0-next-20240316100427 → 0.0.0-next-20240317150638
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 +19 -6
- package/lib/attribute.d.ts +1 -1
- package/lib/from-dot.d.ts +2 -2
- package/lib/model-factory-builder.d.ts +2 -2
- package/lib/model-factory.d.ts +2 -2
- package/lib/to-dot.d.ts +2 -2
- package/lib/types.d.ts +1 -1
- package/package.json +8 -15
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
# ts-graphviz
|
|
2
2
|
|
|
3
|
-
## 0.0.0-next-
|
|
3
|
+
## 0.0.0-next-20240317150638
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#992](https://github.com/ts-graphviz/ts-graphviz/pull/992) [`391e98e`](https://github.com/ts-graphviz/ts-graphviz/commit/391e98edf70bb43c1feb4a00f832fa9d96dd9d39) Thanks [@kamiazya](https://github.com/kamiazya)! - Add HTMLLikeLabel types
|
|
4
8
|
|
|
5
9
|
### Patch Changes
|
|
6
10
|
|
|
@@ -18,11 +22,20 @@
|
|
|
18
22
|
|
|
19
23
|
- [#986](https://github.com/ts-graphviz/ts-graphviz/pull/986) [`81a50ff`](https://github.com/ts-graphviz/ts-graphviz/commit/81a50ff94b461f44256f2eea5b86af5eb26afd94) Thanks [@dependabot](https://github.com/apps/dependabot)! - build(deps): bump actions/dependency-review-action from 2.5.1 to 4.1.3
|
|
20
24
|
|
|
21
|
-
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
-
|
|
25
|
+
- [#993](https://github.com/ts-graphviz/ts-graphviz/pull/993) [`a16f047`](https://github.com/ts-graphviz/ts-graphviz/commit/a16f047dfdd5db73f3e25847cf3fb2f8075aaf11) Thanks [@kamiazya](https://github.com/kamiazya)! - Remove pegjs devDependencies
|
|
26
|
+
|
|
27
|
+
- [#993](https://github.com/ts-graphviz/ts-graphviz/pull/993) [`a16f047`](https://github.com/ts-graphviz/ts-graphviz/commit/a16f047dfdd5db73f3e25847cf3fb2f8075aaf11) Thanks [@kamiazya](https://github.com/kamiazya)! - ## Some changes
|
|
28
|
+
|
|
29
|
+
- Add scorecard workflow https://github.com/ts-graphviz/ts-graphviz/pull/975
|
|
30
|
+
- Update devcontainer.json to remove deno.cache path https://github.com/ts-graphviz/ts-graphviz/pull/974
|
|
31
|
+
|
|
32
|
+
- [#993](https://github.com/ts-graphviz/ts-graphviz/pull/993) [`a16f047`](https://github.com/ts-graphviz/ts-graphviz/commit/a16f047dfdd5db73f3e25847cf3fb2f8075aaf11) Thanks [@kamiazya](https://github.com/kamiazya)! - Fix export styles
|
|
33
|
+
|
|
34
|
+
- Updated dependencies [[`cb5517a`](https://github.com/ts-graphviz/ts-graphviz/commit/cb5517a0236ce33527d200df9770390f4eb40064), [`0589b4f`](https://github.com/ts-graphviz/ts-graphviz/commit/0589b4f8849290d2c4a39beceb9b633f059f2e3f), [`5ce6b59`](https://github.com/ts-graphviz/ts-graphviz/commit/5ce6b59fa395bc344de2bfb15061b158a9ea5586), [`122336b`](https://github.com/ts-graphviz/ts-graphviz/commit/122336bede1033f73a2a94c82d499fda238f6b2e), [`b5f36fa`](https://github.com/ts-graphviz/ts-graphviz/commit/b5f36faf9cf70dfc263130c4480dc21770475c5a), [`c55f2d0`](https://github.com/ts-graphviz/ts-graphviz/commit/c55f2d0dfa851d318cc16a36499c69c0a34f1588), [`81a50ff`](https://github.com/ts-graphviz/ts-graphviz/commit/81a50ff94b461f44256f2eea5b86af5eb26afd94), [`391e98e`](https://github.com/ts-graphviz/ts-graphviz/commit/391e98edf70bb43c1feb4a00f832fa9d96dd9d39), [`a16f047`](https://github.com/ts-graphviz/ts-graphviz/commit/a16f047dfdd5db73f3e25847cf3fb2f8075aaf11), [`a16f047`](https://github.com/ts-graphviz/ts-graphviz/commit/a16f047dfdd5db73f3e25847cf3fb2f8075aaf11)]:
|
|
35
|
+
- @ts-graphviz/core@0.0.0-next-20240317150638
|
|
36
|
+
- @ts-graphviz/common@0.0.0-next-20240317150638
|
|
37
|
+
- @ts-graphviz/ast@0.0.0-next-20240317150638
|
|
38
|
+
- @ts-graphviz/adapter@0.0.0-next-20240317150638
|
|
26
39
|
|
|
27
40
|
## 2.0.0
|
|
28
41
|
|
package/lib/attribute.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Attribute } from '@ts-graphviz/common';
|
|
1
|
+
import type { Attribute } from '@ts-graphviz/common';
|
|
2
2
|
export declare const attribute: Attribute.keys;
|
package/lib/from-dot.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ConvertToModelOptions, ParseOptions } from '@ts-graphviz/ast';
|
|
2
|
-
import { EdgeModel, NodeModel, RootGraphModel, SubgraphModel } from '@ts-graphviz/common';
|
|
1
|
+
import { type ConvertToModelOptions, type ParseOptions } from '@ts-graphviz/ast';
|
|
2
|
+
import type { EdgeModel, NodeModel, RootGraphModel, SubgraphModel } from '@ts-graphviz/common';
|
|
3
3
|
export interface FromDotOptions<T extends 'Dot' | 'Graph' | 'Node' | 'Edge' | 'Subgraph'> {
|
|
4
4
|
parse?: ParseOptions<T>;
|
|
5
5
|
convert?: ConvertToModelOptions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModelsContext } from '@ts-graphviz/common';
|
|
2
|
-
import { ModelFactory } from './types.js';
|
|
1
|
+
import { type ModelsContext } from '@ts-graphviz/common';
|
|
2
|
+
import type { ModelFactory } from './types.js';
|
|
3
3
|
export declare function ModelFactoryBuilder(this: ModelsContext, directed: boolean, strictMode: boolean): ModelFactory;
|
|
4
4
|
export declare function createModelFactories(strict: boolean, context?: ModelsContext): Readonly<{
|
|
5
5
|
digraph: ModelFactory;
|
package/lib/model-factory.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ModelsContext } from '@ts-graphviz/common';
|
|
2
|
-
import { ModelFactories, ModelFactoriesWithStrict } from './types.js';
|
|
1
|
+
import { type ModelsContext } from '@ts-graphviz/common';
|
|
2
|
+
import type { ModelFactories, ModelFactoriesWithStrict } from './types.js';
|
|
3
3
|
export declare const digraph: import("./types.js").ModelFactory;
|
|
4
4
|
export declare const graph: import("./types.js").ModelFactory;
|
|
5
5
|
export declare const strict: ModelFactories;
|
package/lib/to-dot.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ConvertFromModelOptions, PrintOptions } from '@ts-graphviz/ast';
|
|
2
|
-
import { DotObjectModel } from '@ts-graphviz/common';
|
|
1
|
+
import { type ConvertFromModelOptions, type PrintOptions } from '@ts-graphviz/ast';
|
|
2
|
+
import type { DotObjectModel } from '@ts-graphviz/common';
|
|
3
3
|
export interface ToDotOptions {
|
|
4
4
|
convert?: ConvertFromModelOptions;
|
|
5
5
|
print?: PrintOptions;
|
package/lib/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GraphAttributesObject, RootGraphModel } from '@ts-graphviz/common';
|
|
1
|
+
import type { GraphAttributesObject, RootGraphModel } from '@ts-graphviz/common';
|
|
2
2
|
export interface ModelFactory {
|
|
3
3
|
(id?: string, attributes?: GraphAttributesObject, callback?: (g: RootGraphModel) => void): RootGraphModel;
|
|
4
4
|
(attributes?: GraphAttributesObject, callback?: (g: RootGraphModel) => void): RootGraphModel;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ts-graphviz",
|
|
3
|
-
"version": "0.0.0-next-
|
|
3
|
+
"version": "0.0.0-next-20240317150638",
|
|
4
4
|
"description": "Graphviz library for TypeScript",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"graphviz",
|
|
@@ -31,14 +31,9 @@
|
|
|
31
31
|
"type": "module",
|
|
32
32
|
"exports": {
|
|
33
33
|
".": {
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
},
|
|
38
|
-
"import": {
|
|
39
|
-
"types": "./lib/ts-graphviz.d.ts",
|
|
40
|
-
"default": "./lib/ts-graphviz.js"
|
|
41
|
-
}
|
|
34
|
+
"types": "./lib/ts-graphviz.d.ts",
|
|
35
|
+
"require": "./lib/ts-graphviz.cjs",
|
|
36
|
+
"default": "./lib/ts-graphviz.js"
|
|
42
37
|
},
|
|
43
38
|
"./ast": {
|
|
44
39
|
"types": "./lib/ast.d.ts",
|
|
@@ -56,14 +51,12 @@
|
|
|
56
51
|
"module": "./lib/ts-graphviz.js",
|
|
57
52
|
"types": "lib/ts-graphviz.d.ts",
|
|
58
53
|
"dependencies": {
|
|
59
|
-
"@ts-graphviz/adapter": "^0.0.0-next-
|
|
60
|
-
"@ts-graphviz/ast": "^0.0.0-next-
|
|
61
|
-
"@ts-graphviz/common": "^0.0.0-next-
|
|
62
|
-
"@ts-graphviz/core": "^0.0.0-next-
|
|
54
|
+
"@ts-graphviz/adapter": "^0.0.0-next-20240317150638",
|
|
55
|
+
"@ts-graphviz/ast": "^0.0.0-next-20240317150638",
|
|
56
|
+
"@ts-graphviz/common": "^0.0.0-next-20240317150638",
|
|
57
|
+
"@ts-graphviz/core": "^0.0.0-next-20240317150638"
|
|
63
58
|
},
|
|
64
59
|
"devDependencies": {
|
|
65
|
-
"peggy": "^3.0.2",
|
|
66
|
-
"ts-pegjs": "^4.2.1",
|
|
67
60
|
"typescript": "^5.3.3",
|
|
68
61
|
"vite": "^5.1.3",
|
|
69
62
|
"vite-plugin-dts": "^3.7.3"
|