@raisenow/tamaro-cli 1.1.3 → 1.1.4
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/.eslintrc.cjs +1 -0
- package/.nvmrc +1 -1
- package/dist/{chunk-64RBHHXZ.js → chunk-NKTGEMJE.js} +2 -2
- package/dist/cli.js +56 -56
- package/dist/webpack.config.js +1 -1
- package/package.json +63 -65
- package/src/cli.ts +1 -0
- package/src/lib/logging.ts +1 -1
package/.eslintrc.cjs
CHANGED
|
@@ -54,6 +54,7 @@ module.exports = {
|
|
|
54
54
|
// '@typescript-eslint/explicit-function-return-type': 0,
|
|
55
55
|
'@typescript-eslint/consistent-type-definitions': 0,
|
|
56
56
|
// '@typescript-eslint/no-dynamic-delete': 0,
|
|
57
|
+
'@typescript-eslint/restrict-template-expressions': 0,
|
|
57
58
|
|
|
58
59
|
'@typescript-eslint/ban-ts-comment': [2, {'ts-expect-error': false}],
|
|
59
60
|
'@typescript-eslint/no-unused-vars': [1, {varsIgnorePattern: '^_'}],
|
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
20.12.2
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// node_modules/.pnpm/tsup@
|
|
1
|
+
// node_modules/.pnpm/tsup@8.0.2_postcss@8.4.38_typescript@5.4.5/node_modules/tsup/assets/esm_shims.js
|
|
2
2
|
import { fileURLToPath } from "url";
|
|
3
3
|
import path from "path";
|
|
4
4
|
var getFilename = () => fileURLToPath(import.meta.url);
|
|
@@ -10,7 +10,7 @@ import chalk from "chalk";
|
|
|
10
10
|
import columnify from "columnify";
|
|
11
11
|
import stripIndent from "strip-indent";
|
|
12
12
|
var logTitle = (title) => {
|
|
13
|
-
console.log(
|
|
13
|
+
console.log(chalk.bold(title));
|
|
14
14
|
};
|
|
15
15
|
var logError = (message) => {
|
|
16
16
|
if (message) {
|
package/dist/cli.js
CHANGED
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
resolveBin,
|
|
23
23
|
resolveOwn,
|
|
24
24
|
runCommandSync
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NKTGEMJE.js";
|
|
26
26
|
|
|
27
27
|
// src/cli.ts
|
|
28
28
|
import { createCommand } from "commander";
|
|
@@ -538,7 +538,7 @@ var prepareFlags4 = async (flags, options) => {
|
|
|
538
538
|
// package.json
|
|
539
539
|
var package_default = {
|
|
540
540
|
name: "@raisenow/tamaro-cli",
|
|
541
|
-
version: "1.1.
|
|
541
|
+
version: "1.1.4",
|
|
542
542
|
author: {
|
|
543
543
|
name: "RaiseNow",
|
|
544
544
|
email: "development@raisenow.com"
|
|
@@ -556,89 +556,89 @@ var package_default = {
|
|
|
556
556
|
},
|
|
557
557
|
bin: "dist/cli.js",
|
|
558
558
|
engines: {
|
|
559
|
-
node: ">=
|
|
559
|
+
node: ">=20",
|
|
560
560
|
npm: ">=10"
|
|
561
561
|
},
|
|
562
|
+
packageManager: "pnpm@9.0.5",
|
|
562
563
|
dependencies: {
|
|
563
|
-
"@babel/cli": "^7.
|
|
564
|
-
"@babel/core": "^7.
|
|
565
|
-
"@babel/plugin-proposal-decorators": "^7.
|
|
564
|
+
"@babel/cli": "^7.24.1",
|
|
565
|
+
"@babel/core": "^7.24.4",
|
|
566
|
+
"@babel/plugin-proposal-decorators": "^7.24.1",
|
|
566
567
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
567
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
568
|
-
"@babel/preset-env": "^7.
|
|
569
|
-
"@babel/preset-react": "^7.
|
|
570
|
-
"@babel/preset-typescript": "^7.
|
|
571
|
-
"@babel/runtime-corejs3": "^7.
|
|
568
|
+
"@babel/plugin-transform-runtime": "^7.24.3",
|
|
569
|
+
"@babel/preset-env": "^7.24.4",
|
|
570
|
+
"@babel/preset-react": "^7.24.1",
|
|
571
|
+
"@babel/preset-typescript": "^7.24.1",
|
|
572
|
+
"@babel/runtime-corejs3": "^7.24.4",
|
|
572
573
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
|
|
573
|
-
"@statoscope/webpack-plugin": "^5.
|
|
574
|
-
"@types/columnify": "^1.5.
|
|
575
|
-
"@types/lodash": "^4.
|
|
576
|
-
"@types/node": "^
|
|
577
|
-
"@types/node-notifier": "^8.0.
|
|
578
|
-
"@types/prompts": "^2.4.
|
|
579
|
-
"@types/resolve-bin": "^0.4.
|
|
580
|
-
"@types/webpack-config-utils": "^2.3.
|
|
581
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
582
|
-
"@typescript-eslint/parser": "^
|
|
583
|
-
autoprefixer: "^10.4.
|
|
574
|
+
"@statoscope/webpack-plugin": "^5.28.2",
|
|
575
|
+
"@types/columnify": "^1.5.4",
|
|
576
|
+
"@types/lodash": "^4.17.0",
|
|
577
|
+
"@types/node": "^20.12.7",
|
|
578
|
+
"@types/node-notifier": "^8.0.5",
|
|
579
|
+
"@types/prompts": "^2.4.9",
|
|
580
|
+
"@types/resolve-bin": "^0.4.3",
|
|
581
|
+
"@types/webpack-config-utils": "^2.3.4",
|
|
582
|
+
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
|
583
|
+
"@typescript-eslint/parser": "^7.7.1",
|
|
584
|
+
autoprefixer: "^10.4.19",
|
|
584
585
|
"babel-loader": "^9.1.3",
|
|
585
586
|
"babel-plugin-istanbul": "^6.1.1",
|
|
586
587
|
"babel-plugin-lodash": "^3.3.4",
|
|
587
588
|
chalk: "^5.3.0",
|
|
588
589
|
"clean-webpack-plugin": "^4.0.0",
|
|
589
590
|
columnify: "^1.6.0",
|
|
590
|
-
commander: "^
|
|
591
|
-
"copy-webpack-plugin": "^
|
|
592
|
-
"core-js": "^3.
|
|
593
|
-
"css-loader": "^
|
|
594
|
-
"css-minimizer-webpack-plugin": "^
|
|
595
|
-
dotenv: "^16.
|
|
596
|
-
"dotenv-expand": "^
|
|
591
|
+
commander: "^12.0.0",
|
|
592
|
+
"copy-webpack-plugin": "^12.0.2",
|
|
593
|
+
"core-js": "^3.37.0",
|
|
594
|
+
"css-loader": "^7.1.1",
|
|
595
|
+
"css-minimizer-webpack-plugin": "^6.0.0",
|
|
596
|
+
dotenv: "^16.4.5",
|
|
597
|
+
"dotenv-expand": "^11.0.6",
|
|
597
598
|
"escape-string-regexp": "^5.0.0",
|
|
598
|
-
eslint: "^8.
|
|
599
|
-
"eslint-config-prettier": "^9.
|
|
600
|
-
"eslint-import-resolver-typescript": "^3.6.
|
|
599
|
+
eslint: "^8.57.0",
|
|
600
|
+
"eslint-config-prettier": "^9.1.0",
|
|
601
|
+
"eslint-import-resolver-typescript": "^3.6.1",
|
|
601
602
|
"eslint-plugin-deprecation": "^2.0.0",
|
|
602
|
-
"eslint-plugin-import": "^2.
|
|
603
|
+
"eslint-plugin-import": "^2.29.1",
|
|
603
604
|
"eslint-plugin-markdownlint": "^0.5.0",
|
|
604
605
|
"eslint-plugin-promise": "^6.1.1",
|
|
605
|
-
"eslint-plugin-unused-imports": "^3.
|
|
606
|
-
"eslint-plugin-yml": "^1.
|
|
607
|
-
"eslint-webpack-plugin": "^4.0
|
|
606
|
+
"eslint-plugin-unused-imports": "^3.1.0",
|
|
607
|
+
"eslint-plugin-yml": "^1.14.0",
|
|
608
|
+
"eslint-webpack-plugin": "^4.1.0",
|
|
608
609
|
execa: "^8.0.1",
|
|
609
610
|
"file-loader": "^6.2.0",
|
|
610
|
-
"fork-ts-checker-webpack-plugin": "^
|
|
611
|
-
glob: "^10.3.
|
|
612
|
-
"html-loader": "^
|
|
613
|
-
"html-webpack-plugin": "^5.
|
|
611
|
+
"fork-ts-checker-webpack-plugin": "^9.0.2",
|
|
612
|
+
glob: "^10.3.12",
|
|
613
|
+
"html-loader": "^5.0.0",
|
|
614
|
+
"html-webpack-plugin": "^5.6.0",
|
|
614
615
|
"json-loader": "^0.5.7",
|
|
615
616
|
lodash: "^4.17.21",
|
|
616
|
-
"mini-css-extract-plugin": "^2.
|
|
617
|
+
"mini-css-extract-plugin": "^2.9.0",
|
|
617
618
|
"node-notifier": "^10.0.1",
|
|
618
619
|
portfinder: "^1.0.32",
|
|
619
|
-
postcss: "^8.4.
|
|
620
|
-
"postcss-custom-properties": "^13.3.
|
|
621
|
-
"postcss-loader": "^
|
|
622
|
-
prettier: "^3.
|
|
620
|
+
postcss: "^8.4.38",
|
|
621
|
+
"postcss-custom-properties": "^13.3.8",
|
|
622
|
+
"postcss-loader": "^8.1.1",
|
|
623
|
+
prettier: "^3.2.5",
|
|
623
624
|
prompts: "^2.4.2",
|
|
624
625
|
"react-refresh": "^0.14.0",
|
|
625
626
|
"resolve-url-loader": "^5.0.0",
|
|
626
|
-
sass: "^1.
|
|
627
|
-
"sass-loader": "^
|
|
628
|
-
"source-map-loader": "^
|
|
627
|
+
sass: "^1.75.0",
|
|
628
|
+
"sass-loader": "^14.2.1",
|
|
629
|
+
"source-map-loader": "^5.0.0",
|
|
629
630
|
"strip-indent": "^4.0.0",
|
|
630
|
-
"style-loader": "^
|
|
631
|
+
"style-loader": "^4.0.0",
|
|
631
632
|
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
|
632
|
-
tsup: "^
|
|
633
|
-
typescript: "^5.
|
|
633
|
+
tsup: "^8.0.2",
|
|
634
|
+
typescript: "^5.4.5",
|
|
634
635
|
"url-loader": "^4.1.1",
|
|
635
|
-
webpack: "^5.
|
|
636
|
+
webpack: "^5.91.0",
|
|
636
637
|
"webpack-cli": "^5.1.4",
|
|
637
638
|
"webpack-config-utils": "^2.3.1",
|
|
638
|
-
"webpack-dev-server": "^
|
|
639
|
-
"yaml-loader": "^0.8.
|
|
640
|
-
}
|
|
641
|
-
packageManager: "pnpm@8.7.5"
|
|
639
|
+
"webpack-dev-server": "^5.0.4",
|
|
640
|
+
"yaml-loader": "^0.8.1"
|
|
641
|
+
}
|
|
642
642
|
};
|
|
643
643
|
|
|
644
644
|
// src/cli.ts
|
package/dist/webpack.config.js
CHANGED
package/package.json
CHANGED
|
@@ -1,104 +1,102 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raisenow/tamaro-cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "RaiseNow",
|
|
6
6
|
"email": "development@raisenow.com"
|
|
7
7
|
},
|
|
8
8
|
"type": "module",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"prepare": "pnpm build",
|
|
11
|
-
"tscheck": "tsc --noEmit",
|
|
12
|
-
"build": "tsup src/cli.ts src/webpack.config.ts --clean --shims --format esm",
|
|
13
|
-
"build:watch": "pnpm build --watch --ignore-watch .history --ignore-watch .idea",
|
|
14
|
-
"readme": "pnpx http-server . --cors -o /readme.html",
|
|
15
|
-
"lint": "eslint .",
|
|
16
|
-
"lint:fix": "eslint --fix .",
|
|
17
|
-
"format": "prettier --write ."
|
|
18
|
-
},
|
|
19
9
|
"bin": "dist/cli.js",
|
|
20
10
|
"engines": {
|
|
21
|
-
"node": ">=
|
|
11
|
+
"node": ">=20",
|
|
22
12
|
"npm": ">=10"
|
|
23
13
|
},
|
|
24
14
|
"dependencies": {
|
|
25
|
-
"@babel/cli": "^7.
|
|
26
|
-
"@babel/core": "^7.
|
|
27
|
-
"@babel/plugin-proposal-decorators": "^7.
|
|
15
|
+
"@babel/cli": "^7.24.1",
|
|
16
|
+
"@babel/core": "^7.24.4",
|
|
17
|
+
"@babel/plugin-proposal-decorators": "^7.24.1",
|
|
28
18
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
29
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
30
|
-
"@babel/preset-env": "^7.
|
|
31
|
-
"@babel/preset-react": "^7.
|
|
32
|
-
"@babel/preset-typescript": "^7.
|
|
33
|
-
"@babel/runtime-corejs3": "^7.
|
|
19
|
+
"@babel/plugin-transform-runtime": "^7.24.3",
|
|
20
|
+
"@babel/preset-env": "^7.24.4",
|
|
21
|
+
"@babel/preset-react": "^7.24.1",
|
|
22
|
+
"@babel/preset-typescript": "^7.24.1",
|
|
23
|
+
"@babel/runtime-corejs3": "^7.24.4",
|
|
34
24
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.11",
|
|
35
|
-
"@statoscope/webpack-plugin": "^5.
|
|
36
|
-
"@types/columnify": "^1.5.
|
|
37
|
-
"@types/lodash": "^4.
|
|
38
|
-
"@types/node": "^
|
|
39
|
-
"@types/node-notifier": "^8.0.
|
|
40
|
-
"@types/prompts": "^2.4.
|
|
41
|
-
"@types/resolve-bin": "^0.4.
|
|
42
|
-
"@types/webpack-config-utils": "^2.3.
|
|
43
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
44
|
-
"@typescript-eslint/parser": "^
|
|
45
|
-
"autoprefixer": "^10.4.
|
|
25
|
+
"@statoscope/webpack-plugin": "^5.28.2",
|
|
26
|
+
"@types/columnify": "^1.5.4",
|
|
27
|
+
"@types/lodash": "^4.17.0",
|
|
28
|
+
"@types/node": "^20.12.7",
|
|
29
|
+
"@types/node-notifier": "^8.0.5",
|
|
30
|
+
"@types/prompts": "^2.4.9",
|
|
31
|
+
"@types/resolve-bin": "^0.4.3",
|
|
32
|
+
"@types/webpack-config-utils": "^2.3.4",
|
|
33
|
+
"@typescript-eslint/eslint-plugin": "^7.7.1",
|
|
34
|
+
"@typescript-eslint/parser": "^7.7.1",
|
|
35
|
+
"autoprefixer": "^10.4.19",
|
|
46
36
|
"babel-loader": "^9.1.3",
|
|
47
37
|
"babel-plugin-istanbul": "^6.1.1",
|
|
48
38
|
"babel-plugin-lodash": "^3.3.4",
|
|
49
39
|
"chalk": "^5.3.0",
|
|
50
40
|
"clean-webpack-plugin": "^4.0.0",
|
|
51
41
|
"columnify": "^1.6.0",
|
|
52
|
-
"commander": "^
|
|
53
|
-
"copy-webpack-plugin": "^
|
|
54
|
-
"core-js": "^3.
|
|
55
|
-
"css-loader": "^
|
|
56
|
-
"css-minimizer-webpack-plugin": "^
|
|
57
|
-
"dotenv": "^16.
|
|
58
|
-
"dotenv-expand": "^
|
|
42
|
+
"commander": "^12.0.0",
|
|
43
|
+
"copy-webpack-plugin": "^12.0.2",
|
|
44
|
+
"core-js": "^3.37.0",
|
|
45
|
+
"css-loader": "^7.1.1",
|
|
46
|
+
"css-minimizer-webpack-plugin": "^6.0.0",
|
|
47
|
+
"dotenv": "^16.4.5",
|
|
48
|
+
"dotenv-expand": "^11.0.6",
|
|
59
49
|
"escape-string-regexp": "^5.0.0",
|
|
60
|
-
"eslint": "^8.
|
|
61
|
-
"eslint-config-prettier": "^9.
|
|
62
|
-
"eslint-import-resolver-typescript": "^3.6.
|
|
50
|
+
"eslint": "^8.57.0",
|
|
51
|
+
"eslint-config-prettier": "^9.1.0",
|
|
52
|
+
"eslint-import-resolver-typescript": "^3.6.1",
|
|
63
53
|
"eslint-plugin-deprecation": "^2.0.0",
|
|
64
|
-
"eslint-plugin-import": "^2.
|
|
54
|
+
"eslint-plugin-import": "^2.29.1",
|
|
65
55
|
"eslint-plugin-markdownlint": "^0.5.0",
|
|
66
56
|
"eslint-plugin-promise": "^6.1.1",
|
|
67
|
-
"eslint-plugin-unused-imports": "^3.
|
|
68
|
-
"eslint-plugin-yml": "^1.
|
|
69
|
-
"eslint-webpack-plugin": "^4.0
|
|
57
|
+
"eslint-plugin-unused-imports": "^3.1.0",
|
|
58
|
+
"eslint-plugin-yml": "^1.14.0",
|
|
59
|
+
"eslint-webpack-plugin": "^4.1.0",
|
|
70
60
|
"execa": "^8.0.1",
|
|
71
61
|
"file-loader": "^6.2.0",
|
|
72
|
-
"fork-ts-checker-webpack-plugin": "^
|
|
73
|
-
"glob": "^10.3.
|
|
74
|
-
"html-loader": "^
|
|
75
|
-
"html-webpack-plugin": "^5.
|
|
62
|
+
"fork-ts-checker-webpack-plugin": "^9.0.2",
|
|
63
|
+
"glob": "^10.3.12",
|
|
64
|
+
"html-loader": "^5.0.0",
|
|
65
|
+
"html-webpack-plugin": "^5.6.0",
|
|
76
66
|
"json-loader": "^0.5.7",
|
|
77
67
|
"lodash": "^4.17.21",
|
|
78
|
-
"mini-css-extract-plugin": "^2.
|
|
68
|
+
"mini-css-extract-plugin": "^2.9.0",
|
|
79
69
|
"node-notifier": "^10.0.1",
|
|
80
70
|
"portfinder": "^1.0.32",
|
|
81
|
-
"postcss": "^8.4.
|
|
82
|
-
"postcss-custom-properties": "^13.3.
|
|
83
|
-
"postcss-loader": "^
|
|
84
|
-
"prettier": "^3.
|
|
71
|
+
"postcss": "^8.4.38",
|
|
72
|
+
"postcss-custom-properties": "^13.3.8",
|
|
73
|
+
"postcss-loader": "^8.1.1",
|
|
74
|
+
"prettier": "^3.2.5",
|
|
85
75
|
"prompts": "^2.4.2",
|
|
86
76
|
"react-refresh": "^0.14.0",
|
|
87
77
|
"resolve-url-loader": "^5.0.0",
|
|
88
|
-
"sass": "^1.
|
|
89
|
-
"sass-loader": "^
|
|
90
|
-
"source-map-loader": "^
|
|
78
|
+
"sass": "^1.75.0",
|
|
79
|
+
"sass-loader": "^14.2.1",
|
|
80
|
+
"source-map-loader": "^5.0.0",
|
|
91
81
|
"strip-indent": "^4.0.0",
|
|
92
|
-
"style-loader": "^
|
|
82
|
+
"style-loader": "^4.0.0",
|
|
93
83
|
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
|
94
|
-
"tsup": "^
|
|
95
|
-
"typescript": "^5.
|
|
84
|
+
"tsup": "^8.0.2",
|
|
85
|
+
"typescript": "^5.4.5",
|
|
96
86
|
"url-loader": "^4.1.1",
|
|
97
|
-
"webpack": "^5.
|
|
87
|
+
"webpack": "^5.91.0",
|
|
98
88
|
"webpack-cli": "^5.1.4",
|
|
99
89
|
"webpack-config-utils": "^2.3.1",
|
|
100
|
-
"webpack-dev-server": "^
|
|
101
|
-
"yaml-loader": "^0.8.
|
|
90
|
+
"webpack-dev-server": "^5.0.4",
|
|
91
|
+
"yaml-loader": "^0.8.1"
|
|
102
92
|
},
|
|
103
|
-
"
|
|
104
|
-
|
|
93
|
+
"scripts": {
|
|
94
|
+
"tscheck": "tsc --noEmit",
|
|
95
|
+
"build": "tsup src/cli.ts src/webpack.config.ts --clean --shims --format esm",
|
|
96
|
+
"build:watch": "pnpm build --watch --ignore-watch .history --ignore-watch .idea",
|
|
97
|
+
"readme": "pnpx http-server . --cors -o /readme.html",
|
|
98
|
+
"lint": "eslint .",
|
|
99
|
+
"lint:fix": "eslint --fix .",
|
|
100
|
+
"format": "prettier --write ."
|
|
101
|
+
}
|
|
102
|
+
}
|
package/src/cli.ts
CHANGED
package/src/lib/logging.ts
CHANGED
|
@@ -6,7 +6,7 @@ import stripIndent from 'strip-indent'
|
|
|
6
6
|
|
|
7
7
|
export const logTitle = (title: string) => {
|
|
8
8
|
// eslint-disable-next-line no-console
|
|
9
|
-
console.log(
|
|
9
|
+
console.log(chalk.bold(title))
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
///////////////////////////////////////////////////////////////////////////////
|