abckit 0.0.8 → 0.0.9
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/module.d.mts
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -35,7 +35,8 @@ const module$1 = defineNuxtModule({
|
|
|
35
35
|
nuxt.options.runtimeConfig.dragonfly = defu(nuxt.options.runtimeConfig.dragonfly, {
|
|
36
36
|
host: "dragonfly",
|
|
37
37
|
port: Number.parseInt("6379", 10),
|
|
38
|
-
password: ""
|
|
38
|
+
password: "",
|
|
39
|
+
url: ""
|
|
39
40
|
});
|
|
40
41
|
nuxt.options.runtimeConfig.s3 = defu(nuxt.options.runtimeConfig.s3, {
|
|
41
42
|
accessKeyId: "",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type ImageSize = 'raw' | 'xs' | 'sm' | 'md' | 'lg' | 'thumbnails' | 'thumbnails2' | '2k' | 'profile50' | 'profile75';
|
|
1
|
+
export type ImageSize = 'raw' | 'xs' | 'sm' | 'md' | 'lg' | 'thumbnails' | 'thumbnails2' | '2k' | 'profile50' | 'profile75' | 'instagram';
|
|
2
2
|
export declare function useImageUrl(): {
|
|
3
3
|
getImageUrl: (imageKey: string | null | undefined, size?: ImageSize) => string;
|
|
4
4
|
getAvailableSizes: () => {
|
|
@@ -39,6 +39,10 @@ const imageSizes = {
|
|
|
39
39
|
"profile75": {
|
|
40
40
|
path: "s:150:150/rt:fill/f:avif",
|
|
41
41
|
description: "Profile medium AVIF (150x150)"
|
|
42
|
+
},
|
|
43
|
+
"instagram": {
|
|
44
|
+
path: "s:10000:10000/rt:fit/q:90/f:jpg",
|
|
45
|
+
description: "Instagram optimized JPEG (original size, 90% quality)"
|
|
42
46
|
}
|
|
43
47
|
};
|
|
44
48
|
export function useImageUrl() {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "abckit",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.9",
|
|
5
5
|
"private": false,
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"exports": {
|
|
@@ -44,6 +44,17 @@
|
|
|
44
44
|
"files": [
|
|
45
45
|
"dist"
|
|
46
46
|
],
|
|
47
|
+
"scripts": {
|
|
48
|
+
"build": "nuxt-module-build build",
|
|
49
|
+
"prepack": "nuxt-module-build build",
|
|
50
|
+
"dev": "nuxt dev playground",
|
|
51
|
+
"dev:build": "nuxi build playground",
|
|
52
|
+
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
53
|
+
"lint": "eslint .",
|
|
54
|
+
"lint:fix": "eslint . --fix",
|
|
55
|
+
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
|
|
56
|
+
"release": "pnpm publish --no-git-checks --access public"
|
|
57
|
+
},
|
|
47
58
|
"dependencies": {
|
|
48
59
|
"@graphql-tools/utils": "^10.11.0",
|
|
49
60
|
"@nuxt/icon": "^2.1.0",
|
|
@@ -55,7 +66,7 @@
|
|
|
55
66
|
"@pinia/colada-nuxt": "^0.2.4",
|
|
56
67
|
"@pinia/nuxt": "^0.11.3",
|
|
57
68
|
"@polar-sh/sdk": "^0.41.5",
|
|
58
|
-
"@sentry/nuxt": "
|
|
69
|
+
"@sentry/nuxt": "catalog:",
|
|
59
70
|
"@sindresorhus/slugify": "^3.0.0",
|
|
60
71
|
"@tailwindcss/typography": "^0.5.19",
|
|
61
72
|
"@tanstack/vue-table": "^8.21.3",
|
|
@@ -119,14 +130,12 @@
|
|
|
119
130
|
"resolutions": {
|
|
120
131
|
"abckit": "workspace:*"
|
|
121
132
|
},
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
"test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
|
|
130
|
-
"release": "pnpm publish --no-git-checks --access public"
|
|
133
|
+
"pnpm": {
|
|
134
|
+
"overrides": {
|
|
135
|
+
"entities": "7.0.0"
|
|
136
|
+
},
|
|
137
|
+
"patchedDependencies": {
|
|
138
|
+
"entities@7.0.0": "patches/entities@7.0.0.patch"
|
|
139
|
+
}
|
|
131
140
|
}
|
|
132
|
-
}
|
|
141
|
+
}
|