markdown-design-doc-viewer 0.4.0 → 1.0.0

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/dist/export.css CHANGED
@@ -1 +1 @@
1
- :root{--vscode-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "Noto Sans JP", sans-serif;--vscode-markdown-font-family: var(--vscode-font-family);--vscode-markdown-font-size: 14px;--vscode-markdown-line-height: 1.6;--vscode-editor-font-family: "SF Mono", Menlo, Consolas, "Liberation Mono", monospace}body.seqnotes-export{max-width:1600px;margin:0 auto;padding:16px 26px 40px}body.seqnotes-export.seqnotes-wide .seqnotes-pair:not(.seqnotes-pair-stacked){grid-template-columns:minmax(0,var(--seqnotes-split, 55%)) minmax(0,1fr);column-gap:24px}@media print{body.seqnotes-export{max-width:none;padding:0}body.seqnotes-wide .seqnotes-pair:not(.seqnotes-pair-stacked){display:block}body.seqnotes-wide .seqnotes-pair:not(.seqnotes-pair-stacked)>.seqnotes-seq-col{position:static;max-height:none;overflow:visible}.seqnotes-splitter{display:none!important}body.seqnotes-sticky-table-header thead th{position:static}.seqnotes-section.seqnotes-active{background:none;border-left-color:transparent}.seqnotes-diagram,pre,table,.markdown-alert,details{break-inside:avoid}h1,h2,h3,h4,h5,h6{break-after:avoid}}
1
+ :root{--vscode-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "Noto Sans JP", sans-serif;--vscode-markdown-font-family: var(--vscode-font-family);--vscode-markdown-font-size: 14px;--vscode-markdown-line-height: 1.6;--vscode-editor-font-family: "SF Mono", Menlo, Consolas, "Liberation Mono", monospace}body.seqnotes-export{max-width:1600px;margin:0 auto;padding:16px 26px 40px}body.seqnotes-export.seqnotes-wide .seqnotes-pair:not(.seqnotes-pair-stacked){grid-template-columns:minmax(0,var(--seqnotes-split, 55%)) minmax(0,1fr);column-gap:24px}.seqnotes-index table{width:100%}.seqnotes-index th{text-align:left}.seqnotes-index-file{color:var(--seqnotes-muted);font-family:var(--vscode-editor-font-family);font-size:.9em}.seqnotes-index-status span{padding:0 .6em;border:1px solid var(--seqnotes-border);border-radius:1em;white-space:nowrap}@media print{body.seqnotes-export{max-width:none;padding:0}body.seqnotes-wide .seqnotes-pair:not(.seqnotes-pair-stacked){display:block}body.seqnotes-wide .seqnotes-pair:not(.seqnotes-pair-stacked)>.seqnotes-seq-col{position:static;max-height:none;overflow:visible}.seqnotes-splitter{display:none!important}body.seqnotes-sticky-table-header thead th{position:static}.seqnotes-section.seqnotes-active{background:none;border-left-color:transparent}.seqnotes-diagram,pre,table,.markdown-alert,details{break-inside:avoid}h1,h2,h3,h4,h5,h6{break-after:avoid}}
@@ -54,5 +54,8 @@
54
54
  "Product": "プロダクト",
55
55
  "Status": "ステータス",
56
56
  "Updated": "更新日",
57
- "Other metadata ({0})": "その他のメタ情報({0})"
57
+ "Other metadata ({0})": "その他のメタ情報({0})",
58
+ "Design Docs": "設計書一覧",
59
+ "Title": "タイトル",
60
+ "File": "ファイル"
58
61
  }
