textmode.export.js 1.2.2 → 1.3.0
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/README.md +1 -0
- package/dist/textmode.export.esm.js +1274 -1149
- package/dist/textmode.export.umd.js +2 -2
- package/dist/types/exporters/base/CharacterResolver.d.ts +29 -0
- package/dist/types/exporters/base/CharacterResolver.d.ts.map +1 -0
- package/dist/types/exporters/base/DataExtractor.d.ts +23 -2
- package/dist/types/exporters/base/DataExtractor.d.ts.map +1 -1
- package/dist/types/exporters/base/index.d.ts +1 -0
- package/dist/types/exporters/base/index.d.ts.map +1 -1
- package/dist/types/exporters/json/JSONDataExtractor.d.ts +16 -0
- package/dist/types/exporters/json/JSONDataExtractor.d.ts.map +1 -0
- package/dist/types/exporters/json/JSONExporter.d.ts +56 -0
- package/dist/types/exporters/json/JSONExporter.d.ts.map +1 -0
- package/dist/types/exporters/json/JSONExporter.test.d.ts +2 -0
- package/dist/types/exporters/json/JSONExporter.test.d.ts.map +1 -0
- package/dist/types/exporters/json/index.d.ts +4 -0
- package/dist/types/exporters/json/index.d.ts.map +1 -0
- package/dist/types/exporters/json/types.d.ts +135 -0
- package/dist/types/exporters/json/types.d.ts.map +1 -0
- package/dist/types/exporters/svg/SVGContentGenerator.d.ts.map +1 -1
- package/dist/types/exporters/svg/SVGDataExtractor.d.ts +0 -8
- package/dist/types/exporters/svg/SVGDataExtractor.d.ts.map +1 -1
- package/dist/types/exporters/svg/SVGExporter.test.d.ts +2 -0
- package/dist/types/exporters/svg/SVGExporter.test.d.ts.map +1 -0
- package/dist/types/exporters/svg/SVGPathGenerator.d.ts +6 -14
- package/dist/types/exporters/svg/SVGPathGenerator.d.ts.map +1 -1
- package/dist/types/exporters/svg/types.d.ts +1 -1
- package/dist/types/exporters/svg/types.d.ts.map +1 -1
- package/dist/types/exporters/txt/TXTExporter.d.ts.map +1 -1
- package/dist/types/index.d.ts +4 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/overlay/blades/JSONBlade.d.ts +15 -0
- package/dist/types/overlay/blades/JSONBlade.d.ts.map +1 -0
- package/dist/types/overlay/blades/index.d.ts +1 -0
- package/dist/types/overlay/blades/index.d.ts.map +1 -1
- package/dist/types/overlay/core/OverlayController.d.ts.map +1 -1
- package/dist/types/overlay/formatRegistry.d.ts.map +1 -1
- package/dist/types/overlay/services/ClipboardService.d.ts +2 -1
- package/dist/types/overlay/services/ClipboardService.d.ts.map +1 -1
- package/dist/types/overlay/services/ExportService.d.ts.map +1 -1
- package/dist/types/overlay/types.d.ts +3 -1
- package/dist/types/overlay/types.d.ts.map +1 -1
- package/dist/types/types.d.ts +36 -0
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/version.d.ts +2 -0
- package/dist/types/version.d.ts.map +1 -0
- package/package.json +32 -29
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "textmode.export.js",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Export plugin for textmode.js - Save your creations as images, GIFs, videos, SVG, and plain text.",
|
|
3
|
+
"version": "1.3.0",
|
|
4
|
+
"description": "Export plugin for textmode.js - Save your creations as images, GIFs, videos, SVG, JSON, and plain text.",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"types": "./dist/types/index.d.ts",
|
|
7
6
|
"main": "./dist/textmode.export.umd.js",
|
|
8
7
|
"module": "./dist/textmode.export.esm.js",
|
|
8
|
+
"types": "./dist/types/index.d.ts",
|
|
9
9
|
"exports": {
|
|
10
10
|
".": {
|
|
11
11
|
"types": "./dist/types/index.d.ts",
|
|
@@ -17,10 +17,15 @@
|
|
|
17
17
|
"./dist/textmode.export.esm.js",
|
|
18
18
|
"./dist/textmode.export.umd.js"
|
|
19
19
|
],
|
|
20
|
+
"files": [
|
|
21
|
+
"dist"
|
|
22
|
+
],
|
|
20
23
|
"scripts": {
|
|
21
24
|
"dev": "vite --port 5174 --host",
|
|
22
|
-
"build": "vite build
|
|
23
|
-
"
|
|
25
|
+
"build:bundle": "vite build",
|
|
26
|
+
"build:types": "tsc",
|
|
27
|
+
"build": "npm run build:bundle && npm run build:types",
|
|
28
|
+
"check": "npm run check:format && npm run lint && npm run lint:md && npm run check:types && npm run check:api-docs && npm run test && npm run build",
|
|
24
29
|
"check:api-docs": "node ./scripts/check-public-api-docs.mjs",
|
|
25
30
|
"dev:docs": "typedoc --watch",
|
|
26
31
|
"build:docs": "typedoc",
|
|
@@ -29,9 +34,9 @@
|
|
|
29
34
|
"test:watch": "vitest --passWithNoTests",
|
|
30
35
|
"test:ui": "vitest --ui --passWithNoTests",
|
|
31
36
|
"test:coverage": "vitest --coverage --passWithNoTests",
|
|
32
|
-
"format": "prettier --write
|
|
33
|
-
"format
|
|
34
|
-
"
|
|
37
|
+
"format": "prettier --write .",
|
|
38
|
+
"check:format": "prettier --check .",
|
|
39
|
+
"check:types": "tsc --noEmit",
|
|
35
40
|
"lint:md": "markdownlint-cli2",
|
|
36
41
|
"lint:md:fix": "markdownlint-cli2 --fix",
|
|
37
42
|
"lint": "eslint src --config eslint.config.js",
|
|
@@ -40,44 +45,44 @@
|
|
|
40
45
|
"peerDependencies": {
|
|
41
46
|
"textmode.js": ">=0.10.0"
|
|
42
47
|
},
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"gifenc": "^1.0.1",
|
|
50
|
+
"webm-writer": "^1.0.0"
|
|
51
|
+
},
|
|
43
52
|
"devDependencies": {
|
|
44
|
-
"@commitlint/cli": "^20.
|
|
45
|
-
"@commitlint/config-conventional": "^20.
|
|
53
|
+
"@commitlint/cli": "^20.5.0",
|
|
54
|
+
"@commitlint/config-conventional": "^20.5.0",
|
|
46
55
|
"@eslint/js": "^9.39.4",
|
|
47
56
|
"@rollup/plugin-terser": "^0.4.4",
|
|
48
57
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
49
58
|
"@semantic-release/exec": "^7.1.0",
|
|
50
59
|
"@semantic-release/github": "^12.0.6",
|
|
51
|
-
"@semantic-release/npm": "^13.1.
|
|
60
|
+
"@semantic-release/npm": "^13.1.5",
|
|
52
61
|
"@semantic-release/release-notes-generator": "^14.1.0",
|
|
53
|
-
"@types/node": "^24.
|
|
62
|
+
"@types/node": "^24.0.13",
|
|
54
63
|
"@vitest/ui": "^3.1.2",
|
|
55
64
|
"eslint": "^9.39.2",
|
|
56
|
-
"eslint-plugin-jsdoc": "^62.
|
|
57
|
-
"globals": "^17.
|
|
65
|
+
"eslint-plugin-jsdoc": "^62.9.0",
|
|
66
|
+
"globals": "^17.5.0",
|
|
58
67
|
"husky": "^9.1.7",
|
|
59
68
|
"jsdom": "^26.1.0",
|
|
60
69
|
"lint-staged": "^16.4.0",
|
|
61
|
-
"markdownlint-cli2": "^0.
|
|
70
|
+
"markdownlint-cli2": "^0.22.1",
|
|
62
71
|
"markdownlint-cli2-formatter-default": "^0.0.6",
|
|
63
|
-
"prettier": "^3.
|
|
72
|
+
"prettier": "^3.8.3",
|
|
64
73
|
"semantic-release": "^25.0.3",
|
|
65
74
|
"terser": "^5.44.0",
|
|
66
75
|
"textmode.js": "^0.12.0",
|
|
67
|
-
"typedoc": "^0.28.
|
|
76
|
+
"typedoc": "^0.28.19",
|
|
68
77
|
"typedoc-plugin-frontmatter": "^1.3.1",
|
|
69
|
-
"typedoc-plugin-markdown": "^4.
|
|
78
|
+
"typedoc-plugin-markdown": "^4.11.0",
|
|
70
79
|
"typedoc-vitepress-theme": "^1.1.2",
|
|
71
|
-
"typescript": "
|
|
72
|
-
"typescript-eslint": "^8.
|
|
73
|
-
"vite": "^
|
|
80
|
+
"typescript": "^5.9.2",
|
|
81
|
+
"typescript-eslint": "^8.59.0",
|
|
82
|
+
"vite": "^6.3.4",
|
|
74
83
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
75
84
|
"vitest": "^3.1.2"
|
|
76
85
|
},
|
|
77
|
-
"dependencies": {
|
|
78
|
-
"gifenc": "^1.0.1",
|
|
79
|
-
"webm-writer": "^1.0.0"
|
|
80
|
-
},
|
|
81
86
|
"keywords": [
|
|
82
87
|
"textmode",
|
|
83
88
|
"textmode.js",
|
|
@@ -89,6 +94,7 @@
|
|
|
89
94
|
"video",
|
|
90
95
|
"webm",
|
|
91
96
|
"svg",
|
|
97
|
+
"json",
|
|
92
98
|
"image",
|
|
93
99
|
"png",
|
|
94
100
|
"jpg",
|
|
@@ -100,11 +106,8 @@
|
|
|
100
106
|
"license": "MIT",
|
|
101
107
|
"homepage": "https://code.textmode.art",
|
|
102
108
|
"lint-staged": {
|
|
103
|
-
"
|
|
109
|
+
"*": "prettier --ignore-unknown --write"
|
|
104
110
|
},
|
|
105
|
-
"files": [
|
|
106
|
-
"dist"
|
|
107
|
-
],
|
|
108
111
|
"repository": {
|
|
109
112
|
"type": "git",
|
|
110
113
|
"url": "git+https://github.com/humanbydefinition/textmode.export.js.git"
|