@antelopejs/dms-media 0.0.3 → 0.0.5

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/README.md CHANGED
@@ -97,7 +97,7 @@ Consumer modules should declare `@antelopejs/dms-media` as an AntelopeJS depende
97
97
  ```bash
98
98
  pnpm install
99
99
  pnpm dev # backend, via playground (ajs project run -w -p playground)
100
- pnpm frontend:dev # Vue 3 Inertia frontend, from playground (ajs-dms dev)
100
+ pnpm frontend:dev # Vue 3 Inertia frontend, from playground (ajs dms dev)
101
101
  pnpm test # build + full mocha suite (unit + HTTP integration)
102
102
  pnpm test:unit # resolver / bindings / derivatives unit tests only
103
103
  ```
@@ -92,7 +92,7 @@ function revert(): void {
92
92
  class="max-w-3xl"
93
93
  >
94
94
  <template #body>
95
- <ClientOnly>
95
+ <DmsClientOnly>
96
96
  <Cropper
97
97
  v-if="imageUrl"
98
98
  ref="cropperRef"
@@ -105,7 +105,7 @@ function revert(): void {
105
105
  >
106
106
  {{ t("dms_media.edit.load_error") }}
107
107
  </p>
108
- </ClientOnly>
108
+ </DmsClientOnly>
109
109
  </template>
110
110
  <template #footer>
111
111
  <div class="flex w-full items-center justify-between gap-2">
@@ -173,7 +173,7 @@ watch(
173
173
  shouldHighlight && 'bg-primary-500/10',
174
174
  ]"
175
175
  >
176
- <ClientOnly>
176
+ <DmsClientOnly>
177
177
  <UTree :items="treeItems" size="xs" class="w-full">
178
178
  <template #recent-file="{ item }: { item: RecentFileTreeItem }">
179
179
  <button
@@ -259,7 +259,7 @@ watch(
259
259
  </div>
260
260
  </div>
261
261
  </template>
262
- </ClientOnly>
262
+ </DmsClientOnly>
263
263
  </div>
264
264
  </FinderCorePanel>
265
265
  </template>
@@ -72,7 +72,7 @@ export const PREVIEWABLE_TYPES = [
72
72
  * Formats for which image editing is offered in the UI.
73
73
  *
74
74
  * Mirror of `EDITABLE_IMAGE_MIMETYPES` in `src/routes/media/delivery.ts`
75
- * (the backend 422 guard): this layer is copied by ajs-dms at prepare time
75
+ * (the backend 422 guard): this layer is copied by ajs dms at prepare time
76
76
  * and cannot resolve imports into the backend `src/` tree, so keep both
77
77
  * lists in sync when adding a format.
78
78
  */
@@ -1,5 +1,5 @@
1
1
  import { defineAsyncComponent, type Component } from 'vue'
2
- import type { DmsFrontendModule } from '#dms-inertia/frontend-module'
2
+ import type { DmsFrontendModule } from '#dms/frontend-module'
3
3
 
4
4
  interface VueModule {
5
5
  default: Component
@@ -7,7 +7,7 @@
7
7
  "packageManager": "pnpm@10.6.5",
8
8
  "scripts": {
9
9
  "dev": "pnpm --dir ../playground frontend:dev",
10
- "build": "pnpm --dir ../playground exec ajs-dms build",
10
+ "build": "pnpm --dir ../playground exec ajs dms build",
11
11
  "typecheck": "pnpm --dir \"${DMS_FRONTEND_WORKSPACE:?Set DMS_FRONTEND_WORKSPACE to the generated Inertia workspace}\" typecheck",
12
12
  "format": "prettier --write .",
13
13
  "lint": "eslint .",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antelopejs/dms-media",
3
- "version": "0.0.3",
3
+ "version": "0.0.5",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -56,7 +56,7 @@
56
56
  "zod": "~3.24.2"
57
57
  },
58
58
  "devDependencies": {
59
- "@antelopejs/core": "1.4.11",
59
+ "@antelopejs/core": ">=1.8.0 <2",
60
60
  "@antelopejs/tooling-configs": ">=0.0.6 <1.0.0",
61
61
  "@types/chai": "^4.3.20",
62
62
  "@types/mocha": "^10",
@@ -37,7 +37,7 @@ const HTTP_UNPROCESSABLE_ENTITY = 422;
37
37
  * rasterize or flatten anything else (SVG, animated sources).
38
38
  *
39
39
  * Mirrored in `frontend-vue/app/utils/finder/mime.ts` for the UI
40
- * affordances: the frontend module is copied by ajs-dms at prepare time and
40
+ * affordances: the frontend module is copied by ajs dms at prepare time and
41
41
  * cannot resolve imports into the backend `src/` tree, so keep both
42
42
  * lists in sync when adding a format.
43
43
  */