@embeddable.com/sdk-core 3.4.1 → 3.4.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embeddable.com/sdk-core",
3
- "version": "3.4.1",
3
+ "version": "3.4.2",
4
4
  "description": "Core Embeddable SDK module responsible for web-components bundling and publishing.",
5
5
  "keywords": [
6
6
  "embeddable",
package/src/dev.ts CHANGED
@@ -233,7 +233,10 @@ const sendDataModelsAndSecurityContextsChanges = async (ctx: any) => {
233
233
  const sending = ora(
234
234
  "Synchronising data models and/or security contexts...",
235
235
  ).start();
236
- const filesList = await findFiles(ctx.client.srcDir, YAML_OR_JS_FILES);
236
+ const filesList = await findFiles(
237
+ ctx.client.modelsSrc || ctx.client.srcDir,
238
+ YAML_OR_JS_FILES,
239
+ );
237
240
  await archive(ctx, filesList, false);
238
241
  await sendBuild(ctx, { workspaceId: previewWorkspace, token });
239
242
  sending.succeed(`Data models and/or security context synchronized`);