@player-tools/cli 0.4.2--canary.72.1850 → 0.4.2--canary.72.1908
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.
|
@@ -24,16 +24,17 @@ class Validate extends base_command_1.BaseCommand {
|
|
|
24
24
|
}
|
|
25
25
|
async getTSConfig() {
|
|
26
26
|
let TSEnvConfig, configFile;
|
|
27
|
-
const EnvTSConfig = globby_1.default.sync("
|
|
28
|
-
this.log(`
|
|
27
|
+
const EnvTSConfig = globby_1.default.sync("./tsconfig.json")[0];
|
|
28
|
+
this.log(`Local Typesscript file found ${EnvTSConfig}`);
|
|
29
29
|
try {
|
|
30
30
|
configFile = await fs_1.promises.readFile(EnvTSConfig);
|
|
31
31
|
}
|
|
32
32
|
catch (e) {
|
|
33
33
|
this.log("Error reading the TypeScript configuration file.");
|
|
34
|
+
return;
|
|
34
35
|
}
|
|
35
36
|
const compilerConfigObject = configFile && JSON.parse(configFile.toString());
|
|
36
|
-
this.log(`
|
|
37
|
+
this.log(`Enviroment Typescript compiler configurations found: ${compilerConfigObject}`);
|
|
37
38
|
if (compilerConfigObject.CompilerOptions) {
|
|
38
39
|
TSEnvConfig = compilerConfigObject.CompilerOptions;
|
|
39
40
|
return TSEnvConfig;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@player-tools/cli",
|
|
3
|
-
"version": "0.4.2--canary.72.
|
|
3
|
+
"version": "0.4.2--canary.72.1908",
|
|
4
4
|
"main": "dist/cjs/index.cjs",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"@oclif/plugin-plugins"
|
|
21
21
|
],
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@player-tools/dsl": "0.4.2--canary.72.
|
|
24
|
-
"@player-tools/json-language-service": "0.4.2--canary.72.
|
|
25
|
-
"@player-tools/xlr": "0.4.2--canary.72.
|
|
26
|
-
"@player-tools/xlr-converters": "0.4.2--canary.72.
|
|
27
|
-
"@player-tools/xlr-sdk": "0.4.2--canary.72.
|
|
28
|
-
"@player-tools/xlr-utils": "0.4.2--canary.72.
|
|
23
|
+
"@player-tools/dsl": "0.4.2--canary.72.1908",
|
|
24
|
+
"@player-tools/json-language-service": "0.4.2--canary.72.1908",
|
|
25
|
+
"@player-tools/xlr": "0.4.2--canary.72.1908",
|
|
26
|
+
"@player-tools/xlr-converters": "0.4.2--canary.72.1908",
|
|
27
|
+
"@player-tools/xlr-sdk": "0.4.2--canary.72.1908",
|
|
28
|
+
"@player-tools/xlr-utils": "0.4.2--canary.72.1908",
|
|
29
29
|
"react": "^18.2.0",
|
|
30
30
|
"tapable-ts": "^0.2.4",
|
|
31
31
|
"@babel/register": "^7.23.3",
|