@thi.ng/geom-tessellate 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 +64 -36
  2. package/README.md +1 -1
  3. package/package.json +95 -90
package/CHANGELOG.md CHANGED
@@ -1,71 +1,99 @@
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/geom-tessellate@2.0.7...@thi.ng/geom-tessellate@2.0.8) (2021-11-04)
7
-
8
- **Note:** Version bump only for package @thi.ng/geom-tessellate
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.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-tessellate@2.0.6...@thi.ng/geom-tessellate@2.0.7) (2021-11-03)
12
+ ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-tessellate@2.1.0) (2021-11-17)
15
13
 
16
- **Note:** Version bump only for package @thi.ng/geom-tessellate
14
+ #### 🚀 Features
17
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
18
21
 
22
+ #### ♻️ Refactoring
19
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.
20
30
 
31
+ ### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-tessellate@2.0.1) (2021-10-13)
21
32
 
22
- # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-tessellate@1.0.5...@thi.ng/geom-tessellate@2.0.0) (2021-10-12)
33
+ #### ♻️ Refactoring
23
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
24
38
 
25
- ### Build System
39
+ # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-tessellate@2.0.0) (2021-10-12)
26
40
 
27
- * major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
41
+ #### 🛑 Breaking changes
28
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
29
55
 
30
- ### BREAKING CHANGES
56
+ #### ♻️ Refactoring
31
57
 
