@embeddable.com/sdk-core 3.14.0 → 3.14.1-next.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 +6 -3
- package/lib/index.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/push.test.ts +3 -3
- package/src/push.ts +14 -6
- package/templates/embeddableThemeHook.js.template +2 -2
- package/lib/index.js +0 -22492
- package/lib/index.js.map +0 -1
package/lib/index.esm.js
CHANGED
|
@@ -21977,15 +21977,18 @@ async function buildArchive(config) {
|
|
|
21977
21977
|
const filesList = [];
|
|
21978
21978
|
if (config.pushModels) {
|
|
21979
21979
|
const cubeFilesList = await findFiles(config.client.modelsSrc || config.client.srcDir, CUBE_FILES);
|
|
21980
|
-
const clientContextFilesList = await findFiles(config.client.presetsSrc || config.client.srcDir, CLIENT_CONTEXT_FILES);
|
|
21981
21980
|
const securityContextFilesList = await findFiles(config.client.presetsSrc || config.client.srcDir, SECURITY_CONTEXT_FILES);
|
|
21982
21981
|
filesList.push(...cubeFilesList.map((entry) => [
|
|
21983
21982
|
path.basename(entry[1]),
|
|
21984
21983
|
entry[1],
|
|
21985
|
-
]), ...
|
|
21984
|
+
]), ...securityContextFilesList.map((entry) => [
|
|
21986
21985
|
path.basename(entry[1]),
|
|
21987
21986
|
entry[1],
|
|
21988
|
-
])
|
|
21987
|
+
]));
|
|
21988
|
+
}
|
|
21989
|
+
if (config.pushComponents) {
|
|
21990
|
+
const clientContextFilesList = await findFiles(config.client.presetsSrc || config.client.srcDir, CLIENT_CONTEXT_FILES);
|
|
21991
|
+
filesList.push(...clientContextFilesList.map((entry) => [
|
|
21989
21992
|
path.basename(entry[1]),
|
|
21990
21993
|
entry[1],
|
|
21991
21994
|
]));
|