@thi.ng/webgl-msdf 2.0.0 → 2.0.5
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 +40 -0
- package/README.md +3 -2
- package/convert.d.ts +1 -1
- package/index.d.ts +4 -4
- package/index.js +4 -4
- package/package.json +12 -9
- package/text.d.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,46 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.0.5](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl-msdf@2.0.4...@thi.ng/webgl-msdf@2.0.5) (2021-10-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @thi.ng/webgl-msdf
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [2.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl-msdf@2.0.3...@thi.ng/webgl-msdf@2.0.4) (2021-10-15)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @thi.ng/webgl-msdf
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [2.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl-msdf@2.0.2...@thi.ng/webgl-msdf@2.0.3) (2021-10-15)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @thi.ng/webgl-msdf
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [2.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl-msdf@2.0.1...@thi.ng/webgl-msdf@2.0.2) (2021-10-13)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @thi.ng/webgl-msdf
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
## [2.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl-msdf@2.0.0...@thi.ng/webgl-msdf@2.0.1) (2021-10-13)
|
|
39
|
+
|
|
40
|
+
**Note:** Version bump only for package @thi.ng/webgl-msdf
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
6
46
|
# [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/webgl-msdf@1.0.8...@thi.ng/webgl-msdf@2.0.0) (2021-10-12)
|
|
7
47
|
|
|
8
48
|
|
package/README.md
CHANGED
|
@@ -55,10 +55,11 @@ ES module import:
|
|
|
55
55
|
|
|
56
56
|
[Skypack documentation](https://docs.skypack.dev/)
|
|
57
57
|
|
|
58
|
-
For
|
|
58
|
+
For Node.js REPL:
|
|
59
59
|
|
|
60
60
|
```text
|
|
61
|
-
|
|
61
|
+
# with flag only for < v16
|
|
62
|
+
node --experimental-repl-await
|
|
62
63
|
|
|
63
64
|
> const webglMsdf = await import("@thi.ng/webgl-msdf");
|
|
64
65
|
```
|
package/convert.d.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export * from "./api";
|
|
2
|
-
export * from "./convert";
|
|
3
|
-
export * from "./shader";
|
|
4
|
-
export * from "./text";
|
|
1
|
+
export * from "./api.js";
|
|
2
|
+
export * from "./convert.js";
|
|
3
|
+
export * from "./shader.js";
|
|
4
|
+
export * from "./text.js";
|
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./api";
|
|
2
|
-
export * from "./convert";
|
|
3
|
-
export * from "./shader";
|
|
4
|
-
export * from "./text";
|
|
1
|
+
export * from "./api.js";
|
|
2
|
+
export * from "./convert.js";
|
|
3
|
+
export * from "./shader.js";
|
|
4
|
+
export * from "./text.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/webgl-msdf",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"description": "Multi-channel SDF font rendering & basic text layout for WebGL",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.0.
|
|
38
|
-
"@thi.ng/shader-ast": "^0.11.
|
|
39
|
-
"@thi.ng/transducers": "^8.0.
|
|
40
|
-
"@thi.ng/vector-pools": "^3.0.
|
|
41
|
-
"@thi.ng/vectors": "^7.0.
|
|
42
|
-
"@thi.ng/webgl": "^6.0.
|
|
37
|
+
"@thi.ng/api": "^8.0.4",
|
|
38
|
+
"@thi.ng/shader-ast": "^0.11.4",
|
|
39
|
+
"@thi.ng/transducers": "^8.0.4",
|
|
40
|
+
"@thi.ng/vector-pools": "^3.0.4",
|
|
41
|
+
"@thi.ng/vectors": "^7.0.4",
|
|
42
|
+
"@thi.ng/webgl": "^6.0.5"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@thi.ng/testament": "^0.1.
|
|
45
|
+
"@thi.ng/testament": "^0.1.4"
|
|
46
46
|
},
|
|
47
47
|
"keywords": [
|
|
48
48
|
"browser",
|
|
@@ -60,6 +60,9 @@
|
|
|
60
60
|
"publishConfig": {
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
|
+
"engines": {
|
|
64
|
+
"node": ">=12.7"
|
|
65
|
+
},
|
|
63
66
|
"files": [
|
|
64
67
|
"*.js",
|
|
65
68
|
"*.d.ts"
|
|
@@ -85,5 +88,5 @@
|
|
|
85
88
|
"parent": "@thi.ng/webgl",
|
|
86
89
|
"year": 2019
|
|
87
90
|
},
|
|
88
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "9ff00a103f76cc4917ef3f244132e218f2300a05"
|
|
89
92
|
}
|
package/text.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ModelSpec } from "@thi.ng/webgl";
|
|
2
|
-
import type { MSDFFont, TextAlign, TextOpts } from "./api";
|
|
2
|
+
import type { MSDFFont, TextAlign, TextOpts } from "./api.js";
|
|
3
3
|
export declare const text: (glyphs: MSDFFont, txt: string, opts?: Partial<TextOpts> | undefined) => ModelSpec;
|
|
4
4
|
export declare const textWidth: (font: MSDFFont, opts: Partial<TextOpts>, txt: string) => number;
|
|
5
5
|
export declare const alignLeft: TextAlign;
|