@riebeckite/core 0.0.14 → 0.0.16
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 +6 -5
- package/README_ja.md +9 -8
- package/dist/client.d.ts +2 -2
- package/dist/client.js +142 -1
- package/dist/index.d.ts +14 -6
- package/dist/index.js +2149 -439
- package/dist/src/content/affected_content.d.ts +1 -1
- package/dist/src/content/content_build_coordinator.d.ts +11 -3
- package/dist/src/content/content_build_state.d.ts +13 -2
- package/dist/src/content/content_dependency_tracker.d.ts +18 -0
- package/dist/src/content/content_entry_reader.d.ts +2 -0
- package/dist/src/content/content_index_builder.d.ts +2 -0
- package/dist/src/content/content_location_resolver.d.ts +7 -0
- package/dist/src/content/content_manager.d.ts +21 -0
- package/dist/src/content/content_persistent_cache.d.ts +43 -0
- package/dist/src/content/file_system_content_source.d.ts +2 -0
- package/dist/src/content/folder_entry.d.ts +36 -0
- package/dist/src/content/graph_layout.d.ts +20 -0
- package/dist/src/content/manifest_builder.d.ts +2 -1
- package/dist/src/content/output_dependency.d.ts +34 -0
- package/dist/src/content/publishing.d.ts +15 -0
- package/dist/src/pipeline.d.ts +10 -0
- package/dist/src/plugin/plugin_runtime.d.ts +7 -1
- package/dist/src/types/content_manifest.d.ts +19 -1
- package/dist/src/types/generated_output.d.ts +9 -0
- package/dist/src/types/navigation_config.d.ts +10 -0
- package/dist/src/types/output_dependency.d.ts +14 -0
- package/dist/src/types/plugin.d.ts +19 -0
- package/dist/src/types/plugin_page.d.ts +6 -0
- package/dist/src/types/plugin_pipeline.d.ts +1 -0
- package/dist/src/types/post_content.d.ts +2 -0
- package/dist/src/types/resolved_riebeckite_config.d.ts +6 -0
- package/dist/src/types/riebeckite_config.d.ts +6 -0
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ContentSource } from "../content/content_source.js";
|
|
2
|
+
import type { NavigationConfig } from "./navigation_config.js";
|
|
2
3
|
import type { RiebeckitePlugin } from "./plugin.js";
|
|
3
4
|
import type { PublishStrategy } from "./publish_strategy.js";
|
|
4
5
|
import type { SiteConfig } from "./site_config.js";
|
|
@@ -10,6 +11,7 @@ export type ResolvedRiebeckiteConfig = {
|
|
|
10
11
|
*/
|
|
11
12
|
buildDirectory?: string;
|
|
12
13
|
site: Required<SiteConfig>;
|
|
14
|
+
navigation: Required<NavigationConfig>;
|
|
13
15
|
content: {
|
|
14
16
|
directory: string;
|
|
15
17
|
source?: ContentSource;
|
|
@@ -28,4 +30,8 @@ export type ResolvedRiebeckiteConfig = {
|
|
|
28
30
|
styles: ThemeStyle[];
|
|
29
31
|
};
|
|
30
32
|
plugins: RiebeckitePlugin[];
|
|
33
|
+
cache: {
|
|
34
|
+
enabled: boolean;
|
|
35
|
+
directory: string;
|
|
36
|
+
};
|
|
31
37
|
};
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import type { ContentSource } from "../content/content_source.js";
|
|
2
|
+
import type { NavigationConfig } from "./navigation_config.js";
|
|
2
3
|
import type { PluginInput } from "./plugin.js";
|
|
3
4
|
import type { PublishStrategy } from "./publish_strategy.js";
|
|
4
5
|
import type { SiteConfig } from "./site_config.js";
|
|
5
6
|
import type { ThemeInput } from "./theme_config.js";
|
|
6
7
|
export interface RiebeckiteConfig {
|
|
7
8
|
site: SiteConfig;
|
|
9
|
+
navigation?: NavigationConfig;
|
|
8
10
|
content?: {
|
|
9
11
|
directory?: string;
|
|
10
12
|
source?: ContentSource;
|
|
@@ -20,4 +22,8 @@ export interface RiebeckiteConfig {
|
|
|
20
22
|
};
|
|
21
23
|
theme?: ThemeInput;
|
|
22
24
|
plugins?: PluginInput[];
|
|
25
|
+
cache?: {
|
|
26
|
+
enabled?: boolean;
|
|
27
|
+
directory?: string;
|
|
28
|
+
};
|
|
23
29
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/core",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.16",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"tsx": "^4.22.4",
|
|
52
|
-
"@riebeckite/test": "0.0.
|
|
52
|
+
"@riebeckite/test": "0.0.16"
|
|
53
53
|
},
|
|
54
54
|
"repository": {
|
|
55
55
|
"type": "git",
|