@riebeckite/plugin-bases 0.0.21 → 0.0.23

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
@@ -1,5 +1,7 @@
1
1
  # @riebeckite/plugin-bases
2
2
 
3
+ <!-- Generated from docs/docs/plugins/bases.md. Edit the canonical documentation in docs/docs/plugins and run `pnpm docs:sync`. -->
4
+
3
5
  Render Obsidian Bases definitions from fenced `base` code blocks. Filtering,
4
6
  sorting, and view composition run against the content manifest at build time, so
5
7
  no client-side JavaScript is required.
@@ -177,5 +179,4 @@ This is an MVP subset of Obsidian Bases:
177
179
 
178
180
  ## See also
179
181
 
180
- - [Plugin guide](../../../docs/docs/reference/plugin-api.md)
181
-
182
+ - [Plugin guide](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/reference/plugin-api.md)
package/README_ja.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @riebeckite/plugin-bases
2
2
 
3
+ <!-- Generated from docs/docs/plugins/bases.ja.md. Edit the canonical documentation in docs/docs/plugins and run `pnpm docs:sync`. -->
4
+
3
5
  フェンスコードブロック `base` に書いた Obsidian Bases 定義を HTML にレンダリングします。フィルタ・ソート・ビューの組み立てはビルド時にコンテンツマニフェストに対して行われるため、クライアントサイド JavaScript は不要です。
4
6
 
5
7
  [English](./README.md)
@@ -152,5 +154,4 @@ YAML として不正なブロック、未対応のフィルタ式やビュー形
152
154
 
153
155
  ## 関連
154
156
 
155
- - [プラグインガイド](../../../docs/docs/reference/plugin-api.ja.md)
156
-
157
+ - [プラグインガイド](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/reference/plugin-api.ja.md)
package/dist/index.js CHANGED
@@ -845,7 +845,7 @@ function bases(options = {}) {
845
845
  const runtime = createBasesRuntime(options);
846
846
  return definePlugin({
847
847
  name: "bases",
848
- outputDependencies: [{ type: "global" }],
848
+ contentOutputDependencies: [{ type: "global" }],
849
849
  processedContentCache: {
850
850
  version: "bases-v1",
851
851
  dependencyMode: "none"
@@ -859,7 +859,7 @@ function bases(options = {}) {
859
859
  onManifestCreated: (context) => {
860
860
  runtime.resolve(context.manifest, context.diagnostics, context.config);
861
861
  },
862
- assets: [createStyleAsset("bases")]
862
+ assets: [createStyleAsset("bases", "@riebeckite/plugin-bases/style.css")]
863
863
  });
864
864
  }
865
865
  var basesPlugin = bases;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-bases",
3
- "version": "0.0.21",
3
+ "version": "0.0.23",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -18,7 +18,7 @@
18
18
  "@types/mdast": "^4.0.4",
19
19
  "unist-util-visit": "^5.1.0",
20
20
  "vfile-matter": "^5.0.1",
21
- "@riebeckite/core": "0.0.21"
21
+ "@riebeckite/core": "0.0.23"
22
22
  },
23
23
  "publishConfig": {
24
24
  "access": "public"