varmory 1.0.4 → 1.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
@@ -1,8 +1,8 @@
1
1
  # varmory
2
2
 
3
- Vue 3 + Quasar component showcase library with multi-theme support and an MCP server for AI agents.
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 component browser, expose your components to AI via the Model Context Protocol, and ship with built-in theming dark/light mode, multiple themes, or bring your own.
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 pinia@^3 @quasar/extras@^1
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 varmory as a Vue plugin alongside Pinia, import Quasar's base CSS and icons, and pass any Quasar plugins you need:
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 { createPinia } from 'pinia';
45
- import { install as Varmory } from 'varmory';
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(createPinia())
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.md) for more setup options (including attaching Quasar yourself instead of via varmory).
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 using varmory for UI, Vite config, and Quasar plugin setup
65
- - [Building Components](https://varmory-dec8b20a1b83.herokuapp.com/#docs/CustomComponents) — API style, CSS variables, layout patterns, component composition, and styling conventions
66
- - [Theming](https://varmory-dec8b20a1b83.herokuapp.com/#docs/THEMING) — built-in themes, custom themes, writing your own, theme store API, and UI components
67
- - [Showcase](https://varmory-dec8b20a1b83.herokuapp.com/#docs/SHOWCASE) — interactive component browser, adding categories, custom docs, writing showcase entries, and navigation
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