@riebeckite/core 0.0.17 → 0.0.19
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 +5 -5
- package/README_ja.md +5 -5
- package/dist/index.d.ts +4 -2
- package/dist/index.js +345 -239
- package/dist/src/config.d.ts +3 -1
- package/dist/src/content/content_build_coordinator.d.ts +1 -0
- package/dist/src/content/content_build_state.d.ts +1 -1
- package/dist/src/content/content_entry_reader.d.ts +1 -0
- package/dist/src/content/content_index_builder.d.ts +6 -2
- package/dist/src/content/content_manager.d.ts +2 -0
- package/dist/src/content/folder_entry.d.ts +1 -1
- package/dist/src/content/manifest_builder.d.ts +1 -1
- package/dist/src/plugin/plugin_lifecycle.d.ts +1 -0
- package/dist/src/project/project_layout.d.ts +11 -0
- package/dist/src/types/content_manifest.d.ts +33 -1
- package/dist/src/types/plugin_page.d.ts +5 -1
- package/dist/src/types/plugin_seo.d.ts +1 -1
- package/dist/src/types/resolved_riebeckite_config.d.ts +5 -0
- package/dist/src/utils/error.d.ts +1 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -37,7 +37,7 @@ export default defineConfig({
|
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
The content directory is resolved relative to the application root. See
|
|
40
|
-
[Configuration](../../docs/
|
|
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/
|
|
92
|
-
- [Content System](../../docs/
|
|
93
|
-
- [Plugin System](../../docs/
|
|
94
|
-
- [Architecture](../../docs/
|
|
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
|
@@ -29,7 +29,7 @@ export default defineConfig({
|
|
|
29
29
|
});
|
|
30
30
|
```
|
|
31
31
|
|
|
32
|
-
コンテンツディレクトリはアプリケーションルート基準で解決します。設定項目の全体と `projectRoot` / `appRoot` / `configRoot` / `contentRoot` の解決規則は [Configuration](../../docs/
|
|
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/
|
|
73
|
-
- [Content System](../../docs/
|
|
74
|
-
- [Plugin System](../../docs/
|
|
75
|
-
- [Architecture](../../docs/
|
|
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
|
@@ -42,9 +42,10 @@ export type { PluginCache } from "./src/plugin/plugin_cache.js";
|
|
|
42
42
|
export { PluginDependencyError, type PluginDependencyErrorKind, } from "./src/plugin/plugin_dependency_error.js";
|
|
43
43
|
export type { CreatePluginMemoOptions, PluginMemo, } from "./src/plugin/plugin_memo.js";
|
|
44
44
|
export { createPluginMemo, stableStringify, } from "./src/plugin/plugin_memo.js";
|
|
45
|
+
export { resolveBuildOutputDirectory, resolveManagedStateRoot, } from "./src/project/project_layout.js";
|
|
45
46
|
export type { ConfigValidationIssue, PluginOptionsValidator, } from "./src/types/config_validation.js";
|
|
46
|
-
export type { ContentAsset, ContentBodySlot, ContentLink, ContentLinkKind, ContentLocationInput, ContentManifest, ContentManifestEntry, ContentManifestPluginClientEntry, ContentPublicLocation, ContentRedirect, FolderLocation, PluginPageRoute, } from "./src/types/content_manifest.js";
|
|
47
|
-
export { appendContentBodySlot } from "./src/types/content_manifest.js";
|
|
47
|
+
export type { ContentAsset, ContentBodySlot, ContentBodySlots, ContentLink, ContentLinkKind, ContentLocationInput, ContentManifest, ContentManifestEntry, ContentManifestPluginClientEntry, ContentPublicLocation, ContentRedirect, FolderLocation, PluginPageRoute, } from "./src/types/content_manifest.js";
|
|
48
|
+
export { ARTICLE_SLOT, appendContentBodySlot, } from "./src/types/content_manifest.js";
|
|
48
49
|
export type { Diagnostic, DiagnosticCode, DiagnosticSeverity, } from "./src/types/diagnostic.js";
|
|
49
50
|
export type { ContentAssetOutputInput, GeneratedOutput, GeneratedOutputContent, GeneratedOutputInput, GeneratedOutputSink, } from "./src/types/generated_output.js";
|
|
50
51
|
export { createUnavailableGeneratedOutputSink, normalizeContentAssetOutputPath, normalizeGeneratedOutputPath, } from "./src/types/generated_output.js";
|
|
@@ -71,6 +72,7 @@ export type { SiteConfig } from "./src/types/site_config.js";
|
|
|
71
72
|
export type { RiebeckiteTheme, ThemeArticleLayoutPreset, ThemeAttributes, ThemeColorMode, ThemeConfig, ThemeDesignTokens, ThemeInput, ThemeStyle, ThemeTypographyPreset, } from "./src/types/theme_config.js";
|
|
72
73
|
export { defineTheme } from "./src/types/theme_config.js";
|
|
73
74
|
export { uniqueStrings } from "./src/utils/collections.js";
|
|
75
|
+
export { attachErrorPath } from "./src/utils/error.js";
|
|
74
76
|
export { escapeHtml, escapeHtmlAttribute, escapeScriptJson, } from "./src/utils/html.js";
|
|
75
77
|
export { normalizeTag } from "./src/utils/tags.js";
|
|
76
78
|
export { calculateReadingTime, stripHtml } from "./src/utils/text.js";
|