@embeddable.com/sdk-core 3.13.0-next.0 → 3.13.0-next.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/lib/index.esm.js +2 -1
- package/lib/index.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/cleanup.test.ts +1 -0
- package/src/cleanup.ts +1 -0
package/lib/index.esm.js
CHANGED
|
@@ -687,7 +687,7 @@ var cleanup = async (ctx) => {
|
|
|
687
687
|
await moveBuildTOBuildDir(ctx);
|
|
688
688
|
};
|
|
689
689
|
async function createManifest({ ctx, typesFileName, metaFileName, editorsMetaFileName, stencilWrapperFileName, }) {
|
|
690
|
-
var _a, _b, _c, _d;
|
|
690
|
+
var _a, _b, _c, _d, _e;
|
|
691
691
|
const sdkVersions = getSDKVersions();
|
|
692
692
|
// identify user's package manager and its version
|
|
693
693
|
let packageManager = "npm";
|
|
@@ -717,6 +717,7 @@ async function createManifest({ ctx, typesFileName, metaFileName, editorsMetaFil
|
|
|
717
717
|
metrics: {
|
|
718
718
|
buildTime: hrtimeToISO8601(ctx.buildTime),
|
|
719
719
|
},
|
|
720
|
+
origin: ((_e = ctx.dev) === null || _e === undefined ? undefined : _e.watch) ? "dev" : "push",
|
|
720
721
|
},
|
|
721
722
|
};
|
|
722
723
|
await fs.writeFile(path.join(ctx.client.tmpDir, "embeddable-manifest.json"), JSON.stringify(manifest));
|