We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84ff1ee commit b05b011Copy full SHA for b05b011
src/cli/commands/init.ts
@@ -73,16 +73,23 @@ export default declareCommand({
73
74
await writeFile(
75
"conver.json",
76
- JSON.stringify(
77
- {
78
- $schema: `./node_modules/conventional-versioning/schema.json`,
79
- options: {},
80
- branch,
81
- base,
82
- },
83
- undefined,
84
- 2,
85
- ),
+ [
+ "/*",
+ " This config file manages the options and current state for versioning.",
+ " See https://github.com/tscpp/conventional-versioning#readme.",
+ "*/",
+ ].join("\n") +
+ "\n" +
+ JSON.stringify(
+ {
+ $schema: `./node_modules/conventional-versioning/schema.json`,
86
+ options: {},
87
+ branch,
88
+ base,
89
+ },
90
+ undefined,
91
+ 2,
92
+ ),
93
);
94
95
logger.info("Created conver.json file!");
0 commit comments