@alauda/doom 1.0.1 → 1.0.2
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/lib/cli/new.js +1 -1
- package/package.json +7 -6
package/lib/cli/new.js
CHANGED
|
@@ -107,7 +107,7 @@ export const newCommand = new Command('new')
|
|
|
107
107
|
const source = path.resolve(base, render(layout.source, { parameters }));
|
|
108
108
|
const target = path.resolve(render(layout.target, { parameters }));
|
|
109
109
|
const when = layout.when && render(layout.when, { parameters });
|
|
110
|
-
if (JS_STR_FALSY_VALUES.has(when)) {
|
|
110
|
+
if (when != null && JS_STR_FALSY_VALUES.has(when)) {
|
|
111
111
|
continue;
|
|
112
112
|
}
|
|
113
113
|
switch (layout.type) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alauda/doom",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Doctor Doom making docs.",
|
|
6
6
|
"repository": "git+https://github.com/alauda/doom.git",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"rspress-plugins"
|
|
35
35
|
],
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@cspell/eslint-plugin": "^9.0.2",
|
|
37
|
+
"@cspell/eslint-plugin": "^8.19.4 || ^9.0.2",
|
|
38
38
|
"@eslint-react/eslint-plugin": "^1.51.0",
|
|
39
39
|
"@inquirer/prompts": "^7.5.3",
|
|
40
40
|
"@openapi-contrib/openapi-schema-to-json-schema": "^5.1.0",
|
|
@@ -48,16 +48,16 @@
|
|
|
48
48
|
"chokidar": "^4.0.3",
|
|
49
49
|
"cli-progress": "^3.12.0",
|
|
50
50
|
"clsx": "^2.1.1",
|
|
51
|
-
"commander": "^13.1.0",
|
|
51
|
+
"commander": "^13.1.0 || ^14.0.0",
|
|
52
52
|
"ejs": "^3.1.10",
|
|
53
|
-
"es-toolkit": "^1.
|
|
53
|
+
"es-toolkit": "^1.39.0",
|
|
54
54
|
"eslint": "^9.28.0",
|
|
55
55
|
"eslint-plugin-mdx": "^3.4.2",
|
|
56
56
|
"html-tag-names": "^2.1.0",
|
|
57
57
|
"mdast-util-mdx": "^3.0.0",
|
|
58
58
|
"mdast-util-mdx-jsx": "^3.2.0",
|
|
59
59
|
"mermaid": "^11.6.0",
|
|
60
|
-
"openai": "^5.1.
|
|
60
|
+
"openai": "^5.1.1",
|
|
61
61
|
"openapi-types": "^12.1.3",
|
|
62
62
|
"p-ratelimit": "^1.0.1",
|
|
63
63
|
"pdf-lib": "^1.17.1",
|
|
@@ -70,11 +70,12 @@
|
|
|
70
70
|
"remark-gfm": "^4.0.1",
|
|
71
71
|
"remark-mdx": "^3.1.0",
|
|
72
72
|
"remark-stringify": "^11.0.0",
|
|
73
|
-
"shiki": "^3.
|
|
73
|
+
"shiki": "^3.6.0",
|
|
74
74
|
"simple-git": "^3.27.0",
|
|
75
75
|
"swagger2openapi": "^7.0.8",
|
|
76
76
|
"tinyglobby": "^0.2.14",
|
|
77
77
|
"type-fest": "^4.41.0",
|
|
78
|
+
"typescript": "^5.8.3",
|
|
78
79
|
"typescript-eslint": "^8.33.1",
|
|
79
80
|
"x-fetch": "^0.2.6",
|
|
80
81
|
"yaml": "^2.8.0",
|