@riebeckite/plugin-kanban 0.0.31 → 0.0.33
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 +18 -1
- package/README_ja.md +21 -4
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -2
- package/dist/src/runtime.d.ts +2 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -62,6 +62,23 @@ kanban-plugin: board
|
|
|
62
62
|
- [ ] Ship the plugin
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
+
## Live example
|
|
66
|
+
|
|
67
|
+
~~~kanban
|
|
68
|
+
## Backlog
|
|
69
|
+
|
|
70
|
+
- [ ] Draft the release notes
|
|
71
|
+
- [ ] Link to [[README]]
|
|
72
|
+
- [x] Review **metadata**
|
|
73
|
+
- A plain card with #documentation
|
|
74
|
+
|
|
75
|
+
## Done
|
|
76
|
+
|
|
77
|
+
- [x] Publish the fixture
|
|
78
|
+
~~~
|
|
79
|
+
|
|
80
|
+
Cards support checked, unchecked, and plain items, plus inline WikiLinks, tags, and bold text.
|
|
81
|
+
|
|
65
82
|
## Output
|
|
66
83
|
|
|
67
84
|
```html
|
|
@@ -104,7 +121,7 @@ document with a `@riebeckite/plugin-kanban` message.
|
|
|
104
121
|
## Exports
|
|
105
122
|
|
|
106
123
|
- `kanban(options?)` — plugin factory
|
|
107
|
-
- `
|
|
124
|
+
- `kanban` — alias of `kanban`
|
|
108
125
|
- `resolveKanbanOptions(options?)` — apply defaults
|
|
109
126
|
- `remarkKanban(options?)` — remark transform used by the plugin
|
|
110
127
|
- `parseKanban(source, options)`, `renderKanban(result, options, resolveLink, source)`
|
package/README_ja.md
CHANGED
|
@@ -27,7 +27,7 @@ export default defineConfig({
|
|
|
27
27
|
- ` ```kanban ` のフェンスコードブロックの本文
|
|
28
28
|
- frontmatter に `kanban-plugin` を持つノートの本文(`autoDetect`、既定で有効)
|
|
29
29
|
|
|
30
|
-
どちらも本文の書き方は同じです。`## `(`columnMarker`
|
|
30
|
+
どちらも本文の書き方は同じです。`## `(`columnMarker` で変更可能)で始まる行が列を区切り、その後に続くリスト項目がカードになります。カードは `- [ ]`(未完了)、`- [x]`(完了)、`- テキスト`(チェックボックスなし)をそのままカードとして扱います。
|
|
31
31
|
|
|
32
32
|
````md
|
|
33
33
|
## Backlog
|
|
@@ -56,6 +56,23 @@ kanban-plugin: board
|
|
|
56
56
|
|
|
57
57
|
カードのテキストでは `[ウィキリンク](https://github.com/Rerurate514/riebeckite/blob/main/docs/docs/ウィキリンク.ja.md)`(マニフェストから実際の href に解決)、`#タグ`、`**太字**` を使えます。
|
|
58
58
|
|
|
59
|
+
## 実行例
|
|
60
|
+
|
|
61
|
+
~~~kanban
|
|
62
|
+
## Backlog
|
|
63
|
+
|
|
64
|
+
- [ ] リリースノートを書く
|
|
65
|
+
- [ ] [[README]] へのリンクを追加する
|
|
66
|
+
- [x] **メタデータ**を確認する
|
|
67
|
+
- #documentation を付けた通常のカード
|
|
68
|
+
|
|
69
|
+
## Done
|
|
70
|
+
|
|
71
|
+
- [x] フィクスチャを公開する
|
|
72
|
+
~~~
|
|
73
|
+
|
|
74
|
+
チェック済み・未チェック・通常のカードに加え、WikiLink、タグ、太字を同じボードに表示できます。
|
|
75
|
+
|
|
59
76
|
## 出力
|
|
60
77
|
|
|
61
78
|
```html
|
|
@@ -88,14 +105,14 @@ kanban-plugin: board
|
|
|
88
105
|
|
|
89
106
|
## フォールバックと診断
|
|
90
107
|
|
|
91
|
-
列でもリスト項目でもない行は、`fallback`
|
|
108
|
+
列でもリスト項目でもない行は、`fallback` を無効にしない限り `details.rb-kanban__fallback` にそのまま残ります。取りこぼしはありません。
|
|
92
109
|
|
|
93
|
-
列が 1
|
|
110
|
+
列が 1 つもないなど解析に問題がある場合は、`source` が `@riebeckite/plugin-kanban` のメッセージを文書に付けます。
|
|
94
111
|
|
|
95
112
|
## エクスポート
|
|
96
113
|
|
|
97
114
|
- `kanban(options?)`:プラグインファクトリ
|
|
98
|
-
- `
|
|
115
|
+
- `kanban`:`kanban` の別名
|
|
99
116
|
- `resolveKanbanOptions(options?)`:既定値を適用する
|
|
100
117
|
- `remarkKanban(options?)`:プラグインが使う Remark 変換
|
|
101
118
|
- `parseKanban(source, options)` と `renderKanban(result, options, resolveLink, source)`
|
package/dist/index.d.ts
CHANGED
|
@@ -9,4 +9,3 @@ export { createKanbanLinkResolver, renderKanban } from "./src/render.js";
|
|
|
9
9
|
export type { KanbanOptions, ResolvedKanbanOptions } from "./src/types.js";
|
|
10
10
|
export { resolveKanbanOptions } from "./src/types.js";
|
|
11
11
|
export declare function kanban(options?: KanbanOptions): import("@riebeckite/core").RiebeckitePlugin<KanbanOptions>;
|
|
12
|
-
export declare const kanbanPlugin: typeof kanban;
|
package/dist/index.js
CHANGED
|
@@ -297,7 +297,6 @@ function kanban(options = {}) {
|
|
|
297
297
|
assets: [createStyleAsset("kanban", "@riebeckite/plugin-kanban/style.css")]
|
|
298
298
|
});
|
|
299
299
|
}
|
|
300
|
-
var kanbanPlugin = kanban;
|
|
301
300
|
function validateKanbanOptions(options) {
|
|
302
301
|
if (!options) return [];
|
|
303
302
|
const issues = [];
|
|
@@ -323,7 +322,6 @@ export {
|
|
|
323
322
|
encodeKanbanSource,
|
|
324
323
|
isKanbanNote,
|
|
325
324
|
kanban,
|
|
326
|
-
kanbanPlugin,
|
|
327
325
|
parseKanban,
|
|
328
326
|
remarkKanban,
|
|
329
327
|
renderKanban,
|
package/dist/src/runtime.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { ContentManifest } from "@riebeckite/core";
|
|
2
2
|
import type { ResolvedKanbanOptions } from "./types.js";
|
|
3
|
-
|
|
3
|
+
type KanbanRuntime = {
|
|
4
4
|
track(slug: string, markdown: string): void;
|
|
5
5
|
resolve(manifest: ContentManifest): void;
|
|
6
6
|
};
|
|
7
7
|
export declare function createKanbanRuntime(options: ResolvedKanbanOptions): KanbanRuntime;
|
|
8
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/plugin-kanban",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.33",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"./style.css": "./style.css"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
+
"@riebeckite/core": "0.0.33",
|
|
18
19
|
"@types/mdast": "^4.0.4",
|
|
19
|
-
"unist-util-visit": "^5.1.0"
|
|
20
|
-
"@riebeckite/core": "0.0.31"
|
|
20
|
+
"unist-util-visit": "^5.1.0"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"tsx": "^4.22.4"
|