varmory 1.0.4 → 1.0.6
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 +13 -18
- package/dist/index.css +2 -2
- package/dist/varmory.mjs +14993 -10236
- package/dist/varmory.umd.js +532 -1483
- package/mcp/server.js +12 -10
- package/mcp/showcaseMcp.js +418 -112
- package/package.json +4 -4
- package/src/varmory/includes/normalizeQuasarApi.js +117 -0
- package/src/varmory/includes/package.json +1 -0
- package/dist/common-5lNzIzpb.mjs +0 -4
- package/dist/common-BKsX7fo_.mjs +0 -4
- package/dist/common-CF3aHLu9.mjs +0 -4
- package/dist/common-Choo61Du.mjs +0 -4
- package/dist/dark-BA_zVRY0.mjs +0 -4
- package/dist/dark-DOaFu-4U.mjs +0 -4
- package/dist/dark-DxprdSnN.mjs +0 -4
- package/dist/dark-KePaswAd.mjs +0 -4
- package/dist/light-3fU1ZoAr.mjs +0 -4
- package/dist/light-BjJD7fqj.mjs +0 -4
- package/dist/light-DtRlFPYS.mjs +0 -4
- package/dist/light-Ti6cE728.mjs +0 -4
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# varmory
|
|
2
2
|
|
|
3
|
-
Vue 3 + Quasar
|
|
3
|
+
Component showcase for Vue 3 + Quasar apps, with a Model Context Protocol server so AI agents can read your components and docs.
|
|
4
4
|
|
|
5
|
-
Drop in an interactive
|
|
5
|
+
Drop in an interactive browser for the Quasar components you use and any custom ones you build, and expose the same metadata to tools like Claude via MCP — no extra glue needed.
|
|
6
6
|
|
|
7
7
|
- [Component Showcase](https://varmory-dec8b20a1b83.herokuapp.com/)
|
|
8
8
|
- [MCP Server](https://varmory-dec8b20a1b83.herokuapp.com/#docs/MCP)
|
|
@@ -16,7 +16,7 @@ npm install varmory
|
|
|
16
16
|
Peer dependencies:
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
|
-
npm install vue@^3 quasar@^2
|
|
19
|
+
npm install vue@^3 quasar@^2 @quasar/extras@^1
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## Setup
|
|
@@ -36,33 +36,28 @@ export default {
|
|
|
36
36
|
};
|
|
37
37
|
```
|
|
38
38
|
|
|
39
|
-
In your app's entry file, install
|
|
39
|
+
In your app's entry file, attach Quasar to the Vue app **before** Varmory, then install Varmory as a Vue plugin. Varmory registers `JComponentShowcase` + `JComponentShowcaseWithContent` globally and throws if Quasar isn't already installed.
|
|
40
40
|
|
|
41
41
|
```js
|
|
42
42
|
// main.js
|
|
43
43
|
import { createApp } from 'vue';
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import { Dialog, Notify, LocalStorage, SessionStorage } from 'quasar';
|
|
44
|
+
import { Quasar, Notify, Dialog, LocalStorage, SessionStorage } from 'quasar';
|
|
45
|
+
import { Varmory } from 'varmory';
|
|
47
46
|
import 'quasar/dist/quasar.css';
|
|
48
47
|
import '@quasar/extras/material-icons/material-icons.css';
|
|
49
48
|
import App from './App.vue';
|
|
50
49
|
|
|
51
50
|
createApp(App)
|
|
52
|
-
.use(
|
|
53
|
-
.use(Varmory
|
|
54
|
-
theme: 'space', // optional, default is 'default'
|
|
55
|
-
plugins: { Notify, Dialog, LocalStorage, SessionStorage },
|
|
56
|
-
})
|
|
51
|
+
.use(Quasar, { plugins: { Notify, Dialog, LocalStorage, SessionStorage } })
|
|
52
|
+
.use(Varmory)
|
|
57
53
|
.mount('#app');
|
|
58
54
|
```
|
|
59
55
|
|
|
60
|
-
See [USAGE.md](docs/USAGE
|
|
56
|
+
See [USAGE.md](https://varmory-dec8b20a1b83.herokuapp.com/#docs/USAGE) for the rest of the setup details.
|
|
61
57
|
|
|
62
58
|
## Docs
|
|
63
59
|
|
|
64
|
-
- [Usage](https://varmory-dec8b20a1b83.herokuapp.com/#docs/USAGE) — setting up a fresh app
|
|
65
|
-
- [Building Components](https://varmory-dec8b20a1b83.herokuapp.com/#docs/CustomComponents) — API style,
|
|
66
|
-
- [
|
|
67
|
-
- [
|
|
68
|
-
- [MCP Server](https://varmory-dec8b20a1b83.herokuapp.com/#docs/MCP) — expose showcase data to AI agents via the Model Context Protocol
|
|
60
|
+
- [Usage](https://varmory-dec8b20a1b83.herokuapp.com/#docs/USAGE) — setting up a fresh app, Vite config, Quasar plugin wiring
|
|
61
|
+
- [Building Components](https://varmory-dec8b20a1b83.herokuapp.com/#docs/CustomComponents) — API style, layout patterns, component composition
|
|
62
|
+
- [Showcase](https://varmory-dec8b20a1b83.herokuapp.com/#docs/SHOWCASE) — interactive browser, adding categories, custom docs, navigation
|
|
63
|
+
- [MCP Server](https://varmory-dec8b20a1b83.herokuapp.com/#docs/MCP) — expose showcase + docs + component APIs to AI agents via MCP
|