@devframes/plugin-assets 0.9.0-beta.2 → 0.9.0-beta.7

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.
@@ -5,7 +5,7 @@
5
5
  <meta name="viewport" content="width=device-width,initial-scale=1" />
6
6
  <base href="./" />
7
7
  <title>Assets</title>
8
- <script type="module" crossorigin src="./assets/index--baBqY2P.js"></script>
8
+ <script type="module" crossorigin src="./assets/index-CshTBd70.js"></script>
9
9
  <link rel="stylesheet" crossorigin href="./assets/index-CG0nPVp2.css">
10
10
  </head>
11
11
  <body>
@@ -4,7 +4,7 @@ import { defineDevframe } from "devframe";
4
4
  import { dirname, resolve } from "pathe";
5
5
  //#region package.json
6
6
  var name = "@devframes/plugin-assets";
7
- var version = "0.9.0-beta.2";
7
+ var version = "0.9.0-beta.7";
8
8
  var description = "Devframe plugin for browsing, previewing, uploading, and managing static assets in a directory.";
9
9
  var homepage = "https://github.com/devframes/devframe#readme";
10
10
  //#endregion
@@ -68,7 +68,6 @@ function createAssetsDevframe(options = {}) {
68
68
  cli.option("--read-only", "Disable upload, rename, delete, and folder creation");
69
69
  }
70
70
  },
71
- spa: { loader: "none" },
72
71
  dock: { category: "~builtin" },
73
72
  async setup(ctx, info) {
74
73
  const readOnlyFlag = info?.flags?.readOnly === true;
@@ -83,6 +82,5 @@ function createAssetsDevframe(options = {}) {
83
82
  }
84
83
  });
85
84
  }
86
- const assetsDevframe = createAssetsDevframe();
87
85
  //#endregion
88
- export { createAssetsDevframe as n, DEFAULT_ALLOWED_UPLOAD_EXTENSIONS as r, assetsDevframe as t };
86
+ export { DEFAULT_ALLOWED_UPLOAD_EXTENSIONS as n, createAssetsDevframe as t };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@devframes/plugin-assets",
3
3
  "type": "module",
4
- "version": "0.9.0-beta.2",
4
+ "version": "0.9.0-beta.7",
5
5
  "description": "Devframe plugin for browsing, previewing, uploading, and managing static assets in a directory.",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -26,7 +26,6 @@
26
26
  "./cli": "./dist/cli.mjs",
27
27
  "./node": "./dist/node/index.mjs",
28
28
  "./rpc": "./dist/rpc/index.mjs",
29
- "./vite": "./dist/vite.mjs",
30
29
  "./package.json": "./package.json"
31
30
  },
32
31
  "types": "./dist/index.d.mts",
@@ -39,7 +38,7 @@
39
38
  ],
40
39
  "peerDependencies": {
41
40
  "vite": "^7.0.0 || ^8.0.0",
42
- "devframe": "0.9.0-beta.2"
41
+ "devframe": "0.9.0-beta.7"
43
42
  },
44
43
  "peerDependenciesMeta": {
45
44
  "vite": {
@@ -75,7 +74,8 @@
75
74
  "vite": "^8.2.1",
76
75
  "vitest": "^4.1.10",
77
76
  "vue": "^3.5.41",
78
- "devframe": "0.9.0-beta.2"
77
+ "@devframes/vite": "0.9.0-beta.7",
78
+ "devframe": "0.9.0-beta.7"
79
79
  },
80
80
  "scripts": {
81
81
  "build": "tsdown && vite build --config src/spa/vite.config.ts",