@luzzle/web.tools 0.0.69

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 (161) hide show
  1. package/README.md +28 -0
  2. package/dist/src/browser.d.ts +1 -0
  3. package/dist/src/browser.js +2 -0
  4. package/dist/src/browser.js.map +1 -0
  5. package/dist/src/cli.d.ts +2 -0
  6. package/dist/src/cli.js +19 -0
  7. package/dist/src/cli.js.map +1 -0
  8. package/dist/src/commands/assets/command.d.ts +30 -0
  9. package/dist/src/commands/assets/command.js +41 -0
  10. package/dist/src/commands/assets/command.js.map +1 -0
  11. package/dist/src/commands/assets/index.d.ts +4 -0
  12. package/dist/src/commands/assets/index.js +79 -0
  13. package/dist/src/commands/assets/index.js.map +1 -0
  14. package/dist/src/commands/assets/index.test.d.ts +1 -0
  15. package/dist/src/commands/assets/index.test.js +419 -0
  16. package/dist/src/commands/assets/index.test.js.map +1 -0
  17. package/dist/src/commands/assets/variants.d.ts +8 -0
  18. package/dist/src/commands/assets/variants.js +23 -0
  19. package/dist/src/commands/assets/variants.js.map +1 -0
  20. package/dist/src/commands/assets/variants.test.d.ts +1 -0
  21. package/dist/src/commands/assets/variants.test.js +48 -0
  22. package/dist/src/commands/assets/variants.test.js.map +1 -0
  23. package/dist/src/commands/config/command.d.ts +2 -0
  24. package/dist/src/commands/config/command.js +42 -0
  25. package/dist/src/commands/config/command.js.map +1 -0
  26. package/dist/src/commands/config/index.d.ts +3 -0
  27. package/dist/src/commands/config/index.js +37 -0
  28. package/dist/src/commands/config/index.js.map +1 -0
  29. package/dist/src/commands/config/index.test.d.ts +1 -0
  30. package/dist/src/commands/config/index.test.js +93 -0
  31. package/dist/src/commands/config/index.test.js.map +1 -0
  32. package/dist/src/commands/opengraph/browser.d.ts +3 -0
  33. package/dist/src/commands/opengraph/browser.js +23 -0
  34. package/dist/src/commands/opengraph/browser.js.map +1 -0
  35. package/dist/src/commands/opengraph/browser.test.d.ts +1 -0
  36. package/dist/src/commands/opengraph/browser.test.js +30 -0
  37. package/dist/src/commands/opengraph/browser.test.js.map +1 -0
  38. package/dist/src/commands/opengraph/command.d.ts +30 -0
  39. package/dist/src/commands/opengraph/command.js +41 -0
  40. package/dist/src/commands/opengraph/command.js.map +1 -0
  41. package/dist/src/commands/opengraph/command.test.d.ts +1 -0
  42. package/dist/src/commands/opengraph/command.test.js +68 -0
  43. package/dist/src/commands/opengraph/command.test.js.map +1 -0
  44. package/dist/src/commands/opengraph/html.d.ts +4 -0
  45. package/dist/src/commands/opengraph/html.js +47 -0
  46. package/dist/src/commands/opengraph/html.js.map +1 -0
  47. package/dist/src/commands/opengraph/html.test.d.ts +1 -0
  48. package/dist/src/commands/opengraph/html.test.js +79 -0
  49. package/dist/src/commands/opengraph/html.test.js.map +1 -0
  50. package/dist/src/commands/opengraph/index.d.ts +4 -0
  51. package/dist/src/commands/opengraph/index.js +47 -0
  52. package/dist/src/commands/opengraph/index.js.map +1 -0
  53. package/dist/src/commands/opengraph/index.test.d.ts +1 -0
  54. package/dist/src/commands/opengraph/index.test.js +162 -0
  55. package/dist/src/commands/opengraph/index.test.js.map +1 -0
  56. package/dist/src/commands/opengraph/png.d.ts +3 -0
  57. package/dist/src/commands/opengraph/png.js +26 -0
  58. package/dist/src/commands/opengraph/png.js.map +1 -0
  59. package/dist/src/commands/opengraph/png.test.d.ts +1 -0
  60. package/dist/src/commands/opengraph/png.test.js +50 -0
  61. package/dist/src/commands/opengraph/png.test.js.map +1 -0
  62. package/dist/src/commands/opengraph/svelte.d.ts +7 -0
  63. package/dist/src/commands/opengraph/svelte.js +77 -0
  64. package/dist/src/commands/opengraph/svelte.js.map +1 -0
  65. package/dist/src/commands/opengraph/svelte.test.d.ts +1 -0
  66. package/dist/src/commands/opengraph/svelte.test.js +189 -0
  67. package/dist/src/commands/opengraph/svelte.test.js.map +1 -0
  68. package/dist/src/commands/opengraph/utils.d.ts +8 -0
  69. package/dist/src/commands/opengraph/utils.js +136 -0
  70. package/dist/src/commands/opengraph/utils.js.map +1 -0
  71. package/dist/src/commands/opengraph/utils.test.d.ts +1 -0
  72. package/dist/src/commands/opengraph/utils.test.js +215 -0
  73. package/dist/src/commands/opengraph/utils.test.js.map +1 -0
  74. package/dist/src/commands/sqlite/command.d.ts +8 -0
  75. package/dist/src/commands/sqlite/command.js +16 -0
  76. package/dist/src/commands/sqlite/command.js.map +1 -0
  77. package/dist/src/commands/sqlite/command.test.d.ts +1 -0
  78. package/dist/src/commands/sqlite/command.test.js +42 -0
  79. package/dist/src/commands/sqlite/command.test.js.map +1 -0
  80. package/dist/src/commands/sqlite/database.d.ts +9 -0
  81. package/dist/src/commands/sqlite/database.js +174 -0
  82. package/dist/src/commands/sqlite/database.js.map +1 -0
  83. package/dist/src/commands/sqlite/database.mock.d.ts +24 -0
  84. package/dist/src/commands/sqlite/database.mock.js +58 -0
  85. package/dist/src/commands/sqlite/database.mock.js.map +1 -0
  86. package/dist/src/commands/sqlite/database.test.d.ts +1 -0
  87. package/dist/src/commands/sqlite/database.test.js +211 -0
  88. package/dist/src/commands/sqlite/database.test.js.map +1 -0
  89. package/dist/src/commands/sqlite/index.d.ts +1 -0
  90. package/dist/src/commands/sqlite/index.js +26 -0
  91. package/dist/src/commands/sqlite/index.js.map +1 -0
  92. package/dist/src/commands/sqlite/index.test.d.ts +1 -0
  93. package/dist/src/commands/sqlite/index.test.js +48 -0
  94. package/dist/src/commands/sqlite/index.test.js.map +1 -0
  95. package/dist/src/commands/theme/command.d.ts +13 -0
  96. package/dist/src/commands/theme/command.js +21 -0
  97. package/dist/src/commands/theme/command.js.map +1 -0
  98. package/dist/src/commands/theme/command.test.d.ts +1 -0
  99. package/dist/src/commands/theme/command.test.js +40 -0
  100. package/dist/src/commands/theme/command.test.js.map +1 -0
  101. package/dist/src/commands/theme/index.d.ts +1 -0
  102. package/dist/src/commands/theme/index.js +9 -0
  103. package/dist/src/commands/theme/index.js.map +1 -0
  104. package/dist/src/commands/theme/index.test.d.ts +1 -0
  105. package/dist/src/commands/theme/index.test.js +46 -0
  106. package/dist/src/commands/theme/index.test.js.map +1 -0
  107. package/dist/src/commands/theme/theme.d.ts +4 -0
  108. package/dist/src/commands/theme/theme.js +76 -0
  109. package/dist/src/commands/theme/theme.js.map +1 -0
  110. package/dist/src/commands/theme/theme.test.d.ts +1 -0
  111. package/dist/src/commands/theme/theme.test.js +54 -0
  112. package/dist/src/commands/theme/theme.test.js.map +1 -0
  113. package/dist/src/lib/browser.d.ts +55 -0
  114. package/dist/src/lib/browser.js +52 -0
  115. package/dist/src/lib/browser.js.map +1 -0
  116. package/dist/src/lib/browser.test.d.ts +1 -0
  117. package/dist/src/lib/browser.test.js +67 -0
  118. package/dist/src/lib/browser.test.js.map +1 -0
  119. package/dist/src/lib/config/config.d.ts +9 -0
  120. package/dist/src/lib/config/config.js +56 -0
  121. package/dist/src/lib/config/config.js.map +1 -0
  122. package/dist/src/lib/config/config.test.d.ts +1 -0
  123. package/dist/src/lib/config/config.test.js +71 -0
  124. package/dist/src/lib/config/config.test.js.map +1 -0
  125. package/dist/src/lib/config/config.test.ts +88 -0
  126. package/dist/src/lib/config/config.ts +74 -0
  127. package/dist/src/lib/config/defaults.json +145 -0
  128. package/dist/src/lib/config/defaults.yaml +151 -0
  129. package/dist/src/lib/config/schema.d.ts +172 -0
  130. package/dist/src/lib/config/schema.js +8 -0
  131. package/dist/src/lib/config/schema.js.map +1 -0
  132. package/dist/src/lib/config/schema.json +663 -0
  133. package/dist/src/lib/config/schema.ts +294 -0
  134. package/dist/src/lib/config/user-error.config.yaml +2 -0
  135. package/dist/src/lib/config/user.config.yaml +2 -0
  136. package/dist/src/lib/deep-merge.d.ts +1 -0
  137. package/dist/src/lib/deep-merge.js +27 -0
  138. package/dist/src/lib/deep-merge.js.map +1 -0
  139. package/dist/src/lib/deep-merge.test.d.ts +1 -0
  140. package/dist/src/lib/deep-merge.test.js +29 -0
  141. package/dist/src/lib/deep-merge.test.js.map +1 -0
  142. package/dist/src/lib/lastRun.d.ts +4 -0
  143. package/dist/src/lib/lastRun.js +23 -0
  144. package/dist/src/lib/lastRun.js.map +1 -0
  145. package/dist/src/lib/lastRun.test.d.ts +1 -0
  146. package/dist/src/lib/lastRun.test.js +47 -0
  147. package/dist/src/lib/lastRun.test.js.map +1 -0
  148. package/dist/src/lib/vibrant.d.ts +21 -0
  149. package/dist/src/lib/vibrant.js +78 -0
  150. package/dist/src/lib/vibrant.js.map +1 -0
  151. package/dist/src/lib/vibrant.test.d.ts +1 -0
  152. package/dist/src/lib/vibrant.test.js +164 -0
  153. package/dist/src/lib/vibrant.test.js.map +1 -0
  154. package/dist/src/sdk.d.ts +4 -0
  155. package/dist/src/sdk.js +4 -0
  156. package/dist/src/sdk.js.map +1 -0
  157. package/dist/src/types.d.ts +2 -0
  158. package/dist/src/types.js +2 -0
  159. package/dist/src/types.js.map +1 -0
  160. package/dist/tsconfig.tsbuildinfo +1 -0
  161. package/package.json +54 -0
