@aloma.io/integration-sdk 3.7.2 → 3.7.3

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/build/cli.mjs CHANGED
@@ -90,7 +90,7 @@ program
90
90
  .command("build")
91
91
  .description("Build the current connector project")
92
92
  .action(async (str, options) => {
93
- const { stdout, stderr } = await exec(`rm -rf build; mkdir -p build`);
93
+ const { stdout, stderr } = await exec(`rm -rf build; mkdir -p build; [ -e ./logo.png ] && cp -f ./logo.png ./build/ `);
94
94
  if (stdout)
95
95
  console.log(stdout);
96
96
  new Extractor().extract('./src/controller/index.mts', './build/.controller.json');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloma.io/integration-sdk",
3
- "version": "3.7.2",
3
+ "version": "3.7.3",
4
4
  "description": "",
5
5
  "author": "aloma.io",
6
6
  "license": "Apache-2.0",
@@ -63,4 +63,4 @@ export class Builder {
63
63
  notEmpty((this.data.id = connectorId), "id");
64
64
  notEmpty((this.data.version = version), "version");
65
65
  }
66
- }
66
+ }
package/src/cli.mts CHANGED
@@ -121,7 +121,7 @@ program
121
121
  .description("Build the current connector project")
122
122
  .action(async (str, options) => {
123
123
  const { stdout, stderr } = await exec(
124
- `rm -rf build; mkdir -p build`,
124
+ `rm -rf build; mkdir -p build; [ -e ./logo.png ] && cp -f ./logo.png ./build/ `,
125
125
  );
126
126
 
127
127
  if (stdout) console.log(stdout);