abckit 0.0.7 → 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
@@ -42,6 +42,7 @@ declare module 'nuxt/schema' {
42
42
  host: string;
43
43
  port: number;
44
44
  password: string;
45
+ url?: string;
45
46
  };
46
47
  s3: {
47
48
  accessKeyId: string;
package/dist/module.mjs CHANGED
@@ -11,7 +11,7 @@ const module$1 = defineNuxtModule({
11
11
  defaults: {
12
12
  sentry: false
13
13
  },
14
- moduleDependencies: {
14
+ moduleDependencies: (nuxt) => ({
15
15
  "@nuxtjs/tailwindcss": {},
16
16
  "notivue/nuxt": {},
17
17
  "@nuxt/icon": {},
@@ -20,8 +20,11 @@ const module$1 = defineNuxtModule({
20
20
  "@vueuse/nuxt": {},
21
21
  "@pinia/nuxt": {},
22
22
  "@vee-validate/nuxt": {},
23
- "nitro-graphql/nuxt": {}
24
- },
23
+ "nitro-graphql/nuxt": {},
24
+ "@sentry/nuxt/module": {
25
+ optional: nuxt.options.dev
26
+ }
27
+ }),
25
28
  async setup(options, nuxt) {
26
29
  const { resolve } = createResolver(import.meta.url);
27
30
  nuxt.options.runtimeConfig.public = defu(nuxt.options.runtimeConfig.public, {
@@ -32,7 +35,8 @@ const module$1 = defineNuxtModule({
32
35
  nuxt.options.runtimeConfig.dragonfly = defu(nuxt.options.runtimeConfig.dragonfly, {
33
36
  host: "dragonfly",
34
37
  port: Number.parseInt("6379", 10),
35
- password: ""
38
+ password: "",
39
+ url: ""
36
40
  });
37
41
  nuxt.options.runtimeConfig.s3 = defu(nuxt.options.runtimeConfig.s3, {
38
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.7",
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": "^10.29.0",
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
- "scripts": {
123
- "build": "nuxt-module-build build",
124
- "dev": "nuxt dev playground",
125
- "dev:build": "nuxi build playground",
126
- "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
127
- "lint": "eslint .",
128
- "lint:fix": "eslint . --fix",
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
+ }