@thi.ng/rdom-canvas 0.3.6 → 0.4.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 +66 -48
  2. package/package.json +91 -86
package/CHANGELOG.md CHANGED
@@ -1,85 +1,103 @@
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
- ## [0.3.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/rdom-canvas@0.3.5...@thi.ng/rdom-canvas@0.3.6) (2021-11-10)
7
-
8
- **Note:** Version bump only for package @thi.ng/rdom-canvas
9
-
10
-
11
-
12
-
13
-
14
- ## [0.3.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/rdom-canvas@0.3.4...@thi.ng/rdom-canvas@0.3.5) (2021-11-04)
15
-
16
- **Note:** Version bump only for package @thi.ng/rdom-canvas
17
-
18
-
19
-
20
-
21
-
22
- ## [0.3.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/rdom-canvas@0.3.3...@thi.ng/rdom-canvas@0.3.4) (2021-11-03)
23
-
24
- **Note:** Version bump only for package @thi.ng/rdom-canvas
3
+ - **Last updated**: 2021-11-21T17:09:28Z
4
+ - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
25
5
 
6
+ All notable changes to this project will be documented in this file.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
26
8
 
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
27
11
 
12
+ ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-canvas@0.4.0) (2021-11-17)
28
13
 
14
+ #### 🚀 Features
29
15
 
30
- # [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rdom-canvas@0.2.4...@thi.ng/rdom-canvas@0.3.0) (2021-10-25)
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
31
21
 
22
+ #### ♻️ Refactoring
32
23
 
33
- ### Features
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.
34
30
 
