@riebeckite/core 0.0.16 → 0.0.18

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
@@ -32,12 +32,12 @@ import { defineConfig } from "@riebeckite/core";
32
32
 
33
33
  export default defineConfig({
34
34
  site: { title: "My notes", baseUrl: "https://example.com" },
35
- content: { directory: "../../content" },
35
+ content: { directory: "content" },
36
36
  });
37
37
  ```
38
38
 
39
39
  The content directory is resolved relative to the application root. See
40
- [Configuration](../../docs/en/docs/reference/configuration.md) for the full field list and the
40
+ [Configuration](../../docs/docs/reference/configuration.en.md) for the full field list and the
41
41
  `projectRoot` / `appRoot` / `configRoot` / `contentRoot` resolution rules.
42
42
 
43
43
  ## Public API
@@ -88,8 +88,8 @@ The content directory is resolved relative to the application root. See
88
88
 
89
89
  ## See also
90
90
 
91
- - [Framework Reference](../../docs/en/docs/reference/README.md)
92
- - [Content System](../../docs/en/docs/framework/content-system.md)
93
- - [Plugin System](../../docs/en/docs/reference/plugin-api.md) / [Theme System](../../docs/en/docs/reference/theme-api.md)
94
- - [Architecture](../../docs/en/docs/framework/architecture.md)
91
+ - [Framework Reference](../../docs/docs/reference/README.en.md)
92
+ - [Content System](../../docs/docs/framework/content-system.en.md)
93
+ - [Plugin System](../../docs/docs/reference/plugin-api.en.md) / [Theme System](../../docs/docs/reference/theme-api.en.md)
94
+ - [Architecture](../../docs/docs/framework/architecture.en.md)
95
95
 
package/README_ja.md CHANGED
@@ -25,11 +25,11 @@ import { defineConfig } from "@riebeckite/core";
25
25
 
26
26
  export default defineConfig({
27
27
  site: { title: "My notes", baseUrl: "https://example.com" },
28
- content: { directory: "../../content" },
28
+ content: { directory: "content" },
29
29
  });
30
30
  ```
31
31
 
32
- コンテンツディレクトリはアプリケーションルート基準で解決します。設定項目の全体と `projectRoot` / `appRoot` / `configRoot` / `contentRoot` の解決規則は [Configuration](../../docs/ja/docs/reference/configuration.md) を参照してください。
32
+ コンテンツディレクトリはアプリケーションルート基準で解決します。設定項目の全体と `projectRoot` / `appRoot` / `configRoot` / `contentRoot` の解決規則は [Configuration](../../docs/docs/reference/configuration.md) を参照してください。
33
33
 
34
34
  ## 公開 API
35
35
 
