@defold-typescript/tstl-plugin 0.31.0 → 0.32.1
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/dist/index.js +4 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -549,13 +549,13 @@ function nodeEntries(slot, cache, fileName, baseEntries) {
|
|
|
549
549
|
function animationEntries(slot, cache, fileName, baseEntries) {
|
|
550
550
|
const { projectRoot } = cache;
|
|
551
551
|
if (slot.nodeParameter !== undefined) {
|
|
552
|
-
const
|
|
552
|
+
const index = cache.derived("gui-flipbook", () => buildGuiFlipbookIndex2({
|
|
553
553
|
scenes: cache.documents(GUI_EXTENSIONS3).documents,
|
|
554
554
|
assets: cache.documents(ANIMATION_ASSET_EXTENSIONS2).documents
|
|
555
555
|
}));
|
|
556
|
-
const
|
|
557
|
-
const
|
|
558
|
-
const declared =
|
|
556
|
+
const config = readBuildConfigFromHost(cache.host, projectRoot);
|
|
557
|
+
const resource = computeOutputRel3(displayPathOf4(projectRoot, fileName), config, "gui-script");
|
|
558
|
+
const declared = index.byScriptResource.get(resource);
|
|
559
559
|
return declared === undefined ? [] : buildWholeLiteralCompletionEntries({ slot, ids: new Set(declared.keys()), baseEntries });
|
|
560
560
|
}
|
|
561
561
|
const component = componentIdOfSameObjectAddress2(slot.addressText ?? "");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defold-typescript/tstl-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.1",
|
|
4
4
|
"description": "TypeScript language-service plugin surfacing Defold transpiler diagnostics live in the editor.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"test": "bun test"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@defold-typescript/transpiler": "0.
|
|
41
|
-
"@defold-typescript/types": "0.
|
|
40
|
+
"@defold-typescript/transpiler": "0.32.1",
|
|
41
|
+
"@defold-typescript/types": "0.32.1"
|
|
42
42
|
},
|
|
43
43
|
"peerDependencies": {
|
|
44
44
|
"typescript": ">=5.0.0 <7"
|