@public-ui/kolibri-cli 4.1.5-rc.0 → 4.1.5-rc.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/dist/index.js +18 -8
- package/dist/migrate/runner/types.js +1 -0
- package/package.json +6 -8
package/dist/index.js
CHANGED
|
@@ -4,6 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
5
5
|
};
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
|
+
exports.runCli = void 0;
|
|
7
8
|
const commander_1 = require("commander");
|
|
8
9
|
const gradient_string_1 = __importDefault(require("gradient-string"));
|
|
9
10
|
const generate_scss_1 = __importDefault(require("./generate-scss"));
|
|
@@ -19,11 +20,20 @@ const banner = (0, gradient_string_1.default)(['red', 'green'], { interpolation:
|
|
|
19
20
|
\`--' \`--´ \`---´ \`--' \`--' \`------´ \`--' \`--'
|
|
20
21
|
🚹 The accessible HTML-Standard | 👉 https://public-ui.github.io | ${versionOfPublicUiKoliBriCli}
|
|
21
22
|
`);
|
|
22
|
-
|
|
23
|
-
const program = new commander_1.Command();
|
|
24
|
-
program.name('kolibri').description('CLI for executing some helpful commands for KoliBri projects.').version(versionOfPublicUiKoliBriCli);
|
|
25
|
-
// Add commands
|
|
26
|
-
(0, generate_scss_1.default)(program);
|
|
27
|
-
(0, info_1.default)(program);
|
|
28
|
-
(0, migrate_1.default)(program);
|
|
29
|
-
|
|
23
|
+
const createProgram = () => {
|
|
24
|
+
const program = new commander_1.Command();
|
|
25
|
+
program.name('kolibri').description('CLI for executing some helpful commands for KoliBri projects.').version(versionOfPublicUiKoliBriCli);
|
|
26
|
+
// Add commands
|
|
27
|
+
(0, generate_scss_1.default)(program);
|
|
28
|
+
(0, info_1.default)(program);
|
|
29
|
+
(0, migrate_1.default)(program);
|
|
30
|
+
return program;
|
|
31
|
+
};
|
|
32
|
+
const runCli = async () => {
|
|
33
|
+
console.log(banner);
|
|
34
|
+
await createProgram().parseAsync();
|
|
35
|
+
};
|
|
36
|
+
exports.runCli = runCli;
|
|
37
|
+
if (require.main === module) {
|
|
38
|
+
void (0, exports.runCli)();
|
|
39
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@public-ui/kolibri-cli",
|
|
3
|
-
"version": "4.1.5-rc.
|
|
3
|
+
"version": "4.1.5-rc.2",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"homepage": "https://public-ui.github.io",
|
|
6
6
|
"repository": {
|
|
@@ -28,28 +28,26 @@
|
|
|
28
28
|
"loglevel": "1.9.2",
|
|
29
29
|
"prettier": "3.8.3",
|
|
30
30
|
"prettier-plugin-organize-imports": "4.3.0",
|
|
31
|
-
"semver": "7.
|
|
31
|
+
"semver": "7.8.0",
|
|
32
32
|
"typed-bem": "1.0.2",
|
|
33
|
-
"@public-ui/components": "4.1.5-rc.
|
|
33
|
+
"@public-ui/components": "4.1.5-rc.2"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@eslint/js": "9.39.4",
|
|
37
|
-
"@types/node": "25.
|
|
37
|
+
"@types/node": "25.7.0",
|
|
38
38
|
"@types/semver": "7.7.1",
|
|
39
39
|
"@typescript-eslint/eslint-plugin": "8.58.2",
|
|
40
40
|
"@typescript-eslint/parser": "8.58.2",
|
|
41
41
|
"cross-env": "10.1.0",
|
|
42
42
|
"eslint": "9.39.4",
|
|
43
43
|
"eslint-plugin-html": "8.1.4",
|
|
44
|
-
"eslint-plugin-json": "4.0.1",
|
|
45
44
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
46
|
-
"
|
|
47
|
-
"knip": "5.88.1",
|
|
45
|
+
"knip": "6.13.1",
|
|
48
46
|
"mocha": "11.7.5",
|
|
49
47
|
"nodemon": "3.1.14",
|
|
50
48
|
"ts-node": "10.9.2",
|
|
51
49
|
"typescript": "5.9.3",
|
|
52
|
-
"@public-ui/components": "4.1.5-rc.
|
|
50
|
+
"@public-ui/components": "4.1.5-rc.2"
|
|
53
51
|
},
|
|
54
52
|
"engines": {
|
|
55
53
|
"node": ">=22"
|