@thi.ng/scenegraph 2.0.27 → 2.0.31

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/package.json +104 -104
  2. package/CHANGELOG.md +0 -62
package/package.json CHANGED
@@ -1,105 +1,105 @@
1
1
  {
2
- "name": "@thi.ng/scenegraph",
3
- "version": "2.0.27",
4
- "description": "Extensible 2D/3D scene graph with @thi.ng/hiccup-canvas support",
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://thi.ng/scenegraph",
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
- "type": "liberapay",
25
- "url": "https://liberapay.com/thi.ng"
26
- }
27
- ],
28
- "author": "Karsten Schmidt (https://thi.ng)",
29
- "license": "Apache-2.0",
30
- "scripts": {
31
- "build": "yarn build:esbuild && yarn build:decl",
32
- "build:decl": "tsc --declaration --emitDeclarationOnly",
33
- "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
- "clean": "bun ../../tools/src/clean-package.ts",
35
- "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
- "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
- "pub": "yarn npm publish --access public",
38
- "test": "bun test",
39
- "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
- },
41
- "dependencies": {
42
- "@thi.ng/api": "^8.12.2",
43
- "@thi.ng/checks": "^3.7.18",
44
- "@thi.ng/errors": "^2.5.42",
45
- "@thi.ng/matrices": "^3.0.21",
46
- "@thi.ng/vectors": "^8.6.6"
47
- },
48
- "devDependencies": {
49
- "esbuild": "^0.25.9",
50
- "typedoc": "^0.28.12",
51
- "typescript": "^5.9.2"
52
- },
53
- "keywords": [
54
- "2d",
55
- "3d",
56
- "animation",
57
- "canvas",
58
- "datastructure",
59
- "scenegraph",
60
- "tree",
61
- "typescript"
62
- ],
63
- "publishConfig": {
64
- "access": "public"
65
- },
66
- "engines": {
67
- "node": ">=18"
68
- },
69
- "files": [
70
- "./*.js",
71
- "./*.d.ts"
72
- ],
73
- "exports": {
74
- ".": {
75
- "default": "./index.js"
76
- },
77
- "./anode": {
78
- "default": "./anode.js"
79
- },
80
- "./api": {
81
- "default": "./api.js"
82
- },
83
- "./hiccup": {
84
- "default": "./hiccup.js"
85
- },
86
- "./node2": {
87
- "default": "./node2.js"
88
- },
89
- "./node3": {
90
- "default": "./node3.js"
91
- }
92
- },
93
- "thi.ng": {
94
- "alias": "sg",
95
- "related": [
96
- "hdom-canvas",
97
- "hiccup",
98
- "hiccup-canvas",
99
- "hiccup-svg",
100
- "rdom-canvas"
101
- ],
102
- "status": "alpha"
103
- },
104
- "gitHead": "e215a3e8de3809736ba0042c93bd8703a5a1a337\n"
105
- }
2
+ "name": "@thi.ng/scenegraph",
3
+ "version": "2.0.31",
4
+ "description": "Extensible 2D/3D scene graph with @thi.ng/hiccup-canvas support",
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://thi.ng/scenegraph",
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
+ "type": "liberapay",
25
+ "url": "https://liberapay.com/thi.ng"
26
+ }
27
+ ],
28
+ "author": "Karsten Schmidt (https://thi.ng)",
29
+ "license": "Apache-2.0",
30
+ "scripts": {
31
+ "build": "yarn build:esbuild && yarn build:decl",
32
+ "build:decl": "tsc --declaration --emitDeclarationOnly",
33
+ "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
+ "clean": "bun ../../tools/src/clean-package.ts",
35
+ "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
+ "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
37
+ "pub": "npm publish --access public",
38
+ "test": "bun test",
39
+ "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
40
+ },
41
+ "dependencies": {
42
+ "@thi.ng/api": "^8.12.6",
43
+ "@thi.ng/checks": "^3.7.22",
44
+ "@thi.ng/errors": "^2.5.46",
45
+ "@thi.ng/matrices": "^3.0.25",
46
+ "@thi.ng/vectors": "^8.6.10"
47
+ },
48
+ "devDependencies": {
49
+ "esbuild": "^0.25.11",
50
+ "typedoc": "^0.28.14",
51
+ "typescript": "^5.9.3"
52
+ },
53
+ "keywords": [
54
+ "2d",
55
+ "3d",
56
+ "animation",
57
+ "canvas",
58
+ "datastructure",
59
+ "scenegraph",
60
+ "tree",
61
+ "typescript"
62
+ ],
63
+ "publishConfig": {
64
+ "access": "public"
65
+ },
66
+ "engines": {
67
+ "node": ">=18"
68
+ },
69
+ "files": [
70
+ "./*.js",
71
+ "./*.d.ts"
72
+ ],
73
+ "exports": {
74
+ ".": {
75
+ "default": "./index.js"
76
+ },
77
+ "./anode": {
78
+ "default": "./anode.js"
79
+ },
80
+ "./api": {
81
+ "default": "./api.js"
82
+ },
83
+ "./hiccup": {
84
+ "default": "./hiccup.js"
85
+ },
86
+ "./node2": {
87
+ "default": "./node2.js"
88
+ },
89
+ "./node3": {
90
+ "default": "./node3.js"
91
+ }
92
+ },
93
+ "thi.ng": {
94
+ "alias": "sg",
95
+ "related": [
96
+ "hdom-canvas",
97
+ "hiccup",
98
+ "hiccup-canvas",
99
+ "hiccup-svg",
100
+ "rdom-canvas"
101
+ ],
102
+ "status": "alpha"
103
+ },
104
+ "gitHead": "136a5e5ef0b69e82329db00d806c3c4e8f1aa063\n"
105
+ }
package/CHANGELOG.md DELETED
@@ -1,62 +0,0 @@
1
- # Change Log
2
-
3
- - **Last updated**: 2025-09-01T16:38:35Z
4
- - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
-
6
- All notable changes to this project will be documented in this file.
7
- Only versions published since **2022-01-01** are listed here.
8
- Please consult the Git history for older version information.
9
- See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
10
-
11
- **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
12
- and/or version bumps of transitive dependencies.
13
-
14
- # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/scenegraph@2.0.0) (2025-02-25)
15
-
16
- #### 🛑 Breaking changes
17
-
18
- - switch to using option objects for node ctors ([9b85ae7](https://github.com/thi-ng/umbrella/commit/9b85ae7))
19
- - BREAKING CHANGE: replace positional ctor args w/ options objects (aka named params)
20
- - add `CommonNodeOpts`, `Node2DOpts`, `Node3DOpts`
21
- - update all ctors: `ANode`, `Node2D`, `Node3D`
22
- - migrate `enabled`/`display` flags to `ISceneNode` interface
23
- - update tests
24
-
25
- #### 🚀 Features
26
-
27
- - add `scaleWithReferencePoint()` ([60b388c](https://github.com/thi-ng/umbrella/commit/60b388c))
28
- - add `ISceneNode.scaleWithReferencePoint()` and impls in `Node2D`/`Node3D`
29
- - add/update `ISceneNode` doc strings
30
- - minor update/cleanup `ANode`
31
- - add tests
32
- - add `scaleWithReferencePoint()` ([3cef74c](https://github.com/thi-ng/umbrella/commit/3cef74c))
33
- - add `ISceneNode.scaleWithReferencePoint()` and impls in `Node2D`/`Node3D`
34
- - add/update `ISceneNode` doc strings
35
- - minor update/cleanup `ANode`
36
-
37
- ### [1.0.41](https://github.com/thi-ng/umbrella/tree/@thi.ng/scenegraph@1.0.41) (2024-04-20)
38
-
39
- #### ♻️ Refactoring
40
-
41
- - update type usage ([6bf3ee1](https://github.com/thi-ng/umbrella/commit/6bf3ee1))
42
-
43
- # [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/scenegraph@1.0.0) (2023-11-12)
44
-
45
- #### 🛑 Breaking changes
46
-
47
- - update ISceneNode, ANode ([a2a2694](https://github.com/thi-ng/umbrella/commit/a2a2694))
48
- - BREAKING CHANGE: add child ops to ISceneNode interface
49
- - update ANode.deleteChild()
50
- - simplify Node2/3 impls
51
-
52
- ### [0.6.32](https://github.com/thi-ng/umbrella/tree/@thi.ng/scenegraph@0.6.32) (2023-11-09)
53
-
54
- #### ♻️ Refactoring
55
-
56
- - update all tests (packages A-S) ([e3085e4](https://github.com/thi-ng/umbrella/commit/e3085e4))
57
-
58
- ## [0.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/scenegraph@0.6.0) (2023-04-19)
59
-
60
- #### 🚀 Features
61
-
62
- - add ANode.mapLocalPointToGlobal(), update 2D/3D impls ([b1d30ef](https://github.com/thi-ng/umbrella/commit/b1d30ef))