vite-plugin-zephyr 1.2.2 → 1.2.4

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.
@@ -504,11 +504,6 @@ var __webpack_exports__ = {};
504
504
  }
505
505
  if (!zephyr_engine.hasActiveBuild) await zephyr_engine.start_new_build();
506
506
  const federationMetadata = getModuleFederationPublicationMetadata();
507
- (0, external_zephyr_agent_namespaceObject.assertTapFederationPublicationMetadata)({
508
- target: options.target,
509
- mfConfigs: federationMetadata.mfConfigs,
510
- federation: federationMetadata.federation
511
- });
512
507
  await zephyr_engine.upload_assets({
513
508
  assetsMap,
514
509
  buildStats: attachViteFederationBuildStats(await (0, external_zephyr_agent_namespaceObject.zeBuildDashData)(zephyr_engine), federationMetadata),
@@ -623,11 +618,6 @@ var __webpack_exports__ = {};
623
618
  message: 'Vite upload metadata was not prepared.'
624
619
  });
625
620
  const federationMetadata = getModuleFederationPublicationMetadata();
626
- (0, external_zephyr_agent_namespaceObject.assertTapFederationPublicationMetadata)({
627
- target: options.target,
628
- mfConfigs: federationMetadata.mfConfigs,
629
- federation: federationMetadata.federation
630
- });
631
621
  await zephyrEngine.upload_assets({
632
622
  assetsMap,
633
623
  buildStats: attachViteFederationBuildStats(await (0, external_zephyr_agent_namespaceObject.zeBuildDashData)(zephyrEngine), federationMetadata),
@@ -645,7 +635,6 @@ var __webpack_exports__ = {};
645
635
  const session = applicationContext.beginBuild({
646
636
  invocationId: `${buildInvocationId}:${generation}`,
647
637
  generation,
648
- strictAssetPaths: preservesLockedArtifactPaths,
649
638
  participants: [
650
639
  ...environments.map(([name, environment])=>({
651
640
  name,
@@ -2,7 +2,7 @@ import "node:module";
2
2
  import { readFile } from "node:fs/promises";
3
3
  import { createHash, randomUUID } from "node:crypto";
4
4
  import magic_string from "magic-string";
5
- import { ApplicationContext, ZeErrors, ZephyrEngine, ZephyrError, assertTapFederationPublicationMetadata, assertZephyrBuildTarget, claimPartialAssetMapBatch, commitPartialAssetMapClaimBatch, createManifestContent, handleGlobalError, normalizeBasePath, rewriteEnvReadsToVirtualModule, rollbackPartialAssetMapClaimBatch, savePartialAssetMap, zeBuildAssets, zeBuildDashData, ze_log } from "zephyr-agent";
5
+ import { ApplicationContext, ZeErrors, ZephyrEngine, ZephyrError, assertZephyrBuildTarget, claimPartialAssetMapBatch, commitPartialAssetMapClaimBatch, createManifestContent, handleGlobalError, normalizeBasePath, rewriteEnvReadsToVirtualModule, rollbackPartialAssetMapClaimBatch, savePartialAssetMap, zeBuildAssets, zeBuildDashData, ze_log } from "zephyr-agent";
6
6
  import { extractEntrypoint } from "./internal/extract/extract-entrypoint.mjs";
7
7
  import { extract_mf_plugins } from "./internal/extract/extract_mf_plugin.mjs";
8
8
  import { extract_vite_assets_map } from "./internal/extract/extract_vite_assets_map.mjs";
@@ -455,11 +455,6 @@ function withZephyrCore(options = {}) {
455
455
  }
456
456
  if (!zephyr_engine.hasActiveBuild) await zephyr_engine.start_new_build();
457
457
  const federationMetadata = getModuleFederationPublicationMetadata();
458
- assertTapFederationPublicationMetadata({
459
- target: options.target,
460
- mfConfigs: federationMetadata.mfConfigs,
461
- federation: federationMetadata.federation
462
- });
463
458
  await zephyr_engine.upload_assets({
464
459
  assetsMap,
465
460
  buildStats: attachViteFederationBuildStats(await zeBuildDashData(zephyr_engine), federationMetadata),
@@ -574,11 +569,6 @@ function withZephyrCore(options = {}) {
574
569
  message: 'Vite upload metadata was not prepared.'
575
570
  });
576
571
  const federationMetadata = getModuleFederationPublicationMetadata();
577
- assertTapFederationPublicationMetadata({
578
- target: options.target,
579
- mfConfigs: federationMetadata.mfConfigs,
580
- federation: federationMetadata.federation
581
- });
582
572
  await zephyrEngine.upload_assets({
583
573
  assetsMap,
584
574
  buildStats: attachViteFederationBuildStats(await zeBuildDashData(zephyrEngine), federationMetadata),
@@ -596,7 +586,6 @@ function withZephyrCore(options = {}) {
596
586
  const session = applicationContext.beginBuild({
597
587
  invocationId: `${buildInvocationId}:${generation}`,
598
588
  generation,
599
- strictAssetPaths: preservesLockedArtifactPaths,
600
589
  participants: [
601
590
  ...environments.map(([name, environment])=>({
602
591
  name,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/vitejs/vite-plugin-registry/refs/heads/main/data/schema/extended-package-json.schema.json",
3
3
  "name": "vite-plugin-zephyr",
4
- "version": "1.2.2",
4
+ "version": "1.2.4",
5
5
  "description": "Vite plugin for Zephyr",
6
6
  "keywords": [
7
7
  "deploy",
@@ -51,7 +51,7 @@
51
51
  "acorn": "^8.17.0",
52
52
  "acorn-walk": "^8.3.5",
53
53
  "magic-string": "0.30.21",
54
- "zephyr-agent": "1.2.2"
54
+ "zephyr-agent": "1.2.4"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@module-federation/vite": "1.16.15",