@laioutr/app-hygraph 1.7.0 → 1.7.1

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.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laioutr/app-hygraph",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "configKey": "@laioutr/app-hygraph",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.1",
package/dist/module.mjs CHANGED
@@ -3,7 +3,7 @@ import { defu } from 'defu';
3
3
  import { registerLaioutrApp } from '@laioutr-core/kit';
4
4
 
5
5
  const name = "@laioutr/app-hygraph";
6
- const version = "1.7.0";
6
+ const version = "1.7.1";
7
7
 
8
8
  const module = defineNuxtModule({
9
9
  meta: {
@@ -11,7 +11,8 @@ export const mapHygraphMedia = (asset) => {
11
11
  src: asset.url,
12
12
  width: asset.width ?? void 0,
13
13
  height: asset.height ?? void 0,
14
- format: mimeType.slice("video/".length)
14
+ // Full MIME type (e.g. `video/mp4`) — the frontend binds this to `<source type>`.
15
+ format: mimeType
15
16
  }
16
17
  ],
17
18
  alt: filenameToAlt(asset.fileName)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laioutr/app-hygraph",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Laioutr Hygraph App",
5
5
  "repository": "your-org/@laioutr/app-hygraph",
6
6
  "license": "MIT",
@@ -43,17 +43,6 @@
43
43
  "files": [
44
44
  "dist"
45
45
  ],
46
- "scripts": {
47
- "dev": "npm run dev:prepare && nuxi dev playground",
48
- "dev:build": "nuxi build playground",
49
- "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
50
- "lint": "eslint .",
51
- "prepack": "nuxt-module-build build",
52
- "release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish --access public && git push --follow-tags",
53
- "test": "vitest run",
54
- "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
55
- "test:watch": "vitest watch"
56
- },
57
46
  "dependencies": {
58
47
  "@nuxt/kit": "3.16.2",
59
48
  "zod": "3.25.61"
@@ -103,5 +92,15 @@
103
92
  "engines": {
104
93
  "node": ">=22.12.0",
105
94
  "pnpm": ">=10.15.0"
95
+ },
96
+ "scripts": {
97
+ "dev": "npm run dev:prepare && nuxi dev playground",
98
+ "dev:build": "nuxi build playground",
99
+ "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
100
+ "lint": "eslint .",
101
+ "release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish --access public && git push --follow-tags",
102
+ "test": "vitest run",
103
+ "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit",
104
+ "test:watch": "vitest watch"
106
105
  }
107
- }
106
+ }