@primeui-devkit/nuxt-markdown 0.1.0-beta.1

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/LICENSE.md ADDED
@@ -0,0 +1,45 @@
1
+ # PrimeUI License
2
+
3
+ This package is part of **PrimeUI**, a family of commercial UI libraries by PrimeTek Informatics.
4
+
5
+ ## How PrimeUI May Be Used
6
+
7
+ PrimeUI may be used under one of two licenses. You choose the one that applies to you based on eligibility.
8
+
9
+ ### Community License (Free)
10
+
11
+ Free for organizations that meet all of the following criteria:
12
+
13
+ - Less than $1,000,000 USD in annual gross revenue
14
+ - Fewer than 5 developers
15
+ - Fewer than 10 employees
16
+ - Less than $3,000,000 USD in venture capital or outside funding
17
+
18
+ Individuals, students, non-profits, and non-commercial open source projects also qualify.
19
+
20
+ The Community License provides full access to the core libraries and supports up to 4 developers. It requires annual renewal by confirming continued eligibility.
21
+
22
+ ### Commercial License (Paid)
23
+
24
+ For organizations that do not qualify for the Community License.
25
+
26
+ Licensed per developer, perpetual, with one year of updates included. Renewal is optional and extends access to new versions. The Commercial Suite also includes PrimeBlocks, Theme Designer, all PrimeUI Pro components, and Premium Support.
27
+
28
+ ## License Key
29
+
30
+ A valid license key is required to use this software. License verification is performed offline, with no telemetry and no remote connection. A missing, invalid, or expired key may cause the software to display a license notice.
31
+
32
+ ## Full Terms
33
+
34
+ The complete license terms, eligibility details, and renewal information are available at:
35
+
36
+ - Community License: <https://primeui.dev/licenses/community>
37
+ - Commercial License: <https://primeui.dev/licenses/commercial>
38
+
39
+ ## Restrictions
40
+
41
+ This software is distributed as a compiled package. You may not reverse-engineer, decompile, or extract its source code, redistribute it as a component library or development tool, or remove its license mechanisms. Redistributing the software so that third parties can develop with it requires a separate OEM License. See the full terms for details.
42
+
43
+ ---
44
+
45
+ © 2026 PrimeTek Informatics. All rights reserved.
package/README.md ADDED
@@ -0,0 +1,14 @@
1
+ # @primeui-devkit/nuxt-markdown
2
+
3
+ Nuxt module for the markdown layer: registers the markdown integration and
4
+ auto-registers `Markdown`, `MarkdownRenderer` and all `Prose*` components.
5
+
6
+ ```ts
7
+ export default defineNuxtConfig({
8
+ modules: ['@primeui-devkit/nuxt-markdown']
9
+ });
10
+ ```
11
+
12
+ Options (`devkitMarkdown` config key):
13
+
14
+ - `prose` — auto-register the Prose* components globally. Default `true`.
@@ -0,0 +1,36 @@
1
+ # Third-Party Notices
2
+
3
+ This package uses the following third-party open source software.
4
+ Each is provided under its own license, reproduced below.
5
+
6
+ ---
7
+
8
+ ## comark / @comark/nuxt
9
+
10
+ Copyright (c) 2026 Comark team and contributors
11
+
12
+ The markdown engine and its Nuxt module used by this package (https://github.com/comarkdown/comark).
13
+
14
+ Licensed under the MIT License.
15
+
16
+ MIT License
17
+
18
+ Copyright (c) 2026 Comark team and contributors
19
+
20
+ Permission is hereby granted, free of charge, to any person obtaining a copy
21
+ of this software and associated documentation files (the "Software"), to deal
22
+ in the Software without restriction, including without limitation the rights
23
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
24
+ copies of the Software, and to permit persons to whom the Software is
25
+ furnished to do so, subject to the following conditions:
26
+
27
+ The above copyright notice and this permission notice shall be included in all
28
+ copies or substantial portions of the Software.
29
+
30
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
31
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
33
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
34
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
35
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
36
+ SOFTWARE.
@@ -0,0 +1,9 @@
1
+ import { NuxtModule } from '@nuxt/schema';
2
+
3
+ interface ModuleOptions {
4
+ /** Register the Prose* components globally so the renderer picks them up. @default true */
5
+ prose?: boolean;
6
+ }
7
+ declare const module$1: NuxtModule<ModuleOptions>;
8
+
9
+ export { type ModuleOptions, module$1 as default };
package/dist/module.js ADDED
@@ -0,0 +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};
package/package.json ADDED
@@ -0,0 +1,53 @@
1
+ {
2
+ "name": "@primeui-devkit/nuxt-markdown",
3
+ "version": "0.1.0-beta.1",
4
+ "description": "Nuxt module for the PrimeUI DevKit markdown layer: registers the markdown integration and auto-registers the Markdown, MarkdownRenderer and Prose* components.",
5
+ "license": "SEE LICENSE IN LICENSE.md",
6
+ "type": "module",
7
+ "exports": {
8
+ ".": {
9
+ "types": "./dist/module.d.ts",
10
+ "import": "./dist/module.js"
11
+ }
12
+ },
13
+ "files": [
14
+ "dist",
15
+ "LICENSE.md",
16
+ "THIRD-PARTY-NOTICES.txt",
17
+ "README.md"
18
+ ],
19
+ "dependencies": {
20
+ "@comark/nuxt": "^0.5.1",
21
+ "@nuxt/kit": "^4.0.0",
22
+ "@primeui-devkit/markdown-core": "0.1.0-beta.1",
23
+ "@primeui-devkit/vue-markdown": "0.1.0-beta.1"
24
+ },
25
+ "devDependencies": {
26
+ "@nuxt/schema": "^4.0.0",
27
+ "cross-env": "^10.1.0",
28
+ "tsup": "^8.5.1",
29
+ "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"
41
+ },
42
+ "publishConfig": {
43
+ "access": "public"
44
+ },
45
+ "scripts": {
46
+ "build": "pnpm run build:package",
47
+ "build:package": "pnpm run test && tsup",
48
+ "type:check": "tsc --noEmit",
49
+ "test": "cross-env NODE_ENV=test vitest run --passWithNoTests",
50
+ "test:watch": "vitest --watch --passWithNoTests",
51
+ "test:coverage": "vitest run --coverage --passWithNoTests"
52
+ }
53
+ }