mmdfmt 0.0.0 → 0.2.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/LICENSE +21 -0
- package/README.ja.md +784 -0
- package/README.md +677 -0
- package/lib/cli.d.mts +1 -0
- package/lib/cli.mjs +433 -0
- package/lib/format-file-DSbEElSV.mjs +545 -0
- package/lib/index.d.mts +72 -0
- package/lib/index.mjs +22 -0
- package/package.json +34 -6
package/package.json
CHANGED
|
@@ -1,25 +1,53 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mmdfmt",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Formatter for Mermaid diagrams in .mmd files and in Markdown code blocks, which changes nothing else, as a command and as a function",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/mmd-toolkit/mmd-toolkit.git",
|
|
9
9
|
"directory": "packages/mmdfmt"
|
|
10
10
|
},
|
|
11
|
+
"funding": {
|
|
12
|
+
"type": "github",
|
|
13
|
+
"url": "https://github.com/sponsors/ota-meshi"
|
|
14
|
+
},
|
|
11
15
|
"type": "module",
|
|
16
|
+
"bin": {
|
|
17
|
+
"mmdfmt": "./lib/cli.mjs"
|
|
18
|
+
},
|
|
19
|
+
"exports": {
|
|
20
|
+
".": {
|
|
21
|
+
"types": "./lib/index.d.mts",
|
|
22
|
+
"default": "./lib/index.mjs"
|
|
23
|
+
},
|
|
24
|
+
"./package.json": "./package.json"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"lib"
|
|
28
|
+
],
|
|
12
29
|
"engines": {
|
|
13
|
-
"node": "^
|
|
30
|
+
"node": "^22.13.0 || >=24"
|
|
14
31
|
},
|
|
15
32
|
"keywords": [
|
|
16
33
|
"mermaid",
|
|
17
34
|
"mmd",
|
|
35
|
+
"markdown",
|
|
18
36
|
"formatter",
|
|
19
37
|
"cli"
|
|
20
38
|
],
|
|
39
|
+
"dependencies": {
|
|
40
|
+
"gunshi": "^0.37.3",
|
|
41
|
+
"prettier": "^3.9.0",
|
|
42
|
+
"prettier-plugin-mmd": "^0.7.0",
|
|
43
|
+
"tinyglobby": "^0.2.17"
|
|
44
|
+
},
|
|
21
45
|
"publishConfig": {
|
|
22
|
-
"access": "public"
|
|
23
|
-
|
|
46
|
+
"access": "public"
|
|
47
|
+
},
|
|
48
|
+
"scripts": {
|
|
49
|
+
"build": "tsdown",
|
|
50
|
+
"clean": "rimraf lib",
|
|
51
|
+
"test": "vitest run"
|
|
24
52
|
}
|
|
25
|
-
}
|
|
53
|
+
}
|