@stephansama/auto-readme 0.1.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.md +230 -0
- package/cli.mjs +5 -0
- package/config/schema.cjs +135 -0
- package/config/schema.cjs.map +1 -0
- package/config/schema.d.cts +167 -0
- package/config/schema.d.ts +167 -0
- package/config/schema.js +102 -0
- package/config/schema.js.map +1 -0
- package/config/schema.json +1 -0
- package/config/schema.yaml +182 -0
- package/dist/index.cjs +676 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.js +641 -0
- package/dist/index.js.map +1 -0
- package/package.json +88 -0
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
declare const actionsSchema: z.ZodEnum<{
|
|
4
|
+
ACTION: "ACTION";
|
|
5
|
+
PKG: "PKG";
|
|
6
|
+
USAGE: "USAGE";
|
|
7
|
+
WORKSPACE: "WORKSPACE";
|
|
8
|
+
ZOD: "ZOD";
|
|
9
|
+
}>;
|
|
10
|
+
declare const formatsSchema: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
|
|
11
|
+
LIST: "LIST";
|
|
12
|
+
TABLE: "TABLE";
|
|
13
|
+
}>>>;
|
|
14
|
+
declare const languageSchema: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
JS: "JS";
|
|
16
|
+
RS: "RS";
|
|
17
|
+
}>>>;
|
|
18
|
+
declare const headingsSchema: z.ZodEnum<{
|
|
19
|
+
default: "default";
|
|
20
|
+
description: "description";
|
|
21
|
+
devDependency: "devDependency";
|
|
22
|
+
downloads: "downloads";
|
|
23
|
+
name: "name";
|
|
24
|
+
private: "private";
|
|
25
|
+
required: "required";
|
|
26
|
+
version: "version";
|
|
27
|
+
}>;
|
|
28
|
+
declare const tableHeadingsSchema: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
29
|
+
ACTION: "ACTION";
|
|
30
|
+
PKG: "PKG";
|
|
31
|
+
USAGE: "USAGE";
|
|
32
|
+
WORKSPACE: "WORKSPACE";
|
|
33
|
+
ZOD: "ZOD";
|
|
34
|
+
}>, z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
35
|
+
default: "default";
|
|
36
|
+
description: "description";
|
|
37
|
+
devDependency: "devDependency";
|
|
38
|
+
downloads: "downloads";
|
|
39
|
+
name: "name";
|
|
40
|
+
private: "private";
|
|
41
|
+
required: "required";
|
|
42
|
+
version: "version";
|
|
43
|
+
}>>>>>>;
|
|
44
|
+
declare const templatesSchema: z.ZodObject<{
|
|
45
|
+
downloadImage: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
46
|
+
emojis: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
47
|
+
default: "default";
|
|
48
|
+
description: "description";
|
|
49
|
+
devDependency: "devDependency";
|
|
50
|
+
downloads: "downloads";
|
|
51
|
+
name: "name";
|
|
52
|
+
private: "private";
|
|
53
|
+
required: "required";
|
|
54
|
+
version: "version";
|
|
55
|
+
}>, z.ZodString>>>;
|
|
56
|
+
registryUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
57
|
+
versionImage: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
58
|
+
}, z.core.$strip>;
|
|
59
|
+
declare const defaultTemplates: {
|
|
60
|
+
downloadImage: string;
|
|
61
|
+
emojis: Record<"default" | "description" | "devDependency" | "downloads" | "name" | "private" | "required" | "version", string>;
|
|
62
|
+
registryUrl: string;
|
|
63
|
+
versionImage: string;
|
|
64
|
+
};
|
|
65
|
+
declare const defaultTableHeadings: Record<"ACTION" | "PKG" | "USAGE" | "WORKSPACE" | "ZOD", ("default" | "description" | "devDependency" | "downloads" | "name" | "private" | "required" | "version")[] | undefined>;
|
|
66
|
+
declare const configSchema: z.ZodOptional<z.ZodObject<{
|
|
67
|
+
affectedRegexes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
68
|
+
defaultLanguage: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
69
|
+
JS: "JS";
|
|
70
|
+
RS: "RS";
|
|
71
|
+
}>>>;
|
|
72
|
+
disableEmojis: z.ZodDefault<z.ZodBoolean>;
|
|
73
|
+
disableMarkdownHeadings: z.ZodDefault<z.ZodBoolean>;
|
|
74
|
+
enableToc: z.ZodDefault<z.ZodBoolean>;
|
|
75
|
+
enableUsage: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
76
|
+
headings: z.ZodDefault<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
77
|
+
ACTION: "ACTION";
|
|
78
|
+
PKG: "PKG";
|
|
79
|
+
USAGE: "USAGE";
|
|
80
|
+
WORKSPACE: "WORKSPACE";
|
|
81
|
+
ZOD: "ZOD";
|
|
82
|
+
}>, z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
83
|
+
default: "default";
|
|
84
|
+
description: "description";
|
|
85
|
+
devDependency: "devDependency";
|
|
86
|
+
downloads: "downloads";
|
|
87
|
+
name: "name";
|
|
88
|
+
private: "private";
|
|
89
|
+
required: "required";
|
|
90
|
+
version: "version";
|
|
91
|
+
}>>>>>>>>;
|
|
92
|
+
onlyReadmes: z.ZodDefault<z.ZodBoolean>;
|
|
93
|
+
onlyShowPublicPackages: z.ZodDefault<z.ZodBoolean>;
|
|
94
|
+
removeScope: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
95
|
+
templates: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
96
|
+
downloadImage: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
97
|
+
emojis: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
98
|
+
default: "default";
|
|
99
|
+
description: "description";
|
|
100
|
+
devDependency: "devDependency";
|
|
101
|
+
downloads: "downloads";
|
|
102
|
+
name: "name";
|
|
103
|
+
private: "private";
|
|
104
|
+
required: "required";
|
|
105
|
+
version: "version";
|
|
106
|
+
}>, z.ZodString>>>;
|
|
107
|
+
registryUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
108
|
+
versionImage: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
109
|
+
}, z.core.$strip>>>;
|
|
110
|
+
tocHeading: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
111
|
+
usageFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
112
|
+
usageHeading: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
113
|
+
verbose: z.ZodDefault<z.ZodBoolean>;
|
|
114
|
+
}, z.core.$strip>>;
|
|
115
|
+
type Config = Partial<z.infer<typeof _configSchema>>;
|
|
116
|
+
|
|
117
|
+
declare const _configSchema: z.ZodObject<{
|
|
118
|
+
affectedRegexes: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
119
|
+
defaultLanguage: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
120
|
+
JS: "JS";
|
|
121
|
+
RS: "RS";
|
|
122
|
+
}>>>;
|
|
123
|
+
disableEmojis: z.ZodDefault<z.ZodBoolean>;
|
|
124
|
+
disableMarkdownHeadings: z.ZodDefault<z.ZodBoolean>;
|
|
125
|
+
enableToc: z.ZodDefault<z.ZodBoolean>;
|
|
126
|
+
enableUsage: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
127
|
+
headings: z.ZodDefault<z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
128
|
+
ACTION: "ACTION";
|
|
129
|
+
PKG: "PKG";
|
|
130
|
+
USAGE: "USAGE";
|
|
131
|
+
WORKSPACE: "WORKSPACE";
|
|
132
|
+
ZOD: "ZOD";
|
|
133
|
+
}>, z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
134
|
+
default: "default";
|
|
135
|
+
description: "description";
|
|
136
|
+
devDependency: "devDependency";
|
|
137
|
+
downloads: "downloads";
|
|
138
|
+
name: "name";
|
|
139
|
+
private: "private";
|
|
140
|
+
required: "required";
|
|
141
|
+
version: "version";
|
|
142
|
+
}>>>>>>>>;
|
|
143
|
+
onlyReadmes: z.ZodDefault<z.ZodBoolean>;
|
|
144
|
+
onlyShowPublicPackages: z.ZodDefault<z.ZodBoolean>;
|
|
145
|
+
removeScope: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
146
|
+
templates: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
147
|
+
downloadImage: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
148
|
+
emojis: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodEnum<{
|
|
149
|
+
default: "default";
|
|
150
|
+
description: "description";
|
|
151
|
+
devDependency: "devDependency";
|
|
152
|
+
downloads: "downloads";
|
|
153
|
+
name: "name";
|
|
154
|
+
private: "private";
|
|
155
|
+
required: "required";
|
|
156
|
+
version: "version";
|
|
157
|
+
}>, z.ZodString>>>;
|
|
158
|
+
registryUrl: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
159
|
+
versionImage: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
160
|
+
}, z.core.$strip>>>;
|
|
161
|
+
tocHeading: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
162
|
+
usageFile: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
163
|
+
usageHeading: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
164
|
+
verbose: z.ZodDefault<z.ZodBoolean>;
|
|
165
|
+
}, z.core.$strip>;
|
|
166
|
+
|
|
167
|
+
export { type Config, actionsSchema, configSchema, defaultTableHeadings, defaultTemplates, formatsSchema, headingsSchema, languageSchema, tableHeadingsSchema, templatesSchema };
|
package/config/schema.js
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
// src/schema.js
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
var actionsSchema = z.enum(["ACTION", "PKG", "USAGE", "WORKSPACE", "ZOD"]).describe("Comment action options");
|
|
4
|
+
var formatsSchema = z.enum(["LIST", "TABLE"]).default("TABLE").optional();
|
|
5
|
+
var languageSchema = z.enum(["JS", "RS"]).optional().default("JS");
|
|
6
|
+
var headingsSchema = z.enum([
|
|
7
|
+
"default",
|
|
8
|
+
"description",
|
|
9
|
+
"devDependency",
|
|
10
|
+
"downloads",
|
|
11
|
+
"name",
|
|
12
|
+
"private",
|
|
13
|
+
"required",
|
|
14
|
+
"version"
|
|
15
|
+
]).describe("Table heading options");
|
|
16
|
+
var tableHeadingsSchema = z.record(actionsSchema, headingsSchema.array().optional()).optional().describe("Table heading action configuration").default({
|
|
17
|
+
ACTION: ["name", "required", "default", "description"],
|
|
18
|
+
PKG: ["name", "version", "devDependency"],
|
|
19
|
+
WORKSPACE: ["name", "version", "downloads", "description"],
|
|
20
|
+
ZOD: []
|
|
21
|
+
});
|
|
22
|
+
var templatesSchema = z.object({
|
|
23
|
+
downloadImage: z.string().optional().default("https://img.shields.io/npm/dw/{{name}}?labelColor=211F1F"),
|
|
24
|
+
emojis: z.record(headingsSchema, z.string()).optional().describe("Table heading emojis used when enabled").default({
|
|
25
|
+
default: "\u2699\uFE0F",
|
|
26
|
+
description: "\u{1F4DD}",
|
|
27
|
+
devDependency: "\u{1F4BB}",
|
|
28
|
+
downloads: "\u{1F4E5}",
|
|
29
|
+
name: "\u{1F3F7}\uFE0F",
|
|
30
|
+
private: "\u{1F512}",
|
|
31
|
+
required: "",
|
|
32
|
+
version: ""
|
|
33
|
+
}),
|
|
34
|
+
registryUrl: z.string().optional().default("https://www.npmjs.com/package/{{name}}"),
|
|
35
|
+
versionImage: z.string().optional().default(
|
|
36
|
+
"https://img.shields.io/npm/v/{{uri_name}}?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F"
|
|
37
|
+
)
|
|
38
|
+
});
|
|
39
|
+
var defaultTemplates = templatesSchema.parse({});
|
|
40
|
+
var defaultTableHeadings = tableHeadingsSchema.parse(void 0);
|
|
41
|
+
var _configSchema = z.object({
|
|
42
|
+
affectedRegexes: z.string().array().optional().default([]),
|
|
43
|
+
defaultLanguage: languageSchema.meta({
|
|
44
|
+
alias: "l",
|
|
45
|
+
description: "Default language to infer projects from"
|
|
46
|
+
}),
|
|
47
|
+
disableEmojis: z.boolean().default(false).meta({
|
|
48
|
+
alias: "e",
|
|
49
|
+
description: "Whether or not to use emojis in markdown table headings"
|
|
50
|
+
}),
|
|
51
|
+
disableMarkdownHeadings: z.boolean().default(false).meta({
|
|
52
|
+
description: "Whether or not to display markdown headings"
|
|
53
|
+
}),
|
|
54
|
+
enableToc: z.boolean().default(false).meta({
|
|
55
|
+
alias: "t",
|
|
56
|
+
description: "generate table of contents for readmes"
|
|
57
|
+
}),
|
|
58
|
+
enableUsage: z.boolean().optional().default(false).meta({
|
|
59
|
+
description: "Whether or not to enable usage plugin"
|
|
60
|
+
}),
|
|
61
|
+
headings: tableHeadingsSchema.optional().default(defaultTableHeadings).describe("List of headings for different table outputs"),
|
|
62
|
+
onlyReadmes: z.boolean().default(true).meta({
|
|
63
|
+
alias: "r",
|
|
64
|
+
description: "Whether or not to only traverse readmes"
|
|
65
|
+
}),
|
|
66
|
+
onlyShowPublicPackages: z.boolean().default(false).meta({
|
|
67
|
+
alias: "p",
|
|
68
|
+
description: "Only show public packages in workspaces"
|
|
69
|
+
}),
|
|
70
|
+
removeScope: z.string().optional().default("").meta({
|
|
71
|
+
description: "Remove common workspace scope"
|
|
72
|
+
}),
|
|
73
|
+
templates: templatesSchema.optional().default(defaultTemplates).describe(
|
|
74
|
+
"Handlebars templates used to fuel list and table generation"
|
|
75
|
+
),
|
|
76
|
+
tocHeading: z.string().optional().default("Table of contents").meta({
|
|
77
|
+
description: "Markdown heading used to generate table of contents"
|
|
78
|
+
}),
|
|
79
|
+
usageFile: z.string().optional().default("").meta({
|
|
80
|
+
description: "Workspace level usage file"
|
|
81
|
+
}),
|
|
82
|
+
usageHeading: z.string().optional().default("Usage").meta({
|
|
83
|
+
description: "Markdown heading used to generate usage example"
|
|
84
|
+
}),
|
|
85
|
+
verbose: z.boolean().default(false).meta({
|
|
86
|
+
alias: "v",
|
|
87
|
+
description: "whether or not to display verbose logging"
|
|
88
|
+
})
|
|
89
|
+
});
|
|
90
|
+
var configSchema = _configSchema.optional();
|
|
91
|
+
export {
|
|
92
|
+
actionsSchema,
|
|
93
|
+
configSchema,
|
|
94
|
+
defaultTableHeadings,
|
|
95
|
+
defaultTemplates,
|
|
96
|
+
formatsSchema,
|
|
97
|
+
headingsSchema,
|
|
98
|
+
languageSchema,
|
|
99
|
+
tableHeadingsSchema,
|
|
100
|
+
templatesSchema
|
|
101
|
+
};
|
|
102
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/schema.js"],"sourcesContent":["import { z } from \"zod\";\n\nexport const actionsSchema = z\n\t.enum([\"ACTION\", \"PKG\", \"USAGE\", \"WORKSPACE\", \"ZOD\"])\n\t.describe(\"Comment action options\");\n\nexport const formatsSchema = z\n\t.enum([\"LIST\", \"TABLE\"])\n\t.default(\"TABLE\")\n\t.optional();\n\nexport const languageSchema = z.enum([\"JS\", \"RS\"]).optional().default(\"JS\");\n\nexport const headingsSchema = z\n\t.enum([\n\t\t\"default\",\n\t\t\"description\",\n\t\t\"devDependency\",\n\t\t\"downloads\",\n\t\t\"name\",\n\t\t\"private\",\n\t\t\"required\",\n\t\t\"version\",\n\t])\n\t.describe(\"Table heading options\");\n\nexport const tableHeadingsSchema = z\n\t.record(actionsSchema, headingsSchema.array().optional())\n\t.optional()\n\t.describe(\"Table heading action configuration\")\n\t.default({\n\t\tACTION: [\"name\", \"required\", \"default\", \"description\"],\n\t\tPKG: [\"name\", \"version\", \"devDependency\"],\n\t\tWORKSPACE: [\"name\", \"version\", \"downloads\", \"description\"],\n\t\tZOD: [],\n\t});\n\nexport const templatesSchema = z.object({\n\tdownloadImage: z\n\t\t.string()\n\t\t.optional()\n\t\t.default(\"https://img.shields.io/npm/dw/{{name}}?labelColor=211F1F\"),\n\temojis: z\n\t\t.record(headingsSchema, z.string())\n\t\t.optional()\n\t\t.describe(\"Table heading emojis used when enabled\")\n\t\t.default({\n\t\t\tdefault: \"⚙️\",\n\t\t\tdescription: \"📝\",\n\t\t\tdevDependency: \"💻\",\n\t\t\tdownloads: \"📥\",\n\t\t\tname: \"🏷️\",\n\t\t\tprivate: \"🔒\",\n\t\t\trequired: \"\",\n\t\t\tversion: \"\",\n\t\t}),\n\tregistryUrl: z\n\t\t.string()\n\t\t.optional()\n\t\t.default(\"https://www.npmjs.com/package/{{name}}\"),\n\tversionImage: z\n\t\t.string()\n\t\t.optional()\n\t\t.default(\n\t\t\t\"https://img.shields.io/npm/v/{{uri_name}}?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F\",\n\t\t),\n});\n\nexport const defaultTemplates = templatesSchema.parse({});\nexport const defaultTableHeadings = tableHeadingsSchema.parse(undefined);\n\nconst _configSchema = z.object({\n\taffectedRegexes: z.string().array().optional().default([]),\n\tdefaultLanguage: languageSchema.meta({\n\t\talias: \"l\",\n\t\tdescription: \"Default language to infer projects from\",\n\t}),\n\tdisableEmojis: z.boolean().default(false).meta({\n\t\talias: \"e\",\n\t\tdescription: \"Whether or not to use emojis in markdown table headings\",\n\t}),\n\tdisableMarkdownHeadings: z.boolean().default(false).meta({\n\t\tdescription: \"Whether or not to display markdown headings\",\n\t}),\n\tenableToc: z.boolean().default(false).meta({\n\t\talias: \"t\",\n\t\tdescription: \"generate table of contents for readmes\",\n\t}),\n\tenableUsage: z.boolean().optional().default(false).meta({\n\t\tdescription: \"Whether or not to enable usage plugin\",\n\t}),\n\theadings: tableHeadingsSchema\n\t\t.optional()\n\t\t.default(defaultTableHeadings)\n\t\t.describe(\"List of headings for different table outputs\"),\n\tonlyReadmes: z.boolean().default(true).meta({\n\t\talias: \"r\",\n\t\tdescription: \"Whether or not to only traverse readmes\",\n\t}),\n\tonlyShowPublicPackages: z.boolean().default(false).meta({\n\t\talias: \"p\",\n\t\tdescription: \"Only show public packages in workspaces\",\n\t}),\n\tremoveScope: z.string().optional().default(\"\").meta({\n\t\tdescription: \"Remove common workspace scope\",\n\t}),\n\ttemplates: templatesSchema\n\t\t.optional()\n\t\t.default(defaultTemplates)\n\t\t.describe(\n\t\t\t\"Handlebars templates used to fuel list and table generation\",\n\t\t),\n\ttocHeading: z.string().optional().default(\"Table of contents\").meta({\n\t\tdescription: \"Markdown heading used to generate table of contents\",\n\t}),\n\tusageFile: z.string().optional().default(\"\").meta({\n\t\tdescription: \"Workspace level usage file\",\n\t}),\n\tusageHeading: z.string().optional().default(\"Usage\").meta({\n\t\tdescription: \"Markdown heading used to generate usage example\",\n\t}),\n\tverbose: z.boolean().default(false).meta({\n\t\talias: \"v\",\n\t\tdescription: \"whether or not to display verbose logging\",\n\t}),\n});\n\nexport const configSchema = _configSchema.optional();\n\n/** @typedef {Partial<z.infer<typeof _configSchema>>} Config */\n"],"mappings":"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","names":[]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"affectedRegexes":{"default":[],"type":"array","items":{"type":"string"}},"defaultLanguage":{"alias":"l","description":"Default language to infer projects from","default":"JS","type":"string","enum":["JS","RS"]},"disableEmojis":{"alias":"e","description":"Whether or not to use emojis in markdown table headings","default":false,"type":"boolean"},"disableMarkdownHeadings":{"description":"Whether or not to display markdown headings","default":false,"type":"boolean"},"enableToc":{"alias":"t","description":"generate table of contents for readmes","default":false,"type":"boolean"},"enableUsage":{"description":"Whether or not to enable usage plugin","default":false,"type":"boolean"},"headings":{"description":"List of headings for different table outputs","default":{"ACTION":["name","required","default","description"],"PKG":["name","version","devDependency"],"WORKSPACE":["name","version","downloads","description"],"ZOD":[]},"type":"object","propertyNames":{"description":"Comment action options","type":"string","enum":["ACTION","PKG","USAGE","WORKSPACE","ZOD"]},"additionalProperties":{"type":"array","items":{"description":"Table heading options","type":"string","enum":["default","description","devDependency","downloads","name","private","required","version"]}}},"onlyReadmes":{"alias":"r","description":"Whether or not to only traverse readmes","default":true,"type":"boolean"},"onlyShowPublicPackages":{"alias":"p","description":"Only show public packages in workspaces","default":false,"type":"boolean"},"removeScope":{"description":"Remove common workspace scope","default":"","type":"string"},"templates":{"description":"Handlebars templates used to fuel list and table generation","default":{"downloadImage":"https://img.shields.io/npm/dw/{{name}}?labelColor=211F1F","emojis":{"default":"⚙️","description":"📝","devDependency":"💻","downloads":"📥","name":"🏷️","private":"🔒","required":"","version":""},"registryUrl":"https://www.npmjs.com/package/{{name}}","versionImage":"https://img.shields.io/npm/v/{{uri_name}}?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F"},"type":"object","properties":{"downloadImage":{"default":"https://img.shields.io/npm/dw/{{name}}?labelColor=211F1F","type":"string"},"emojis":{"default":{"default":"⚙️","description":"📝","devDependency":"💻","downloads":"📥","name":"🏷️","private":"🔒","required":"","version":""},"description":"Table heading emojis used when enabled","type":"object","propertyNames":{"description":"Table heading options","type":"string","enum":["default","description","devDependency","downloads","name","private","required","version"]},"additionalProperties":{"type":"string"}},"registryUrl":{"default":"https://www.npmjs.com/package/{{name}}","type":"string"},"versionImage":{"default":"https://img.shields.io/npm/v/{{uri_name}}?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F","type":"string"}},"required":["downloadImage","emojis","registryUrl","versionImage"],"additionalProperties":false},"tocHeading":{"description":"Markdown heading used to generate table of contents","default":"Table of contents","type":"string"},"usageFile":{"description":"Workspace level usage file","default":"","type":"string"},"usageHeading":{"description":"Markdown heading used to generate usage example","default":"Usage","type":"string"},"verbose":{"alias":"v","description":"whether or not to display verbose logging","default":false,"type":"boolean"}},"required":["affectedRegexes","defaultLanguage","disableEmojis","disableMarkdownHeadings","enableToc","enableUsage","headings","onlyReadmes","onlyShowPublicPackages","removeScope","templates","tocHeading","usageFile","usageHeading","verbose"],"additionalProperties":false}
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
$schema: https://json-schema.org/draft/2020-12/schema
|
|
2
|
+
type: object
|
|
3
|
+
properties:
|
|
4
|
+
affectedRegexes:
|
|
5
|
+
default: []
|
|
6
|
+
type: array
|
|
7
|
+
items:
|
|
8
|
+
type: string
|
|
9
|
+
defaultLanguage:
|
|
10
|
+
alias: l
|
|
11
|
+
description: Default language to infer projects from
|
|
12
|
+
default: JS
|
|
13
|
+
type: string
|
|
14
|
+
enum:
|
|
15
|
+
- JS
|
|
16
|
+
- RS
|
|
17
|
+
disableEmojis:
|
|
18
|
+
alias: e
|
|
19
|
+
description: Whether or not to use emojis in markdown table headings
|
|
20
|
+
default: false
|
|
21
|
+
type: boolean
|
|
22
|
+
disableMarkdownHeadings:
|
|
23
|
+
description: Whether or not to display markdown headings
|
|
24
|
+
default: false
|
|
25
|
+
type: boolean
|
|
26
|
+
enableToc:
|
|
27
|
+
alias: t
|
|
28
|
+
description: generate table of contents for readmes
|
|
29
|
+
default: false
|
|
30
|
+
type: boolean
|
|
31
|
+
enableUsage:
|
|
32
|
+
description: Whether or not to enable usage plugin
|
|
33
|
+
default: false
|
|
34
|
+
type: boolean
|
|
35
|
+
headings:
|
|
36
|
+
description: List of headings for different table outputs
|
|
37
|
+
default:
|
|
38
|
+
ACTION:
|
|
39
|
+
- name
|
|
40
|
+
- required
|
|
41
|
+
- default
|
|
42
|
+
- description
|
|
43
|
+
PKG:
|
|
44
|
+
- name
|
|
45
|
+
- version
|
|
46
|
+
- devDependency
|
|
47
|
+
WORKSPACE:
|
|
48
|
+
- name
|
|
49
|
+
- version
|
|
50
|
+
- downloads
|
|
51
|
+
- description
|
|
52
|
+
ZOD: []
|
|
53
|
+
type: object
|
|
54
|
+
propertyNames:
|
|
55
|
+
description: Comment action options
|
|
56
|
+
type: string
|
|
57
|
+
enum:
|
|
58
|
+
- ACTION
|
|
59
|
+
- PKG
|
|
60
|
+
- USAGE
|
|
61
|
+
- WORKSPACE
|
|
62
|
+
- ZOD
|
|
63
|
+
additionalProperties:
|
|
64
|
+
type: array
|
|
65
|
+
items:
|
|
66
|
+
description: Table heading options
|
|
67
|
+
type: string
|
|
68
|
+
enum:
|
|
69
|
+
- default
|
|
70
|
+
- description
|
|
71
|
+
- devDependency
|
|
72
|
+
- downloads
|
|
73
|
+
- name
|
|
74
|
+
- private
|
|
75
|
+
- required
|
|
76
|
+
- version
|
|
77
|
+
onlyReadmes:
|
|
78
|
+
alias: r
|
|
79
|
+
description: Whether or not to only traverse readmes
|
|
80
|
+
default: true
|
|
81
|
+
type: boolean
|
|
82
|
+
onlyShowPublicPackages:
|
|
83
|
+
alias: p
|
|
84
|
+
description: Only show public packages in workspaces
|
|
85
|
+
default: false
|
|
86
|
+
type: boolean
|
|
87
|
+
removeScope:
|
|
88
|
+
description: Remove common workspace scope
|
|
89
|
+
default: ""
|
|
90
|
+
type: string
|
|
91
|
+
templates:
|
|
92
|
+
description: Handlebars templates used to fuel list and table generation
|
|
93
|
+
default:
|
|
94
|
+
downloadImage: https://img.shields.io/npm/dw/{{name}}?labelColor=211F1F
|
|
95
|
+
emojis:
|
|
96
|
+
default: ⚙️
|
|
97
|
+
description: 📝
|
|
98
|
+
devDependency: 💻
|
|
99
|
+
downloads: 📥
|
|
100
|
+
name: 🏷️
|
|
101
|
+
private: 🔒
|
|
102
|
+
required: ""
|
|
103
|
+
version: ""
|
|
104
|
+
registryUrl: https://www.npmjs.com/package/{{name}}
|
|
105
|
+
versionImage: https://img.shields.io/npm/v/{{uri_name}}?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F
|
|
106
|
+
type: object
|
|
107
|
+
properties:
|
|
108
|
+
downloadImage:
|
|
109
|
+
default: https://img.shields.io/npm/dw/{{name}}?labelColor=211F1F
|
|
110
|
+
type: string
|
|
111
|
+
emojis:
|
|
112
|
+
default:
|
|
113
|
+
default: ⚙️
|
|
114
|
+
description: 📝
|
|
115
|
+
devDependency: 💻
|
|
116
|
+
downloads: 📥
|
|
117
|
+
name: 🏷️
|
|
118
|
+
private: 🔒
|
|
119
|
+
required: ""
|
|
120
|
+
version: ""
|
|
121
|
+
description: Table heading emojis used when enabled
|
|
122
|
+
type: object
|
|
123
|
+
propertyNames:
|
|
124
|
+
description: Table heading options
|
|
125
|
+
type: string
|
|
126
|
+
enum:
|
|
127
|
+
- default
|
|
128
|
+
- description
|
|
129
|
+
- devDependency
|
|
130
|
+
- downloads
|
|
131
|
+
- name
|
|
132
|
+
- private
|
|
133
|
+
- required
|
|
134
|
+
- version
|
|
135
|
+
additionalProperties:
|
|
136
|
+
type: string
|
|
137
|
+
registryUrl:
|
|
138
|
+
default: https://www.npmjs.com/package/{{name}}
|
|
139
|
+
type: string
|
|
140
|
+
versionImage:
|
|
141
|
+
default: https://img.shields.io/npm/v/{{uri_name}}?logo=npm&logoColor=red&color=211F1F&labelColor=211F1F
|
|
142
|
+
type: string
|
|
143
|
+
required:
|
|
144
|
+
- downloadImage
|
|
145
|
+
- emojis
|
|
146
|
+
- registryUrl
|
|
147
|
+
- versionImage
|
|
148
|
+
additionalProperties: false
|
|
149
|
+
tocHeading:
|
|
150
|
+
description: Markdown heading used to generate table of contents
|
|
151
|
+
default: Table of contents
|
|
152
|
+
type: string
|
|
153
|
+
usageFile:
|
|
154
|
+
description: Workspace level usage file
|
|
155
|
+
default: ""
|
|
156
|
+
type: string
|
|
157
|
+
usageHeading:
|
|
158
|
+
description: Markdown heading used to generate usage example
|
|
159
|
+
default: Usage
|
|
160
|
+
type: string
|
|
161
|
+
verbose:
|
|
162
|
+
alias: v
|
|
163
|
+
description: whether or not to display verbose logging
|
|
164
|
+
default: false
|
|
165
|
+
type: boolean
|
|
166
|
+
required:
|
|
167
|
+
- affectedRegexes
|
|
168
|
+
- defaultLanguage
|
|
169
|
+
- disableEmojis
|
|
170
|
+
- disableMarkdownHeadings
|
|
171
|
+
- enableToc
|
|
172
|
+
- enableUsage
|
|
173
|
+
- headings
|
|
174
|
+
- onlyReadmes
|
|
175
|
+
- onlyShowPublicPackages
|
|
176
|
+
- removeScope
|
|
177
|
+
- templates
|
|
178
|
+
- tocHeading
|
|
179
|
+
- usageFile
|
|
180
|
+
- usageHeading
|
|
181
|
+
- verbose
|
|
182
|
+
additionalProperties: false
|