@player-cli/cli 0.0.2--canary.6.49
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/README.md +82 -0
- package/bin/dev +17 -0
- package/bin/run +11 -0
- package/dist/commands/dependency-versions/check.d.ts +19 -0
- package/dist/commands/dependency-versions/check.js +270 -0
- package/dist/commands/dsl/compile.d.ts +20 -0
- package/dist/commands/dsl/compile.js +173 -0
- package/dist/commands/dsl/validate.d.ts +15 -0
- package/dist/commands/dsl/validate.js +142 -0
- package/dist/commands/json/validate.d.ts +18 -0
- package/dist/commands/json/validate.js +91 -0
- package/dist/commands/xlr/compile.d.ts +24 -0
- package/dist/commands/xlr/compile.js +153 -0
- package/dist/commands/xlr/convert.d.ts +20 -0
- package/dist/commands/xlr/convert.js +77 -0
- package/dist/config.d.ts +39 -0
- package/dist/config.js +3 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +12 -0
- package/dist/plugins/LSPAssetsPlugin.d.ts +50 -0
- package/dist/plugins/LSPAssetsPlugin.js +47 -0
- package/dist/plugins/LSPPluginPlugin.d.ts +11 -0
- package/dist/plugins/LSPPluginPlugin.js +22 -0
- package/dist/plugins/LSPTransformsPlugin.d.ts +12 -0
- package/dist/plugins/LSPTransformsPlugin.js +17 -0
- package/dist/plugins/index.d.ts +33 -0
- package/dist/plugins/index.js +7 -0
- package/dist/utils/babel-register.d.ts +3 -0
- package/dist/utils/babel-register.js +19 -0
- package/dist/utils/base-command.d.ts +26 -0
- package/dist/utils/base-command.js +155 -0
- package/dist/utils/compilation-context.d.ts +53 -0
- package/dist/utils/compilation-context.js +57 -0
- package/dist/utils/compile-renderer.d.ts +13 -0
- package/dist/utils/compile-renderer.js +42 -0
- package/dist/utils/compiler-options.d.ts +3 -0
- package/dist/utils/compiler-options.js +16 -0
- package/dist/utils/diag-renderer.d.ts +31 -0
- package/dist/utils/diag-renderer.js +224 -0
- package/dist/utils/fs.d.ts +9 -0
- package/dist/utils/fs.js +39 -0
- package/dist/utils/log-levels.d.ts +11 -0
- package/dist/utils/log-levels.js +21 -0
- package/dist/utils/task-runner.d.ts +59 -0
- package/dist/utils/task-runner.js +59 -0
- package/dist/utils/xlr/consts.d.ts +7 -0
- package/dist/utils/xlr/consts.js +18 -0
- package/dist/utils/xlr/visitors/file.d.ts +5 -0
- package/dist/utils/xlr/visitors/file.js +25 -0
- package/dist/utils/xlr/visitors/index.d.ts +4 -0
- package/dist/utils/xlr/visitors/index.js +7 -0
- package/dist/utils/xlr/visitors/plugin.d.ts +5 -0
- package/dist/utils/xlr/visitors/plugin.js +167 -0
- package/dist/utils/xlr/visitors/types.d.ts +13 -0
- package/dist/utils/xlr/visitors/types.js +3 -0
- package/package.json +58 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { TsConverter } from "@player-tools/xlr-converters";
|
|
2
|
+
import type ts from "typescript";
|
|
3
|
+
export interface VisitorProps {
|
|
4
|
+
/** The source file to process */
|
|
5
|
+
sourceFile: ts.SourceFile;
|
|
6
|
+
/** An instance of a typescript type checker */
|
|
7
|
+
checker: ts.TypeChecker;
|
|
8
|
+
/** An instance of a XLR converter */
|
|
9
|
+
converter: TsConverter;
|
|
10
|
+
/** Where to write converted XLRs to */
|
|
11
|
+
outputDirectory: string;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=types.d.ts.map
|
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"sideEffects": false,
|
|
3
|
+
"files": [
|
|
4
|
+
"bin",
|
|
5
|
+
"dist"
|
|
6
|
+
],
|
|
7
|
+
"name": "@player-cli/cli",
|
|
8
|
+
"version": "0.0.2--canary.6.49",
|
|
9
|
+
"main": "./dist/index.js",
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"oclif": {
|
|
12
|
+
"bin": "player",
|
|
13
|
+
"dirname": "player",
|
|
14
|
+
"topicSeparator": " ",
|
|
15
|
+
"commands": "dist/commands",
|
|
16
|
+
"plugins": [
|
|
17
|
+
"@oclif/plugin-plugins"
|
|
18
|
+
]
|
|
19
|
+
},
|
|
20
|
+
"bin": {
|
|
21
|
+
"player": "bin/run"
|
|
22
|
+
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@player-tools/dsl": "^0.12.0",
|
|
25
|
+
"@player-tools/json-language-service": "^0.12.0",
|
|
26
|
+
"@player-tools/xlr": "^0.12.0",
|
|
27
|
+
"@player-tools/xlr-converters": "^0.12.0",
|
|
28
|
+
"@player-tools/xlr-sdk": "^0.12.0",
|
|
29
|
+
"@player-tools/xlr-utils": "^0.12.0",
|
|
30
|
+
"@babel/plugin-transform-react-jsx-source": "^7.23.3",
|
|
31
|
+
"@babel/preset-env": "^7.23.3",
|
|
32
|
+
"@babel/preset-react": "^7.23.3",
|
|
33
|
+
"@babel/preset-typescript": "^7.23.3",
|
|
34
|
+
"@babel/register": "^7.23.3",
|
|
35
|
+
"@oclif/core": "1.9.0",
|
|
36
|
+
"@oclif/plugin-plugins": "^1.9.0",
|
|
37
|
+
"chalk": "^4.0.1",
|
|
38
|
+
"cosmiconfig": "^7.0.1",
|
|
39
|
+
"cross-fetch": "^3.0.5",
|
|
40
|
+
"dlv": "^1.1.3",
|
|
41
|
+
"easy-table": "1.2.0",
|
|
42
|
+
"elegant-spinner": "^2.0.0",
|
|
43
|
+
"figures": "^3.0.0",
|
|
44
|
+
"fs-extra": "^10.0.0",
|
|
45
|
+
"globby": "^11.0.1",
|
|
46
|
+
"log-symbols": "^4.0.0",
|
|
47
|
+
"log-update": "^4.0.0",
|
|
48
|
+
"mkdirp": "^1.0.4",
|
|
49
|
+
"react": "^18.2.0",
|
|
50
|
+
"source-map-js": "^1.2.0",
|
|
51
|
+
"tapable-ts": "^0.2.4",
|
|
52
|
+
"tslib": "^2.6.2",
|
|
53
|
+
"typescript": "5.5.4",
|
|
54
|
+
"vscode-languageserver-textdocument": "^1.0.1",
|
|
55
|
+
"vscode-languageserver-types": "^3.15.1"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {}
|
|
58
|
+
}
|