@nuasite/nua 0.0.57 → 0.0.60
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/package.json +6 -6
- package/src/integration.ts +1 -1
- package/src/types.ts +3 -3
package/README.md
CHANGED
|
@@ -44,7 +44,7 @@ This single line gives you:
|
|
|
44
44
|
- MDX support via `@astrojs/mdx`
|
|
45
45
|
- Sitemap generation via `@astrojs/sitemap`
|
|
46
46
|
- CMS markers via `@nuasite/cms-marker`
|
|
47
|
-
- Page markdown output via `@nuasite/
|
|
47
|
+
- Page markdown output via `@nuasite/llm-enhancements`
|
|
48
48
|
- Sensible defaults: `site: 'http://localhost:4321'`, `vite.build.sourcemap: true`
|
|
49
49
|
|
|
50
50
|
### Configuration options
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuasite/nua",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.60",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"module": "src/index.ts",
|
|
@@ -39,11 +39,11 @@
|
|
|
39
39
|
"@astrojs/mdx": "4.3.8",
|
|
40
40
|
"@astrojs/rss": "4.0.13",
|
|
41
41
|
"@astrojs/sitemap": "3.6.0",
|
|
42
|
-
"@nuasite/
|
|
43
|
-
"@nuasite/cli": "0.0.
|
|
44
|
-
"@nuasite/cms-marker": "0.0.
|
|
45
|
-
"@nuasite/components": "0.0.
|
|
46
|
-
"@nuasite/core": "0.0.
|
|
42
|
+
"@nuasite/llm-enhancements": "0.0.60",
|
|
43
|
+
"@nuasite/cli": "0.0.60",
|
|
44
|
+
"@nuasite/cms-marker": "0.0.60",
|
|
45
|
+
"@nuasite/components": "0.0.60",
|
|
46
|
+
"@nuasite/core": "0.0.60",
|
|
47
47
|
"@tailwindcss/vite": "^4.1.11",
|
|
48
48
|
"astro": "^5.16.6",
|
|
49
49
|
"flowbite": "3.1.2",
|
package/src/integration.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import mdx from '@astrojs/mdx'
|
|
2
2
|
import sitemap from '@astrojs/sitemap'
|
|
3
3
|
import cmsMarker from '@nuasite/cms-marker'
|
|
4
|
-
import pageMarkdown from '@nuasite/page-markdown'
|
|
5
4
|
import tailwindcss from '@tailwindcss/vite'
|
|
6
5
|
import type { AstroIntegration } from 'astro'
|
|
6
|
+
import pageMarkdown from '../../llm-enhancements/src'
|
|
7
7
|
import { type NuaIntegrationOptions, resolveOptions } from './types'
|
|
8
8
|
|
|
9
9
|
export default function nua(options: NuaIntegrationOptions = {}): AstroIntegration {
|
package/src/types.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import type { Options as MdxOptions } from '@astrojs/mdx'
|
|
2
2
|
import type { SitemapOptions } from '@astrojs/sitemap'
|
|
3
3
|
import type { CmsMarkerOptions } from '@nuasite/cms-marker'
|
|
4
|
-
import type { PageMarkdownOptions } from '
|
|
4
|
+
import type { PageMarkdownOptions } from '../../llm-enhancements/src'
|
|
5
5
|
|
|
6
6
|
export type { Options as MdxOptions } from '@astrojs/mdx'
|
|
7
7
|
export type { SitemapOptions } from '@astrojs/sitemap'
|
|
8
8
|
export type { CmsMarkerOptions } from '@nuasite/cms-marker'
|
|
9
|
-
export type { PageMarkdownOptions } from '
|
|
9
|
+
export type { PageMarkdownOptions } from '../../llm-enhancements/src'
|
|
10
10
|
|
|
11
11
|
export interface NuaIntegrationOptions {
|
|
12
12
|
/** Enable/disable or configure @nuasite/cms-marker (default: true) */
|
|
13
13
|
cmsMarker?: boolean | CmsMarkerOptions
|
|
14
|
-
/** Enable/disable or configure @nuasite/
|
|
14
|
+
/** Enable/disable or configure @nuasite/llm-enhancements (default: true) */
|
|
15
15
|
pageMarkdown?: boolean | PageMarkdownOptions
|
|
16
16
|
/** Enable/disable or configure @astrojs/mdx (default: true) */
|
|
17
17
|
mdx?: boolean | MdxOptions
|