@embeddable.com/sdk-core 3.10.2 → 3.11.0

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 CHANGED
@@ -21999,7 +21999,7 @@ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientI
21999
21999
  };
22000
22000
 
22001
22001
  var name = "@embeddable.com/sdk-core";
22002
- var version = "3.10.1";
22002
+ var version = "3.11.0";
22003
22003
  var description = "Core Embeddable SDK module responsible for web-components bundling and publishing.";
22004
22004
  var keywords = [
22005
22005
  "embeddable",
@@ -22037,7 +22037,7 @@ var engines = {
22037
22037
  };
22038
22038
  var license = "MIT";
22039
22039
  var dependencies = {
22040
- "@embeddable.com/sdk-utils": "*",
22040
+ "@embeddable.com/sdk-utils": "0.5.0",
22041
22041
  "@inquirer/prompts": "^7.1.0",
22042
22042
  "@stencil/core": "^4.22.3",
22043
22043
  "@swc-node/register": "^1.10.9",
package/lib/index.js CHANGED
@@ -22027,7 +22027,7 @@ var defineConfig = ({ plugins, pushBaseUrl, audienceUrl, authDomain, authClientI
22027
22027
  };
22028
22028
 
22029
22029
  var name = "@embeddable.com/sdk-core";
22030
- var version = "3.10.1";
22030
+ var version = "3.11.0";
22031
22031
  var description = "Core Embeddable SDK module responsible for web-components bundling and publishing.";
22032
22032
  var keywords = [
22033
22033
  "embeddable",
@@ -22065,7 +22065,7 @@ var engines = {
22065
22065
  };
22066
22066
  var license = "MIT";
22067
22067
  var dependencies = {
22068
- "@embeddable.com/sdk-utils": "*",
22068
+ "@embeddable.com/sdk-utils": "0.5.0",
22069
22069
  "@inquirer/prompts": "^7.1.0",
22070
22070
  "@stencil/core": "^4.22.3",
22071
22071
  "@swc-node/register": "^1.10.9",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embeddable.com/sdk-core",
3
- "version": "3.10.2",
3
+ "version": "3.11.0",
4
4
  "description": "Core Embeddable SDK module responsible for web-components bundling and publishing.",
5
5
  "keywords": [
6
6
  "embeddable",
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "license": "MIT",
40
40
  "dependencies": {
41
- "@embeddable.com/sdk-utils": "*",
41
+ "@embeddable.com/sdk-utils": "0.5.0",
42
42
  "@inquirer/prompts": "^7.1.0",
43
43
  "@stencil/core": "^4.22.3",
44
44
  "@swc-node/register": "^1.10.9",
@@ -1,2 +0,0 @@
1
- declare const _default: () => Promise<void>;
2
- export default _default;
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- export declare const EMB_TYPE_FILE_REGEX: RegExp;
2
- export declare const EMB_OPTIONS_FILE_REGEX: RegExp;
3
- declare const _default: (ctx: any) => Promise<void>;
4
- export default _default;
@@ -1 +0,0 @@
1
- export {};
@@ -1,16 +0,0 @@
1
- declare const _default: (ctx: any) => Promise<void>;
2
- export default _default;
3
- type ManifestArgs = {
4
- ctx: any;
5
- typesFileName: string;
6
- metaFileName: string;
7
- editorsMetaFileName: string;
8
- stencilWrapperFileName: string;
9
- };
10
- export declare function createManifest({
11
- ctx,
12
- typesFileName,
13
- metaFileName,
14
- editorsMetaFileName,
15
- stencilWrapperFileName,
16
- }: ManifestArgs): Promise<void>;
@@ -1 +0,0 @@
1
- export {};
@@ -1,23 +0,0 @@
1
- declare const _default: (
2
- coreRoot: string,
3
- clientRoot: string,
4
- ) => {
5
- core: {
6
- rootDir: string;
7
- templatesDir: string;
8
- configsDir: string;
9
- };
10
- client: {
11
- rootDir: string;
12
- buildDir: string;
13
- srcDir: string;
14
- tmpDir: string;
15
- componentDir: string;
16
- stencilBuild: string;
17
- archiveFile: string;
18
- };
19
- outputOptions: {
20
- typesEntryPointFilename: string;
21
- };
22
- };
23
- export default _default;
@@ -1,2 +0,0 @@
1
- export declare const CREDENTIALS_DIR: string;
2
- export declare const CREDENTIALS_FILE: string;
@@ -1,65 +0,0 @@
1
- export type EmbeddableConfig = {
2
- plugins: (() => {
3
- pluginName: string;
4
- build: (config: EmbeddableConfig) => Promise<unknown>;
5
- cleanup: (config: EmbeddableConfig) => Promise<unknown>;
6
- validate: (config: EmbeddableConfig) => Promise<unknown>;
7
- })[];
8
- pushBaseUrl?: string;
9
- audienceUrl?: string;
10
- authDomain?: string;
11
- authClientId?: string;
12
- errorFallbackComponent?: string;
13
- applicationEnvironment?: string;
14
- rollbarAccessToken?: string;
15
- previewBaseUrl?: string;
16
- componentsSrc?: string;
17
- modelsSrc?: string;
18
- };
19
- declare const _default: ({
20
- plugins,
21
- pushBaseUrl,
22
- audienceUrl,
23
- authDomain,
24
- authClientId,
25
- errorFallbackComponent,
26
- applicationEnvironment,
27
- rollbarAccessToken,
28
- previewBaseUrl,
29
- modelsSrc,
30
- componentsSrc,
31
- }: EmbeddableConfig) => {
32
- core: {
33
- rootDir: string;
34
- templatesDir: string;
35
- configsDir: string;
36
- };
37
- client: {
38
- rootDir: string;
39
- srcDir: string;
40
- modelsSrc: string | undefined;
41
- buildDir: string;
42
- tmpDir: string;
43
- componentDir: string;
44
- stencilBuild: string;
45
- archiveFile: string;
46
- errorFallbackComponent: string | undefined;
47
- };
48
- outputOptions: {
49
- typesEntryPointFilename: string;
50
- };
51
- pushBaseUrl: string;
52
- audienceUrl: string;
53
- previewBaseUrl: string;
54
- authDomain: string;
55
- authClientId: string;
56
- applicationEnvironment: string;
57
- rollbarAccessToken: string;
58
- plugins: (() => {
59
- pluginName: string;
60
- build: (config: EmbeddableConfig) => Promise<unknown>;
61
- cleanup: (config: EmbeddableConfig) => Promise<unknown>;
62
- validate: (config: EmbeddableConfig) => Promise<unknown>;
63
- })[];
64
- };
65
- export default _default;
package/lib/src/dev.d.ts DELETED
@@ -1,2 +0,0 @@
1
- declare const _default: () => Promise<void>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: (ctx: any, pluginName: string) => Promise<void>;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare const _default: (ctx: any) => Promise<void>;
2
- export default _default;
@@ -1,5 +0,0 @@
1
- export { default as build } from "./build";
2
- export { default as login } from "./login";
3
- export { default as push } from "./push";
4
- export { default as dev } from "./dev";
5
- export { default as defineConfig } from "./defineConfig";
@@ -1,4 +0,0 @@
1
- declare const _default: () => Promise<void>;
2
- export default _default;
3
- export declare function getToken(): Promise<any>;
4
- export declare function resolveFiles(): Promise<void>;
@@ -1,3 +0,0 @@
1
- declare const _default: (ctx: any) => Promise<void>;
2
- export default _default;
3
- export declare function removeIfExists(ctx: any): Promise<void>;
@@ -1,2 +0,0 @@
1
- declare const _default: () => Promise<any>;
2
- export default _default;
@@ -1 +0,0 @@
1
- export {};
package/lib/src/push.d.ts DELETED
@@ -1,26 +0,0 @@
1
- export declare const YAML_OR_JS_FILES: RegExp;
2
- declare const _default: () => Promise<void>;
3
- export default _default;
4
- export declare function archive(
5
- ctx: any,
6
- yamlFiles: [string, string][],
7
- includeBuild?: boolean,
8
- ): Promise<unknown>;
9
- export declare function sendBuildByApiKey(
10
- ctx: any,
11
- { apiKey, email, message }: any,
12
- ): Promise<{
13
- bundleId: any;
14
- email: any;
15
- message: any;
16
- }>;
17
- export declare function sendBuild(
18
- ctx: any,
19
- {
20
- workspaceId,
21
- token,
22
- }: {
23
- workspaceId: string;
24
- token: string;
25
- },
26
- ): Promise<void>;
@@ -1,25 +0,0 @@
1
- export declare const checkNodeVersion: () => Promise<boolean>;
2
- /**
3
- * Get the value of a process argument by key
4
- * Example: getArgumentByKey("--email") or getArgumentByKey(["--email", "-e"])
5
- * @param key The key to search for in the process arguments
6
- * @returns
7
- */
8
- export declare const getArgumentByKey: (
9
- key: string | string[],
10
- ) => string | undefined;
11
- export declare const SUCCESS_FLAG_FILE: string;
12
- /**
13
- * Store a flag in the credentials directory to indicate a successful build
14
- * This is used to determine if the build was successful or not
15
- */
16
- export declare const storeBuildSuccessFlag: () => Promise<void>;
17
- /**
18
- * Remove the success flag from the credentials directory
19
- */
20
- export declare const removeBuildSuccessFlag: () => Promise<void>;
21
- /**
22
- * Check if the build was successful
23
- */
24
- export declare const checkBuildSuccess: () => Promise<boolean>;
25
- export declare const getPackageVersion: (packageName: string) => any;
@@ -1 +0,0 @@
1
- export {};
@@ -1,8 +0,0 @@
1
- declare const _default: (ctx: any, exitIfInvalid?: boolean) => Promise<boolean>;
2
- export default _default;
3
- export declare function dataModelsValidation(
4
- filesList: [string, string][],
5
- ): Promise<string[]>;
6
- export declare function securityContextValidation(
7
- filesList: [string, string][],
8
- ): Promise<string[]>;
@@ -1 +0,0 @@
1
- export {};