@flightdev/image 0.0.3 → 0.1.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.
@@ -124,10 +124,10 @@ declare const FlightImage: vue.DefineComponent<vue.ExtractPropTypes<{
124
124
  format: ImageFormat;
125
125
  quality: number;
126
126
  priority: boolean;
127
- baseUrl: string;
128
127
  placeholder: "blur" | "empty" | "none";
129
128
  blurDataUrl: string;
130
129
  sizes: string;
130
+ baseUrl: string;
131
131
  }, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
132
132
 
133
133
  export { FlightImage, type FlightImageProps, FlightImage as default };
package/package.json CHANGED
@@ -1,103 +1,103 @@
1
- {
2
- "name": "@flightdev/image",
3
- "version": "0.0.3",
4
- "description": "Agnostic image optimization for Flight Framework. Choose your processor: Sharp, Squoosh, Cloudinary, or custom.",
5
- "type": "module",
6
- "exports": {
7
- ".": {
8
- "types": "./dist/index.d.ts",
9
- "import": "./dist/index.js"
10
- },
11
- "./sharp": {
12
- "types": "./dist/adapters/sharp.d.ts",
13
- "import": "./dist/adapters/sharp.js"
14
- },
15
- "./squoosh": {
16
- "types": "./dist/adapters/squoosh.d.ts",
17
- "import": "./dist/adapters/squoosh.js"
18
- },
19
- "./cloudinary": {
20
- "types": "./dist/adapters/cloudinary.d.ts",
21
- "import": "./dist/adapters/cloudinary.js"
22
- },
23
- "./imgix": {
24
- "types": "./dist/adapters/imgix.d.ts",
25
- "import": "./dist/adapters/imgix.js"
26
- },
27
- "./react": {
28
- "types": "./dist/components/react.d.ts",
29
- "import": "./dist/components/react.js"
30
- },
31
- "./vue": {
32
- "types": "./dist/components/vue.d.ts",
33
- "import": "./dist/components/vue.js"
34
- },
35
- "./svelte": {
36
- "types": "./dist/components/svelte.d.ts",
37
- "import": "./dist/components/svelte.js"
38
- },
39
- "./solid": {
40
- "types": "./dist/components/solid.d.ts",
41
- "import": "./dist/components/solid.js"
42
- }
43
- },
44
- "files": [
45
- "dist"
46
- ],
47
- "dependencies": {},
48
- "peerDependencies": {
49
- "sharp": ">=0.33.0",
50
- "react": ">=18.0.0",
51
- "vue": ">=3.0.0",
52
- "svelte": ">=4.0.0",
53
- "solid-js": ">=1.0.0"
54
- },
55
- "peerDependenciesMeta": {
56
- "sharp": {
57
- "optional": true
58
- },
59
- "react": {
60
- "optional": true
61
- },
62
- "vue": {
63
- "optional": true
64
- },
65
- "svelte": {
66
- "optional": true
67
- },
68
- "solid-js": {
69
- "optional": true
70
- }
71
- },
72
- "devDependencies": {
73
- "@types/node": "^22.0.0",
74
- "tsup": "^8.0.0",
75
- "typescript": "^5.7.0",
76
- "vitest": "^2.0.0"
77
- },
78
- "keywords": [
79
- "flight",
80
- "image",
81
- "optimization",
82
- "sharp",
83
- "webp",
84
- "avif",
85
- "responsive",
86
- "agnostic"
87
- ],
88
- "author": "Flight Contributors",
89
- "license": "MIT",
90
- "homepage": "https://github.com/EliosLT/FlightDev",
91
- "repository": {
92
- "url": "https://github.com/EliosLT/FlightDev.git",
93
- "directory": "packages/image",
94
- "type": "git"
95
- },
96
- "scripts": {
97
- "build": "tsup",
98
- "dev": "tsup --watch",
99
- "test": "vitest run",
100
- "test:watch": "vitest",
101
- "typecheck": "tsc --noEmit"
102
- }
1
+ {
2
+ "name": "@flightdev/image",
3
+ "version": "0.1.0",
4
+ "description": "Agnostic image optimization for Flight Framework. Choose your processor: Sharp, Squoosh, Cloudinary, or custom.",
5
+ "type": "module",
6
+ "exports": {
7
+ ".": {
8
+ "types": "./dist/index.d.ts",
9
+ "import": "./dist/index.js"
10
+ },
11
+ "./sharp": {
12
+ "types": "./dist/adapters/sharp.d.ts",
13
+ "import": "./dist/adapters/sharp.js"
14
+ },
15
+ "./squoosh": {
16
+ "types": "./dist/adapters/squoosh.d.ts",
17
+ "import": "./dist/adapters/squoosh.js"
18
+ },
19
+ "./cloudinary": {
20
+ "types": "./dist/adapters/cloudinary.d.ts",
21
+ "import": "./dist/adapters/cloudinary.js"
22
+ },
23
+ "./imgix": {
24
+ "types": "./dist/adapters/imgix.d.ts",
25
+ "import": "./dist/adapters/imgix.js"
26
+ },
27
+ "./react": {
28
+ "types": "./dist/components/react.d.ts",
29
+ "import": "./dist/components/react.js"
30
+ },
31
+ "./vue": {
32
+ "types": "./dist/components/vue.d.ts",
33
+ "import": "./dist/components/vue.js"
34
+ },
35
+ "./svelte": {
36
+ "types": "./dist/components/svelte.d.ts",
37
+ "import": "./dist/components/svelte.js"
38
+ },
39
+ "./solid": {
40
+ "types": "./dist/components/solid.d.ts",
41
+ "import": "./dist/components/solid.js"
42
+ }
43
+ },
44
+ "files": [
45
+ "dist"
46
+ ],
47
+ "scripts": {
48
+ "build": "tsup",
49
+ "dev": "tsup --watch",
50
+ "test": "vitest run",
51
+ "test:watch": "vitest",
52
+ "typecheck": "tsc --noEmit"
53
+ },
54
+ "dependencies": {},
55
+ "peerDependencies": {
56
+ "sharp": "\u003e=0.33.0",
57
+ "react": "\u003e=18.0.0",
58
+ "vue": "\u003e=3.0.0",
59
+ "svelte": "\u003e=4.0.0",
60
+ "solid-js": "\u003e=1.0.0"
61
+ },
62
+ "peerDependenciesMeta": {
63
+ "sharp": {
64
+ "optional": true
65
+ },
66
+ "react": {
67
+ "optional": true
68
+ },
69
+ "vue": {
70
+ "optional": true
71
+ },
72
+ "svelte": {
73
+ "optional": true
74
+ },
75
+ "solid-js": {
76
+ "optional": true
77
+ }
78
+ },
79
+ "devDependencies": {
80
+ "@types/node": "^22.0.0",
81
+ "tsup": "^8.0.0",
82
+ "typescript": "^5.7.0",
83
+ "vitest": "^2.0.0"
84
+ },
85
+ "keywords": [
86
+ "flight",
87
+ "image",
88
+ "optimization",
89
+ "sharp",
90
+ "webp",
91
+ "avif",
92
+ "responsive",
93
+ "agnostic"
94
+ ],
95
+ "author": "Flight Contributors",
96
+ "license": "MIT",
97
+ "homepage": "https://github.com/EliosLT/FlightDev",
98
+ "repository": {
99
+ "url": "https://github.com/EliosLT/FlightDev.git",
100
+ "directory": "packages/image",
101
+ "type": "git"
102
+ }
103
103
  }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2024-2026 Flight Contributors
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.