@@ -69,8 +69,8 @@ export default defineConfig({
69
69
 
70
70
  ## 関連資料
71
71
 
72
- - [Framework Reference](../../docs/ja/docs/reference/README.md)
73
- - [Content System](../../docs/ja/docs/framework/content-system.md)
74
- - [Plugin System](../../docs/ja/docs/reference/plugin-api.md) / [Theme System](../../docs/ja/docs/reference/theme-api.md)
75
- - [Architecture](../../docs/ja/docs/framework/architecture.md)
72
+ - [Framework Reference](../../docs/docs/reference/README.md)
73
+ - [Content System](../../docs/docs/framework/content-system.md)
74
+ - [Plugin System](../../docs/docs/reference/plugin-api.md) / [Theme System](../../docs/docs/reference/theme-api.md)
75
+ - [Architecture](../../docs/docs/framework/architecture.md)
76
76
 
package/dist/index.d.ts CHANGED
@@ -10,16 +10,19 @@ export { buildContentCollections } from "./src/content/content_collection.js";
10
10
  export { fingerprintContentEntries } from "./src/content/content_fingerprint.js";
11
11
  export type { ContentGraph, ContentGraphNeighbors, } from "./src/content/content_graph.js";
12
12
  export { createContentGraph } from "./src/content/content_graph.js";
13
+ export { getEntryLanguage, selectEntriesByLanguage, } from "./src/content/content_language.js";
13
14
  export { resolveDefaultContentLocation } from "./src/content/content_location.js";
14
15
  export type { ContentBuildOptions, ContentInspection, } from "./src/content/content_manager.js";
15
16
  export { ContentManager } from "./src/content/content_manager.js";
16
17
  export { extractFrontmatterAliases } from "./src/content/content_metadata.js";
18
+ export { computePipelineFingerprint, isPersistentlyCacheable, } from "./src/content/content_persistent_cache.js";
17
19
  export type { ContentQueryDateFilter, ContentQueryDateGranularity, ContentQueryFilter, ContentQueryFrontmatterFilter, ContentQueryGroup, ContentQueryGroupBy, ContentQueryGroupOptions, ContentQueryPage, ContentQueryPagination, ContentQueryScalar, ContentQuerySort, ContentQuerySortOrder, ContentQuerySpec, ContentQueryTagFilter, } from "./src/content/content_query.js";
18
20
  export { groupContentEntries, queryContentEntries, queryContentPage, resolveContentQueryPagination, } from "./src/content/content_query.js";
19
21
  export type { ContentSource, ContentSourceContent, ContentSourceEntry, ContentSourceMetadata, } from "./src/content/content_source.js";
20
22
  export { getContentSourceEntry, readContentSourceEntry, } from "./src/content/content_source.js";
21
23
  export { resolveContentStableId } from "./src/content/content_stable_id.js";
22
- export { FileSystemContentSource, INTERNAL_CONTENT_IGNORE_PATTERNS, isIgnoredContentPath, } from "./src/content/file_system_content_source.js";
24
+ export type { ContentSourceExclusion, ContentSourceScan, } from "./src/content/file_system_content_source.js";
25
+ export { FileSystemContentSource, INTERNAL_CONTENT_IGNORE_PATTERNS, isIgnoredContentPath, matchContentExcludePattern, } from "./src/content/file_system_content_source.js";
23
26
  export type { FolderEntryCandidate, FolderEntryKind, FolderEntryResolution, FolderEntryScope, FolderLocationResolution, ResolveFolderEntryOptions, } from "./src/content/folder_entry.js";
24
27
  export { resolveFolderEntry, resolveFolderLocation, resolveGeneratedFolderLocation, resolvePublicFolderLocation, } from "./src/content/folder_entry.js";
25
28
  export type { ForceGraphLayoutOptions, GraphEdge, GraphLayoutNode, LinkableGraphNode, RadialGraphLayoutOptions, } from "./src/content/graph_layout.js";
@@ -39,6 +42,7 @@ export type { PluginCache } from "./src/plugin/plugin_cache.js";
39
42
  export { PluginDependencyError, type PluginDependencyErrorKind, } from "./src/plugin/plugin_dependency_error.js";
40
43
  export type { CreatePluginMemoOptions, PluginMemo, } from "./src/plugin/plugin_memo.js";
41
44
  export { createPluginMemo, stableStringify, } from "./src/plugin/plugin_memo.js";
45
+ export { resolveBuildOutputDirectory, resolveManagedStateRoot, } from "./src/project/project_layout.js";
42
46
  export type { ConfigValidationIssue, PluginOptionsValidator, } from "./src/types/config_validation.js";
43
47
  export type { ContentAsset, ContentBodySlot, ContentLink, ContentLinkKind, ContentLocationInput, ContentManifest, ContentManifestEntry, ContentManifestPluginClientEntry, ContentPublicLocation, ContentRedirect, FolderLocation, PluginPageRoute, } from "./src/types/content_manifest.js";
44
48
  export { appendContentBodySlot } from "./src/types/content_manifest.js";
@@ -46,7 +50,6 @@ export type { Diagnostic, DiagnosticCode, DiagnosticSeverity, } from "./src/type
46
50
  export type { ContentAssetOutputInput, GeneratedOutput, GeneratedOutputContent, GeneratedOutputInput, GeneratedOutputSink, } from "./src/types/generated_output.js";
47
51
  export { createUnavailableGeneratedOutputSink, normalizeContentAssetOutputPath, normalizeGeneratedOutputPath, } from "./src/types/generated_output.js";
48
52
  export type { JsonValue } from "./src/types/json_value.js";
49
- export type { NavigationConfig, NavigationItem, } from "./src/types/navigation_config.js";
50
53
  export type { OutputDependency } from "./src/types/output_dependency.js";
51
54
  export type { PluginInput, ResolvedPluginMetadata, RiebeckitePlugin, } from "./src/types/plugin.js";
52
55
  export { definePlugin, getResolvedPluginMetadata, resolvePlugins, } from "./src/types/plugin.js";
@@ -69,6 +72,7 @@ export type { SiteConfig } from "./src/types/site_config.js";
69
72
  export type { RiebeckiteTheme, ThemeArticleLayoutPreset, ThemeAttributes, ThemeColorMode, ThemeConfig, ThemeDesignTokens, ThemeInput, ThemeStyle, ThemeTypographyPreset, } from "./src/types/theme_config.js";
70
73
  export { defineTheme } from "./src/types/theme_config.js";
71
74
  export { uniqueStrings } from "./src/utils/collections.js";
75
+ export { attachErrorPath } from "./src/utils/error.js";
72
76
  export { escapeHtml, escapeHtmlAttribute, escapeScriptJson, } from "./src/utils/html.js";
73
77
  export { normalizeTag } from "./src/utils/tags.js";
74
78
  export { calculateReadingTime, stripHtml } from "./src/utils/text.js";