@md-plugins/quasar-app-extension-q-press 0.1.0-beta.4 → 0.1.0-beta.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 +1 -1
- package/dist/index.js +1 -1
- package/dist/install.js +1 -1
- package/dist/templates/init/src/markdown/guides/upgrade-guide.md +3 -3
- package/dist/templates/init/src/markdown/quasar-app-extensions/qpress/overview.md +1 -1
- package/dist/templates/init/src/markdown/quasar-app-extensions/vite-md-plugin-app-ext/overview.md +1 -1
- package/package.json +18 -18
- package/src/index.ts +1 -1
- package/src/install.ts +1 -1
- package/src/templates/init/src/_q-press/css/app.scss +27 -24
- package/src/templates/init/src/markdown/guides/upgrade-guide.md +3 -3
- package/src/templates/init/src/markdown/quasar-app-extensions/qpress/overview.md +1 -1
- package/src/templates/init/src/markdown/quasar-app-extensions/vite-md-plugin-app-ext/overview.md +1 -1
- package/src/templates/update/src/_q-press/css/app.scss +27 -24
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ See the [documentation](https://md-plugins.netlify.app/quasar-app-extensions/qpr
|
|
|
6
6
|
|
|
7
7
|
> Current beta release: `0.1.0-beta.4`.
|
|
8
8
|
>
|
|
9
|
-
> Q-Press currently targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.
|
|
9
|
+
> Q-Press currently targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.19`. TypeScript processing is required.
|
|
10
10
|
|
|
11
11
|
## Features
|
|
12
12
|
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@ export default defineIndexScript((api) => {
|
|
|
31
31
|
throw new Error('This extension requires Vite');
|
|
32
32
|
}
|
|
33
33
|
api.compatibleWith('quasar', '^2.0.0');
|
|
34
|
-
api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.
|
|
34
|
+
api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.19');
|
|
35
35
|
// here we extend /quasar.config, so we can add some Vite/Vue stuff
|
|
36
36
|
api.extendQuasarConf(async (config) => {
|
|
37
37
|
config.build ??= {};
|
package/dist/install.js
CHANGED
|
@@ -11,7 +11,7 @@ export default defineInstallScript(async (api) => {
|
|
|
11
11
|
throw new Error('This extension requires Vite');
|
|
12
12
|
}
|
|
13
13
|
api.compatibleWith('quasar', '^2.0.0');
|
|
14
|
-
api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.
|
|
14
|
+
api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.19');
|
|
15
15
|
// project must have pinia installed
|
|
16
16
|
if ((await api.getStorePackageName()) !== 'pinia') {
|
|
17
17
|
console.error('-----------------------------');
|
|
@@ -7,16 +7,16 @@ related:
|
|
|
7
7
|
- vite-plugins/vite-md-plugin/overview
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
-
The `0.1.0` beta line moves MD-Plugins and Q-Press to the Quasar CLI Vite 3 beta toolchain. It is the right version to use when your Quasar application is being upgraded to `@quasar/app-vite` `>=3.0.0-beta.
|
|
10
|
+
The `0.1.0` beta line moves MD-Plugins and Q-Press to the Quasar CLI Vite 3 beta toolchain. It is the right version to use when your Quasar application is being upgraded to `@quasar/app-vite` `>=3.0.0-beta.19`.
|
|
11
11
|
|
|
12
12
|
::: warning
|
|
13
|
-
Q-Press and the Quasar app extensions now target Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.
|
|
13
|
+
Q-Press and the Quasar app extensions now target Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.19`. They are not intended for Webpack projects or JavaScript-only Quasar projects.
|
|
14
14
|
:::
|
|
15
15
|
|
|
16
16
|
## Before You Upgrade
|
|
17
17
|
|
|
18
18
|
- Make sure your app is already on a Quasar Vite setup.
|
|
19
|
-
- Upgrade the app to `@quasar/app-vite` `>=3.0.0-beta.
|
|
19
|
+
- Upgrade the app to `@quasar/app-vite` `>=3.0.0-beta.19`.
|
|
20
20
|
- Use TypeScript in the consuming Quasar project.
|
|
21
21
|
- Import `defineConfig` in `quasar.config.ts` directly from `@quasar/app-vite`.
|
|
22
22
|
- Use `/// <reference types="@quasar/app-vite/client" />` in `src/env.d.ts`.
|
|
@@ -6,7 +6,7 @@ desc: Q-Press App-Extension for Quasar.
|
|
|
6
6
|
The Q-Press App Extension is a powerful tool for Quasar developers that simplifies the integration of Markdown content into Quasar applications. It leverages the capabilities of Vite and various Markdown plugins to transform Markdown files into Vue components, enabling a seamless and efficient workflow for content management.
|
|
7
7
|
|
|
8
8
|
::: warning
|
|
9
|
-
Q-Press is for Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.
|
|
9
|
+
Q-Press is for Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.19` at this time. TypeScript processing is also required. Do not use if you are using Webpack or have a JavaScript-only project.
|
|
10
10
|
:::
|
|
11
11
|
|
|
12
12
|
::: tip
|
package/dist/templates/init/src/markdown/quasar-app-extensions/vite-md-plugin-app-ext/overview.md
CHANGED
|
@@ -9,7 +9,7 @@ related:
|
|
|
9
9
|
The `viteMdPluginAppExt` is a [Quasar App Extension](https://quasar.dev/app-extensions/introduction) that integrates the `viteMdPlugin` into your Quasar project. This extension allows you to use Markdown files as Vue components, enabling a seamless integration of Markdown content into your Quasar application.
|
|
10
10
|
|
|
11
11
|
::: warning
|
|
12
|
-
This app extension targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.
|
|
12
|
+
This app extension targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.19`.
|
|
13
13
|
:::
|
|
14
14
|
|
|
15
15
|
## Key Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@md-plugins/quasar-app-extension-q-press",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.5",
|
|
4
4
|
"description": "QPress - The Ultimate Markdown Solution for Quasar Framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown",
|
|
@@ -27,29 +27,29 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@types/markdown-it": "^14.1.2",
|
|
30
|
-
"fs-extra": "^11.3.
|
|
30
|
+
"fs-extra": "^11.3.5",
|
|
31
31
|
"markdown-it": "^14.1.1",
|
|
32
|
-
"@md-plugins/md-plugin-blockquote": "0.1.0-beta.
|
|
33
|
-
"@md-plugins/md-plugin-
|
|
34
|
-
"@md-plugins/md-plugin-
|
|
35
|
-
"@md-plugins/md-plugin-
|
|
36
|
-
"@md-plugins/md-plugin-image": "0.1.0-beta.
|
|
37
|
-
"@md-plugins/md-plugin-
|
|
38
|
-
"@md-plugins/md-plugin-imports": "0.1.0-beta.
|
|
39
|
-
"@md-plugins/md-plugin-
|
|
40
|
-
"@md-plugins/md-plugin-
|
|
41
|
-
"@md-plugins/md-plugin-table": "0.1.0-beta.
|
|
42
|
-
"@md-plugins/md-plugin-title": "0.1.0-beta.
|
|
43
|
-
"@md-plugins/shared": "0.1.0-beta.
|
|
44
|
-
"@md-plugins/vite-md-plugin": "0.1.0-beta.
|
|
32
|
+
"@md-plugins/md-plugin-blockquote": "0.1.0-beta.5",
|
|
33
|
+
"@md-plugins/md-plugin-frontmatter": "0.1.0-beta.5",
|
|
34
|
+
"@md-plugins/md-plugin-headers": "0.1.0-beta.5",
|
|
35
|
+
"@md-plugins/md-plugin-containers": "0.1.0-beta.5",
|
|
36
|
+
"@md-plugins/md-plugin-image": "0.1.0-beta.5",
|
|
37
|
+
"@md-plugins/md-plugin-codeblocks": "0.1.0-beta.5",
|
|
38
|
+
"@md-plugins/md-plugin-imports": "0.1.0-beta.5",
|
|
39
|
+
"@md-plugins/md-plugin-inlinecode": "0.1.0-beta.5",
|
|
40
|
+
"@md-plugins/md-plugin-link": "0.1.0-beta.5",
|
|
41
|
+
"@md-plugins/md-plugin-table": "0.1.0-beta.5",
|
|
42
|
+
"@md-plugins/md-plugin-title": "0.1.0-beta.5",
|
|
43
|
+
"@md-plugins/shared": "0.1.0-beta.5",
|
|
44
|
+
"@md-plugins/vite-md-plugin": "0.1.0-beta.5"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@quasar/app-vite": "3.0.0-beta.
|
|
47
|
+
"@quasar/app-vite": "3.0.0-beta.20",
|
|
48
48
|
"@types/markdown-it": "^14.1.2",
|
|
49
|
-
"vite": "^8.0.
|
|
49
|
+
"vite": "^8.0.14"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@quasar/app-vite": ">=3.0.0-beta.
|
|
52
|
+
"@quasar/app-vite": ">=3.0.0-beta.20",
|
|
53
53
|
"markdown-it": "^14.1.0"
|
|
54
54
|
},
|
|
55
55
|
"engines": {
|
package/src/index.ts
CHANGED
|
@@ -54,7 +54,7 @@ export default defineIndexScript((api) => {
|
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
api.compatibleWith('quasar', '^2.0.0')
|
|
57
|
-
api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.
|
|
57
|
+
api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.19')
|
|
58
58
|
|
|
59
59
|
// here we extend /quasar.config, so we can add some Vite/Vue stuff
|
|
60
60
|
api.extendQuasarConf(async (config) => {
|
package/src/install.ts
CHANGED
|
@@ -14,7 +14,7 @@ export default defineInstallScript(async (api) => {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
api.compatibleWith('quasar', '^2.0.0')
|
|
17
|
-
api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.
|
|
17
|
+
api.compatibleWith('@quasar/app-vite', '>=3.0.0-beta.19')
|
|
18
18
|
|
|
19
19
|
// project must have pinia installed
|
|
20
20
|
if ((await api.getStorePackageName()) !== 'pinia') {
|
|
@@ -328,30 +328,33 @@ body.q-scroll--lock .q-page > .q-scroll--anchor {
|
|
|
328
328
|
overflow-anchor: auto;
|
|
329
329
|
}
|
|
330
330
|
|
|
331
|
-
//
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
331
|
+
// Makes scrollbars look better for header drop-downs and search results.
|
|
332
|
+
.markdown-header-menu,
|
|
333
|
+
.markdown-search__results {
|
|
334
|
+
&::-webkit-scrollbar {
|
|
335
|
+
height: 12px;
|
|
336
|
+
width: 14px;
|
|
337
|
+
background: transparent;
|
|
338
|
+
z-index: 12;
|
|
339
|
+
overflow: visible;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
&::-webkit-scrollbar-thumb {
|
|
343
|
+
width: 10px;
|
|
344
|
+
background-color: $brand-primary;
|
|
345
|
+
border-radius: 10px;
|
|
346
|
+
z-index: 12;
|
|
347
|
+
border: 4px solid rgba(0, 0, 0, 0);
|
|
348
|
+
background-clip: padding-box;
|
|
349
|
+
transition: background-color $header-quick-transition;
|
|
350
|
+
margin: 4px;
|
|
351
|
+
min-height: 32px;
|
|
352
|
+
min-width: 32px;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
&::-webkit-scrollbar-thumb:hover {
|
|
356
|
+
background: $brand-primary;
|
|
357
|
+
}
|
|
355
358
|
}
|
|
356
359
|
|
|
357
360
|
.shadow-bottom {
|
|
@@ -7,16 +7,16 @@ related:
|
|
|
7
7
|
- vite-plugins/vite-md-plugin/overview
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
-
The `0.1.0` beta line moves MD-Plugins and Q-Press to the Quasar CLI Vite 3 beta toolchain. It is the right version to use when your Quasar application is being upgraded to `@quasar/app-vite` `>=3.0.0-beta.
|
|
10
|
+
The `0.1.0` beta line moves MD-Plugins and Q-Press to the Quasar CLI Vite 3 beta toolchain. It is the right version to use when your Quasar application is being upgraded to `@quasar/app-vite` `>=3.0.0-beta.19`.
|
|
11
11
|
|
|
12
12
|
::: warning
|
|
13
|
-
Q-Press and the Quasar app extensions now target Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.
|
|
13
|
+
Q-Press and the Quasar app extensions now target Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.19`. They are not intended for Webpack projects or JavaScript-only Quasar projects.
|
|
14
14
|
:::
|
|
15
15
|
|
|
16
16
|
## Before You Upgrade
|
|
17
17
|
|
|
18
18
|
- Make sure your app is already on a Quasar Vite setup.
|
|
19
|
-
- Upgrade the app to `@quasar/app-vite` `>=3.0.0-beta.
|
|
19
|
+
- Upgrade the app to `@quasar/app-vite` `>=3.0.0-beta.19`.
|
|
20
20
|
- Use TypeScript in the consuming Quasar project.
|
|
21
21
|
- Import `defineConfig` in `quasar.config.ts` directly from `@quasar/app-vite`.
|
|
22
22
|
- Use `/// <reference types="@quasar/app-vite/client" />` in `src/env.d.ts`.
|
|
@@ -6,7 +6,7 @@ desc: Q-Press App-Extension for Quasar.
|
|
|
6
6
|
The Q-Press App Extension is a powerful tool for Quasar developers that simplifies the integration of Markdown content into Quasar applications. It leverages the capabilities of Vite and various Markdown plugins to transform Markdown files into Vue components, enabling a seamless and efficient workflow for content management.
|
|
7
7
|
|
|
8
8
|
::: warning
|
|
9
|
-
Q-Press is for Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.
|
|
9
|
+
Q-Press is for Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.19` at this time. TypeScript processing is also required. Do not use if you are using Webpack or have a JavaScript-only project.
|
|
10
10
|
:::
|
|
11
11
|
|
|
12
12
|
::: tip
|
package/src/templates/init/src/markdown/quasar-app-extensions/vite-md-plugin-app-ext/overview.md
CHANGED
|
@@ -9,7 +9,7 @@ related:
|
|
|
9
9
|
The `viteMdPluginAppExt` is a [Quasar App Extension](https://quasar.dev/app-extensions/introduction) that integrates the `viteMdPlugin` into your Quasar project. This extension allows you to use Markdown files as Vue components, enabling a seamless integration of Markdown content into your Quasar application.
|
|
10
10
|
|
|
11
11
|
::: warning
|
|
12
|
-
This app extension targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.
|
|
12
|
+
This app extension targets Quasar Vite projects using `@quasar/app-vite` `>=3.0.0-beta.19`.
|
|
13
13
|
:::
|
|
14
14
|
|
|
15
15
|
## Key Features
|
|
@@ -328,30 +328,33 @@ body.q-scroll--lock .q-page > .q-scroll--anchor {
|
|
|
328
328
|
overflow-anchor: auto;
|
|
329
329
|
}
|
|
330
330
|
|
|
331
|
-
//
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
331
|
+
// Makes scrollbars look better for header drop-downs and search results.
|
|
332
|
+
.markdown-header-menu,
|
|
333
|
+
.markdown-search__results {
|
|
334
|
+
&::-webkit-scrollbar {
|
|
335
|
+
height: 12px;
|
|
336
|
+
width: 14px;
|
|
337
|
+
background: transparent;
|
|
338
|
+
z-index: 12;
|
|
339
|
+
overflow: visible;
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
&::-webkit-scrollbar-thumb {
|
|
343
|
+
width: 10px;
|
|
344
|
+
background-color: $brand-primary;
|
|
345
|
+
border-radius: 10px;
|
|
346
|
+
z-index: 12;
|
|
347
|
+
border: 4px solid rgba(0, 0, 0, 0);
|
|
348
|
+
background-clip: padding-box;
|
|
349
|
+
transition: background-color $header-quick-transition;
|
|
350
|
+
margin: 4px;
|
|
351
|
+
min-height: 32px;
|
|
352
|
+
min-width: 32px;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
&::-webkit-scrollbar-thumb:hover {
|
|
356
|
+
background: $brand-primary;
|
|
357
|
+
}
|
|
355
358
|
}
|
|
356
359
|
|
|
357
360
|
.shadow-bottom {
|