@nmmty/lazycanvas 0.6.0-dev.7aa084 → 0.6.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/dist/helpers/Utlis.d.ts +28 -0
- package/dist/helpers/Utlis.js +78 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +3 -1
- package/dist/structures/LazyCanvas.d.ts +38 -1
- package/dist/structures/LazyCanvas.js +50 -3
- package/dist/structures/components/ImageLayer.d.ts +0 -2
- package/dist/structures/components/MorphLayer.d.ts +0 -6
- package/dist/structures/components/MorphLayer.js +1 -9
- package/dist/structures/components/Path2DLayer.d.ts +0 -6
- package/dist/structures/components/Path2DLayer.js +1 -9
- package/dist/structures/components/TextLayer.d.ts +0 -6
- package/dist/structures/components/TextLayer.js +1 -9
- package/dist/structures/helpers/Exporter.d.ts +0 -2
- package/dist/structures/helpers/Exporter.js +40 -23
- package/dist/structures/helpers/Font.d.ts +0 -2
- package/dist/structures/helpers/readers/JSONReader.js +17 -7
- package/dist/structures/helpers/readers/YAMLReader.js +17 -7
- package/dist/structures/managers/LayersManager.d.ts +11 -1
- package/dist/structures/managers/LayersManager.js +16 -1
- package/dist/structures/managers/PluginManager.d.ts +228 -0
- package/dist/structures/managers/PluginManager.js +181 -0
- package/dist/structures/managers/RenderManager.d.ts +0 -2
- package/dist/structures/managers/RenderManager.js +21 -6
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/utils/utils.js +15 -16
- package/package.json +7 -3
- package/test.png +0 -0
- package/test.yaml +0 -1780
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nmmty/lazycanvas",
|
|
3
|
-
"version": "0.6.0
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "A simple way to interact with @napi-rs/canvas in an advanced way!",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
"animation": "tsc ./test/animation.ts && node ./test/animation.js",
|
|
13
13
|
"iotest": "tsc ./test/iotest.ts && node ./test/iotest.js",
|
|
14
14
|
"gradient": "tsc ./test/gradient.ts && node ./test/gradient.js",
|
|
15
|
-
"
|
|
15
|
+
"docgen": "tsx docgen.ts && tsx ./scripts/post-docgen.ts",
|
|
16
|
+
"lint": "eslint ./src --ext .ts",
|
|
17
|
+
"lint:fix": "eslint ./src --ext .ts --fix",
|
|
16
18
|
"font": "tsx ./scripts/font-gen.ts",
|
|
17
19
|
"build": "tsc && tsx ./scripts/post-build.ts"
|
|
18
20
|
},
|
|
@@ -35,6 +37,7 @@
|
|
|
35
37
|
"homepage": "https://github.com/NMMTY/LazyCanvas#readme",
|
|
36
38
|
"dependencies": {
|
|
37
39
|
"@napi-rs/canvas": "^0.1.72",
|
|
40
|
+
"@nmmty/lazycanvas": "link:",
|
|
38
41
|
"gifenc": "^1.0.3",
|
|
39
42
|
"js-yaml": "^4.1.0",
|
|
40
43
|
"path": "^0.12.7",
|
|
@@ -42,9 +45,10 @@
|
|
|
42
45
|
},
|
|
43
46
|
"devDependencies": {
|
|
44
47
|
"@hitomihiumi/colors.ts": "^1.0.3",
|
|
45
|
-
"@hitomihiumi/micro-docgen": "
|
|
48
|
+
"@hitomihiumi/micro-docgen": "workspace:*",
|
|
46
49
|
"@types/js-yaml": "^4.0.9",
|
|
47
50
|
"@types/node": "^22.10.2",
|
|
51
|
+
"@typescript-eslint/utils": "^8.39.1",
|
|
48
52
|
"ava": "^6.2.0",
|
|
49
53
|
"eslint": "^9.23.0",
|
|
50
54
|
"eslint-config-neon": "^0.2.7",
|
package/test.png
DELETED
|
Binary file
|