@md-plugins/quasar-app-extension-vite-md-plugin 0.1.0-beta.0 → 0.1.0-beta.10

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
@@ -17,7 +17,9 @@ The `viteMdPluginAppExt` extension provides a convenient way to use Markdown fil
17
17
 
18
18
  This App-Extension (app-ext) is for convenience only. For more granular control, you can use the `viteMdPlugin` directly in your Vite configuration. For more information, refer to the [viteMdPlugin documentation](https://github.com/md-plugins/md-plugins/tree/dev/packages/viteMdPlugin).
19
19
 
20
- > This app extension currently targets Quasar Vite projects using `@quasar/app-vite` `^3.0.0-beta.12`.
20
+ > Current beta release: `0.1.0-beta.10`.
21
+ >
22
+ > This app extension currently targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.29`.
21
23
 
22
24
  ## Installation
23
25
 
package/package.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "@md-plugins/quasar-app-extension-vite-md-plugin",
3
- "version": "0.1.0-beta.0",
3
+ "version": "0.1.0-beta.10",
4
4
  "description": "A Quasar app-ext for @md-plugins/viteMdPlugin",
5
5
  "keywords": [
6
- "app",
7
6
  "app extension",
8
7
  "extension",
9
8
  "markdown",
@@ -18,10 +17,15 @@
18
17
  "access": "public"
19
18
  },
20
19
  "devDependencies": {
21
- "@md-plugins/vite-md-plugin": "0.1.0-beta.0"
20
+ "@quasar/app-vite": "3.0.0-beta.29",
21
+ "@md-plugins/vite-md-plugin": "0.1.0-beta.10"
22
+ },
23
+ "peerDependencies": {
24
+ "@quasar/app-vite": ">=3.0.0-beta.29"
22
25
  },
23
26
  "engines": {
24
- "node": ">=20"
27
+ "node": ">=22.13",
28
+ "pnpm": ">=11.3.0"
25
29
  },
26
30
  "scripts": {
27
31
  "test": "echo \"No test specified\" && exit 0"
package/src/index.js CHANGED
@@ -5,6 +5,8 @@
5
5
  * Docs: https://quasar.dev/app-extensions/development-guide/index-api
6
6
  */
7
7
 
8
+ import { defineIndexScript } from '@quasar/app-vite'
9
+
8
10
  function extendConfig(config) {
9
11
  // make sure 'vueRouterMode' has 'history' mode
10
12
  if (config.build.vueRouterMode !== 'history') {
@@ -23,15 +25,15 @@ function extendConfig(config) {
23
25
  config.framework.autoImportVueExtensions = Array.from(extensions)
24
26
  }
25
27
 
26
- export default function (api) {
28
+ export default defineIndexScript((api) => {
27
29
  // verify this is a Vite project
28
30
  if (!api.hasVite) {
29
31
  throw new Error('This extension requires Vite')
30
32
  }
31
33
 
32
34
  api.compatibleWith('quasar', '^2.0.0')
33
- api.compatibleWith('@quasar/app-vite', '^3.0.0-beta.12')
35
+ api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.29')
34
36
 
35
37
  // here we extend /quasar.config, so we can add some Vite/Vue stuff
36
38
  api.extendQuasarConf(extendConfig)
37
- }
39
+ })