32
- * discontinue CommonJS & UMD versions
58
+ - update imports (transducers) ([25b674f](https://github.com/thi-ng/umbrella/commit/25b674f))
59
+ - update imports ([69abd58](https://github.com/thi-ng/umbrella/commit/69abd58))
60
+ - update all test stubs ([f2d6d53](https://github.com/thi-ng/umbrella/commit/f2d6d53))
61
+ - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
62
+ - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
33
63
 
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
64
+ ### [0.2.51](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-tessellate@0.2.51) (2020-12-07)
40
65
 
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
66
+ #### ♻️ Refactoring
45
67
 
68
+ - update type-only imports ([dc88789](https://github.com/thi-ng/umbrella/commit/dc88789))
69
+ - update type-only imports in various tests/pkgs ([3fd9c24](https://github.com/thi-ng/umbrella/commit/3fd9c24))
46
70
 
71
+ ### [0.2.13](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-tessellate@0.2.13) (2020-02-25)
47
72
 
73
+ #### ♻️ Refactoring
48
74
 
75
+ - update imports ([6c5ea57](https://github.com/thi-ng/umbrella/commit/6c5ea57))
49
76
 
77
+ ### [0.2.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-tessellate@0.2.9) (2019-11-09)
50
78
 
51
- ## [1.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-tessellate@1.0.4...@thi.ng/geom-tessellate@1.0.5) (2021-09-03)
79
+ #### ♻️ Refactoring
52
80
 
53
- **Note:** Version bump only for package @thi.ng/geom-tessellate
81
+ - update wrapSides/tween call sites in various pkgs ([ee8200c](https://github.com/thi-ng/umbrella/commit/ee8200c))
54
82
 
55
- # [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-tessellate@0.1.17...@thi.ng/geom-tessellate@0.2.0) (2019-07-07)
83
+ ## [0.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-tessellate@0.2.0) (2019-07-07)
56
84
 
57
- ### Features
85
+ #### 🚀 Features
58
86
 
59
- - **geom-tessellate:** enable TS strict compiler flags (refactor) ([8d610c3](https://github.com/thi-ng/umbrella/commit/8d610c3))
87
+ - enable TS strict compiler flags (refactor) ([8d610c3](https://github.com/thi-ng/umbrella/commit/8d610c3))
60
88
 
61
- ## [0.1.12](https://github.com/thi-ng/umbrella/compare/@thi.ng/geom-tessellate@0.1.11...@thi.ng/geom-tessellate@0.1.12) (2019-04-02)
89
+ ### [0.1.12](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-tessellate@0.1.12) (2019-04-02)
62
90
 
63
- ### Bug Fixes
91
+ #### 🩹 Bug fixes
64
92
 
65
- - **geom-tesselate:** TS3.4 type inference ([800c1c7](https://github.com/thi-ng/umbrella/commit/800c1c7))
93
+ - TS3.4 type inference ([800c1c7](https://github.com/thi-ng/umbrella/commit/800c1c7))
66
94
 
67
- # 0.1.0 (2019-02-05)
95
+ ## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/geom-tessellate@0.1.0) (2019-02-05)
68
96
 
69
- ### Features
97
+ #### ♻️ Refactoring
70
98
 
71
- - **geom-tessellate:** extract from geom as new package ([cb2429c](https://github.com/thi-ng/umbrella/commit/cb2429c))
99
+ - update imports (zip) ([7f4e398](https://github.com/thi-ng/umbrella/commit/7f4e398))
package/README.md CHANGED
@@ -62,7 +62,7 @@ node --experimental-repl-await
62
62
  > const geomTessellate = await import("@thi.ng/geom-tessellate");
63
63
  ```
64
64
 
65
- Package sizes (gzipped, pre-treeshake): ESM: 875 bytes
65
+ Package sizes (gzipped, pre-treeshake): ESM: 1.11 KB
66
66
 
67
67
  ## Dependencies
68
68
 
package/package.json CHANGED
@@ -1,99 +1,104 @@
1
1
  {
2
- "name": "@thi.ng/geom-tessellate",
3
- "version": "2.0.8",
4
- "description": "2D/3D convex polygon tessellators",
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/geom-tessellate",
3
+ "version": "2.1.2",
4
+ "description": "2D/3D convex polygon tessellators",
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/geom-tessellate#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/geom-tessellate#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"
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/checks": "^3.1.2",
38
+ "@thi.ng/geom-api": "^3.1.2",
39
+ "@thi.ng/geom-isec": "^2.1.2",
40
+ "@thi.ng/geom-poly-utils": "^2.1.2",
41
+ "@thi.ng/transducers": "^8.1.2",
42
+ "@thi.ng/vectors": "^7.2.2"
43
+ },
44
+ "devDependencies": {
45
+ "@microsoft/api-extractor": "^7.18.19",
46
+ "@thi.ng/testament": "^0.2.2",
47
+ "rimraf": "^3.0.2",
48
+ "tools": "^0.0.1",
49
+ "typedoc": "^0.22.9",
50
+ "typescript": "^4.5.2"
51
+ },
52
+ "keywords": [
53
+ "2d",
54
+ "3d",
55
+ "convex",
56
+ "geometry",
57
+ "polygon",
58
+ "shape",
59
+ "subdivision",
60
+ "tessellation",
61
+ "typescript"
62
+ ],
63
+ "publishConfig": {
64
+ "access": "public"
65
+ },
66
+ "engines": {
67
+ "node": ">=12.7"
68
+ },
69
+ "files": [
70
+ "*.js",
71
+ "*.d.ts"
72
+ ],
73
+ "exports": {
74
+ ".": {
75
+ "import": "./index.js"
35
76
  },
36
- "dependencies": {
37
- "@thi.ng/checks": "^3.0.6",
38
- "@thi.ng/geom-api": "^3.0.8",
39
- "@thi.ng/geom-isec": "^2.0.8",
40
- "@thi.ng/geom-poly-utils": "^2.0.8",
41
- "@thi.ng/transducers": "^8.0.7",
42
- "@thi.ng/vectors": "^7.1.0"
77
+ "./earcut": {
78
+ "import": "./earcut.js"
43
79
  },
44
- "devDependencies": {
45
- "@thi.ng/testament": "^0.1.6"
80
+ "./edge-split": {
81
+ "import": "./edge-split.js"
46
82
  },
47
- "keywords": [
48
- "2d",
49
- "3d",
50
- "convex",
51
- "geometry",
52
- "polygon",
53
- "shape",
54
- "subdivision",
55
- "tessellation",
56
- "typescript"
57
- ],
58
- "publishConfig": {
59
- "access": "public"
83
+ "./inset": {
84
+ "import": "./inset.js"
60
85
  },
61
- "engines": {
62
- "node": ">=12.7"
86
+ "./quad-fan": {
87
+ "import": "./quad-fan.js"
63
88
  },
64
- "files": [
65
- "*.js",
66
- "*.d.ts"
67
- ],
68
- "exports": {
69
- ".": {
70
- "import": "./index.js"
71
- },
72
- "./earcut": {
73
- "import": "./earcut.js"
74
- },
75
- "./edge-split": {
76
- "import": "./edge-split.js"
77
- },
78
- "./inset": {
79
- "import": "./inset.js"
80
- },
81
- "./quad-fan": {
82
- "import": "./quad-fan.js"
83
- },
84
- "./rim-tris": {
85
- "import": "./rim-tris.js"
86
- },
87
- "./tessellate": {
88
- "import": "./tessellate.js"
89
- },
90
- "./tri-fan": {
91
- "import": "./tri-fan.js"
92
- }
89
+ "./rim-tris": {
90
+ "import": "./rim-tris.js"
93
91
  },
94
- "thi.ng": {
95
- "parent": "@thi.ng/geom",
96
- "year": 2013
92
+ "./tessellate": {
93
+ "import": "./tessellate.js"
97
94
  },
98
- "gitHead": "d6aca4b4edb697613ed6635b1c0b12f0bf27b1f0"
99
- }
95
+ "./tri-fan": {
96
+ "import": "./tri-fan.js"
97
+ }
98
+ },
99
+ "thi.ng": {
100
+ "parent": "@thi.ng/geom",
101
+ "year": 2013
102
+ },
103
+ "gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
104
+ }