juisy 2.0.0-beta.10 → 2.0.0-beta.11
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/cmds/public/print-globals.js +1 -1
- package/dist/cli/index.js +4 -5
- package/dist/cli/plugins/register-lint-commands/augment.d.ts +2 -3
- package/dist/cli/plugins/register-lint-commands/settings.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/project-globals.d.ts +1 -1
- package/dist/templater/index.js +2 -2
- package/dist/vite/plugins/inject-css-variables/index.d.ts +22 -0
- package/dist/vite/plugins/inject-css-variables/index.js +60 -0
- package/package.json +200 -201
|
@@ -14,7 +14,7 @@ export default new CLI.Command({
|
|
|
14
14
|
cli.option('t', {
|
|
15
15
|
alias: 'target',
|
|
16
16
|
type: 'string',
|
|
17
|
-
describe: 'The target file exporting project globals (fallback to ./globals.
|
|
17
|
+
describe: 'The target file exporting project globals (fallback to ./project.globals.js)'
|
|
18
18
|
})
|
|
19
19
|
return cli
|
|
20
20
|
},
|
package/dist/cli/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* juisy v2.0.0-beta.
|
|
2
|
+
* juisy v2.0.0-beta.11
|
|
3
3
|
* Copyright © 2022-Present Hervé Perchec
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -822,6 +822,7 @@ const docsGenerateReadme = new Command({
|
|
|
822
822
|
alias: "c",
|
|
823
823
|
describe: "Path to config file",
|
|
824
824
|
type: "string",
|
|
825
|
+
requiresArg: true,
|
|
825
826
|
default: "./docs/readme/config.js"
|
|
826
827
|
});
|
|
827
828
|
cli.config(cli.getSettings("docs.readme"));
|
|
@@ -1082,7 +1083,7 @@ const lintCommit = new Command({
|
|
|
1082
1083
|
});
|
|
1083
1084
|
const lintSettings = cli.getSettings("lint.commit");
|
|
1084
1085
|
if (lintSettings?.config) {
|
|
1085
|
-
cli.config(lintSettings);
|
|
1086
|
+
cli.config({ config: lintSettings.config });
|
|
1086
1087
|
}
|
|
1087
1088
|
return cli;
|
|
1088
1089
|
},
|
|
@@ -1261,9 +1262,7 @@ const RegisterLintCommands = new Plugin("built-in:register-lint-commands", {
|
|
|
1261
1262
|
config: "eslint.config.js"
|
|
1262
1263
|
},
|
|
1263
1264
|
commit: {
|
|
1264
|
-
|
|
1265
|
-
"@commitlint/config-conventional"
|
|
1266
|
-
]
|
|
1265
|
+
// ...
|
|
1267
1266
|
},
|
|
1268
1267
|
markdown: [],
|
|
1269
1268
|
staged: {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { default as ESLint } from 'eslint';
|
|
2
2
|
import { default as LintStaged } from 'lint-staged';
|
|
3
|
+
import { UserConfig as CommitLintConfig } from '@commitlint/types';
|
|
3
4
|
import { SettingsLintMarkdown } from './types';
|
|
4
5
|
declare module '../../types' {
|
|
5
6
|
interface GlobalSettings {
|
|
@@ -14,10 +15,8 @@ declare module '../../types' {
|
|
|
14
15
|
default?: UserProvidedConfigSetting<ESLint.Linter.LegacyConfig | ESLint.Linter.Config | ESLint.Linter.Config[]>;
|
|
15
16
|
/**
|
|
16
17
|
* Configuration for commitlint
|
|
17
|
-
* See also: https://github.com/conventional-changelog/commitlint
|
|
18
|
-
* Default: `{ extends: [ '@commitlint/config-conventional' ] }`
|
|
19
18
|
*/
|
|
20
|
-
commit?: UserProvidedConfigSetting<
|
|
19
|
+
commit?: UserProvidedConfigSetting<CommitLintConfig>;
|
|
21
20
|
/**
|
|
22
21
|
* Configuration for markdownlint (markdownlint-cli2)
|
|
23
22
|
*/
|
|
@@ -5,7 +5,7 @@ import { SettingsLintMarkdown } from './types';
|
|
|
5
5
|
*/
|
|
6
6
|
export default function resolveSettings(settings?: Required<GlobalSettings>['lint']): {
|
|
7
7
|
default?: import('../..').UserProvidedConfigSetting<import("eslint").Linter.LegacyConfig | import("eslint").Linter.Config | import("eslint").Linter.Config[]>;
|
|
8
|
-
commit?: import('../..').UserProvidedConfigSetting<
|
|
8
|
+
commit?: import('../..').UserProvidedConfigSetting<import('@commitlint/types').UserConfig>;
|
|
9
9
|
markdown?: SettingsLintMarkdown;
|
|
10
10
|
staged?: import('../..').UserProvidedConfigSetting<import('lint-staged').Config>;
|
|
11
11
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* juisy v2.0.0-beta.
|
|
2
|
+
* juisy v2.0.0-beta.11
|
|
3
3
|
* Copyright © 2022-Present Hervé Perchec
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -241,7 +241,7 @@ function defineGlobals(config, builder) {
|
|
|
241
241
|
};
|
|
242
242
|
return deepmerge(GLOBALS, JSON.parse(JSON.stringify(builder(ctx))));
|
|
243
243
|
}
|
|
244
|
-
async function getProjectGlobals(filePath = "./globals.
|
|
244
|
+
async function getProjectGlobals(filePath = "./project.globals.js") {
|
|
245
245
|
return (await import(pathToFileURL(path.resolve(filePath)))).default;
|
|
246
246
|
}
|
|
247
247
|
|
|
@@ -66,7 +66,7 @@ export declare function defineGlobals(config: {
|
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
68
68
|
* Get project globals
|
|
69
|
-
* @param filePath - The filePath. Default is `'./globals.
|
|
69
|
+
* @param filePath - The filePath. Default is `'./project.globals.js'`
|
|
70
70
|
* @returns The resolved project globals object
|
|
71
71
|
*/
|
|
72
72
|
export declare function getProjectGlobals(filePath?: string): Promise<ProjectGlobals>;
|
package/dist/templater/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* juisy v2.0.0-beta.
|
|
2
|
+
* juisy v2.0.0-beta.11
|
|
3
3
|
* Copyright © 2022-Present Hervé Perchec
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -184,7 +184,7 @@ class ReadmeTemplater {
|
|
|
184
184
|
}, data), options.data);
|
|
185
185
|
let template = await fs.readFile(processedConfig.templatePath, { encoding: "utf8" });
|
|
186
186
|
if (processedConfig.appendAutoGenMessage) {
|
|
187
|
-
template += "\n----\n
|
|
187
|
+
template += "\n----\n<!-- markdownlint-disable-next-line line-length -->\n*<%= $config.fileName %> - this file was auto generated with [juisy](https://www.npmjs.com/package/juisy) README templater. Don't edit it.*\n";
|
|
188
188
|
}
|
|
189
189
|
return await this.templater.render(template, ejsData, processedConfig.ejsOptions);
|
|
190
190
|
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Plugin } from 'vite';
|
|
2
|
+
export type Options = {
|
|
3
|
+
/**
|
|
4
|
+
* The virtual module ID
|
|
5
|
+
*/
|
|
6
|
+
moduleId: string;
|
|
7
|
+
/**
|
|
8
|
+
* The CSS selector. Default is `:root`
|
|
9
|
+
*/
|
|
10
|
+
selector?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The CSS variables object
|
|
13
|
+
*/
|
|
14
|
+
variables: Record<string, string>;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Inject CSS variables via a virtual module
|
|
18
|
+
* @param opts - The plugin options or an array of options
|
|
19
|
+
* @returns {Plugin} The vite plugin function
|
|
20
|
+
*/
|
|
21
|
+
export declare function injectCssVariables(optsArg?: Options | Array<Options>): Plugin;
|
|
22
|
+
export default injectCssVariables;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* juisy v2.0.0-beta.11
|
|
3
|
+
* Copyright © 2022-Present Hervé Perchec
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
function injectCssVariables(optsArg = []) {
|
|
7
|
+
const optionsArray = optsArg instanceof Array ? optsArg : [optsArg];
|
|
8
|
+
const virtualModules = /* @__PURE__ */ new Map();
|
|
9
|
+
for (let i = 0; i < optionsArray.length; i++) {
|
|
10
|
+
const options = optionsArray[i];
|
|
11
|
+
if (!options.moduleId || options.moduleId.trim().length === 0) {
|
|
12
|
+
throw new Error(`Please provide a non-empty module ID in plugin options at index ${i}`);
|
|
13
|
+
}
|
|
14
|
+
if (virtualModules.has(options.moduleId)) {
|
|
15
|
+
throw new Error(`The module ID "${options.moduleId}" is already used. Please provide another ID`);
|
|
16
|
+
}
|
|
17
|
+
virtualModules.set(options.moduleId, options);
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
name: "vite-plugin-inject-css-variables",
|
|
21
|
+
enforce: "pre",
|
|
22
|
+
resolveId(id) {
|
|
23
|
+
const options = virtualModules.get(id);
|
|
24
|
+
if (!options) {
|
|
25
|
+
return;
|
|
26
|
+
} else {
|
|
27
|
+
return "\0" + options.moduleId;
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
async load(id) {
|
|
31
|
+
const options = virtualModules.get(id.slice(1));
|
|
32
|
+
if (!id.startsWith("\0") || !options) {
|
|
33
|
+
return;
|
|
34
|
+
}
|
|
35
|
+
const { selector = ":root", variables } = options;
|
|
36
|
+
try {
|
|
37
|
+
if (Object.keys(variables).length === 0) {
|
|
38
|
+
return "";
|
|
39
|
+
}
|
|
40
|
+
for (const key in variables) {
|
|
41
|
+
if (typeof variables[key] === "string") {
|
|
42
|
+
continue;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
} catch (e) {
|
|
46
|
+
this.error(`The variables object for module "${options.moduleId}" is malformed`);
|
|
47
|
+
}
|
|
48
|
+
let css = `${selector} {
|
|
49
|
+
`;
|
|
50
|
+
for (const key in variables) {
|
|
51
|
+
css += ` --${key}: ${variables[key]};
|
|
52
|
+
`;
|
|
53
|
+
}
|
|
54
|
+
css += "}\n";
|
|
55
|
+
return css;
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export { injectCssVariables as default, injectCssVariables };
|
package/package.json
CHANGED
|
@@ -1,201 +1,200 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "juisy",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
4
|
-
"description": "Make
|
|
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
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"docs
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"test
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
},
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"url": "https://gitlab.com/
|
|
82
|
-
},
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
},
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
"
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
"@
|
|
93
|
-
"@
|
|
94
|
-
"@
|
|
95
|
-
"
|
|
96
|
-
"conventional-changelog
|
|
97
|
-
"eslint": "^
|
|
98
|
-
"
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
"@
|
|
122
|
-
"@
|
|
123
|
-
"@
|
|
124
|
-
"@
|
|
125
|
-
"@types/
|
|
126
|
-
"@types/
|
|
127
|
-
"@types/
|
|
128
|
-
"@types/
|
|
129
|
-
"@types/
|
|
130
|
-
"@types/lodash.
|
|
131
|
-
"@types/lodash.
|
|
132
|
-
"@types/
|
|
133
|
-
"@types/
|
|
134
|
-
"@types/
|
|
135
|
-
"@types/
|
|
136
|
-
"@types/
|
|
137
|
-
"@
|
|
138
|
-
"@
|
|
139
|
-
"@
|
|
140
|
-
"
|
|
141
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
"vite
|
|
153
|
-
"vite-plugin-
|
|
154
|
-
"
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
"
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
"
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
"
|
|
170
|
-
"
|
|
171
|
-
"
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
"
|
|
175
|
-
"lodash.
|
|
176
|
-
"lodash.
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
"
|
|
181
|
-
"
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
"
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
"
|
|
190
|
-
"
|
|
191
|
-
"
|
|
192
|
-
"
|
|
193
|
-
"
|
|
194
|
-
"
|
|
195
|
-
"yargs": "^
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "juisy",
|
|
3
|
+
"version": "2.0.0-beta.11",
|
|
4
|
+
"description": "Make you 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
|
+
"./vite-plugin-inject-css-variables": {
|
|
41
|
+
"types": "./dist/vite/plugins/inject-css-variables/index.d.ts",
|
|
42
|
+
"import": "./dist/vite/plugins/inject-css-variables/index.js"
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"publishConfig": {
|
|
46
|
+
"access": "public"
|
|
47
|
+
},
|
|
48
|
+
"scripts": {
|
|
49
|
+
"build": "vite build",
|
|
50
|
+
"audit": "ncu && npm audit",
|
|
51
|
+
"audit:fix": "ncu --interactive",
|
|
52
|
+
"docs": "npm run docs:cli && npm run docs:api",
|
|
53
|
+
"docs:api": "node ./bin/cli docs generate:api",
|
|
54
|
+
"docs:cli": "npm run docs:cli:private && npm run docs:cli:public",
|
|
55
|
+
"docs:cli:private": "node ./bin/cli docs generate:cli -c ./docs/cli/private/config.js",
|
|
56
|
+
"docs:cli:public": "node ./bin/cli docs generate:cli -c ./docs/cli/public/config.js",
|
|
57
|
+
"example:reset": "git checkout --no-overlay -- example && cd example && git clean -fdX",
|
|
58
|
+
"example:test": "npm run example:reset && cd example && npm install -D juisy@file:../ && npx juisy squeeze && npm run docs:readme",
|
|
59
|
+
"print:globals": "node --no-warnings ./bin/cli print:globals",
|
|
60
|
+
"release": "release-it --no-increment",
|
|
61
|
+
"test": "node ./bin/cli test",
|
|
62
|
+
"test:dev": "npm test -- --watch",
|
|
63
|
+
"test:ui": "npm test -- --ui"
|
|
64
|
+
},
|
|
65
|
+
"repository": {
|
|
66
|
+
"type": "git",
|
|
67
|
+
"url": "git+https://gitlab.com/hperchec/juisy.git"
|
|
68
|
+
},
|
|
69
|
+
"keywords": [
|
|
70
|
+
"js",
|
|
71
|
+
"build",
|
|
72
|
+
"release",
|
|
73
|
+
"changelog",
|
|
74
|
+
"bin",
|
|
75
|
+
"cmd",
|
|
76
|
+
"easy"
|
|
77
|
+
],
|
|
78
|
+
"author": {
|
|
79
|
+
"name": "Hervé Perchec",
|
|
80
|
+
"email": "contact@herve-perchec.com",
|
|
81
|
+
"url": "https://gitlab.com/herveperchec"
|
|
82
|
+
},
|
|
83
|
+
"license": "GPL-3.0-only",
|
|
84
|
+
"bugs": {
|
|
85
|
+
"url": "https://gitlab.com/hperchec/juisy/issues"
|
|
86
|
+
},
|
|
87
|
+
"homepage": "https://hperchec.gitlab.io/juisy",
|
|
88
|
+
"bin": {
|
|
89
|
+
"juisy": "./bin/cli/index.js"
|
|
90
|
+
},
|
|
91
|
+
"peerDependencies": {
|
|
92
|
+
"@commitlint/cli": "^19.6.1",
|
|
93
|
+
"@commitlint/config-conventional": "^19.6.0",
|
|
94
|
+
"@github/markdownlint-github": "^0.6.3",
|
|
95
|
+
"@release-it/bumper": "6.0.1",
|
|
96
|
+
"@release-it/conventional-changelog": "^9.0.4",
|
|
97
|
+
"@stylistic/eslint-plugin": "^2",
|
|
98
|
+
"@typescript-eslint/eslint-plugin": "^8",
|
|
99
|
+
"chalk": "^4.1.2",
|
|
100
|
+
"conventional-changelog-cli": "^5.0.0",
|
|
101
|
+
"eslint": "^9",
|
|
102
|
+
"lint-staged": "^14.0.1",
|
|
103
|
+
"markdownlint-cli2": "^0.12.0",
|
|
104
|
+
"markdownlint-cli2-formatter-pretty": "^0.0.7",
|
|
105
|
+
"prompts": "^2.4.2",
|
|
106
|
+
"release-it": "^17.11.0",
|
|
107
|
+
"simple-git-hooks": "^2.9.0",
|
|
108
|
+
"yargs": "^17.7.2"
|
|
109
|
+
},
|
|
110
|
+
"peerDependenciesMeta": {
|
|
111
|
+
"@release-it/bumper": {
|
|
112
|
+
"optional": true
|
|
113
|
+
},
|
|
114
|
+
"@release-it/conventional-changelog": {
|
|
115
|
+
"optional": true
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"devDependencies": {
|
|
119
|
+
"@babel/eslint-parser": "^7.25.9",
|
|
120
|
+
"@conventional-changelog/git-client": "^1.0.1",
|
|
121
|
+
"@rollup/plugin-typescript": "^12.1.2",
|
|
122
|
+
"@stylistic/eslint-plugin": "^2.12.1",
|
|
123
|
+
"@types/conventional-changelog": "^3.1.5",
|
|
124
|
+
"@types/conventional-changelog-config-spec": "^2.1.5",
|
|
125
|
+
"@types/ejs": "^3.1.5",
|
|
126
|
+
"@types/fs-extra": "^11.0.4",
|
|
127
|
+
"@types/lint-staged": "^13.3.0",
|
|
128
|
+
"@types/lodash.get": "^4.4.9",
|
|
129
|
+
"@types/lodash.kebabcase": "^4.1.9",
|
|
130
|
+
"@types/lodash.merge": "^4.6.9",
|
|
131
|
+
"@types/lodash.set": "^4.3.9",
|
|
132
|
+
"@types/node": "^22.10.2",
|
|
133
|
+
"@types/prompts": "^2.4.9",
|
|
134
|
+
"@types/semver": "^7.5.8",
|
|
135
|
+
"@types/yargs": "^17.0.33",
|
|
136
|
+
"@types/yargs-parser": "^21.0.3",
|
|
137
|
+
"@typescript-eslint/eslint-plugin": "^8.18.1",
|
|
138
|
+
"@vitest/coverage-v8": "^2.1.8",
|
|
139
|
+
"@vitest/ui": "^2.1.8",
|
|
140
|
+
"cpy-cli": "^5.0.0",
|
|
141
|
+
"eslint": "^9.17.0",
|
|
142
|
+
"happy-dom": "^15.11.7",
|
|
143
|
+
"json-schema-to-ts": "^3.1.1",
|
|
144
|
+
"lint-staged": "^14.0.1",
|
|
145
|
+
"npm-check-updates": "^17.1.12",
|
|
146
|
+
"quicktype": "^23.0.170",
|
|
147
|
+
"typedoc": "^0.28.1",
|
|
148
|
+
"typedoc-plugin-frontmatter": "^1.3.0",
|
|
149
|
+
"typedoc-plugin-markdown": "^4.5.2",
|
|
150
|
+
"typedoc-vitepress-theme": "^1.1.2",
|
|
151
|
+
"typescript": "^5.7.2",
|
|
152
|
+
"vite": "^5.4.11",
|
|
153
|
+
"vite-plugin-dts": "^4.3.0",
|
|
154
|
+
"vite-plugin-generate-file": "^0.2.0",
|
|
155
|
+
"vitest": "^2.1.8"
|
|
156
|
+
},
|
|
157
|
+
"dependencies": {
|
|
158
|
+
"@commitlint/types": "^19.8.0",
|
|
159
|
+
"@dotenvx/dotenvx": "^1.31.0",
|
|
160
|
+
"ascii-tree": "^0.3.0",
|
|
161
|
+
"chalk": "^4.1.2",
|
|
162
|
+
"conventional-recommended-bump": "^10.0.0",
|
|
163
|
+
"deepmerge": "^4.3.1",
|
|
164
|
+
"ejs": "^3.1.10",
|
|
165
|
+
"execa": "^8",
|
|
166
|
+
"find-up": "^7.0.0",
|
|
167
|
+
"fs-extra": "^11.2.0",
|
|
168
|
+
"github-slugger": "^2.0.0",
|
|
169
|
+
"glob": "^11.0.0",
|
|
170
|
+
"handlebars": "^4.7.8",
|
|
171
|
+
"import-single-ts": "^1.2.0",
|
|
172
|
+
"indent-string": "^5.0.0",
|
|
173
|
+
"json-2-csv": "^5.5.7",
|
|
174
|
+
"jstoxml": "^5.0.2",
|
|
175
|
+
"lodash.get": "^4.4.2",
|
|
176
|
+
"lodash.kebabcase": "^4.1.1",
|
|
177
|
+
"lodash.merge": "^4.6.2",
|
|
178
|
+
"lodash.set": "^4.3.2",
|
|
179
|
+
"loglevel": "^1.9.2",
|
|
180
|
+
"markdown-table": "^3.0.4",
|
|
181
|
+
"markdown-toc": "^1.2.0",
|
|
182
|
+
"markdown-utils": "^1.0.0",
|
|
183
|
+
"package-json-type": "^1.0.3",
|
|
184
|
+
"pkg-dir": "^8.0.0",
|
|
185
|
+
"prompts": "^2.4.2",
|
|
186
|
+
"remark": "^15.0.1",
|
|
187
|
+
"remark-frontmatter": "^5.0.0",
|
|
188
|
+
"remark-toc": "^9.0.0",
|
|
189
|
+
"semver": "^7.7.1",
|
|
190
|
+
"simple-git-hooks": "^2.9.0",
|
|
191
|
+
"strip-ansi": "^7.1.0",
|
|
192
|
+
"ts-json-schema-generator": "^2.3.0",
|
|
193
|
+
"yaml": "^2.6.1",
|
|
194
|
+
"yargs": "^17.7.2",
|
|
195
|
+
"yargs-parser": "^21.1.1"
|
|
196
|
+
},
|
|
197
|
+
"release-it": {
|
|
198
|
+
"git": false
|
|
199
|
+
}
|
|
200
|
+
}
|