@thi.ng/rdom-canvas 0.3.5 → 0.4.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 +66 -40
  2. package/README.md +1 -1
  3. package/package.json +91 -86
package/CHANGELOG.md CHANGED
@@ -1,77 +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.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)
7
-
8
- **Note:** Version bump only for package @thi.ng/rdom-canvas
9
-
10
-
11
-
12
-
13
-
14
- ## [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)
15
-
16
- **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)
17
5
 
6
+ All notable changes to this project will be documented in this file.
7
+ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
18
8
 
9
+ **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
10
+ and/or version bumps of transitive dependencies.
19
11
 
12
+ ## [0.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-canvas@0.4.0) (2021-11-17)
20
13
 
14
+ #### 🚀 Features
21
15
 
22
- # [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
23
21
 
22
+ #### ♻️ Refactoring
24
23
 
25
- ### 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.
26
30
 
27
- * **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)
28
32
 
33
+ #### 🚀 Features
29
34
 
35
+ - add lifecycle events, canvas opts ([a579904](https://github.com/thi-ng/umbrella/commit/a579904))
30
36
 
37
+ ### [0.2.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-canvas@0.2.1) (2021-10-13)
31
38
 
39
+ #### ♻️ Refactoring
32
40
 
33
- # [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))
34
42
 
43
+ ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-canvas@0.2.0) (2021-10-12)
35
44
 
36
- ### Bug Fixes
45
+ #### 🛑 Breaking changes
37
46
 
38
- * 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
39
59
 
60
+ #### 🩹 Bug fixes
40
61
 
41
- ### Build System
62
+ - minor updates (TS4.4) ([7e91cc2](https://github.com/thi-ng/umbrella/commit/7e91cc2))
63
+ - redeclare, not override inherited class properties
42
64
 
43
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
65
+ #### ♻️ Refactoring
44
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)
45
72
 
46
- ### BREAKING CHANGES
73
+ ### [0.1.43](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-canvas@0.1.43) (2021-04-03)
47
74
 
48
- * discontinue CommonJS & UMD versions
75
+ #### ♻️ Refactoring
49
76
 
50
- - only ESM modules will be published from now on
51
- - CJS obsolete due to ESM support in recent versions of node:
52
- - i.e. launch NodeJS via:
53
- - `node --experimental-specifier-resolution=node --experimental-repl-await`
54
- - in the node REPL use `await import(...)` instead of `require()`
55
- - UMD obsolete due to widespread browser support for ESM
77
+ - minor updates ([b44b5e8](https://github.com/thi-ng/umbrella/commit/b44b5e8))
56
78
 
57
- Also:
58
- - normalize/restructure/reorg all package.json files
59
- - cleanup all build scripts, remove obsolete
60
- - 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)
61
80
 
81
+ #### ♻️ Refactoring
62
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))
63
85
 
86
+ ### [0.1.21](https://github.com/thi-ng/umbrella/tree/@thi.ng/rdom-canvas@0.1.21) (2020-12-07)
64
87
 
88
+ #### ♻️ Refactoring
65
89
 
90
+ - update type-only imports ([2037326](https://github.com/thi-ng/umbrella/commit/2037326))
66
91
 
67
- ## [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)
68
93
 
69
- ### Bug Fixes
94
+ #### 🩹 Bug fixes
70
95
 
71
- - **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()`
72
98
 
73
- # 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)
74
100
 
75
- ### Features
101
+ #### 🚀 Features
76
102
 
77
- - **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/README.md CHANGED
@@ -59,7 +59,7 @@ node --experimental-repl-await
59
59
  > const rdomCanvas = await import("@thi.ng/rdom-canvas");
60
60
  ```
61
61
 
62
- Package sizes (gzipped, pre-treeshake): ESM: 724 bytes
62
+ Package sizes (gzipped, pre-treeshake): ESM: 743 bytes
63
63
 
64
64
  ## Dependencies
65
65
 
package/package.json CHANGED
@@ -1,89 +1,94 @@
1
1
  {
2
- "name": "@thi.ng/rdom-canvas",
3
- "version": "0.3.5",
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.2",
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.2",
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.1.0",
39
- "@thi.ng/associative": "^6.0.8",
40
- "@thi.ng/checks": "^3.0.6",
41
- "@thi.ng/hiccup-canvas": "^2.0.9",
42
- "@thi.ng/rdom": "^0.7.8",
43
- "@thi.ng/rstream": "^7.0.8",
44
- "@thi.ng/transducers": "^8.0.7"
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": "d6aca4b4edb697613ed6635b1c0b12f0bf27b1f0"
89
- }
90
+ "status": "alpha",
91
+ "year": 2020
92
+ },
93
+ "gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
94
+ }