@riebeckite/plugin-query 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-query
2
2
 
3
+ <!-- Generated from docs/docs/plugins/query.md. Edit the canonical documentation in docs/docs/plugins and run `pnpm docs:sync`. -->
4
+
3
5
  Turn `query` code blocks into lists or tables of content. Filtering, sorting,
4
6
  and pagination run against frontmatter and tags at build time, so no client-side
5
7
  JavaScript is required.
@@ -119,5 +121,4 @@ emits a `content-query-invalid` error diagnostic. Unknown fields emit a
119
121
 
120
122
  ## See also
121
123
 
122
- - [Plugin guide](../../../docs/docs/reference/plugin-api.md)
123
-
124
+ - [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-query
2
2
 
3
+ <!-- Generated from docs/docs/plugins/query.ja.md. Edit the canonical documentation in docs/docs/plugins and run `pnpm docs:sync`. -->
4
+
3
5
  `query` コードブロックを、コンテンツの一覧(表またはリスト)に変換するプラグインです。絞り込み・並べ替え・件数制限を frontmatter とタグに対して行い、ビルド時に HTML を生成します。クライアント側の JavaScript は不要です。
4
6
 
5
7
  [English](./README.md)
@@ -111,5 +113,4 @@ format: list
111
113
 
112
114
  ## 関連資料
113
115
 
114
- - [プラグインシステム](../../../docs/docs/reference/plugin-api.ja.md)
115
-
116
+ - [プラグインシステム](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/reference/plugin-api.ja.md)
package/dist/index.js CHANGED
@@ -287,7 +287,7 @@ function queryPlugin(options = {}) {
287
287
  version: "query-v1",
288
288
  dependencyMode: "none"
289
289
  },
290
- outputDependencies: [{ type: "global" }],
290
+ contentOutputDependencies: [{ type: "global" }],
291
291
  options,
292
292
  provides: ["content.query"],
293
293
  validateOptions: validateQueryOptions,
@@ -297,7 +297,7 @@ function queryPlugin(options = {}) {
297
297
  onManifestCreated: (context) => {
298
298
  runtime.resolve(context.manifest, context.diagnostics);
299
299
  },
300
- assets: [createStyleAsset("query")]
300
+ assets: [createStyleAsset("query", "@riebeckite/plugin-query/style.css")]
301
301
  });
302
302
  }
303
303
  function validateQueryOptions(options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riebeckite/plugin-query",
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,11 +18,11 @@
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
  "devDependencies": {
24
24
  "tsx": "^4.22.4",
25
- "@riebeckite/test": "0.0.21"
25
+ "@riebeckite/test": "0.0.23"
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public"