@player-tools/cli 0.7.1-next.0 → 0.7.1-next.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/bin/run
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
const oclif = require(
|
|
4
|
-
process.env.NODE_ENV = 'production'
|
|
3
|
+
const oclif = require("@oclif/core");
|
|
5
4
|
|
|
6
|
-
|
|
5
|
+
// Setting this to production break source-map generation for dsl content
|
|
6
|
+
process.env.NODE_ENV = "development";
|
|
7
|
+
|
|
8
|
+
oclif
|
|
9
|
+
.run()
|
|
10
|
+
.then(require("@oclif/core/flush"))
|
|
11
|
+
.catch(require("@oclif/core/handle"));
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.validationRenderer = exports.getTaskSymbol =
|
|
3
|
+
exports.validationRenderer = exports.getTaskSymbol = void 0;
|
|
4
|
+
exports.getSummary = getSummary;
|
|
5
|
+
exports.formatDiagnosticResults = formatDiagnosticResults;
|
|
4
6
|
const tslib_1 = require("tslib");
|
|
5
7
|
const vscode_languageserver_types_1 = require("vscode-languageserver-types");
|
|
6
8
|
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
@@ -55,7 +57,6 @@ function getSummary({ errors, warnings, skipped, fileCount, duration, }) {
|
|
|
55
57
|
.filter(Boolean)
|
|
56
58
|
.join(" ");
|
|
57
59
|
}
|
|
58
|
-
exports.getSummary = getSummary;
|
|
59
60
|
/** Format a diag for printing on the console */
|
|
60
61
|
function formatDiagnostic(diag, longestLine, fName) {
|
|
61
62
|
const type = diag.severity === vscode_languageserver_types_1.DiagnosticSeverity.Error
|
|
@@ -113,7 +114,6 @@ function formatDiagnosticResults(filePath, results, verbose = false) {
|
|
|
113
114
|
lines,
|
|
114
115
|
};
|
|
115
116
|
}
|
|
116
|
-
exports.formatDiagnosticResults = formatDiagnosticResults;
|
|
117
117
|
const spinnerState = new WeakMap();
|
|
118
118
|
/** Get the symbol for a given task */
|
|
119
119
|
const getTaskSymbol = (task) => {
|
|
@@ -44,7 +44,7 @@ interface TaskRunner<R, Data> {
|
|
|
44
44
|
/** Create a runner to kick off tasks in parallel */
|
|
45
45
|
export declare const createTaskRunner: <R, D>({ tasks, renderer, }: {
|
|
46
46
|
/** A list of tasks to run */
|
|
47
|
-
tasks: Pick<BaseTask<R, D>, "
|
|
47
|
+
tasks: Array<Pick<BaseTask<R, D>, "data" | "run">>;
|
|
48
48
|
/** How to report progress */
|
|
49
49
|
renderer: TaskProgressRenderer<R, D>;
|
|
50
50
|
}) => TaskRunner<R, D>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.fileVisitor =
|
|
3
|
+
exports.fileVisitor = fileVisitor;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
6
6
|
const fs_1 = tslib_1.__importDefault(require("fs"));
|
|
@@ -22,5 +22,4 @@ function fileVisitor(args) {
|
|
|
22
22
|
]);
|
|
23
23
|
return capabilities;
|
|
24
24
|
}
|
|
25
|
-
exports.fileVisitor = fileVisitor;
|
|
26
25
|
//# sourceMappingURL=file.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.pluginVisitor =
|
|
3
|
+
exports.pluginVisitor = pluginVisitor;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const xlr_utils_1 = require("@player-tools/xlr-utils");
|
|
6
6
|
const path_1 = tslib_1.__importDefault(require("path"));
|
|
@@ -165,5 +165,4 @@ function pluginVisitor(args) {
|
|
|
165
165
|
});
|
|
166
166
|
return capabilities;
|
|
167
167
|
}
|
|
168
|
-
exports.pluginVisitor = pluginVisitor;
|
|
169
168
|
//# sourceMappingURL=plugin.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@player-tools/cli",
|
|
3
|
-
"version": "0.7.1-next.
|
|
3
|
+
"version": "0.7.1-next.2",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -21,12 +21,12 @@
|
|
|
21
21
|
"player": "bin/run"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@player-tools/dsl": "0.7.1-next.
|
|
25
|
-
"@player-tools/json-language-service": "0.7.1-next.
|
|
26
|
-
"@player-tools/xlr": "0.7.1-next.
|
|
27
|
-
"@player-tools/xlr-converters": "0.7.1-next.
|
|
28
|
-
"@player-tools/xlr-sdk": "0.7.1-next.
|
|
29
|
-
"@player-tools/xlr-utils": "0.7.1-next.
|
|
24
|
+
"@player-tools/dsl": "0.7.1-next.2",
|
|
25
|
+
"@player-tools/json-language-service": "0.7.1-next.2",
|
|
26
|
+
"@player-tools/xlr": "0.7.1-next.2",
|
|
27
|
+
"@player-tools/xlr-converters": "0.7.1-next.2",
|
|
28
|
+
"@player-tools/xlr-sdk": "0.7.1-next.2",
|
|
29
|
+
"@player-tools/xlr-utils": "0.7.1-next.2",
|
|
30
30
|
"@babel/plugin-transform-react-jsx-source": "^7.23.3",
|
|
31
31
|
"@babel/preset-env": "^7.23.3",
|
|
32
32
|
"@babel/preset-react": "^7.23.3",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"react": "^18.2.0",
|
|
51
51
|
"tapable-ts": "^0.2.4",
|
|
52
52
|
"tslib": "^2.6.2",
|
|
53
|
-
"typescript": "
|
|
53
|
+
"typescript": "5.5.4",
|
|
54
54
|
"vscode-languageserver-textdocument": "^1.0.1",
|
|
55
55
|
"vscode-languageserver-types": "^3.15.1"
|
|
56
56
|
},
|