@thi.ng/layout 2.0.6 → 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.
- package/CHANGELOG.md +50 -69
- package/README.md +1 -1
- package/package.json +84 -79
package/CHANGELOG.md
CHANGED
|
@@ -1,91 +1,72 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
## [2.0.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/layout@2.0.5...@thi.ng/layout@2.0.6) (2021-10-28)
|
|
7
|
-
|
|
8
|
-
**Note:** Version bump only for package @thi.ng/layout
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
## [2.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/layout@2.0.4...@thi.ng/layout@2.0.5) (2021-10-28)
|
|
15
|
-
|
|
16
|
-
**Note:** Version bump only for package @thi.ng/layout
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
## [2.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/layout@2.0.3...@thi.ng/layout@2.0.4) (2021-10-25)
|
|
23
|
-
|
|
24
|
-
**Note:** Version bump only for package @thi.ng/layout
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
## [2.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/layout@2.0.2...@thi.ng/layout@2.0.3) (2021-10-15)
|
|
31
|
-
|
|
32
|
-
**Note:** Version bump only for package @thi.ng/layout
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
## [2.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/layout@2.0.1...@thi.ng/layout@2.0.2) (2021-10-15)
|
|
39
|
-
|
|
40
|
-
**Note:** Version bump only for package @thi.ng/layout
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
## [2.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/layout@2.0.0...@thi.ng/layout@2.0.1) (2021-10-13)
|
|
47
|
-
|
|
48
|
-
**Note:** Version bump only for package @thi.ng/layout
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
3
|
+
- **Last updated**: 2021-11-21T17:09:28Z
|
|
4
|
+
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
52
5
|
|
|
6
|
+
All notable changes to this project will be documented in this file.
|
|
7
|
+
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
53
8
|
|
|
54
|
-
|
|
9
|
+
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
|
+
and/or version bumps of transitive dependencies.
|
|
55
11
|
|
|
12
|
+
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/layout@2.1.0) (2021-11-17)
|
|
56
13
|
|
|
57
|
-
|
|
14
|
+
#### 🚀 Features
|
|
58
15
|
|
|
59
|
-
|
|
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
|
|
60
21
|
|
|
22
|
+
#### ♻️ Refactoring
|
|
61
23
|
|
|
62
|
-
|
|
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.
|
|
63
30
|
|
|
64
|
-
|
|
31
|
+
### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/layout@2.0.1) (2021-10-13)
|
|
65
32
|
|
|
66
|
-
|
|
67
|
-
- CJS obsolete due to ESM support in recent versions of node:
|
|
68
|
-
- i.e. launch NodeJS via:
|
|
69
|
-
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
70
|
-
- in the node REPL use `await import(...)` instead of `require()`
|
|
71
|
-
- UMD obsolete due to widespread browser support for ESM
|
|
33
|
+
#### ♻️ Refactoring
|
|
72
34
|
|
|
73
|
-
|
|
74
|
-
-
|
|
75
|
-
-
|
|
76
|
-
- switch from mocha to @thi.ng/testament for all tests
|
|
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
|
|
77
38
|
|
|
39
|
+
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/layout@2.0.0) (2021-10-12)
|
|
78
40
|
|
|
41
|
+
#### 🛑 Breaking changes
|
|
79
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
|
|
80
55
|
|
|
56
|
+
#### ♻️ Refactoring
|
|
81
57
|
|
|
58
|
+
- minor pkg restructure ([2bdebe6](https://github.com/thi-ng/umbrella/commit/2bdebe6))
|
|
59
|
+
- update imports ([138571a](https://github.com/thi-ng/umbrella/commit/138571a))
|
|
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)
|
|
82
63
|
|
|
83
|
-
##
|
|
64
|
+
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/layout@0.1.0) (2020-02-25)
|
|
84
65
|
|
|
85
|
-
|
|
66
|
+
#### 🚀 Features
|
|
86
67
|
|
|
87
|
-
|
|
68
|
+
- import as new pkg (extracted from [@thi.ng/imgui](https://github.com/thi-ng/umbrella/tree/main/packages/imgui)) ([e5efc16](https://github.com/thi-ng/umbrella/commit/e5efc16))
|
|
88
69
|
|
|
89
|
-
|
|
70
|
+
#### ♻️ Refactoring
|
|
90
71
|
|
|
91
|
-
-
|
|
72
|
+
- update imports ([f833b4d](https://github.com/thi-ng/umbrella/commit/f833b4d))
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -1,85 +1,90 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
"name": "@thi.ng/layout",
|
|
3
|
+
"version": "2.1.2",
|
|
4
|
+
"description": "Configurable nested 2D grid layout manager",
|
|
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/layout#readme",
|
|
14
|
+
"funding": [
|
|
15
|
+
{
|
|
16
|
+
"type": "github",
|
|
17
|
+
"url": "https://github.com/sponsors/postspectacular"
|
|
12
18
|
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@microsoft/api-extractor": "^7.18.19",
|
|
41
|
+
"@thi.ng/testament": "^0.2.2",
|
|
42
|
+
"rimraf": "^3.0.2",
|
|
43
|
+
"tools": "^0.0.1",
|
|
44
|
+
"typedoc": "^0.22.9",
|
|
45
|
+
"typescript": "^4.5.2"
|
|
46
|
+
},
|
|
47
|
+
"keywords": [
|
|
48
|
+
"2d",
|
|
49
|
+
"align",
|
|
50
|
+
"datastructure",
|
|
51
|
+
"design",
|
|
52
|
+
"grid",
|
|
53
|
+
"layout",
|
|
54
|
+
"recursive",
|
|
55
|
+
"tree",
|
|
56
|
+
"typescript",
|
|
57
|
+
"ui"
|
|
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"
|
|
35
72
|
},
|
|
36
|
-
"
|
|
37
|
-
|
|
73
|
+
"./api": {
|
|
74
|
+
"import": "./api.js"
|
|
38
75
|
},
|
|
39
|
-
"
|
|
40
|
-
|
|
76
|
+
"./box": {
|
|
77
|
+
"import": "./box.js"
|
|
41
78
|
},
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
"align",
|
|
45
|
-
"datastructure",
|
|
46
|
-
"design",
|
|
47
|
-
"grid",
|
|
48
|
-
"layout",
|
|
49
|
-
"recursive",
|
|
50
|
-
"tree",
|
|
51
|
-
"typescript",
|
|
52
|
-
"ui"
|
|
53
|
-
],
|
|
54
|
-
"publishConfig": {
|
|
55
|
-
"access": "public"
|
|
79
|
+
"./checks": {
|
|
80
|
+
"import": "./checks.js"
|
|
56
81
|
},
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
"import": "./index.js"
|
|
67
|
-
},
|
|
68
|
-
"./api": {
|
|
69
|
-
"import": "./api.js"
|
|
70
|
-
},
|
|
71
|
-
"./box": {
|
|
72
|
-
"import": "./box.js"
|
|
73
|
-
},
|
|
74
|
-
"./checks": {
|
|
75
|
-
"import": "./checks.js"
|
|
76
|
-
},
|
|
77
|
-
"./grid-layout": {
|
|
78
|
-
"import": "./grid-layout.js"
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"thi.ng": {
|
|
82
|
-
"year": 2019
|
|
83
|
-
},
|
|
84
|
-
"gitHead": "c17a556ad25f6882dfa8f806a1d9e8ed7ac7cd71"
|
|
85
|
-
}
|
|
82
|
+
"./grid-layout": {
|
|
83
|
+
"import": "./grid-layout.js"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"thi.ng": {
|
|
87
|
+
"year": 2019
|
|
88
|
+
},
|
|
89
|
+
"gitHead": "e8a7c2a40191b391cef182c2978e5a6c85987a87\n"
|
|
90
|
+
}
|