@raisenow/tamaro-cli 1.1.5 → 1.1.6
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/.nvmrc +1 -1
- package/dist/{chunk-TXIBRHT6.js → chunk-OLKERSRR.js} +2 -4
- package/dist/cli.js +54 -52
- package/dist/webpack.config.js +2 -2
- package/package.json +53 -51
- package/src/commands/list-deployed.ts +1 -1
- package/src/lib/command.ts +2 -6
- package/src/webpack.config.ts +1 -1
- package/tsconfig.json +25 -73
package/.nvmrc
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
v20.18.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// node_modules/.pnpm/tsup@8.
|
|
1
|
+
// node_modules/.pnpm/tsup@8.3.0_jiti@1.21.0_postcss@8.4.47_tsx@4.19.1_typescript@5.6.3/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);
|
|
@@ -143,9 +143,7 @@ import { globSync } from "glob";
|
|
|
143
143
|
import stripIndent3 from "strip-indent";
|
|
144
144
|
|
|
145
145
|
// src/lib/command.ts
|
|
146
|
-
import {
|
|
147
|
-
execaCommandSync
|
|
148
|
-
} from "execa";
|
|
146
|
+
import { execaCommandSync } from "execa";
|
|
149
147
|
var halt = (message, exitCode = 1) => {
|
|
150
148
|
logError(message);
|
|
151
149
|
process.exit(exitCode);
|
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-OLKERSRR.js";
|
|
26
26
|
|
|
27
27
|
// src/cli.ts
|
|
28
28
|
import { createCommand } from "commander";
|
|
@@ -538,105 +538,107 @@ 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.6",
|
|
542
542
|
author: {
|
|
543
543
|
name: "RaiseNow",
|
|
544
544
|
email: "development@raisenow.com"
|
|
545
545
|
},
|
|
546
546
|
type: "module",
|
|
547
|
+
bin: "dist/cli.js",
|
|
548
|
+
packageManager: "pnpm@9.12.1",
|
|
549
|
+
engines: {
|
|
550
|
+
node: ">=20",
|
|
551
|
+
pnpm: ">= 9.12",
|
|
552
|
+
npm: "please-use-pnpm",
|
|
553
|
+
yarn: "please-use-pnpm"
|
|
554
|
+
},
|
|
547
555
|
scripts: {
|
|
548
556
|
prepare: "pnpm build",
|
|
549
557
|
tscheck: "tsc --noEmit",
|
|
550
558
|
build: "tsup src/cli.ts src/webpack.config.ts --clean --shims --format esm",
|
|
551
559
|
"build:watch": "pnpm build --watch --ignore-watch .history --ignore-watch .idea",
|
|
552
560
|
readme: "pnpx http-server . --cors -o /readme.html",
|
|
553
|
-
lint: "eslint .",
|
|
554
|
-
"lint:fix": "eslint --fix .",
|
|
561
|
+
lint: "DEBUG=eslint:cli-engine eslint .",
|
|
562
|
+
"lint:fix": "DEBUG=eslint:cli-engine eslint --fix .",
|
|
555
563
|
format: "prettier --write ."
|
|
556
564
|
},
|
|
557
|
-
bin: "dist/cli.js",
|
|
558
|
-
engines: {
|
|
559
|
-
node: ">=20",
|
|
560
|
-
npm: ">=10"
|
|
561
|
-
},
|
|
562
|
-
packageManager: "pnpm@9.0.5",
|
|
563
565
|
dependencies: {
|
|
564
|
-
"@babel/cli": "^7.
|
|
565
|
-
"@babel/core": "^7.
|
|
566
|
-
"@babel/plugin-proposal-decorators": "^7.
|
|
566
|
+
"@babel/cli": "^7.25.7",
|
|
567
|
+
"@babel/core": "^7.25.8",
|
|
568
|
+
"@babel/plugin-proposal-decorators": "^7.25.7",
|
|
567
569
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
568
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
569
|
-
"@babel/preset-env": "^7.
|
|
570
|
-
"@babel/preset-react": "^7.
|
|
571
|
-
"@babel/preset-typescript": "^7.
|
|
572
|
-
"@babel/runtime-corejs3": "^7.
|
|
573
|
-
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.
|
|
570
|
+
"@babel/plugin-transform-runtime": "^7.25.7",
|
|
571
|
+
"@babel/preset-env": "^7.25.8",
|
|
572
|
+
"@babel/preset-react": "^7.25.7",
|
|
573
|
+
"@babel/preset-typescript": "^7.25.7",
|
|
574
|
+
"@babel/runtime-corejs3": "^7.25.7",
|
|
575
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
|
|
574
576
|
"@statoscope/webpack-plugin": "^5.28.2",
|
|
575
577
|
"@types/columnify": "^1.5.4",
|
|
576
|
-
"@types/lodash": "^4.17.
|
|
577
|
-
"@types/node": "^20.
|
|
578
|
+
"@types/lodash": "^4.17.10",
|
|
579
|
+
"@types/node": "^20.16.11",
|
|
578
580
|
"@types/node-notifier": "^8.0.5",
|
|
579
581
|
"@types/prompts": "^2.4.9",
|
|
580
582
|
"@types/resolve-bin": "^0.4.3",
|
|
581
583
|
"@types/webpack-config-utils": "^2.3.4",
|
|
582
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
583
|
-
"@typescript-eslint/parser": "^7.
|
|
584
|
-
autoprefixer: "^10.4.
|
|
585
|
-
"babel-loader": "^9.1
|
|
586
|
-
"babel-plugin-istanbul": "^
|
|
584
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
585
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
586
|
+
autoprefixer: "^10.4.20",
|
|
587
|
+
"babel-loader": "^9.2.1",
|
|
588
|
+
"babel-plugin-istanbul": "^7.0.0",
|
|
587
589
|
"babel-plugin-lodash": "^3.3.4",
|
|
588
590
|
chalk: "^5.3.0",
|
|
589
591
|
"clean-webpack-plugin": "^4.0.0",
|
|
590
592
|
columnify: "^1.6.0",
|
|
591
|
-
commander: "^12.
|
|
593
|
+
commander: "^12.1.0",
|
|
592
594
|
"copy-webpack-plugin": "^12.0.2",
|
|
593
|
-
"core-js": "^3.
|
|
594
|
-
"css-loader": "^7.1.
|
|
595
|
-
"css-minimizer-webpack-plugin": "^
|
|
595
|
+
"core-js": "^3.38.1",
|
|
596
|
+
"css-loader": "^7.1.2",
|
|
597
|
+
"css-minimizer-webpack-plugin": "^7.0.0",
|
|
596
598
|
dotenv: "^16.4.5",
|
|
597
599
|
"dotenv-expand": "^11.0.6",
|
|
598
600
|
"escape-string-regexp": "^5.0.0",
|
|
599
|
-
eslint: "^8.57.
|
|
601
|
+
eslint: "^8.57.1",
|
|
600
602
|
"eslint-config-prettier": "^9.1.0",
|
|
601
|
-
"eslint-import-resolver-typescript": "^3.6.
|
|
602
|
-
"eslint-plugin-deprecation": "^
|
|
603
|
-
"eslint-plugin-import": "^2.
|
|
604
|
-
"eslint-plugin-markdownlint": "^0.
|
|
605
|
-
"eslint-plugin-promise": "^
|
|
606
|
-
"eslint-plugin-unused-imports": "^3.
|
|
603
|
+
"eslint-import-resolver-typescript": "^3.6.3",
|
|
604
|
+
"eslint-plugin-deprecation": "^3.0.0",
|
|
605
|
+
"eslint-plugin-import": "^2.31.0",
|
|
606
|
+
"eslint-plugin-markdownlint": "^0.6.0",
|
|
607
|
+
"eslint-plugin-promise": "^7.1.0",
|
|
608
|
+
"eslint-plugin-unused-imports": "^3.2.0",
|
|
607
609
|
"eslint-plugin-yml": "^1.14.0",
|
|
608
|
-
"eslint-webpack-plugin": "^4.
|
|
609
|
-
execa: "^
|
|
610
|
+
"eslint-webpack-plugin": "^4.2.0",
|
|
611
|
+
execa: "^9.4.0",
|
|
610
612
|
"file-loader": "^6.2.0",
|
|
611
613
|
"fork-ts-checker-webpack-plugin": "^9.0.2",
|
|
612
|
-
glob: "^
|
|
613
|
-
"html-loader": "^5.
|
|
614
|
+
glob: "^11.0.0",
|
|
615
|
+
"html-loader": "^5.1.0",
|
|
614
616
|
"html-webpack-plugin": "^5.6.0",
|
|
615
617
|
"json-loader": "^0.5.7",
|
|
616
618
|
lodash: "^4.17.21",
|
|
617
|
-
"mini-css-extract-plugin": "^2.9.
|
|
619
|
+
"mini-css-extract-plugin": "^2.9.1",
|
|
618
620
|
"node-notifier": "^10.0.1",
|
|
619
621
|
portfinder: "^1.0.32",
|
|
620
|
-
postcss: "^8.4.
|
|
621
|
-
"postcss-custom-properties": "^
|
|
622
|
+
postcss: "^8.4.47",
|
|
623
|
+
"postcss-custom-properties": "^14.0.2",
|
|
622
624
|
"postcss-loader": "^8.1.1",
|
|
623
|
-
prettier: "^3.
|
|
625
|
+
prettier: "^3.3.3",
|
|
624
626
|
prompts: "^2.4.2",
|
|
625
|
-
"react-refresh": "^0.14.
|
|
627
|
+
"react-refresh": "^0.14.2",
|
|
626
628
|
"resolve-url-loader": "^5.0.0",
|
|
627
|
-
sass: "^1.
|
|
628
|
-
"sass-loader": "^
|
|
629
|
+
sass: "^1.79.5",
|
|
630
|
+
"sass-loader": "^16.0.2",
|
|
629
631
|
"source-map-loader": "^5.0.0",
|
|
630
632
|
"strip-indent": "^4.0.0",
|
|
631
633
|
"style-loader": "^4.0.0",
|
|
632
634
|
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
|
633
|
-
tsup: "^8.0
|
|
634
|
-
typescript: "^5.
|
|
635
|
+
tsup: "^8.3.0",
|
|
636
|
+
typescript: "^5.6.3",
|
|
635
637
|
"url-loader": "^4.1.1",
|
|
636
|
-
webpack: "^5.
|
|
638
|
+
webpack: "^5.95.0",
|
|
637
639
|
"webpack-cli": "^5.1.4",
|
|
638
640
|
"webpack-config-utils": "^2.3.1",
|
|
639
|
-
"webpack-dev-server": "^5.0
|
|
641
|
+
"webpack-dev-server": "^5.1.0",
|
|
640
642
|
"yaml-loader": "^0.8.1"
|
|
641
643
|
}
|
|
642
644
|
};
|
package/dist/webpack.config.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
logTitle,
|
|
11
11
|
moduleFileExtensions,
|
|
12
12
|
resolveApp
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OLKERSRR.js";
|
|
14
14
|
|
|
15
15
|
// src/webpack.config.ts
|
|
16
16
|
import { existsSync } from "fs";
|
|
@@ -123,7 +123,7 @@ var getWebpackConfig = (env) => {
|
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
loader: require2.resolve("sass-loader"),
|
|
126
|
-
options: { sourceMap: true }
|
|
126
|
+
options: { api: "modern-compiler", sourceMap: true }
|
|
127
127
|
}
|
|
128
128
|
]);
|
|
129
129
|
};
|
package/package.json
CHANGED
|
@@ -1,104 +1,106 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raisenow/tamaro-cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "RaiseNow",
|
|
6
6
|
"email": "development@raisenow.com"
|
|
7
7
|
},
|
|
8
8
|
"type": "module",
|
|
9
|
+
"bin": "dist/cli.js",
|
|
10
|
+
"packageManager": "pnpm@9.12.1",
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=20",
|
|
13
|
+
"pnpm": ">= 9.12",
|
|
14
|
+
"npm": "please-use-pnpm",
|
|
15
|
+
"yarn": "please-use-pnpm"
|
|
16
|
+
},
|
|
9
17
|
"scripts": {
|
|
10
18
|
"prepare": "pnpm build",
|
|
11
19
|
"tscheck": "tsc --noEmit",
|
|
12
20
|
"build": "tsup src/cli.ts src/webpack.config.ts --clean --shims --format esm",
|
|
13
21
|
"build:watch": "pnpm build --watch --ignore-watch .history --ignore-watch .idea",
|
|
14
22
|
"readme": "pnpx http-server . --cors -o /readme.html",
|
|
15
|
-
"lint": "eslint .",
|
|
16
|
-
"lint:fix": "eslint --fix .",
|
|
23
|
+
"lint": "DEBUG=eslint:cli-engine eslint .",
|
|
24
|
+
"lint:fix": "DEBUG=eslint:cli-engine eslint --fix .",
|
|
17
25
|
"format": "prettier --write ."
|
|
18
26
|
},
|
|
19
|
-
"bin": "dist/cli.js",
|
|
20
|
-
"engines": {
|
|
21
|
-
"node": ">=20",
|
|
22
|
-
"npm": ">=10"
|
|
23
|
-
},
|
|
24
|
-
"packageManager": "pnpm@9.0.5",
|
|
25
27
|
"dependencies": {
|
|
26
|
-
"@babel/cli": "^7.
|
|
27
|
-
"@babel/core": "^7.
|
|
28
|
-
"@babel/plugin-proposal-decorators": "^7.
|
|
28
|
+
"@babel/cli": "^7.25.7",
|
|
29
|
+
"@babel/core": "^7.25.8",
|
|
30
|
+
"@babel/plugin-proposal-decorators": "^7.25.7",
|
|
29
31
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
30
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
31
|
-
"@babel/preset-env": "^7.
|
|
32
|
-
"@babel/preset-react": "^7.
|
|
33
|
-
"@babel/preset-typescript": "^7.
|
|
34
|
-
"@babel/runtime-corejs3": "^7.
|
|
35
|
-
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.
|
|
32
|
+
"@babel/plugin-transform-runtime": "^7.25.7",
|
|
33
|
+
"@babel/preset-env": "^7.25.8",
|
|
34
|
+
"@babel/preset-react": "^7.25.7",
|
|
35
|
+
"@babel/preset-typescript": "^7.25.7",
|
|
36
|
+
"@babel/runtime-corejs3": "^7.25.7",
|
|
37
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
|
|
36
38
|
"@statoscope/webpack-plugin": "^5.28.2",
|
|
37
39
|
"@types/columnify": "^1.5.4",
|
|
38
|
-
"@types/lodash": "^4.17.
|
|
39
|
-
"@types/node": "^20.
|
|
40
|
+
"@types/lodash": "^4.17.10",
|
|
41
|
+
"@types/node": "^20.16.11",
|
|
40
42
|
"@types/node-notifier": "^8.0.5",
|
|
41
43
|
"@types/prompts": "^2.4.9",
|
|
42
44
|
"@types/resolve-bin": "^0.4.3",
|
|
43
45
|
"@types/webpack-config-utils": "^2.3.4",
|
|
44
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
45
|
-
"@typescript-eslint/parser": "^7.
|
|
46
|
-
"autoprefixer": "^10.4.
|
|
47
|
-
"babel-loader": "^9.1
|
|
48
|
-
"babel-plugin-istanbul": "^
|
|
46
|
+
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
47
|
+
"@typescript-eslint/parser": "^7.18.0",
|
|
48
|
+
"autoprefixer": "^10.4.20",
|
|
49
|
+
"babel-loader": "^9.2.1",
|
|
50
|
+
"babel-plugin-istanbul": "^7.0.0",
|
|
49
51
|
"babel-plugin-lodash": "^3.3.4",
|
|
50
52
|
"chalk": "^5.3.0",
|
|
51
53
|
"clean-webpack-plugin": "^4.0.0",
|
|
52
54
|
"columnify": "^1.6.0",
|
|
53
|
-
"commander": "^12.
|
|
55
|
+
"commander": "^12.1.0",
|
|
54
56
|
"copy-webpack-plugin": "^12.0.2",
|
|
55
|
-
"core-js": "^3.
|
|
56
|
-
"css-loader": "^7.1.
|
|
57
|
-
"css-minimizer-webpack-plugin": "^
|
|
57
|
+
"core-js": "^3.38.1",
|
|
58
|
+
"css-loader": "^7.1.2",
|
|
59
|
+
"css-minimizer-webpack-plugin": "^7.0.0",
|
|
58
60
|
"dotenv": "^16.4.5",
|
|
59
61
|
"dotenv-expand": "^11.0.6",
|
|
60
62
|
"escape-string-regexp": "^5.0.0",
|
|
61
|
-
"eslint": "^8.57.
|
|
63
|
+
"eslint": "^8.57.1",
|
|
62
64
|
"eslint-config-prettier": "^9.1.0",
|
|
63
|
-
"eslint-import-resolver-typescript": "^3.6.
|
|
64
|
-
"eslint-plugin-deprecation": "^
|
|
65
|
-
"eslint-plugin-import": "^2.
|
|
66
|
-
"eslint-plugin-markdownlint": "^0.
|
|
67
|
-
"eslint-plugin-promise": "^
|
|
68
|
-
"eslint-plugin-unused-imports": "^3.
|
|
65
|
+
"eslint-import-resolver-typescript": "^3.6.3",
|
|
66
|
+
"eslint-plugin-deprecation": "^3.0.0",
|
|
67
|
+
"eslint-plugin-import": "^2.31.0",
|
|
68
|
+
"eslint-plugin-markdownlint": "^0.6.0",
|
|
69
|
+
"eslint-plugin-promise": "^7.1.0",
|
|
70
|
+
"eslint-plugin-unused-imports": "^3.2.0",
|
|
69
71
|
"eslint-plugin-yml": "^1.14.0",
|
|
70
|
-
"eslint-webpack-plugin": "^4.
|
|
71
|
-
"execa": "^
|
|
72
|
+
"eslint-webpack-plugin": "^4.2.0",
|
|
73
|
+
"execa": "^9.4.0",
|
|
72
74
|
"file-loader": "^6.2.0",
|
|
73
75
|
"fork-ts-checker-webpack-plugin": "^9.0.2",
|
|
74
|
-
"glob": "^
|
|
75
|
-
"html-loader": "^5.
|
|
76
|
+
"glob": "^11.0.0",
|
|
77
|
+
"html-loader": "^5.1.0",
|
|
76
78
|
"html-webpack-plugin": "^5.6.0",
|
|
77
79
|
"json-loader": "^0.5.7",
|
|
78
80
|
"lodash": "^4.17.21",
|
|
79
|
-
"mini-css-extract-plugin": "^2.9.
|
|
81
|
+
"mini-css-extract-plugin": "^2.9.1",
|
|
80
82
|
"node-notifier": "^10.0.1",
|
|
81
83
|
"portfinder": "^1.0.32",
|
|
82
|
-
"postcss": "^8.4.
|
|
83
|
-
"postcss-custom-properties": "^
|
|
84
|
+
"postcss": "^8.4.47",
|
|
85
|
+
"postcss-custom-properties": "^14.0.2",
|
|
84
86
|
"postcss-loader": "^8.1.1",
|
|
85
|
-
"prettier": "^3.
|
|
87
|
+
"prettier": "^3.3.3",
|
|
86
88
|
"prompts": "^2.4.2",
|
|
87
|
-
"react-refresh": "^0.14.
|
|
89
|
+
"react-refresh": "^0.14.2",
|
|
88
90
|
"resolve-url-loader": "^5.0.0",
|
|
89
|
-
"sass": "^1.
|
|
90
|
-
"sass-loader": "^
|
|
91
|
+
"sass": "^1.79.5",
|
|
92
|
+
"sass-loader": "^16.0.2",
|
|
91
93
|
"source-map-loader": "^5.0.0",
|
|
92
94
|
"strip-indent": "^4.0.0",
|
|
93
95
|
"style-loader": "^4.0.0",
|
|
94
96
|
"tsconfig-paths-webpack-plugin": "^4.1.0",
|
|
95
|
-
"tsup": "^8.0
|
|
96
|
-
"typescript": "^5.
|
|
97
|
+
"tsup": "^8.3.0",
|
|
98
|
+
"typescript": "^5.6.3",
|
|
97
99
|
"url-loader": "^4.1.1",
|
|
98
|
-
"webpack": "^5.
|
|
100
|
+
"webpack": "^5.95.0",
|
|
99
101
|
"webpack-cli": "^5.1.4",
|
|
100
102
|
"webpack-config-utils": "^2.3.1",
|
|
101
|
-
"webpack-dev-server": "^5.0
|
|
103
|
+
"webpack-dev-server": "^5.1.0",
|
|
102
104
|
"yaml-loader": "^0.8.1"
|
|
103
105
|
}
|
|
104
106
|
}
|
|
@@ -48,7 +48,7 @@ export const listDeployed = async (
|
|
|
48
48
|
// command fails with blank stderr, so we need to handle this case.
|
|
49
49
|
try {
|
|
50
50
|
const result = withAwsAuthenticate(() => runCommandSync(cmd), options)
|
|
51
|
-
out = result.stdout
|
|
51
|
+
out = result.stdout as string
|
|
52
52
|
} catch (error: any) {
|
|
53
53
|
out = error.stdout as string
|
|
54
54
|
|
package/src/lib/command.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
execaCommandSync,
|
|
3
|
-
type ExecaSyncReturnValue,
|
|
4
|
-
type SyncOptions,
|
|
5
|
-
} from 'execa'
|
|
1
|
+
import {execaCommandSync, type SyncOptions, type SyncResult} from 'execa'
|
|
6
2
|
import {logError} from 'lib/logging'
|
|
7
3
|
|
|
8
4
|
///////////////////////////////////////////////////////////////////////////////
|
|
@@ -26,6 +22,6 @@ export const prepareCommand = (cmd: string): string => {
|
|
|
26
22
|
export const runCommandSync = (
|
|
27
23
|
cmd: string,
|
|
28
24
|
options?: SyncOptions,
|
|
29
|
-
):
|
|
25
|
+
): SyncResult => {
|
|
30
26
|
return execaCommandSync(prepareCommand(cmd), options)
|
|
31
27
|
}
|
package/src/webpack.config.ts
CHANGED
package/tsconfig.json
CHANGED
|
@@ -1,86 +1,38 @@
|
|
|
1
1
|
{
|
|
2
|
+
/* https://aka.ms/tsconfig.json */
|
|
2
3
|
"compilerOptions": {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
"
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
|
|
24
|
-
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
|
|
25
|
-
"isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
|
|
26
|
-
|
|
27
|
-
/* Strict Type-Checking Options */
|
|
28
|
-
"strict": true, /* Enable all strict type-checking options. */
|
|
29
|
-
// "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
|
|
30
|
-
// "strictNullChecks": true, /* Enable strict null checks. */
|
|
31
|
-
// "strictFunctionTypes": true, /* Enable strict checking of function types. */
|
|
32
|
-
// "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */
|
|
33
|
-
// "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */
|
|
34
|
-
// "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */
|
|
35
|
-
// "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
|
|
36
|
-
|
|
37
|
-
/* Additional Checks */
|
|
38
|
-
// "noUnusedLocals": true, /* Report errors on unused locals. */
|
|
39
|
-
// "noUnusedParameters": true, /* Report errors on unused parameters. */
|
|
40
|
-
// "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */
|
|
41
|
-
"noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */
|
|
42
|
-
// "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */
|
|
43
|
-
|
|
44
|
-
/* Module Resolution Options */
|
|
45
|
-
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
|
|
46
|
-
"baseUrl": ".", /* Base directory to resolve non-absolute module names. */
|
|
47
|
-
"paths": { /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
|
|
4
|
+
"moduleDetection": "force",
|
|
5
|
+
"resolveJsonModule": true,
|
|
6
|
+
"allowJs": true,
|
|
7
|
+
"esModuleInterop": true,
|
|
8
|
+
"isolatedModules": true,
|
|
9
|
+
|
|
10
|
+
"noEmit": true,
|
|
11
|
+
"strict": true,
|
|
12
|
+
"noFallthroughCasesInSwitch": true,
|
|
13
|
+
"allowSyntheticDefaultImports": true,
|
|
14
|
+
"skipLibCheck": true,
|
|
15
|
+
"forceConsistentCasingInFileNames": true,
|
|
16
|
+
|
|
17
|
+
"target": "ESNext",
|
|
18
|
+
"module": "ESNext",
|
|
19
|
+
"moduleResolution": "Bundler",
|
|
20
|
+
"jsx": "react",
|
|
21
|
+
|
|
22
|
+
"baseUrl": ".",
|
|
23
|
+
"paths": {
|
|
48
24
|
"commands/*": ["src/commands/*"],
|
|
49
25
|
"lib/*": ["src/lib/*"]
|
|
50
26
|
},
|
|
51
|
-
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
|
|
52
|
-
// "typeRoots": [], /* List of folders to include type definitions from. */
|
|
53
|
-
// "types": [], /* Type declaration files to be included in compilation. */
|
|
54
|
-
"allowSyntheticDefaultImports": true, /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */
|
|
55
|
-
"esModuleInterop": true, /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
|
|
56
|
-
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
|
|
57
|
-
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
|
|
58
|
-
|
|
59
|
-
/* Source Map Options */
|
|
60
|
-
// "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
|
|
61
|
-
// "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
|
|
62
|
-
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
|
|
63
|
-
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
|
|
64
|
-
|
|
65
|
-
/* Experimental Options */
|
|
66
|
-
// "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */
|
|
67
|
-
// "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */
|
|
68
|
-
|
|
69
|
-
/* Advanced Options */
|
|
70
|
-
"skipLibCheck": true, /* Skip type checking of declaration files. */
|
|
71
|
-
"forceConsistentCasingInFileNames": true, /* Disallow inconsistently-cased references to the same file. */
|
|
72
|
-
|
|
73
|
-
/* Allow imports from json files */
|
|
74
|
-
"resolveJsonModule": true,
|
|
75
27
|
},
|
|
76
28
|
"include": [
|
|
77
29
|
"**/*",
|
|
78
30
|
".eslintrc.cjs",
|
|
79
31
|
],
|
|
80
32
|
"exclude": [
|
|
81
|
-
".history
|
|
82
|
-
".idea
|
|
83
|
-
"dist
|
|
84
|
-
"node_modules
|
|
33
|
+
".history",
|
|
34
|
+
".idea",
|
|
35
|
+
"dist",
|
|
36
|
+
"node_modules",
|
|
85
37
|
]
|
|
86
38
|
}
|