@thi.ng/dgraph-dot 2.0.8 → 2.1.2

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 (3) hide show
  1. package/CHANGELOG.md +47 -28
  2. package/README.md +1 -1
  3. package/package.json +77 -72
package/CHANGELOG.md CHANGED
@@ -1,51 +1,70 @@
1
1
  # Change Log
2
2
 
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [2.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph-dot@2.0.7...@thi.ng/dgraph-dot@2.0.8) (2021-11-03)
7
-
8
- **Note:** Version bump only for package @thi.ng/dgraph-dot
9
-
10
-
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
11
5
 
6
+ All notable changes to this project will be documented in this file.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
12
8
 
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
13
11
 
14
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph-dot@1.0.8...@thi.ng/dgraph-dot@2.0.0) (2021-10-12)
12
+ ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dgraph-dot@2.1.0) (2021-11-17)
15
13
 
14
+ #### 🚀 Features
16
15
 
17
- ### Build System
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
18
21
 
19
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
22
+ #### ♻️ Refactoring
20
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.
21
30
 
22
- ### BREAKING CHANGES
31
+ ### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/dgraph-dot@2.0.1) (2021-10-13)
23
32
 
24
- * discontinue CommonJS & UMD versions
33
+ #### ♻️ Refactoring
25
34
 
26
- - only ESM modules will be published from now on
27
- - CJS obsolete due to ESM support in recent versions of node:
28
- - i.e. launch NodeJS via:
29
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
30
- - in the node REPL use `await import(...)` instead of `require()`
31
- - UMD obsolete due to widespread browser support for ESM
35
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
32
36
 
33
- Also:
34
- - normalize/restructure/reorg all package.json files
35
- - cleanup all build scripts, remove obsolete
36
- - switch from mocha to @thi.ng/testament for all tests
37
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dgraph-dot@2.0.0) (2021-10-12)
37
38
 
39
+ #### 🛑 Breaking changes
38
40
 
41
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
42
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
43
+ - only ESM modules will be published from now on
44
+ - CJS obsolete due to ESM support in recent versions of node:
45
+ - i.e. launch NodeJS via:
46
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
47
+ - in the node REPL use `await import(...)` instead of `require()`
48
+ - UMD obsolete due to widespread browser support for ESM
49
+ Also:
50
+ - normalize/restructure/reorg all package.json files
51
+ - cleanup all build scripts, remove obsolete
52
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
39
53
 
54
+ #### ♻️ Refactoring
40
55
 
56
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
57
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
41
58
 
59
+ ### [0.1.31](https://github.com/thi-ng/umbrella/tree/@thi.ng/dgraph-dot@0.1.31) (2020-12-07)
42
60
 
43
- ## [1.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/dgraph-dot@1.0.6...@thi.ng/dgraph-dot@1.0.7) (2021-08-22)
61
+ #### ♻️ Refactoring
44
62
 
45
- **Note:** Version bump only for package @thi.ng/dgraph-dot
63
+ - update type-only imports in remaining pkgs ([b22aa30](https://github.com/thi-ng/umbrella/commit/b22aa30))
64
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
46
65
 
47
- # 0.1.0 (2020-04-03)
66
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/dgraph-dot@0.1.0) (2020-04-03)
48
67
 
49
- ### Features
68
+ #### 🚀 Features
50
69
 
51
- - **dgraph-dot:** import as new pkg ([9671ced](https://github.com/thi-ng/umbrella/commit/9671ceda29b0cd0ebbedce449943eec5abeff882))
70
+ - import as new pkg ([9671ced](https://github.com/thi-ng/umbrella/commit/9671ced))
package/README.md CHANGED
@@ -58,7 +58,7 @@ node --experimental-repl-await
58
58
  > const dgraphDot = await import("@thi.ng/dgraph-dot");
59
59
  ```
60
60
 
61
- Package sizes (gzipped, pre-treeshake): ESM: 241 bytes
61
+ Package sizes (gzipped, pre-treeshake): ESM: 244 bytes
62
62
 
63
63
  ## Dependencies
64
64
 
package/package.json CHANGED
@@ -1,74 +1,79 @@
1
1
  {
2
- "name": "@thi.ng/dgraph-dot",
3
- "version": "2.0.8",
4
- "description": "Customizable Graphviz DOT serialization for @thi.ng/dgraph",
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/dgraph-dot",
3
+ "version": "2.1.2",
4
+ "description": "Customizable Graphviz DOT serialization for @thi.ng/dgraph",
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/dgraph-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/dgraph-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/api": "^8.1.0",
38
- "@thi.ng/dgraph": "^2.0.8",
39
- "@thi.ng/dot": "^2.0.7"
40
- },
41
- "devDependencies": {
42
- "@thi.ng/testament": "^0.1.6"
43
- },
44
- "keywords": [
45
- "2d",
46
- "dependency",
47
- "export",
48
- "fileformat",
49
- "graph",
50
- "graphviz",
51
- "typescript",
52
- "visualization"
53
- ],
54
- "publishConfig": {
55
- "access": "public"
56
- },
57
- "engines": {
58
- "node": ">=12.7"
59
- },
60
- "files": [
61
- "*.js",
62
- "*.d.ts"
63
- ],
64
- "exports": {
65
- ".": {
66
- "import": "./index.js"
67
- }
68
- },
69
- "thi.ng": {
70
- "parent": "@thi.ng/dgraph",
71
- "year": 2020
72
- },
73
- "gitHead": "852cd2450617c86d15d18477dc634f17f04202eb"
74
- }
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/api": "^8.3.2",
38
+ "@thi.ng/dgraph": "^2.1.2",
39
+ "@thi.ng/dot": "^2.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
+ "2d",
51
+ "dependency",
52
+ "export",
53
+ "fileformat",
54
+ "graph",
55
+ "graphviz",
56
+ "typescript",
57
+ "visualization"
58
+ ],
59
+ "publishConfig": {
60
+ "access": "public"
61
+ },
62
+ "engines": {
63
+ "node": ">=12.7"
64
+ },
65
+ "files": [
66
+ "*.js",
67
+ "*.d.ts"
68
+ ],
69
+ "exports": {
70
+ ".": {
71
+ "import": "./index.js"
72
+ }
73
+ },
74
+ "thi.ng": {
75
+ "parent": "@thi.ng/dgraph",
76
+ "year": 2020
77
+ },
78
+ "gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
79
+ }