@thi.ng/rstream-dot 2.0.9 → 2.1.3

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +91 -41
  2. package/package.json +85 -80
package/CHANGELOG.md CHANGED
@@ -1,87 +1,137 @@
1
1
  # Change Log
2
2
 
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
+
3
6
  All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
5
8
 
6
- ## [2.0.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@2.0.8...@thi.ng/rstream-dot@2.0.9) (2021-11-10)
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
7
11
 
8
- **Note:** Version bump only for package @thi.ng/rstream-dot
12
+ ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-dot@2.1.0) (2021-11-17)
9
13
 
14
+ #### 🚀 Features
10
15
 
16
+ - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
17
+ Improving the overall build ergonomics
18
+ - introduced a tools workspaces
19
+ - imported it in all needed packages/examples
20
+ - inclusive project root
11
21
 
22
+ #### ♻️ Refactoring
12
23
 
24
+ - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
25
+ this commit reverts (partly) changes made in:
26
+ ef346d7a8753590dc9094108a3d861a8dbd5dd2c
27
+ overall purpose is better testament ergonomics:
28
+ instead of having to pass NODE_OPTIONS with every invocation
29
+ having a binary to handle this for us.
13
30
 
14
- ## [2.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@2.0.7...@thi.ng/rstream-dot@2.0.8) (2021-11-03)
31
+ ### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-dot@2.0.1) (2021-10-13)
15
32
 
16
- **Note:** Version bump only for package @thi.ng/rstream-dot
33
+ #### ♻️ Refactoring
17
34
 
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
36
+ - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
37
+ - add .js suffix for all relative imports
18
38
 
39
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-dot@2.0.0) (2021-10-12)
19
40
 
41
+ #### 🛑 Breaking changes
20
42
 
43
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
44
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
45
+ - only ESM modules will be published from now on
46
+ - CJS obsolete due to ESM support in recent versions of node:
47
+ - i.e. launch NodeJS via:
48
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
49
+ - in the node REPL use `await import(...)` instead of `require()`
50
+ - UMD obsolete due to widespread browser support for ESM
51
+ Also:
52
+ - normalize/restructure/reorg all package.json files
53
+ - cleanup all build scripts, remove obsolete
54
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
21
55
 
22
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@1.2.29...@thi.ng/rstream-dot@2.0.0) (2021-10-12)
56
+ #### ♻️ Refactoring
23
57
 
