@embeddable.com/sdk-core 2.4.13 → 2.4.15

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/prepare.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  declare const _default: (ctx: any) => Promise<void>;
2
2
  export default _default;
3
+ export declare function removeIfExists(ctx: any): Promise<void>;
package/lib/push.d.ts CHANGED
@@ -1,2 +1,8 @@
1
+ export declare const CUBE_YAML_FILE_REGEX: RegExp;
1
2
  declare const _default: () => Promise<void>;
2
3
  export default _default;
4
+ export declare function archive(ctx: any, yamlFiles: [string, string][], includeBuild?: boolean): Promise<unknown>;
5
+ export declare function sendBuild(ctx: any, { workspaceId, token }: {
6
+ workspaceId: string;
7
+ token: string;
8
+ }): Promise<void>;
package/lib/validate.d.ts CHANGED
@@ -1,2 +1,3 @@
1
- declare const _default: (ctx: any) => Promise<void>;
1
+ declare const _default: (ctx: any, exitIfInvalid?: boolean) => Promise<boolean>;
2
2
  export default _default;
3
+ export declare function dataModelsValidation(filesList: [string, string][]): Promise<string[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@embeddable.com/sdk-core",
3
- "version": "2.4.13",
3
+ "version": "2.4.15",
4
4
  "description": "Core Embeddable SDK module responsible for web-components bundling and publishing.",
5
5
  "keywords": [
6
6
  "embeddable",
@@ -38,11 +38,15 @@
38
38
  "@stencil/core": "^4.6.0",
39
39
  "archiver": "^5.3.1",
40
40
  "axios": "^1.4.0",
41
+ "chokidar": "^3.5.3",
42
+ "finalhandler": "^1.2.0",
41
43
  "formdata-node": "^6.0.3",
42
44
  "open": "^9.1.0",
43
45
  "ora": "^8.0.1",
46
+ "serve-static": "^1.15.0",
44
47
  "sorcery": "^0.11.0",
45
48
  "vite": "^4.5.0",
49
+ "ws": "^8.16.0",
46
50
  "yaml": "^2.3.3"
47
51
  },
48
52
  "lint-staged": {
@@ -51,6 +55,7 @@
51
55
  ]
52
56
  },
53
57
  "devDependencies": {
54
- "@types/archiver": "^5.3.4"
58
+ "@types/archiver": "^5.3.4",
59
+ "@types/ws": "^8.5.10"
55
60
  }
56
61
  }