Skip to content

Commit 6bd1d8b

Browse files
committed
chore: remove legacy widget as it is committed to the test project
1 parent 2db90b4 commit 6bd1d8b

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

-61.2 KB
Binary file not shown.

packages/modules/pusher/scripts/release.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,16 @@
11
#!/usr/bin/env ts-node-script
22

3-
import { join } from "path";
43
import {
54
addWidgetsToMpk,
65
cloneTestProject,
76
copyModuleLicense,
87
copyWidgetsToProject,
98
createModuleMpk,
10-
logStep,
11-
ModuleStepParams,
129
moveModuleToDist,
1310
removeDist,
1411
runModuleSteps,
1512
writeModuleVersion
1613
} from "@mendix/automation-utils/steps";
17-
import { cp } from "@mendix/automation-utils/shell";
1814

1915
async function main(): Promise<void> {
2016
await runModuleSteps({
@@ -25,22 +21,13 @@ async function main(): Promise<void> {
2521
writeModuleVersion,
2622
copyModuleLicense,
2723
copyWidgetsToProject,
28-
copyLegacyPusherWidget,
2924
createModuleMpk,
3025
addWidgetsToMpk,
3126
moveModuleToDist
3227
]
3328
});
3429
}
3530

36-
async function copyLegacyPusherWidget({ config }: ModuleStepParams) {
37-
logStep("Copying legacy Pusher widget to the module");
38-
cp(
39-
join(config.paths.package, "assets", "Pusher_widget_legacy_1.2.0.mpk"),
40-
join(config.output.dirs.widgets, "Pusher.mpk")
41-
);
42-
}
43-
4431
main().catch(err => {
4532
console.error(err);
4633
process.exit(1);

0 commit comments

Comments
 (0)