58
+ - update imports in various pkgs (rstream) ([342cf54](https://github.com/thi-ng/umbrella/commit/342cf54))
59
+ - update imports (transducers) ([7fc60cd](https://github.com/thi-ng/umbrella/commit/7fc60cd))
60
+ - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
61
+ - update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
62
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
63
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
24
64
 
25
- ### Build System
65
+ ## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-dot@1.2.0) (2021-02-22)
26
66
 
27
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
67
+ #### 🚀 Features
28
68
 
69
+ - update opts, deps & value handling ([be0b146](https://github.com/thi-ng/umbrella/commit/be0b146))
70
+ - truncate node values if > 64 chars
71
+ - make color opts partial
72
+ - update default opts (top-bottom ranks, sans-serif font)
73
+ - various internal refactorings
74
+ - update deps
29
75
 
30
- ### BREAKING CHANGES
76
+ ### [1.1.52](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-dot@1.1.52) (2020-12-07)
31
77
 
32
- * discontinue CommonJS & UMD versions
78
+ #### ♻️ Refactoring
33
79
 
34
- - only ESM modules will be published from now on
35
- - CJS obsolete due to ESM support in recent versions of node:
36
- - i.e. launch NodeJS via:
37
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
38
- - in the node REPL use `await import(...)` instead of `require()`
39
- - UMD obsolete due to widespread browser support for ESM
80
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
40
81
 
41
- Also:
42
- - normalize/restructure/reorg all package.json files
43
- - cleanup all build scripts, remove obsolete
44
- - switch from mocha to @thi.ng/testament for all tests
82
+ ### [1.1.10](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-dot@1.1.10) (2020-02-25)
45
83
 
84
+ #### ♻️ Refactoring
46
85
 
86
+ - update imports ([c900e63](https://github.com/thi-ng/umbrella/commit/c900e63))
47
87
 
88
+ ## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-dot@1.1.0) (2019-07-07)
48
89
 
90
+ #### 🚀 Features
49
91
 
92
+ - enable TS strict compiler flags (refactor) ([acfe75e](https://github.com/thi-ng/umbrella/commit/acfe75e))
50
93
 
51
- # [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@1.1.59...@thi.ng/rstream-dot@1.2.0) (2021-02-22)
94
+ #### ♻️ Refactoring
52
95
 
53
- ### Features
96
+ - TS strictNullChecks ([efca49c](https://github.com/thi-ng/umbrella/commit/efca49c))
54
97
 
55
- - **rstream-dot:** update opts, deps & value handling ([be0b146](https://github.com/thi-ng/umbrella/commit/be0b146b2daeeff560f704bc5771ce5390e2ecf3))
98
+ # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-dot@1.0.0) (2019-01-21)
56
99
 
57
- # [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@1.0.26...@thi.ng/rstream-dot@1.1.0) (2019-07-07)
100
+ #### 🛑 Breaking changes
58
101
 
59
- ### Features
102
+ - update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
103
+ - BREAKING CHANGE: enable multi-outputs (ES6 modules, CJS, UMD)
104
+ - build scripts now first build ES6 modules in package root, then call
105
+ `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
106
+ - all imports MUST be updated to only refer to package level
107
+ (not individual files anymore). tree shaking in user land will get rid of
108
+ all unused imported symbols
60
109
 
61
- - **rstream-dot:** enable TS strict compiler flags (refactor) ([acfe75e](https://github.com/thi-ng/umbrella/commit/acfe75e))
110
+ ### [0.2.31](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-dot@0.2.31) (2018-08-01)
62
111
 
63
- # [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@0.2.64...@thi.ng/rstream-dot@1.0.0) (2019-01-21)
112
+ #### ♻️ Refactoring
64
113
 
65
- ### Build System
114
+ - cleanup imports ([c169017](https://github.com/thi-ng/umbrella/commit/c169017))
66
115
 
67
- - update package scripts, outputs, imports in remaining packages ([f912a84](https://github.com/thi-ng/umbrella/commit/f912a84))
116
+ ### [0.2.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-dot@0.2.4) (2018-05-10)
68
117
 
69
- ### BREAKING CHANGES
118
+ #### ♻️ Refactoring
70
119
 
71
- - enable multi-outputs (ES6 modules, CJS, UMD)
72
- - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
73
- - all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols
120
+ - update deps & imports in all packages due to [@thi.ng/api](https://github.com/thi-ng/umbrella/tree/main/packages/api) split ([bc45636](https://github.com/thi-ng/umbrella/commit/bc45636))
74
121
 
75
- # [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rstream-dot@0.1.2...@thi.ng/rstream-dot@0.2.0) (2018-04-26)
122
+ ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-dot@0.2.0) (2018-04-26)
76
123
 
77
- ### Features
124
+ #### 🚀 Features
78
125
 
79
- - **rstream-dot:** add option to include stream values in diag ([d057d95](https://github.com/thi-ng/umbrella/commit/d057d95))
126
+ - add option to include stream values in diag ([d057d95](https://github.com/thi-ng/umbrella/commit/d057d95))
127
+ - add DotOpts.values option
128
+ - update walk() to accept optional DotOpts arg
129
+ - update dotNode()
80
130
 
81
- # 0.1.0 (2018-04-24)
131
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rstream-dot@0.1.0) (2018-04-24)
82
132
 
83
- ### Features
133
+ #### 🚀 Features
84
134
 
85
- - **rstream-dot:** add xform edge labels, extract types to api.ts ([7ffaa61](https://github.com/thi-ng/umbrella/commit/7ffaa61))
86
- - **rstream-dot:** initial import [@thi](https://github.com/thi).ng/rstream-dot package ([e72478a](https://github.com/thi-ng/umbrella/commit/e72478a))
87
- - **rstream-dot:** support multiple roots in walk() ([704025a](https://github.com/thi-ng/umbrella/commit/704025a))
135
+ - add xform edge labels, extract types to api.ts ([7ffaa61](https://github.com/thi-ng/umbrella/commit/7ffaa61))
136
+ - support multiple roots in walk() ([704025a](https://github.com/thi-ng/umbrella/commit/704025a))
137
+ - initial import [@thi.ng/rstream-dot](https://github.com/thi-ng/umbrella/tree/main/packages/rstream-dot) package ([e72478a](https://github.com/thi-ng/umbrella/commit/e72478a))
package/package.json CHANGED
@@ -1,84 +1,89 @@
1
1
  {
2
- "name": "@thi.ng/rstream-dot",
3
- "version": "2.0.9",
4
- "description": "Graphviz DOT conversion of @thi.ng/rstream dataflow graph topologies",
5
- "type": "module",
6
- "module": "./index.js",
7
- "typings": "./index.d.ts",
8
- "sideEffects": false,
9
- "repository": {
10
- "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
2
+ "name": "@thi.ng/rstream-dot",
3
+ "version": "2.1.3",
4
+ "description": "Graphviz DOT conversion of @thi.ng/rstream dataflow graph topologies",
5
+ "type": "module",
6
+ "module": "./index.js",
7
+ "typings": "./index.d.ts",
8
+ "sideEffects": false,
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "https://github.com/thi-ng/umbrella.git"
12
+ },
13
+ "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/rstream-dot#readme",
14
+ "funding": [
15
+ {
16
+ "type": "github",
17
+ "url": "https://github.com/sponsors/postspectacular"
12
18
  },
13
- "homepage": "https://github.com/thi-ng/umbrella/tree/develop/packages/rstream-dot#readme",
14
- "funding": [
15
- {
16
- "type": "github",
17
- "url": "https://github.com/sponsors/postspectacular"
18
- },
19
- {
20
- "type": "patreon",
21
- "url": "https://patreon.com/thing_umbrella"
22
- }
23
- ],
24
- "author": "Karsten Schmidt <k+npm@thi.ng>",
25
- "license": "Apache-2.0",
26
- "scripts": {
27
- "build": "yarn clean && tsc --declaration",
28
- "clean": "rimraf *.js *.d.ts *.map doc",
29
- "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
- "doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
31
- "doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
32
- "doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
33
- "pub": "yarn build && yarn publish --access public",
34
- "test": "testament test"
35
- },
36
- "dependencies": {
37
- "@thi.ng/rstream": "^7.0.9",
38
- "@thi.ng/strings": "^3.1.4",
39
- "@thi.ng/transducers": "^8.0.8"
40
- },
41
- "devDependencies": {
42
- "@thi.ng/testament": "^0.1.6"
43
- },
44
- "keywords": [
45
- "conversion",
46
- "dataflow",
47
- "fileformat",
48
- "graph",
49
- "graphviz",
50
- "reactive",
51
- "rstream",
52
- "stream",
53
- "topology",
54
- "typescript",
55
- "visualization"
56
- ],
57
- "publishConfig": {
58
- "access": "public"
59
- },
60
- "engines": {
61
- "node": ">=12.7"
19
+ {
20
+ "type": "patreon",
21
+ "url": "https://patreon.com/thing_umbrella"
22
+ }
23
+ ],
24
+ "author": "Karsten Schmidt <k+npm@thi.ng>",
25
+ "license": "Apache-2.0",
26
+ "scripts": {
27
+ "build": "yarn clean && tsc --declaration",
28
+ "clean": "rimraf '*.js' '*.d.ts' '*.map' doc",
29
+ "doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
30
+ "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
31
+ "doc:readme": "yarn doc:stats && tools:readme",
32
+ "doc:stats": "tools:module-stats",
33
+ "pub": "yarn npm publish --access public",
34
+ "test": "testament test"
35
+ },
36
+ "dependencies": {
37
+ "@thi.ng/rstream": "^7.2.0",
38
+ "@thi.ng/strings": "^3.3.0",
39
+ "@thi.ng/transducers": "^8.1.2"
40
+ },
41
+ "devDependencies": {
42
+ "@microsoft/api-extractor": "^7.18.19",
43
+ "@thi.ng/testament": "^0.2.2",
44
+ "rimraf": "^3.0.2",
45
+ "tools": "^0.0.1",
46
+ "typedoc": "^0.22.9",
47
+ "typescript": "^4.5.2"
48
+ },
49
+ "keywords": [
50
+ "conversion",
51
+ "dataflow",
52
+ "fileformat",
53
+ "graph",
54
+ "graphviz",
55
+ "reactive",
56
+ "rstream",
57
+ "stream",
58
+ "topology",
59
+ "typescript",
60
+ "visualization"
61
+ ],
62
+ "publishConfig": {
63
+ "access": "public"
64
+ },
65
+ "engines": {
66
+ "node": ">=12.7"
67
+ },
68
+ "files": [
69
+ "*.js",
70
+ "*.d.ts"
71
+ ],
72
+ "exports": {
73
+ ".": {
74
+ "import": "./index.js"
62
75
  },
63
- "files": [
64
- "*.js",
65
- "*.d.ts"
76
+ "./api": {
77
+ "import": "./api.js"
78
+ }
79
+ },
80
+ "thi.ng": {
81
+ "parent": "@thi.ng/rstream",
82
+ "related": [
83
+ "dgraph-dot",
84
+ "dot"
66
85
  ],
67
- "exports": {
68
- ".": {
69
- "import": "./index.js"
70
- },
71
- "./api": {
72
- "import": "./api.js"
73
- }
74
- },
75
- "thi.ng": {
76
- "parent": "@thi.ng/rstream",
77
- "related": [
78
- "dgraph-dot",
79
- "dot"
80
- ],
81
- "year": 2018
82
- },
83
- "gitHead": "5fe52419af63984ebe53032201b2a6174b9cb159"
84
- }
86
+ "year": 2018
87
+ },
88
+ "gitHead": "32cf1a96854f9bb97aca65ffa05ca862ea377059\n"
89
+ }