package/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@luzzle/web.tools",
3
+ "version": "0.0.69",
4
+ "author": "eleith",
5
+ "scripts": {
6
+ "lint": "eslint src",
7
+ "compile": "tsc --noEmit",
8
+ "build:executable": "chmod +x ./dist/src/cli.js",
9
+ "postbuild": "npm run build:executable",
10
+ "build": "tsc",
11
+ "test": "vitest run --silent --coverage"
12
+ },
13
+ "engines": {
14
+ "node": ">=20"
15
+ },
16
+ "bin": {
17
+ "luzzle-web-tools": "./dist/src/cli.js"
18
+ },
19
+ "files": [
20
+ "dist/*",
21
+ "package.json"
22
+ ],
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "git+https://git.eleith.com/eleith/luzzle.git"
26
+ },
27
+ "homepage": "https://git.eleith.com/eleith/luzzle.git",
28
+ "description": "misc scripts for working with luzzle related files and projects",
29
+ "devDependencies": {
30
+ "@types/eslint": "9.6.1",
31
+ "@types/node": "22.12.0",
32
+ "@types/yargs": "17.0.13",
33
+ "@vitest/coverage-v8": "3.2.4",
34
+ "eslint": "9.22.0",
35
+ "eslint-config-prettier": "9.1.0",
36
+ "eslint-plugin-prettier": "5.2.1",
37
+ "globals": "16.0.0",
38
+ "prettier": "3.2.5",
39
+ "typescript": "5.7.3",
40
+ "typescript-eslint": "8.19.1",
41
+ "vite": "7.1.7",
42
+ "vitest": "3.2.4"
43
+ },
44
+ "dependencies": {
45
+ "@luzzle/core": "0.0.32",
46
+ "@luzzle/web.utils": "0.0.11",
47
+ "lightningcss": "^1.30.2",
48
+ "puppeteer": "24.19.0",
49
+ "sharp": "0.33.5",
50
+ "yaml": "^2.7.0",
51
+ "yargs": "17.6.0"
52
+ },
53
+ "type": "module"
54
+ }