@embeddable.com/sdk-core 3.5.0 → 3.5.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/lib/index.esm.js +4 -4
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +4 -4
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/defineConfig.ts +1 -1
- package/src/dev.ts +2 -5
package/lib/index.js
CHANGED
|
@@ -20896,7 +20896,7 @@ const onBundleBuildEnd = async (ctx) => {
|
|
|
20896
20896
|
}
|
|
20897
20897
|
};
|
|
20898
20898
|
const dataModelAndSecurityContextWatcher = (ctx) => {
|
|
20899
|
-
const fsWatcher = chokidar__namespace.watch([path__namespace$1.resolve(ctx.client.
|
|
20899
|
+
const fsWatcher = chokidar__namespace.watch([path__namespace$1.resolve(ctx.client.modelsSrc, "**/*.{cube,sc}.{yaml,yml,js}")], {
|
|
20900
20900
|
ignoreInitial: true,
|
|
20901
20901
|
});
|
|
20902
20902
|
fsWatcher.on("all", async () => {
|
|
@@ -20910,7 +20910,7 @@ const sendDataModelsAndSecurityContextsChanges = async (ctx) => {
|
|
|
20910
20910
|
if (isValid) {
|
|
20911
20911
|
const token = await getToken();
|
|
20912
20912
|
const sending = ora("Synchronising data models and/or security contexts...").start();
|
|
20913
|
-
const filesList = await findFiles(ctx.client.modelsSrc
|
|
20913
|
+
const filesList = await findFiles(ctx.client.modelsSrc, YAML_OR_JS_FILES);
|
|
20914
20914
|
await archive(ctx, filesList, false);
|
|
20915
20915
|
await sendBuild(ctx, { workspaceId: previewWorkspace, token });
|
|
20916
20916
|
sending.succeed(`Data models and/or security context synchronized`);
|
|
@@ -20962,7 +20962,7 @@ const getPreviewWorkspace = async (ctx) => {
|
|
|
20962
20962
|
}
|
|
20963
20963
|
};
|
|
20964
20964
|
|
|
20965
|
-
var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientId, errorFallbackComponent, applicationEnvironment, rollbarAccessToken, previewBaseUrl, modelsSrc, componentsSrc = "src", }) => {
|
|
20965
|
+
var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientId, errorFallbackComponent, applicationEnvironment, rollbarAccessToken, previewBaseUrl, modelsSrc = "src", componentsSrc = "src", }) => {
|
|
20966
20966
|
const coreRoot = path__namespace.resolve(__dirname, "..");
|
|
20967
20967
|
const clientRoot = process.cwd();
|
|
20968
20968
|
if (!path__namespace.isAbsolute(componentsSrc)) {
|
|
@@ -21012,7 +21012,7 @@ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientI
|
|
|
21012
21012
|
};
|
|
21013
21013
|
|
|
21014
21014
|
var name = "@embeddable.com/sdk-core";
|
|
21015
|
-
var version = "3.5.
|
|
21015
|
+
var version = "3.5.1";
|
|
21016
21016
|
var description = "Core Embeddable SDK module responsible for web-components bundling and publishing.";
|
|
21017
21017
|
var keywords = [
|
|
21018
21018
|
"embeddable",
|