@primeui-devkit/nuxt-markdown 0.1.0-rc.2 → 0.1.0-rc.4

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
@@ -8,7 +8,3 @@ export default defineNuxtConfig({
8
8
  modules: ['@primeui-devkit/nuxt-markdown']
9
9
  });
10
10
  ```
11
-
12
- Options (`devkitMarkdown` config key):
13
-
14
- - `prose` — auto-register the Prose* components globally. Default `true`.
@@ -5,11 +5,11 @@ Each is provided under its own license, reproduced below.
5
5
 
6
6
  ---
7
7
 
8
- ## comark / @comark/nuxt
8
+ ## @comark/nuxt 0.5.1
9
9
 
10
10
  Copyright (c) 2026 Comark team and contributors
11
11
 
12
- The markdown engine and its Nuxt module used by this package (https://github.com/comarkdown/comark).
12
+ https://comark.dev/rendering/nuxt
13
13
 
14
14
  Licensed under the MIT License.
15
15
 
@@ -34,3 +34,35 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
34
34
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
35
35
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
36
36
  SOFTWARE.
37
+
38
+ ---
39
+
40
+ ## @nuxt/kit 4.5.2
41
+
42
+ Copyright (c) 2016-present - Nuxt Team
43
+
44
+ https://nuxt.com/docs/4.x/api/kit
45
+
46
+ Licensed under the MIT License.
47
+
48
+ The MIT License (MIT)
49
+
50
+ Copyright (c) 2016-present - Nuxt Team
51
+
52
+ Permission is hereby granted, free of charge, to any person obtaining a copy
53
+ of this software and associated documentation files (the "Software"), to deal
54
+ in the Software without restriction, including without limitation the rights
55
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
56
+ copies of the Software, and to permit persons to whom the Software is
57
+ furnished to do so, subject to the following conditions:
58
+
59
+ The above copyright notice and this permission notice shall be included in all
60
+ copies or substantial portions of the Software.
61
+
62
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
63
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
64
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
65
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
66
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
67
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
68
+ SOFTWARE.
package/dist/module.d.ts CHANGED
@@ -6,4 +6,5 @@ interface ModuleOptions {
6
6
  }
7
7
  declare const module$1: NuxtModule<ModuleOptions>;
8
8
 
9
- export { type ModuleOptions, module$1 as default };
9
+ export { module$1 as default };
10
+ export type { ModuleOptions };
package/dist/module.js CHANGED
@@ -1 +1 @@
1
- import {defineNuxtModule,addComponent}from'@nuxt/kit';import {PROSE_COMPONENTS}from'@primeui-devkit/markdown-core/prose';var d=defineNuxtModule({meta:{name:"@primeui-devkit/nuxt-markdown",configKey:"devkitMarkdown"},defaults:{prose:true},moduleDependencies:{"@comark/nuxt":{}},setup(t){for(let e of ["Markdown","MarkdownRenderer"])addComponent({name:e,export:e,filePath:"@primeui-devkit/vue-markdown"});if(t.prose)for(let e of PROSE_COMPONENTS)addComponent({name:e,export:e,filePath:"@primeui-devkit/vue-markdown",global:true,priority:-1});}}),p=d;export{p as default};
1
+ import{addComponent as e,defineNuxtModule as t}from"@nuxt/kit";import{PROSE_COMPONENTS as n}from"@primeui-devkit/markdown-core/prose";const r=t({meta:{name:`@primeui-devkit/nuxt-markdown`,configKey:`devkitMarkdown`},defaults:{prose:!0},moduleDependencies:{"@comark/nuxt":{}},setup(t){for(let t of[`Markdown`,`MarkdownRenderer`])e({name:t,export:t,filePath:`@primeui-devkit/vue-markdown`});if(t.prose)for(let t of n)e({name:t,export:t,filePath:`@primeui-devkit/vue-markdown`,global:!0,priority:-1})}});export{r as default};
package/package.json CHANGED
@@ -1,15 +1,33 @@
1
1
  {
2
2
  "name": "@primeui-devkit/nuxt-markdown",
3
- "version": "0.1.0-rc.2",
3
+ "version": "0.1.0-rc.4",
4
+ "author": "PrimeTek Informatics",
4
5
  "description": "Nuxt module for the PrimeUI DevKit markdown layer: registers the markdown integration and auto-registers the Markdown, MarkdownRenderer and Prose* components.",
5
6
  "license": "SEE LICENSE IN LICENSE.md",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/primefaces/primeui-devkit.git",
10
+ "directory": "packages/markdown/nuxt-markdown"
11
+ },
12
+ "bugs": {
13
+ "url": "https://support.primeui.dev"
14
+ },
6
15
  "type": "module",
16
+ "main": "./dist/module.js",
17
+ "module": "./dist/module.js",
18
+ "types": "./dist/module.d.ts",
7
19
  "exports": {
8
20
  ".": {
9
21
  "types": "./dist/module.d.ts",
10
- "import": "./dist/module.js"
11
- }
22
+ "import": "./dist/module.js",
23
+ "default": "./dist/module.js"
24
+ },
25
+ "./package.json": "./package.json"
26
+ },
27
+ "publishConfig": {
28
+ "access": "public"
12
29
  },
30
+ "sideEffects": false,
13
31
  "files": [
14
32
  "dist",
15
33
  "LICENSE.md",
@@ -19,32 +37,34 @@
19
37
  "dependencies": {
20
38
  "@comark/nuxt": "^0.5.1",
21
39
  "@nuxt/kit": "^4.0.0",
22
- "@primeui-devkit/markdown-core": "0.1.0-rc.2",
23
- "@primeui-devkit/vue-markdown": "0.1.0-rc.2"
40
+ "@primeui-devkit/vue-markdown": "0.1.0-rc.4",
41
+ "@primeui-devkit/markdown-core": "0.1.0-rc.4"
42
+ },
43
+ "peerDependencies": {
44
+ "@nuxt/schema": "^4.1.0",
45
+ "nuxt": "^4.1.0"
46
+ },
47
+ "peerDependenciesMeta": {
48
+ "@nuxt/schema": {
49
+ "optional": true
50
+ }
24
51
  },
25
52
  "devDependencies": {
26
53
  "@nuxt/schema": "^4.0.0",
27
54
  "cross-env": "^10.1.0",
28
- "tsup": "^8.5.1",
29
55
  "typescript": "~6.0.0",
30
- "vitest": "4.1.10",
31
- "@primeui-devkit/ts-config": "0.0.0",
32
- "@primeui-devkit/test-config": "0.0.0",
33
- "@primeui-devkit/bundler": "0.0.0"
34
- },
35
- "types": "./dist/module.d.ts",
36
- "module": "./dist/module.js",
37
- "sideEffects": false,
38
- "author": "PrimeTek Informatics",
39
- "bugs": {
40
- "url": "https://support.primeui.dev"
56
+ "vitest": "4.1.11",
57
+ "@primeui-devkit/bundle": "0.1.0-rc.2",
58
+ "@primeui-devkit/test-config": "0.1.0-rc.2",
59
+ "@primeui-devkit/cli": "0.1.0-rc.2",
60
+ "@primeui-devkit/ts-config": "0.1.0-rc.2"
41
61
  },
42
- "publishConfig": {
43
- "access": "public"
62
+ "engines": {
63
+ "node": ">=22.18.0"
44
64
  },
45
65
  "scripts": {
46
66
  "build": "pnpm run build:package",
47
- "build:package": "pnpm run test && tsup",
67
+ "build:package": "pnpm run test && devkit bundle build",
48
68
  "type:check": "tsc --noEmit",
49
69
  "test": "cross-env NODE_ENV=test vitest run --passWithNoTests",
50
70
  "test:watch": "vitest --watch --passWithNoTests",