35
- * **rdom-canvas:** add lifecycle events, canvas opts ([a579904](https://github.com/thi-ng/umbrella/commit/a5799040ae6244ffe2695623f400962285cc5df0))
31
+ ## [0.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-canvas@0.3.0) (2021-10-25)
36
32
 
33
+ #### 🚀 Features
37
34
 
35
+ - add lifecycle events, canvas opts ([a579904](https://github.com/thi-ng/umbrella/commit/a579904))
38
36
 
37
+ ### [0.2.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-canvas@0.2.1) (2021-10-13)
39
38
 
39
+ #### ♻️ Refactoring
40
40
 
41
- # [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/rdom-canvas@0.1.60...@thi.ng/rdom-canvas@0.2.0) (2021-10-12)
41
+ - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
42
42
 
43
+ ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-canvas@0.2.0) (2021-10-12)
43
44
 
44
- ### Bug Fixes
45
+ #### 🛑 Breaking changes
45
46
 
46
- * minor updates (TS4.4) ([7e91cc2](https://github.com/thi-ng/umbrella/commit/7e91cc2b20371d6969f29ec40393d64efb3d9375))
47
+ - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
48
+ - BREAKING CHANGE: discontinue CommonJS & UMD versions
49
+ - only ESM modules will be published from now on
50
+ - CJS obsolete due to ESM support in recent versions of node:
51
+ - i.e. launch NodeJS via:
52
+ - `node --experimental-specifier-resolution=node --experimental-repl-await`
53
+ - in the node REPL use `await import(...)` instead of `require()`
54
+ - UMD obsolete due to widespread browser support for ESM
55
+ Also:
56
+ - normalize/restructure/reorg all package.json files
57
+ - cleanup all build scripts, remove obsolete
58
+ - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
47
59
 
60
+ #### 🩹 Bug fixes
48
61
 
49
- ### Build System
62
+ - minor updates (TS4.4) ([7e91cc2](https://github.com/thi-ng/umbrella/commit/7e91cc2))
63
+ - redeclare, not override inherited class properties
50
64
 
51
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
65
+ #### ♻️ Refactoring
52
66
 
67
+ - update imports (transducers) ([2fd7619](https://github.com/thi-ng/umbrella/commit/2fd7619))
68
+ - update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
69
+ - update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
70
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
71
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
53
72
 
54
- ### BREAKING CHANGES
73
+ ### [0.1.43](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-canvas@0.1.43) (2021-04-03)
55
74
 
56
- * discontinue CommonJS & UMD versions
75
+ #### ♻️ Refactoring
57
76
 
58
- - only ESM modules will be published from now on
59
- - CJS obsolete due to ESM support in recent versions of node:
60
- - i.e. launch NodeJS via:
61
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
62
- - in the node REPL use `await import(...)` instead of `require()`
63
- - UMD obsolete due to widespread browser support for ESM
77
+ - minor updates ([b44b5e8](https://github.com/thi-ng/umbrella/commit/b44b5e8))
64
78
 
65
- Also:
66
- - normalize/restructure/reorg all package.json files
67
- - cleanup all build scripts, remove obsolete
68
- - switch from mocha to @thi.ng/testament for all tests
79
+ ### [0.1.36](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-canvas@0.1.36) (2021-03-12)
69
80
 
81
+ #### ♻️ Refactoring
70
82
 
83
+ - minor update arg type (generics) ([a7748b3](https://github.com/thi-ng/umbrella/commit/a7748b3))
84
+ - update to use ISubscription only ([145cfe8](https://github.com/thi-ng/umbrella/commit/145cfe8))
71
85
 
86
+ ### [0.1.21](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-canvas@0.1.21) (2020-12-07)
72
87
 
88
+ #### ♻️ Refactoring
73
89
 
90
+ - update type-only imports ([2037326](https://github.com/thi-ng/umbrella/commit/2037326))
74
91
 
75
- ## [0.1.9](https://github.com/thi-ng/umbrella/compare/@thi.ng/rdom-canvas@0.1.8...@thi.ng/rdom-canvas@0.1.9) (2020-07-28)
92
+ ### [0.1.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-canvas@0.1.9) (2020-07-28)
76
93
 
77
- ### Bug Fixes
94
+ #### 🩹 Bug fixes
78
95
 
79
- - **rdom-canvas:** static canvas size handling ([1a03c70](https://github.com/thi-ng/umbrella/commit/1a03c70e3e9fe6c8b096f78084dc590102d96893))
96
+ - static canvas size handling ([1a03c70](https://github.com/thi-ng/umbrella/commit/1a03c70))
97
+ - use `reactive()` instead of `trigger()`
80
98
 
81
- # 0.1.0 (2020-07-02)
99
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-canvas@0.1.0) (2020-07-02)
82
100
 
83
- ### Features
101
+ #### 🚀 Features
84
102
 
85
- - **rdom-canvas:** import as new pkg ([369d4de](https://github.com/thi-ng/umbrella/commit/369d4de29c0b0c1ff3092126902f1835ac61870e))
103
+ - import as new pkg ([369d4de](https://github.com/thi-ng/umbrella/commit/369d4de))
package/package.json CHANGED
@@ -1,89 +1,94 @@
1
1
  {
2
- "name": "@thi.ng/rdom-canvas",
3
- "version": "0.3.6",
4
- "description": "@thi.ng/rdom component wrapper for @thi.ng/hiccup-canvas and declarative canvas drawing",
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/rdom-canvas",
3
+ "version": "0.4.3",
4
+ "description": "@thi.ng/rdom component wrapper for @thi.ng/hiccup-canvas and declarative canvas drawing",
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/master/packages/rdom-canvas#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/master/packages/rdom-canvas#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
- }
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/adapt-dpi": "^2.1.2",
38
+ "@thi.ng/api": "^8.3.2",
39
+ "@thi.ng/associative": "^6.1.2",
40
+ "@thi.ng/checks": "^3.1.2",
41
+ "@thi.ng/hiccup-canvas": "^2.1.3",
42
+ "@thi.ng/rdom": "^0.8.2",
43
+ "@thi.ng/rstream": "^7.2.0",
44
+ "@thi.ng/transducers": "^8.1.2"
45
+ },
46
+ "devDependencies": {
47
+ "@microsoft/api-extractor": "^7.18.19",
48
+ "@thi.ng/testament": "^0.2.2",
49
+ "rimraf": "^3.0.2",
50
+ "tools": "^0.0.1",
51
+ "typedoc": "^0.22.9",
52
+ "typescript": "^4.5.2"
53
+ },
54
+ "keywords": [
55
+ "animation",
56
+ "browser",
57
+ "canvas",
58
+ "component",
59
+ "declarative",
60
+ "graphics",
61
+ "hiccup",
62
+ "scenegraph",
63
+ "typescript",
64
+ "ui",
65
+ "wrapper"
66
+ ],
67
+ "publishConfig": {
68
+ "access": "public"
69
+ },
70
+ "engines": {
71
+ "node": ">=12.7"
72
+ },
73
+ "files": [
74
+ "*.js",
75
+ "*.d.ts"
76
+ ],
77
+ "exports": {
78
+ ".": {
79
+ "import": "./index.js"
80
+ }
81
+ },
82
+ "thi.ng": {
83
+ "parent": "@thi.ng/rdom",
84
+ "related": [
85
+ "hiccup-canvas",
86
+ "hiccup-svg",
87
+ "geom",
88
+ "scenegraph"
23
89
  ],
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/adapt-dpi": "^2.0.6",
38
- "@thi.ng/api": "^8.2.0",
39
- "@thi.ng/associative": "^6.0.9",
40
- "@thi.ng/checks": "^3.0.7",
41
- "@thi.ng/hiccup-canvas": "^2.0.10",
42
- "@thi.ng/rdom": "^0.7.9",
43
- "@thi.ng/rstream": "^7.0.9",
44
- "@thi.ng/transducers": "^8.0.8"
45
- },
46
- "devDependencies": {
47
- "@thi.ng/testament": "^0.1.6"
48
- },
49
- "keywords": [
50
- "animation",
51
- "browser",
52
- "canvas",
53
- "component",
54
- "declarative",
55
- "graphics",
56
- "hiccup",
57
- "scenegraph",
58
- "typescript",
59
- "ui",
60
- "wrapper"
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"
75
- }
76
- },
77
- "thi.ng": {
78
- "parent": "@thi.ng/rdom",
79
- "related": [
80
- "hiccup-canvas",
81
- "hiccup-svg",
82
- "geom",
83
- "scenegraph"
84
- ],
85
- "status": "alpha",
86
- "year": 2020
87
- },
88
- "gitHead": "5fe52419af63984ebe53032201b2a6174b9cb159"
89
- }
90
+ "status": "alpha",
91
+ "year": 2020
92
+ },
93
+ "gitHead": "d777b58d7bec4496d38166cdabda4ffb78b0dc47\n"
94
+ }