juisy 2.0.0-beta.1 → 2.0.0-beta.8
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/bin/cli/index.js +1 -1
- package/dist/cli/index.d.ts +0 -1
- package/dist/cli/index.js +118 -17
- package/dist/cli/plugins/register-bump-version-command/cmds/index.d.ts +3 -0
- package/dist/cli/plugins/register-bump-version-command/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/templater/index.js +1 -1
- package/package.json +194 -193
- package/dist/cli/plugins/register-test-command/augment.d.ts +0 -3
package/bin/cli/index.js
CHANGED
package/dist/cli/index.d.ts
CHANGED
|
@@ -26,7 +26,6 @@ export type * from './plugins/register-docs-commands/augment';
|
|
|
26
26
|
export type * from './plugins/register-git-hooks-commands/augment';
|
|
27
27
|
export type * from './plugins/register-lint-commands/augment';
|
|
28
28
|
export type * from './plugins/register-release-command/augment';
|
|
29
|
-
export type * from './plugins/register-test-command/augment';
|
|
30
29
|
export type * from './plugins/default-command-fallbacks/augment';
|
|
31
30
|
export type * from './plugins/command-handler-injections/augment';
|
|
32
31
|
export type * from './plugins/command-meta/augment';
|
package/dist/cli/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* juisy v2.0.0-beta.
|
|
2
|
+
* juisy v2.0.0-beta.8
|
|
3
3
|
* Copyright © 2022-Present Hervé Perchec
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -17,10 +17,11 @@ import chalk from 'chalk';
|
|
|
17
17
|
import indent from 'indent-string';
|
|
18
18
|
import _stripAnsi from 'strip-ansi';
|
|
19
19
|
import dotenv from '@dotenvx/dotenvx';
|
|
20
|
+
import semver from 'semver';
|
|
21
|
+
import { getPackageInfo } from 'juisy';
|
|
20
22
|
import kebabcase from 'lodash.kebabcase';
|
|
21
23
|
import { ReadmeTemplater } from 'juisy/templater';
|
|
22
24
|
import path from 'node:path';
|
|
23
|
-
import { getPackageInfo } from 'juisy';
|
|
24
25
|
import { ESLint } from 'eslint';
|
|
25
26
|
import fs$1 from 'node:fs';
|
|
26
27
|
import yargsParser from 'yargs-parser';
|
|
@@ -182,13 +183,7 @@ const proxify = (target) => {
|
|
|
182
183
|
return tmp;
|
|
183
184
|
};
|
|
184
185
|
const defaultGlobalSettings = {
|
|
185
|
-
|
|
186
|
-
git: {
|
|
187
|
-
commitMessage: "chore(release): v${version}",
|
|
188
|
-
requireBranch: "main",
|
|
189
|
-
tagAnnotation: "v${version}"
|
|
190
|
-
}
|
|
191
|
-
}
|
|
186
|
+
// ...
|
|
192
187
|
};
|
|
193
188
|
const defaultCommands = [];
|
|
194
189
|
const registeredPlugins = [];
|
|
@@ -623,6 +618,103 @@ const LoadEnvFile = new Plugin("built-in:load-env-file", {
|
|
|
623
618
|
}
|
|
624
619
|
});
|
|
625
620
|
|
|
621
|
+
const bumpVersion = new Command({
|
|
622
|
+
command: "bump-version",
|
|
623
|
+
describe: "Bump version in package.json file",
|
|
624
|
+
meta: {
|
|
625
|
+
private: true
|
|
626
|
+
},
|
|
627
|
+
builder: function(cli) {
|
|
628
|
+
cli.option("p", {
|
|
629
|
+
alias: "preid",
|
|
630
|
+
type: "string",
|
|
631
|
+
describe: "Pre-release id",
|
|
632
|
+
requiresArg: true
|
|
633
|
+
});
|
|
634
|
+
return cli;
|
|
635
|
+
},
|
|
636
|
+
async handler(argv) {
|
|
637
|
+
const { $style, step, substep, error } = OutputUtils;
|
|
638
|
+
const { run, prompts, abort } = InterfaceUtils;
|
|
639
|
+
const packageJson = getPackageInfo();
|
|
640
|
+
let targetVersion;
|
|
641
|
+
const currentVersion = packageJson.version;
|
|
642
|
+
packageJson.name;
|
|
643
|
+
const preId = argv.preid || semver.prerelease(currentVersion) && semver.prerelease(currentVersion)[0];
|
|
644
|
+
const inc = (i) => semver.inc(currentVersion, i, preId);
|
|
645
|
+
const versionIncrements = [
|
|
646
|
+
"patch",
|
|
647
|
+
"minor",
|
|
648
|
+
"major",
|
|
649
|
+
...preId ? ["prepatch", "preminor", "premajor", "prerelease"] : []
|
|
650
|
+
];
|
|
651
|
+
step("Bump version");
|
|
652
|
+
const { release } = await prompts([
|
|
653
|
+
{
|
|
654
|
+
type: "select",
|
|
655
|
+
name: "release",
|
|
656
|
+
message: "Release type:",
|
|
657
|
+
choices: versionIncrements.map((i) => ({ title: `${i} (${inc(i)})`, value: inc(i) })).concat([{ title: "custom", value: "custom" }])
|
|
658
|
+
}
|
|
659
|
+
]);
|
|
660
|
+
if (release === "custom") {
|
|
661
|
+
const { version: customVersion } = await prompts([
|
|
662
|
+
{
|
|
663
|
+
type: "text",
|
|
664
|
+
name: "version",
|
|
665
|
+
message: "New custom version:",
|
|
666
|
+
initial: currentVersion,
|
|
667
|
+
validate: (value) => Boolean(semver.valid(value))
|
|
668
|
+
}
|
|
669
|
+
]);
|
|
670
|
+
targetVersion = customVersion;
|
|
671
|
+
} else {
|
|
672
|
+
targetVersion = release;
|
|
673
|
+
}
|
|
674
|
+
const { yes } = await prompts([
|
|
675
|
+
{
|
|
676
|
+
type: "confirm",
|
|
677
|
+
name: "yes",
|
|
678
|
+
message: `Releasing v${targetVersion}. Confirm?`,
|
|
679
|
+
initial: true
|
|
680
|
+
}
|
|
681
|
+
]);
|
|
682
|
+
if (!yes) {
|
|
683
|
+
abort();
|
|
684
|
+
return;
|
|
685
|
+
}
|
|
686
|
+
this.log();
|
|
687
|
+
let commandError = false;
|
|
688
|
+
try {
|
|
689
|
+
await run("npm", [
|
|
690
|
+
"--no-git-tag-version",
|
|
691
|
+
"version",
|
|
692
|
+
targetVersion
|
|
693
|
+
], { stdio: "inherit" });
|
|
694
|
+
} catch (e) {
|
|
695
|
+
commandError = e;
|
|
696
|
+
}
|
|
697
|
+
if (commandError) {
|
|
698
|
+
substep($style.red("❌ An error has occured."), { last: true });
|
|
699
|
+
error("An error has occured.", commandError);
|
|
700
|
+
abort(1);
|
|
701
|
+
} else {
|
|
702
|
+
substep($style.green("✔ Version successfuly bumped"), { last: true });
|
|
703
|
+
this.log();
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
});
|
|
707
|
+
|
|
708
|
+
const RegisterBumpVersionCommand = new Plugin("built-in:register-bump-version-command", {
|
|
709
|
+
beforeCreate({ defineDefaultCommand, defineSettings, builder, factoryOptions }) {
|
|
710
|
+
defineDefaultCommand({
|
|
711
|
+
fullSignature: "bump-version",
|
|
712
|
+
commandObject: bumpVersion,
|
|
713
|
+
children: []
|
|
714
|
+
});
|
|
715
|
+
}
|
|
716
|
+
});
|
|
717
|
+
|
|
626
718
|
const changelog = new Command({
|
|
627
719
|
command: "changelog",
|
|
628
720
|
describe: "Generate CHANGELOG file",
|
|
@@ -669,7 +761,8 @@ const RegisterChangelogCommand = new Plugin("built-in:register-changelog-command
|
|
|
669
761
|
defineSettings("changelog", {
|
|
670
762
|
infile: "CHANGELOG.md",
|
|
671
763
|
preset: "angular",
|
|
672
|
-
sameFile: true
|
|
764
|
+
sameFile: true,
|
|
765
|
+
onReleaseConfig: {}
|
|
673
766
|
});
|
|
674
767
|
defineDefaultCommand({
|
|
675
768
|
fullSignature: "changelog",
|
|
@@ -931,7 +1024,7 @@ const lint = new Command({
|
|
|
931
1024
|
private: true
|
|
932
1025
|
},
|
|
933
1026
|
builder(cli) {
|
|
934
|
-
cli.option("fix", {
|
|
1027
|
+
cli.strict(false).option("fix", {
|
|
935
1028
|
alias: "f",
|
|
936
1029
|
describe: "Automatically fix problems",
|
|
937
1030
|
type: "boolean",
|
|
@@ -1244,8 +1337,6 @@ const release = new Command({
|
|
|
1244
1337
|
async handler(argv) {
|
|
1245
1338
|
const { $style, step, substep, error, wait } = OutputUtils;
|
|
1246
1339
|
const { abort, run } = InterfaceUtils;
|
|
1247
|
-
console.log("argv ? ", argv);
|
|
1248
|
-
abort(1);
|
|
1249
1340
|
step("Prepare for release");
|
|
1250
1341
|
const tempConfigFilePath = "./__TEMP_RELEASE_IT_CONFIG__.json";
|
|
1251
1342
|
const releaseItCmdArgs = [];
|
|
@@ -1296,6 +1387,7 @@ const release = new Command({
|
|
|
1296
1387
|
strictSemVer: onReleaseConfig.strictSemVer
|
|
1297
1388
|
};
|
|
1298
1389
|
tempConfig = {
|
|
1390
|
+
...releaseSettings,
|
|
1299
1391
|
plugins: {
|
|
1300
1392
|
"@release-it/conventional-changelog": releaseItChangelogConfig
|
|
1301
1393
|
}
|
|
@@ -1307,9 +1399,13 @@ const release = new Command({
|
|
|
1307
1399
|
if (argv["dry-run"]) {
|
|
1308
1400
|
releaseItCmdArgs.push("--dry-run");
|
|
1309
1401
|
}
|
|
1310
|
-
if (argv.increment) {
|
|
1311
|
-
|
|
1312
|
-
|
|
1402
|
+
if (argv.increment !== undefined) {
|
|
1403
|
+
if (argv.increment === false) {
|
|
1404
|
+
releaseItCmdArgs.push("--no-increment");
|
|
1405
|
+
} else {
|
|
1406
|
+
releaseItCmdArgs.push("--increment");
|
|
1407
|
+
releaseItCmdArgs.push(argv.increment);
|
|
1408
|
+
}
|
|
1313
1409
|
}
|
|
1314
1410
|
if (argv.ci) {
|
|
1315
1411
|
releaseItCmdArgs.push("--ci");
|
|
@@ -1357,7 +1453,11 @@ const release = new Command({
|
|
|
1357
1453
|
const RegisterReleaseCommand = new Plugin("built-in:register-release-command", {
|
|
1358
1454
|
beforeCreate({ defineDefaultCommand, defineSettings, builder, factoryOptions }) {
|
|
1359
1455
|
defineSettings("release", {
|
|
1360
|
-
|
|
1456
|
+
git: {
|
|
1457
|
+
commitMessage: "chore(release): v${version}",
|
|
1458
|
+
requireBranch: "main",
|
|
1459
|
+
tagAnnotation: "v${version}"
|
|
1460
|
+
}
|
|
1361
1461
|
});
|
|
1362
1462
|
defineDefaultCommand({
|
|
1363
1463
|
fullSignature: "release",
|
|
@@ -1567,6 +1667,7 @@ globalThis.CLI = {
|
|
|
1567
1667
|
OutputUtils
|
|
1568
1668
|
};
|
|
1569
1669
|
CLIFactory.use(LoadEnvFile);
|
|
1670
|
+
CLIFactory.use(RegisterBumpVersionCommand);
|
|
1570
1671
|
CLIFactory.use(RegisterChangelogCommand);
|
|
1571
1672
|
CLIFactory.use(RegisterDocsCommands);
|
|
1572
1673
|
CLIFactory.use(RegisterGitHooksCommands);
|
package/dist/index.js
CHANGED
package/dist/templater/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,193 +1,194 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "juisy",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
4
|
-
"description": "Make your JavaScript (and/or TypeScript) project juicy!",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"files": [
|
|
7
|
-
"bin",
|
|
8
|
-
"dist"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
"audit": "ncu
|
|
48
|
-
"
|
|
49
|
-
"docs": "
|
|
50
|
-
"docs:
|
|
51
|
-
"docs:cli": "
|
|
52
|
-
"docs:cli:
|
|
53
|
-
"
|
|
54
|
-
"example:
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"test": "
|
|
59
|
-
"test:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
"@commitlint/
|
|
90
|
-
"@
|
|
91
|
-
"@
|
|
92
|
-
"@
|
|
93
|
-
"@
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"markdownlint-cli2": "^0.
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"@
|
|
116
|
-
"@
|
|
117
|
-
"@
|
|
118
|
-
"@
|
|
119
|
-
"@types/conventional-changelog": "^
|
|
120
|
-
"@types/
|
|
121
|
-
"@types/
|
|
122
|
-
"@types/
|
|
123
|
-
"@types/
|
|
124
|
-
"@types/lodash.
|
|
125
|
-
"@types/lodash.
|
|
126
|
-
"@types/lodash.
|
|
127
|
-
"@types/
|
|
128
|
-
"@types/
|
|
129
|
-
"@types/
|
|
130
|
-
"@types/yargs": "^17.0.33",
|
|
131
|
-
"@types/yargs-parser": "^21.0.3",
|
|
132
|
-
"@typescript-eslint/eslint-plugin": "^8.18.1",
|
|
133
|
-
"@vitest/coverage-v8": "^2.1.8",
|
|
134
|
-
"@vitest/ui": "^2.1.8",
|
|
135
|
-
"cpy-cli": "^5.0.0",
|
|
136
|
-
"eslint": "^9.17.0",
|
|
137
|
-
"happy-dom": "^15.11.7",
|
|
138
|
-
"json-schema-to-ts": "^3.1.1",
|
|
139
|
-
"lint-staged": "^14.0.1",
|
|
140
|
-
"markdown-table": "^3.0.4",
|
|
141
|
-
"npm-check-updates": "^17.1.12",
|
|
142
|
-
"quicktype": "^23.0.170",
|
|
143
|
-
"typescript": "^5.7.2",
|
|
144
|
-
"vite": "^5.4.11",
|
|
145
|
-
"vite-plugin-dts": "^4.3.0",
|
|
146
|
-
"vite-plugin-generate-file": "^0.2.0",
|
|
147
|
-
"vitest": "^2.1.8"
|
|
148
|
-
},
|
|
149
|
-
"dependencies": {
|
|
150
|
-
"@dotenvx/dotenvx": "^1.31.0",
|
|
151
|
-
"ascii-tree": "^0.3.0",
|
|
152
|
-
"chalk": "^4.1.2",
|
|
153
|
-
"conventional-recommended-bump": "^10.0.0",
|
|
154
|
-
"deepmerge": "^4.3.1",
|
|
155
|
-
"ejs": "^3.1.10",
|
|
156
|
-
"execa": "^8",
|
|
157
|
-
"find-up": "^7.0.0",
|
|
158
|
-
"fs-extra": "^11.2.0",
|
|
159
|
-
"github-slugger": "^2.0.0",
|
|
160
|
-
"glob": "^11.0.0",
|
|
161
|
-
"handlebars": "^4.7.8",
|
|
162
|
-
"import-single-ts": "^1.2.0",
|
|
163
|
-
"indent-string": "^5.0.0",
|
|
164
|
-
"json-2-csv": "^5.5.7",
|
|
165
|
-
"jstoxml": "^5.0.2",
|
|
166
|
-
"lodash.get": "^4.4.2",
|
|
167
|
-
"lodash.kebabcase": "^4.1.1",
|
|
168
|
-
"lodash.merge": "^4.6.2",
|
|
169
|
-
"lodash.set": "^4.3.2",
|
|
170
|
-
"loglevel": "^1.9.2",
|
|
171
|
-
"markdown-toc": "^1.2.0",
|
|
172
|
-
"markdown-utils": "^1.0.0",
|
|
173
|
-
"package-json-type": "^1.0.3",
|
|
174
|
-
"pkg-dir": "^8.0.0",
|
|
175
|
-
"prompts": "^2.4.2",
|
|
176
|
-
"remark": "^15.0.1",
|
|
177
|
-
"remark-frontmatter": "^5.0.0",
|
|
178
|
-
"remark-toc": "^9.0.0",
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"typedoc
|
|
184
|
-
"typedoc-plugin-
|
|
185
|
-
"typedoc-
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"yargs
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "juisy",
|
|
3
|
+
"version": "2.0.0-beta.8",
|
|
4
|
+
"description": "Make your JavaScript (and/or TypeScript) project juicy!",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"bin",
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"engines": {
|
|
11
|
+
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
|
|
12
|
+
},
|
|
13
|
+
"imports": {
|
|
14
|
+
"#juisy": {
|
|
15
|
+
"types": "./dist/index.d.ts",
|
|
16
|
+
"import": "./dist/index.js"
|
|
17
|
+
},
|
|
18
|
+
"#juisy/cli": {
|
|
19
|
+
"types": "./dist/cli/index.d.ts",
|
|
20
|
+
"import": "./dist/cli/index.js"
|
|
21
|
+
},
|
|
22
|
+
"#juisy/templater": {
|
|
23
|
+
"types": "./dist/templater/index.d.ts",
|
|
24
|
+
"import": "./dist/templater/index.js"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"import": "./dist/index.js"
|
|
31
|
+
},
|
|
32
|
+
"./cli": {
|
|
33
|
+
"types": "./dist/cli/index.d.ts",
|
|
34
|
+
"import": "./dist/cli/index.js"
|
|
35
|
+
},
|
|
36
|
+
"./templater": {
|
|
37
|
+
"types": "./dist/templater/index.d.ts",
|
|
38
|
+
"import": "./dist/templater/index.js"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"access": "public"
|
|
43
|
+
},
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "vite build",
|
|
46
|
+
"audit": "ncu && npm audit",
|
|
47
|
+
"audit:fix": "ncu --interactive",
|
|
48
|
+
"docs": "npm run docs:cli && npm run docs:api",
|
|
49
|
+
"docs:api": "node ./bin/cli docs generate:api",
|
|
50
|
+
"docs:cli": "npm run docs:cli:private && npm run docs:cli:public",
|
|
51
|
+
"docs:cli:private": "node ./bin/cli docs generate:cli -c ./docs/cli/private/config.js",
|
|
52
|
+
"docs:cli:public": "node ./bin/cli docs generate:cli -c ./docs/cli/public/config.js",
|
|
53
|
+
"example:reset": "git checkout --no-overlay -- example && cd example && git clean -fdX",
|
|
54
|
+
"example:test": "npm run example:reset && cd example && npm install -D juisy@file:../ && npx juisy squeeze && npm run docs:readme",
|
|
55
|
+
"print:globals": "node --no-warnings ./bin/cli print:globals",
|
|
56
|
+
"release": "release-it",
|
|
57
|
+
"test": "node ./bin/cli test",
|
|
58
|
+
"test:dev": "npm test -- --watch",
|
|
59
|
+
"test:ui": "npm test -- --ui"
|
|
60
|
+
},
|
|
61
|
+
"repository": {
|
|
62
|
+
"type": "git",
|
|
63
|
+
"url": "git+https://gitlab.com/hperchec/juisy.git"
|
|
64
|
+
},
|
|
65
|
+
"keywords": [
|
|
66
|
+
"js",
|
|
67
|
+
"build",
|
|
68
|
+
"release",
|
|
69
|
+
"changelog",
|
|
70
|
+
"bin",
|
|
71
|
+
"cmd",
|
|
72
|
+
"easy"
|
|
73
|
+
],
|
|
74
|
+
"author": {
|
|
75
|
+
"name": "Hervé Perchec",
|
|
76
|
+
"email": "contact@herve-perchec.com",
|
|
77
|
+
"url": "https://gitlab.com/herveperchec"
|
|
78
|
+
},
|
|
79
|
+
"license": "GPL-3.0-only",
|
|
80
|
+
"bugs": {
|
|
81
|
+
"url": "https://gitlab.com/hperchec/juisy/issues"
|
|
82
|
+
},
|
|
83
|
+
"homepage": "https://gitlab.com/hperchec/juisy#readme",
|
|
84
|
+
"bin": {
|
|
85
|
+
"juisy": "./bin/cli/index.js"
|
|
86
|
+
},
|
|
87
|
+
"peerDependencies": {
|
|
88
|
+
"@commitlint/cli": "^19.6.1",
|
|
89
|
+
"@commitlint/config-conventional": "^19.6.0",
|
|
90
|
+
"@github/markdownlint-github": "^0.7.0",
|
|
91
|
+
"@release-it/conventional-changelog": "^9.0.4",
|
|
92
|
+
"@stylistic/eslint-plugin": "^2",
|
|
93
|
+
"@typescript-eslint/eslint-plugin": "^8",
|
|
94
|
+
"chalk": "^4.1.2",
|
|
95
|
+
"conventional-changelog-cli": "^5.0.0",
|
|
96
|
+
"eslint": "^9",
|
|
97
|
+
"lint-staged": "^14.0.1",
|
|
98
|
+
"markdownlint-cli2": "^0.12.0",
|
|
99
|
+
"markdownlint-cli2-formatter-pretty": "^0.0.7",
|
|
100
|
+
"prompts": "^2.4.2",
|
|
101
|
+
"release-it": "^17.11.0",
|
|
102
|
+
"simple-git-hooks": "^2.9.0",
|
|
103
|
+
"yargs": "^17.7.2"
|
|
104
|
+
},
|
|
105
|
+
"peerDependenciesMeta": {
|
|
106
|
+
"@github/markdownlint-github": {
|
|
107
|
+
"optional": true
|
|
108
|
+
},
|
|
109
|
+
"markdownlint-cli2-formatter-pretty": {
|
|
110
|
+
"optional": true
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"devDependencies": {
|
|
114
|
+
"@babel/eslint-parser": "^7.25.9",
|
|
115
|
+
"@conventional-changelog/git-client": "^1.0.1",
|
|
116
|
+
"@rollup/plugin-typescript": "^12.1.2",
|
|
117
|
+
"@stylistic/eslint-plugin": "^2.12.1",
|
|
118
|
+
"@types/conventional-changelog": "^3.1.5",
|
|
119
|
+
"@types/conventional-changelog-config-spec": "^2.1.5",
|
|
120
|
+
"@types/ejs": "^3.1.5",
|
|
121
|
+
"@types/fs-extra": "^11.0.4",
|
|
122
|
+
"@types/lint-staged": "^13.3.0",
|
|
123
|
+
"@types/lodash.get": "^4.4.9",
|
|
124
|
+
"@types/lodash.kebabcase": "^4.1.9",
|
|
125
|
+
"@types/lodash.merge": "^4.6.9",
|
|
126
|
+
"@types/lodash.set": "^4.3.9",
|
|
127
|
+
"@types/node": "^22.10.2",
|
|
128
|
+
"@types/prompts": "^2.4.9",
|
|
129
|
+
"@types/semver": "^7.5.8",
|
|
130
|
+
"@types/yargs": "^17.0.33",
|
|
131
|
+
"@types/yargs-parser": "^21.0.3",
|
|
132
|
+
"@typescript-eslint/eslint-plugin": "^8.18.1",
|
|
133
|
+
"@vitest/coverage-v8": "^2.1.8",
|
|
134
|
+
"@vitest/ui": "^2.1.8",
|
|
135
|
+
"cpy-cli": "^5.0.0",
|
|
136
|
+
"eslint": "^9.17.0",
|
|
137
|
+
"happy-dom": "^15.11.7",
|
|
138
|
+
"json-schema-to-ts": "^3.1.1",
|
|
139
|
+
"lint-staged": "^14.0.1",
|
|
140
|
+
"markdown-table": "^3.0.4",
|
|
141
|
+
"npm-check-updates": "^17.1.12",
|
|
142
|
+
"quicktype": "^23.0.170",
|
|
143
|
+
"typescript": "^5.7.2",
|
|
144
|
+
"vite": "^5.4.11",
|
|
145
|
+
"vite-plugin-dts": "^4.3.0",
|
|
146
|
+
"vite-plugin-generate-file": "^0.2.0",
|
|
147
|
+
"vitest": "^2.1.8"
|
|
148
|
+
},
|
|
149
|
+
"dependencies": {
|
|
150
|
+
"@dotenvx/dotenvx": "^1.31.0",
|
|
151
|
+
"ascii-tree": "^0.3.0",
|
|
152
|
+
"chalk": "^4.1.2",
|
|
153
|
+
"conventional-recommended-bump": "^10.0.0",
|
|
154
|
+
"deepmerge": "^4.3.1",
|
|
155
|
+
"ejs": "^3.1.10",
|
|
156
|
+
"execa": "^8",
|
|
157
|
+
"find-up": "^7.0.0",
|
|
158
|
+
"fs-extra": "^11.2.0",
|
|
159
|
+
"github-slugger": "^2.0.0",
|
|
160
|
+
"glob": "^11.0.0",
|
|
161
|
+
"handlebars": "^4.7.8",
|
|
162
|
+
"import-single-ts": "^1.2.0",
|
|
163
|
+
"indent-string": "^5.0.0",
|
|
164
|
+
"json-2-csv": "^5.5.7",
|
|
165
|
+
"jstoxml": "^5.0.2",
|
|
166
|
+
"lodash.get": "^4.4.2",
|
|
167
|
+
"lodash.kebabcase": "^4.1.1",
|
|
168
|
+
"lodash.merge": "^4.6.2",
|
|
169
|
+
"lodash.set": "^4.3.2",
|
|
170
|
+
"loglevel": "^1.9.2",
|
|
171
|
+
"markdown-toc": "^1.2.0",
|
|
172
|
+
"markdown-utils": "^1.0.0",
|
|
173
|
+
"package-json-type": "^1.0.3",
|
|
174
|
+
"pkg-dir": "^8.0.0",
|
|
175
|
+
"prompts": "^2.4.2",
|
|
176
|
+
"remark": "^15.0.1",
|
|
177
|
+
"remark-frontmatter": "^5.0.0",
|
|
178
|
+
"remark-toc": "^9.0.0",
|
|
179
|
+
"semver": "^7.7.1",
|
|
180
|
+
"simple-git-hooks": "^2.9.0",
|
|
181
|
+
"strip-ansi": "^7.1.0",
|
|
182
|
+
"ts-json-schema-generator": "^2.3.0",
|
|
183
|
+
"typedoc": "^0.27.5",
|
|
184
|
+
"typedoc-plugin-frontmatter": "^1.1.2",
|
|
185
|
+
"typedoc-plugin-markdown": "^4.3.3",
|
|
186
|
+
"typedoc-vitepress-theme": "^1.1.1",
|
|
187
|
+
"yaml": "^2.6.1",
|
|
188
|
+
"yargs": "^17.7.2",
|
|
189
|
+
"yargs-parser": "^21.1.1"
|
|
190
|
+
},
|
|
191
|
+
"release-it": {
|
|
192
|
+
"git": false
|
|
193
|
+
}
|
|
194
|
+
}
|