Skip to content

Commit 5190f65

Browse files
committed
fix: looks to be working
1 parent f1955dd commit 5190f65

File tree

4 files changed

+18
-15
lines changed

4 files changed

+18
-15
lines changed

bun.lock

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,27 @@
44
"": {
55
"name": "@flowscripter/example-host-application",
66
"dependencies": {
7-
"@flowscripter/dynamic-plugin-framework": "^1.3.8",
8-
"@flowscripter/example-plugin-api": "^1.0.0",
7+
"@flowscripter/dynamic-plugin-framework": "^1.3.18",
8+
"@flowscripter/example-plugin-api": "^1.0.8",
99
},
1010
"devDependencies": {
11-
"@types/bun": "^1.2.4",
11+
"@types/bun": "^1.2.10",
1212
},
1313
"peerDependencies": {
1414
"typescript": "^5.8.2",
1515
},
1616
},
1717
},
1818
"packages": {
19-
"@flowscripter/dynamic-plugin-framework": ["@flowscripter/dynamic-plugin-framework@1.3.8", "", { "peerDependencies": { "typescript": "^5.8.2" } }, "sha512-/XEYnDORtgazu/7lOcqhwbnwyyErzs3p3aMfzRXFDtJNi+uBwNdJDVw81huHOqaf+UDoUPFu3L6SwSZv6LXFMg=="],
19+
"@flowscripter/dynamic-plugin-framework": ["@flowscripter/dynamic-plugin-framework@1.3.18", "", { "peerDependencies": { "typescript": "^5.8.3" } }, "sha512-OjH8O4MWXU/Wt1so49ef6OnnHlJkHuKKya8zVLR3nkxXhHbR3jHf2VmWl+mOR6liRyN9YN5IyeCvKonnAG6jTQ=="],
2020

21-
"@flowscripter/example-plugin-api": ["@flowscripter/example-plugin-api@1.0.0", "", { "peerDependencies": { "typescript": "^5.8.2" } }, "sha512-6IND3SxnkIKspmmRUQqe3lITS+tQNNa7gKEkROSu1G1FYae8Gi5AnLDUOx1+JwhcHha+607az+ciXZ35Q/gNtw=="],
21+
"@flowscripter/example-plugin-api": ["@flowscripter/example-plugin-api@1.0.8", "", { "peerDependencies": { "typescript": "^5.8.2" } }, "sha512-hRF0DRg+8aKmnAwLDQyA7phjRbET0yD9bBYdny2csL2N5JiV/KLFdfwtJSSSL/LlMdkwtl0VKAVroVc78eWAsw=="],
2222

23-
"@types/bun": ["@types/bun@1.2.4", "", { "dependencies": { "bun-types": "1.2.4" } }, "sha512-QtuV5OMR8/rdKJs213iwXDpfVvnskPXY/S0ZiFbsTjQZycuqPbMW8Gf/XhLfwE5njW8sxI2WjISURXPlHypMFA=="],
23+
"@types/bun": ["@types/bun@1.2.10", "", { "dependencies": { "bun-types": "1.2.10" } }, "sha512-eilv6WFM3M0c9ztJt7/g80BDusK98z/FrFwseZgT4bXCq2vPhXD4z8R3oddmAn+R/Nmz9vBn4kweJKmGTZj+lg=="],
2424

2525
"@types/node": ["@types/node@22.13.9", "", { "dependencies": { "undici-types": "~6.20.0" } }, "sha512-acBjXdRJ3A6Pb3tqnw9HZmyR3Fiol3aGxRCK1x3d+6CDAMjl7I649wpSd+yNURCjbOUGu9tqtLKnTGxmK6CyGw=="],
2626

27-
"@types/ws": ["@types/ws@8.5.14", "", { "dependencies": { "@types/node": "*" } }, "sha512-bd/YFLW+URhBzMXurx7lWByOu+xzU9+kb3RboOteXYDfW+tr+JZa99OyNmPINEGB/ahzKrEuc8rcv4gnpJmxTw=="],
28-
29-
"bun-types": ["bun-types@1.2.4", "", { "dependencies": { "@types/node": "*", "@types/ws": "~8.5.10" } }, "sha512-nDPymR207ZZEoWD4AavvEaa/KZe/qlrbMSchqpQwovPZCKc7pwMoENjEtHgMKaAjJhy+x6vfqSBA1QU3bJgs0Q=="],
27+
"bun-types": ["bun-types@1.2.10", "", { "dependencies": { "@types/node": "*" } }, "sha512-b5ITZMnVdf3m1gMvJHG+gIfeJHiQPJak0f7925Hxu6ZN5VKA8AGy4GZ4lM+Xkn6jtWxg5S3ldWvfmXdvnkp3GQ=="],
3028

3129
"typescript": ["typescript@5.8.2", "", { "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" } }, "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ=="],
3230

functional_tests/features/executable.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ Feature: Executable
33
Scenario: Executable success
44
When the executable is launched
55
Then the executable should complete successfully
6-
And the executable should have output "INFO Invoking extension"
7-
And the executable should have output "INFO hello world"
6+
And the executable should have output "Invoking extension"
7+
And the executable should have output "hello world"

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
"access": "public"
2121
},
2222
"devDependencies": {
23-
"@types/bun": "^1.2.4"
23+
"@types/bun": "^1.2.10"
2424
},
2525
"peerDependencies": {
2626
"typescript": "^5.8.2"
2727
},
2828
"dependencies": {
29-
"@flowscripter/dynamic-plugin-framework": "^1.3.8",
30-
"@flowscripter/example-plugin-api": "^1.0.0"
29+
"@flowscripter/dynamic-plugin-framework": "^1.3.18",
30+
"@flowscripter/example-plugin-api": "^1.0.8"
3131
}
3232
}

src/ExampleHostApplication.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@ import {
1414
export async function exampleHostApplication(): Promise<void> {
1515
const pluginRepository = new UrlListPluginRepository(
1616
new Set([
17-
"file:///Users/nick/projects/flowscripter/example-plugin/bundle/index.js",
17+
{
18+
url: "https://unpkg.com/@flowscripter/example-plugin/dist/bundle.js",
19+
extensionPoints: [EXTENSION_POINT_1],
20+
},
1821
]),
1922
);
2023

@@ -66,5 +69,7 @@ export async function exampleHostApplication(): Promise<void> {
6669
console.info("Invoking extension");
6770

6871
extension.sayHello();
72+
} else {
73+
throw new Error("No extensions found");
6974
}
7075
}

0 commit comments

Comments
 (0)