@holo-js/media 0.3.27 → 0.4.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/LICENSE +21 -0
- package/dist/.holo-build-fingerprint +1 -0
- package/dist/index.d.ts +41 -32
- package/dist/index.mjs +478 -249
- package/dist/projectConfig.d.ts +3 -1
- package/package.json +19 -12
package/dist/projectConfig.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
interface HoloMediaConfig {
|
|
2
|
+
readonly disk?: string;
|
|
2
3
|
readonly [key: string]: unknown;
|
|
3
4
|
}
|
|
4
5
|
declare module '@holo-js/config' {
|
|
@@ -9,4 +10,5 @@ declare module '@holo-js/config' {
|
|
|
9
10
|
declare function normalizeMediaConfig(config?: HoloMediaConfig): Readonly<HoloMediaConfig>;
|
|
10
11
|
declare function defineMediaConfig<TConfig extends HoloMediaConfig>(config: TConfig): Readonly<TConfig>;
|
|
11
12
|
|
|
12
|
-
export {
|
|
13
|
+
export { defineMediaConfig, normalizeMediaConfig };
|
|
14
|
+
export type { HoloMediaConfig };
|
package/package.json
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holo-js/media",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Holo-JS Framework - media collections and conversions for Holo-JS models",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/cobraprojects/holo-js.git",
|
|
10
|
+
"directory": "packages/media"
|
|
11
|
+
},
|
|
7
12
|
"exports": {
|
|
8
13
|
".": {
|
|
9
14
|
"types": "./dist/index.d.ts",
|
|
@@ -19,7 +24,8 @@
|
|
|
19
24
|
"main": "./dist/index.mjs",
|
|
20
25
|
"types": "./dist/index.d.ts",
|
|
21
26
|
"files": [
|
|
22
|
-
"dist"
|
|
27
|
+
"dist",
|
|
28
|
+
"LICENSE"
|
|
23
29
|
],
|
|
24
30
|
"scripts": {
|
|
25
31
|
"build": "tsup",
|
|
@@ -28,19 +34,20 @@
|
|
|
28
34
|
"test": "vitest --run"
|
|
29
35
|
},
|
|
30
36
|
"dependencies": {
|
|
31
|
-
"@holo-js/config": "^0.
|
|
32
|
-
"@holo-js/db": "^0.
|
|
33
|
-
"@holo-js/
|
|
34
|
-
"@holo-js/
|
|
35
|
-
"
|
|
37
|
+
"@holo-js/config": "^0.4.0",
|
|
38
|
+
"@holo-js/db": "^0.4.0",
|
|
39
|
+
"@holo-js/kernel": "^0.4.0",
|
|
40
|
+
"@holo-js/queue": "^0.4.0",
|
|
41
|
+
"@holo-js/storage": "^0.4.0",
|
|
42
|
+
"sharp": "^0.35.5"
|
|
36
43
|
},
|
|
37
44
|
"devDependencies": {
|
|
38
|
-
"@holo-js/db-sqlite": "^0.
|
|
39
|
-
"tsup": "^
|
|
40
|
-
"typescript": "^
|
|
41
|
-
"vitest": "^
|
|
45
|
+
"@holo-js/db-sqlite": "^0.4.0",
|
|
46
|
+
"tsup": "^9.0.0",
|
|
47
|
+
"typescript": "^6.0.3",
|
|
48
|
+
"vitest": "^5.0.5"
|
|
42
49
|
},
|
|
43
50
|
"engines": {
|
|
44
|
-
"node": "^22.
|
|
51
|
+
"node": "^22.18.0 || ^24.0.0 || ^26.0.0"
|
|
45
52
|
}
|
|
46
53
|
}
|