package/package.json CHANGED
@@ -1,28 +1,16 @@
1
1
  {
2
2
  "name": "markdown-design-doc-viewer",
3
- "displayName": "%displayName%",
4
- "description": "%description%",
5
- "version": "0.4.0",
6
- "publisher": "playree",
3
+ "version": "1.0.0",
4
+ "description": "Preview design documents written in Markdown: mermaid sequence diagrams and flowcharts side by side with their linked step descriptions, a document header from the front matter, a table of contents, GitHub alerts and task lists.",
7
5
  "license": "MIT",
8
6
  "repository": {
9
7
  "type": "git",
10
- "url": "https://github.com/playree/markdown-design-doc-viewer.git"
8
+ "url": "git+https://github.com/playree/markdown-design-doc-viewer.git"
11
9
  },
12
10
  "bugs": {
13
11
  "url": "https://github.com/playree/markdown-design-doc-viewer/issues"
14
12
  },
15
- "homepage": "https://github.com/playree/markdown-design-doc-viewer#readme",
16
- "icon": "images/icon.png",
17
- "l10n": "./l10n",
18
- "engines": {
19
- "vscode": "^1.100.0",
20
- "node": ">=22"
21
- },
22
- "categories": [
23
- "Visualization",
24
- "Other"
25
- ],
13
+ "homepage": "https://github.com/playree/markdown-design-doc-viewer/blob/main/docs/cli.md",
26
14
  "keywords": [
27
15
  "markdown",
28
16
  "mermaid",
@@ -31,225 +19,13 @@
31
19
  "design document",
32
20
  "preview"
33
21
  ],
34
- "main": "./dist/extension.js",
35
22
  "bin": {
36
23
  "md-design-doc": "dist/cli.js"
37
24
  },
38
- "activationEvents": [
39
- "onLanguage:markdown",
40
- "onWebviewPanel:mdDesignDoc.preview"
41
- ],
42
- "contributes": {
43
- "commands": [
44
- {
45
- "command": "mdDesignDoc.openPreview",
46
- "title": "%mdDesignDoc.openPreview.title%",
47
- "category": "%category%",
48
- "icon": "$(open-preview)"
49
- },
50
- {
51
- "command": "mdDesignDoc.openPreviewToSide",
52
- "title": "%mdDesignDoc.openPreviewToSide.title%",
53
- "category": "%category%",
54
- "icon": "$(open-preview)"
55
- },
56
- {
57
- "command": "mdDesignDoc.exportHtml",
58
- "title": "%mdDesignDoc.exportHtml.title%",
59
- "category": "%category%"
60
- },
61
- {
62
- "command": "mdDesignDoc.useFullContentWidth",
63
- "title": "%mdDesignDoc.useFullContentWidth.title%",
64
- "category": "%category%",
65
- "icon": "$(screen-full)"
66
- },
67
- {
68
- "command": "mdDesignDoc.limitContentWidth",
69
- "title": "%mdDesignDoc.limitContentWidth.title%",
70
- "category": "%category%",
71
- "icon": "$(screen-normal)"
72
- },
73
- {
74
- "command": "mdDesignDoc.toggleTheme",
75
- "title": "%mdDesignDoc.toggleTheme.title%",
76
- "category": "%category%",
77
- "icon": "$(color-mode)"
78
- }
79
- ],
80
- "customEditors": [
81
- {
82
- "viewType": "mdDesignDoc.editor",
83
- "displayName": "%mdDesignDoc.editor.displayName%",
84
- "selector": [
85
- {
86
- "filenamePattern": "*.md"
87
- },
88
- {
89
- "filenamePattern": "*.markdown"
90
- }
91
- ],
92
- "priority": "option"
93
- }
94
- ],
95
- "menus": {
96
- "editor/title": [
97
- {
98
- "command": "mdDesignDoc.openPreviewToSide",
99
- "when": "editorLangId == markdown",
100
- "group": "navigation"
101
- },
102
- {
103
- "command": "mdDesignDoc.useFullContentWidth",
104
- "when": "(activeWebviewPanelId == 'mdDesignDoc.preview' || activeCustomEditorId == 'mdDesignDoc.editor') && config.mdDesignDoc.limitContentWidth",
105
- "group": "navigation"
106
- },
107
- {
108
- "command": "mdDesignDoc.limitContentWidth",
109
- "when": "(activeWebviewPanelId == 'mdDesignDoc.preview' || activeCustomEditorId == 'mdDesignDoc.editor') && !config.mdDesignDoc.limitContentWidth",
110
- "group": "navigation"
111
- },
112
- {
113
- "command": "mdDesignDoc.toggleTheme",
114
- "when": "activeWebviewPanelId == 'mdDesignDoc.preview' || activeCustomEditorId == 'mdDesignDoc.editor'",
115
- "group": "navigation"
116
- }
117
- ],
118
- "commandPalette": [
119
- {
120
- "command": "mdDesignDoc.openPreview",
121
- "when": "editorLangId == markdown"
122
- },
123
- {
124
- "command": "mdDesignDoc.openPreviewToSide",
125
- "when": "editorLangId == markdown"
126
- },
127
- {
128
- "command": "mdDesignDoc.exportHtml",
129
- "when": "editorLangId == markdown || activeWebviewPanelId == 'mdDesignDoc.preview' || activeCustomEditorId == 'mdDesignDoc.editor'"
130
- },
131
- {
132
- "command": "mdDesignDoc.useFullContentWidth",
133
- "when": "(activeWebviewPanelId == 'mdDesignDoc.preview' || activeCustomEditorId == 'mdDesignDoc.editor') && config.mdDesignDoc.limitContentWidth"
134
- },
135
- {
136
- "command": "mdDesignDoc.limitContentWidth",
137
- "when": "(activeWebviewPanelId == 'mdDesignDoc.preview' || activeCustomEditorId == 'mdDesignDoc.editor') && !config.mdDesignDoc.limitContentWidth"
138
- },
139
- {
140
- "command": "mdDesignDoc.toggleTheme",
141
- "when": "activeWebviewPanelId == 'mdDesignDoc.preview' || activeCustomEditorId == 'mdDesignDoc.editor'"
142
- }
143
- ],
144
- "webview/context": [
145
- {
146
- "command": "mdDesignDoc.exportHtml",
147
- "when": "webviewId == 'mdDesignDoc.preview' || webviewId == 'mdDesignDoc.editor'"
148
- }
149
- ]
150
- },
151
- "configuration": {
152
- "title": "%displayName%",
153
- "properties": {
154
- "mdDesignDoc.splitMinWidth": {
155
- "type": "number",
156
- "default": 1000,
157
- "minimum": 0,
158
- "description": "%mdDesignDoc.splitMinWidth.description%"
159
- },
160
- "mdDesignDoc.limitContentWidth": {
161
- "type": "boolean",
162
- "default": true,
163
- "description": "%mdDesignDoc.limitContentWidth.description%"
164
- },
165
- "mdDesignDoc.stickyTableHeader": {
166
- "type": "boolean",
167
- "default": true,
168
- "description": "%mdDesignDoc.stickyTableHeader.description%"
169
- },
170
- "mdDesignDoc.syncEditor": {
171
- "type": "boolean",
172
- "default": true,
173
- "description": "%mdDesignDoc.syncEditor.description%"
174
- },
175
- "mdDesignDoc.toc": {
176
- "type": "boolean",
177
- "default": true,
178
- "description": "%mdDesignDoc.toc.description%"
179
- },
180
- "mdDesignDoc.headingNumbers": {
181
- "type": "boolean",
182
- "default": true,
183
- "description": "%mdDesignDoc.headingNumbers.description%"
184
- },
185
- "mdDesignDoc.frontMatter": {
186
- "type": "boolean",
187
- "default": true,
188
- "description": "%mdDesignDoc.frontMatter.description%"
189
- },
190
- "mdDesignDoc.diagramLook": {
191
- "type": "string",
192
- "enum": [
193
- "neo",
194
- "classic"
195
- ],
196
- "enumDescriptions": [
197
- "%mdDesignDoc.diagramLook.neo%",
198
- "%mdDesignDoc.diagramLook.classic%"
199
- ],
200
- "default": "neo",
201
- "description": "%mdDesignDoc.diagramLook.description%"
202
- },
203
- "mdDesignDoc.theme": {
204
- "type": "string",
205
- "enum": [
206
- "auto",
207
- "light",
208
- "dark"
209
- ],
210
- "enumDescriptions": [
211
- "%mdDesignDoc.theme.auto%",
212
- "%mdDesignDoc.theme.light%",
213
- "%mdDesignDoc.theme.dark%"
214
- ],
215
- "default": "auto",
216
- "description": "%mdDesignDoc.theme.description%"
217
- },
218
- "mdDesignDoc.diagnostics": {
219
- "type": "boolean",
220
- "default": true,
221
- "scope": "resource",
222
- "description": "%mdDesignDoc.diagnostics.description%"
223
- }
224
- }
225
- }
226
- },
227
- "scripts": {
228
- "build": "node esbuild.mjs",
229
- "watch": "node esbuild.mjs --watch",
230
- "typecheck": "tsc --noEmit",
231
- "test": "vitest run",
232
- "screenshots": "node esbuild.mjs && esbuild scripts/screenshots.ts --bundle --platform=node --format=cjs --external:playwright-core --log-level=warning --outfile=dist/screenshots.cjs && node dist/screenshots.cjs",
233
- "vscode:prepublish": "node esbuild.mjs --production",
234
- "package": "vsce package --no-dependencies",
235
- "vsce:publish": "vsce publish --no-dependencies",
236
- "prepack": "node esbuild.mjs --production"
25
+ "engines": {
26
+ "node": ">=22"
237
27
  },
238
28
  "dependencies": {
239
29
  "playwright-core": "^1.64.0"
240
- },
241
- "devDependencies": {
242
- "@types/node": "^22.20.5",
243
- "@types/vscode": "~1.100.0",
244
- "@vscode/vsce": "^4.0.0",
245
- "dompurify": "^3.4.16",
246
- "esbuild": "^0.28.2",
247
- "highlight.js": "^11.12.0",
248
- "markdown-it": "^15.0.2",
249
- "markdown-it-footnote": "^4.0.0",
250
- "mermaid": "^12.1.0",
251
- "typescript": "^7.0.2",
252
- "vitest": "^5.0.3"
253
- },
254
- "packageManager": "pnpm@12.3.4"
30
+ }
255
31
  }