@eventcatalog/core 2.21.2 → 2.21.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.
@@ -37,7 +37,7 @@ var import_axios = __toESM(require("axios"), 1);
37
37
  var import_os = __toESM(require("os"), 1);
38
38
 
39
39
  // package.json
40
- var version = "2.21.2";
40
+ var version = "2.21.4";
41
41
 
42
42
  // src/constants.ts
43
43
  var VERSION = version;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "../chunk-WS3IUCJN.js";
4
- import "../chunk-IZQ5RLJU.js";
3
+ } from "../chunk-L7JLMGF6.js";
4
+ import "../chunk-QXU52AKZ.js";
5
5
  export {
6
6
  raiseEvent
7
7
  };
@@ -106,7 +106,7 @@ var import_axios = __toESM(require("axios"), 1);
106
106
  var import_os = __toESM(require("os"), 1);
107
107
 
108
108
  // package.json
109
- var version = "2.21.2";
109
+ var version = "2.21.4";
110
110
 
111
111
  // src/constants.ts
112
112
  var VERSION = version;
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  log_build_default
3
- } from "../chunk-IVTWUNVW.js";
4
- import "../chunk-WS3IUCJN.js";
5
- import "../chunk-IZQ5RLJU.js";
3
+ } from "../chunk-NN4YAIZA.js";
4
+ import "../chunk-L7JLMGF6.js";
5
+ import "../chunk-QXU52AKZ.js";
6
6
  import "../chunk-E7TXTI7G.js";
7
7
  export {
8
8
  log_build_default as default
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  catalogToAstro
3
- } from "./chunk-WF34R5UT.js";
4
- import "./chunk-7JDTB3U5.js";
3
+ } from "./chunk-CXKIF3EI.js";
5
4
  import "./chunk-E7TXTI7G.js";
5
+ import "./chunk-7JDTB3U5.js";
6
6
  export {
7
7
  catalogToAstro
8
8
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-IZQ5RLJU.js";
3
+ } from "./chunk-QXU52AKZ.js";
4
4
 
5
5
  // src/analytics/analytics.js
6
6
  import axios from "axios";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  raiseEvent
3
- } from "./chunk-WS3IUCJN.js";
3
+ } from "./chunk-L7JLMGF6.js";
4
4
  import {
5
5
  getEventCatalogConfigFile,
6
6
  verifyRequiredFieldsAreInCatalogConfigFile
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "2.21.2";
2
+ var version = "2.21.4";
3
3
 
4
4
  // src/constants.ts
5
5
  var VERSION = version;
@@ -0,0 +1,48 @@
1
+ // src/features.ts
2
+ import boxen from "boxen";
3
+ var isBackstagePluginEnabled = async (licenseKey) => {
4
+ const LICENSE_KEY = process.env.EVENTCATALOG_LICENSE_KEY_BACKSTAGE || null;
5
+ if (!LICENSE_KEY) {
6
+ return false;
7
+ }
8
+ const response = await fetch("https://api.eventcatalog.cloud/functions/v1/license", {
9
+ method: "POST",
10
+ headers: {
11
+ Authorization: `Bearer ${LICENSE_KEY}`,
12
+ "Content-Type": "application/json"
13
+ }
14
+ });
15
+ if (response.status !== 200) {
16
+ console.log(
17
+ "\nTried to verify your backstage license but it is not valid. Please check your license key or purchase a license at https://eventcatalog.cloud/\n"
18
+ );
19
+ return false;
20
+ }
21
+ if (response.status === 200) {
22
+ const data = await response.json();
23
+ if ("@eventcatalog/backstage-plugin-eventcatalog" !== data.plugin) {
24
+ console.log(
25
+ "\nInvalid license key for backstage integration, please check your license key or purchase a license at https://eventcatalog.cloud/\n"
26
+ );
27
+ return false;
28
+ }
29
+ let message = "Backstage integration is enabled for EventCatalog";
30
+ if (data.is_trial) {
31
+ message += "\nYou are using a trial license for backstage integration.";
32
+ }
33
+ console.log(
34
+ boxen(message, {
35
+ padding: 1,
36
+ margin: 1,
37
+ borderColor: "green",
38
+ title: "@eventcatalog/backstage-plugin-eventcatalog",
39
+ titleAlignment: "center"
40
+ })
41
+ );
42
+ }
43
+ return true;
44
+ };
45
+
46
+ export {
47
+ isBackstagePluginEnabled
48
+ };
@@ -25,7 +25,7 @@ __export(constants_exports, {
25
25
  module.exports = __toCommonJS(constants_exports);
26
26
 
27
27
  // package.json
28
- var version = "2.21.2";
28
+ var version = "2.21.4";
29
29
 
30
30
  // src/constants.ts
31
31
  var VERSION = version;
package/dist/constants.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-IZQ5RLJU.js";
3
+ } from "./chunk-QXU52AKZ.js";
4
4
  export {
5
5
  VERSION
6
6
  };
@@ -161,7 +161,7 @@ var import_axios = __toESM(require("axios"), 1);
161
161
  var import_os = __toESM(require("os"), 1);
162
162
 
163
163
  // package.json
164
- var version = "2.21.2";
164
+ var version = "2.21.4";
165
165
 
166
166
  // src/constants.ts
167
167
  var VERSION = version;
@@ -514,7 +514,54 @@ var resolve_catalog_dependencies_default = async (catalogDir, core2) => {
514
514
 
515
515
  // src/eventcatalog.ts
516
516
  var import_semver = __toESM(require("semver"), 1);
517
+ var import_boxen2 = __toESM(require("boxen"), 1);
518
+
519
+ // src/features.ts
517
520
  var import_boxen = __toESM(require("boxen"), 1);
521
+ var isBackstagePluginEnabled = async (licenseKey) => {
522
+ const LICENSE_KEY = process.env.EVENTCATALOG_LICENSE_KEY_BACKSTAGE || null;
523
+ if (!LICENSE_KEY) {
524
+ return false;
525
+ }
526
+ const response = await fetch("https://api.eventcatalog.cloud/functions/v1/license", {
527
+ method: "POST",
528
+ headers: {
529
+ Authorization: `Bearer ${LICENSE_KEY}`,
530
+ "Content-Type": "application/json"
531
+ }
532
+ });
533
+ if (response.status !== 200) {
534
+ console.log(
535
+ "\nTried to verify your backstage license but it is not valid. Please check your license key or purchase a license at https://eventcatalog.cloud/\n"
536
+ );
537
+ return false;
538
+ }
539
+ if (response.status === 200) {
540
+ const data = await response.json();
541
+ if ("@eventcatalog/backstage-plugin-eventcatalog" !== data.plugin) {
542
+ console.log(
543
+ "\nInvalid license key for backstage integration, please check your license key or purchase a license at https://eventcatalog.cloud/\n"
544
+ );
545
+ return false;
546
+ }
547
+ let message = "Backstage integration is enabled for EventCatalog";
548
+ if (data.is_trial) {
549
+ message += "\nYou are using a trial license for backstage integration.";
550
+ }
551
+ console.log(
552
+ (0, import_boxen.default)(message, {
553
+ padding: 1,
554
+ margin: 1,
555
+ borderColor: "green",
556
+ title: "@eventcatalog/backstage-plugin-eventcatalog",
557
+ titleAlignment: "center"
558
+ })
559
+ );
560
+ }
561
+ return true;
562
+ };
563
+
564
+ // src/eventcatalog.ts
518
565
  var boxenOptions = {
519
566
  padding: 1,
520
567
  margin: 1,
@@ -565,7 +612,7 @@ var checkForUpdate = () => {
565
612
  const coreVersion = corePackageJson.version;
566
613
  const userVersion = userEventCatalogVersion.replace(/[\^~]/, "");
567
614
  if (import_semver.default.lt(userVersion, coreVersion)) {
568
- const docusaurusUpdateMessage = (0, import_boxen.default)(
615
+ const docusaurusUpdateMessage = (0, import_boxen2.default)(
569
616
  `Update available for EventCatalog
570
617
  @eventcatalog/core ${userVersion} \u2192 ${coreVersion}
571
618
 
@@ -591,6 +638,7 @@ program.command("dev").description("Run development server of EventCatalog").opt
591
638
  console.log("EventCatalog is starting at http://localhost:3000/docs");
592
639
  await resolve_catalog_dependencies_default(dir, core);
593
640
  await catalogToAstro(dir, core);
641
+ const canEmbedPages = await isBackstagePluginEnabled();
594
642
  let watchUnsub;
595
643
  try {
596
644
  watchUnsub = await watch(dir, core);
@@ -601,7 +649,8 @@ program.command("dev").description("Run development server of EventCatalog").opt
601
649
  cwd: core,
602
650
  env: {
603
651
  PROJECT_DIR: dir,
604
- CATALOG_DIR: core
652
+ CATALOG_DIR: core,
653
+ ENABLE_EMBED: canEmbedPages
605
654
  }
606
655
  }
607
656
  ]);
@@ -619,24 +668,33 @@ program.command("build").description("Run build of EventCatalog").action(async (
619
668
  await log_build_default(dir);
620
669
  await resolve_catalog_dependencies_default(dir, core);
621
670
  await catalogToAstro(dir, core);
622
- (0, import_node_child_process.execSync)(`cross-env PROJECT_DIR='${dir}' CATALOG_DIR='${core}' npx astro build ${command.args.join(" ").trim()}`, {
623
- cwd: core,
624
- stdio: "inherit"
625
- });
671
+ const canEmbedPages = await isBackstagePluginEnabled();
672
+ (0, import_node_child_process.execSync)(
673
+ `cross-env PROJECT_DIR='${dir}' CATALOG_DIR='${core}' ENABLE_EMBED=${canEmbedPages} npx astro build ${command.args.join(" ").trim()}`,
674
+ {
675
+ cwd: core,
676
+ stdio: "inherit"
677
+ }
678
+ );
626
679
  });
627
- var previewCatalog = ({ command }) => {
628
- (0, import_node_child_process.execSync)(`cross-env PROJECT_DIR='${dir}' CATALOG_DIR='${core}' npx astro preview ${command.args.join(" ").trim()}`, {
629
- cwd: core,
630
- stdio: "inherit"
631
- });
680
+ var previewCatalog = ({ command, canEmbedPages = false }) => {
681
+ (0, import_node_child_process.execSync)(
682
+ `cross-env PROJECT_DIR='${dir}' CATALOG_DIR='${core}' ENABLE_EMBED=${canEmbedPages} npx astro preview ${command.args.join(" ").trim()}`,
683
+ {
684
+ cwd: core,
685
+ stdio: "inherit"
686
+ }
687
+ );
632
688
  };
633
- program.command("preview").description("Serves the contents of your eventcatalog build directory").action((options, command) => {
689
+ program.command("preview").description("Serves the contents of your eventcatalog build directory").action(async (options, command) => {
634
690
  console.log("Starting preview of your build...");
635
- previewCatalog({ command });
691
+ const canEmbedPages = await isBackstagePluginEnabled();
692
+ previewCatalog({ command, canEmbedPages });
636
693
  });
637
- program.command("start").description("Serves the contents of your eventcatalog build directory").action((options, command) => {
694
+ program.command("start").description("Serves the contents of your eventcatalog build directory").action(async (options, command) => {
638
695
  console.log("Starting preview of your build...");
639
- previewCatalog({ command });
696
+ const canEmbedPages = await isBackstagePluginEnabled();
697
+ previewCatalog({ command, canEmbedPages });
640
698
  });
641
699
  program.command("generate [siteDir]").description("Start the generator scripts.").action(async () => {
642
700
  await generate(dir);
@@ -1,24 +1,27 @@
1
+ import {
2
+ resolve_catalog_dependencies_default
3
+ } from "./chunk-BLDONK5J.js";
1
4
  import {
2
5
  watch
3
- } from "./chunk-FSKZU5FH.js";
6
+ } from "./chunk-OW2FQPYP.js";
4
7
  import {
5
8
  log_build_default
6
- } from "./chunk-IVTWUNVW.js";
7
- import "./chunk-WS3IUCJN.js";
9
+ } from "./chunk-NN4YAIZA.js";
10
+ import "./chunk-L7JLMGF6.js";
8
11
  import {
9
12
  catalogToAstro
10
- } from "./chunk-WF34R5UT.js";
13
+ } from "./chunk-CXKIF3EI.js";
11
14
  import {
12
15
  VERSION
13
- } from "./chunk-IZQ5RLJU.js";
16
+ } from "./chunk-QXU52AKZ.js";
17
+ import {
18
+ isBackstagePluginEnabled
19
+ } from "./chunk-XMDPVKIJ.js";
14
20
  import {
15
21
  generate
16
22
  } from "./chunk-YEQVKHST.js";
17
- import "./chunk-7JDTB3U5.js";
18
- import {
19
- resolve_catalog_dependencies_default
20
- } from "./chunk-BLDONK5J.js";
21
23
  import "./chunk-E7TXTI7G.js";
24
+ import "./chunk-7JDTB3U5.js";
22
25
 
23
26
  // src/eventcatalog.ts
24
27
  import { Command } from "commander";
@@ -106,6 +109,7 @@ program.command("dev").description("Run development server of EventCatalog").opt
106
109
  console.log("EventCatalog is starting at http://localhost:3000/docs");
107
110
  await resolve_catalog_dependencies_default(dir, core);
108
111
  await catalogToAstro(dir, core);
112
+ const canEmbedPages = await isBackstagePluginEnabled();
109
113
  let watchUnsub;
110
114
  try {
111
115
  watchUnsub = await watch(dir, core);
@@ -116,7 +120,8 @@ program.command("dev").description("Run development server of EventCatalog").opt
116
120
  cwd: core,
117
121
  env: {
118
122
  PROJECT_DIR: dir,
119
- CATALOG_DIR: core
123
+ CATALOG_DIR: core,
124
+ ENABLE_EMBED: canEmbedPages
120
125
  }
121
126
  }
122
127
  ]);
@@ -134,24 +139,33 @@ program.command("build").description("Run build of EventCatalog").action(async (
134
139
  await log_build_default(dir);
135
140
  await resolve_catalog_dependencies_default(dir, core);
136
141
  await catalogToAstro(dir, core);
137
- execSync(`cross-env PROJECT_DIR='${dir}' CATALOG_DIR='${core}' npx astro build ${command.args.join(" ").trim()}`, {
138
- cwd: core,
139
- stdio: "inherit"
140
- });
142
+ const canEmbedPages = await isBackstagePluginEnabled();
143
+ execSync(
144
+ `cross-env PROJECT_DIR='${dir}' CATALOG_DIR='${core}' ENABLE_EMBED=${canEmbedPages} npx astro build ${command.args.join(" ").trim()}`,
145
+ {
146
+ cwd: core,
147
+ stdio: "inherit"
148
+ }
149
+ );
141
150
  });
142
- var previewCatalog = ({ command }) => {
143
- execSync(`cross-env PROJECT_DIR='${dir}' CATALOG_DIR='${core}' npx astro preview ${command.args.join(" ").trim()}`, {
144
- cwd: core,
145
- stdio: "inherit"
146
- });
151
+ var previewCatalog = ({ command, canEmbedPages = false }) => {
152
+ execSync(
153
+ `cross-env PROJECT_DIR='${dir}' CATALOG_DIR='${core}' ENABLE_EMBED=${canEmbedPages} npx astro preview ${command.args.join(" ").trim()}`,
154
+ {
155
+ cwd: core,
156
+ stdio: "inherit"
157
+ }
158
+ );
147
159
  };
148
- program.command("preview").description("Serves the contents of your eventcatalog build directory").action((options, command) => {
160
+ program.command("preview").description("Serves the contents of your eventcatalog build directory").action(async (options, command) => {
149
161
  console.log("Starting preview of your build...");
150
- previewCatalog({ command });
162
+ const canEmbedPages = await isBackstagePluginEnabled();
163
+ previewCatalog({ command, canEmbedPages });
151
164
  });
152
- program.command("start").description("Serves the contents of your eventcatalog build directory").action((options, command) => {
165
+ program.command("start").description("Serves the contents of your eventcatalog build directory").action(async (options, command) => {
153
166
  console.log("Starting preview of your build...");
154
- previewCatalog({ command });
167
+ const canEmbedPages = await isBackstagePluginEnabled();
168
+ previewCatalog({ command, canEmbedPages });
155
169
  });
156
170
  program.command("generate [siteDir]").description("Start the generator scripts.").action(async () => {
157
171
  await generate(dir);
@@ -0,0 +1,82 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+
30
+ // src/features.ts
31
+ var features_exports = {};
32
+ __export(features_exports, {
33
+ isBackstagePluginEnabled: () => isBackstagePluginEnabled
34
+ });
35
+ module.exports = __toCommonJS(features_exports);
36
+ var import_boxen = __toESM(require("boxen"), 1);
37
+ var isBackstagePluginEnabled = async (licenseKey) => {
38
+ const LICENSE_KEY = process.env.EVENTCATALOG_LICENSE_KEY_BACKSTAGE || null;
39
+ if (!LICENSE_KEY) {
40
+ return false;
41
+ }
42
+ const response = await fetch("https://api.eventcatalog.cloud/functions/v1/license", {
43
+ method: "POST",
44
+ headers: {
45
+ Authorization: `Bearer ${LICENSE_KEY}`,
46
+ "Content-Type": "application/json"
47
+ }
48
+ });
49
+ if (response.status !== 200) {
50
+ console.log(
51
+ "\nTried to verify your backstage license but it is not valid. Please check your license key or purchase a license at https://eventcatalog.cloud/\n"
52
+ );
53
+ return false;
54
+ }
55
+ if (response.status === 200) {
56
+ const data = await response.json();
57
+ if ("@eventcatalog/backstage-plugin-eventcatalog" !== data.plugin) {
58
+ console.log(
59
+ "\nInvalid license key for backstage integration, please check your license key or purchase a license at https://eventcatalog.cloud/\n"
60
+ );
61
+ return false;
62
+ }
63
+ let message = "Backstage integration is enabled for EventCatalog";
64
+ if (data.is_trial) {
65
+ message += "\nYou are using a trial license for backstage integration.";
66
+ }
67
+ console.log(
68
+ (0, import_boxen.default)(message, {
69
+ padding: 1,
70
+ margin: 1,
71
+ borderColor: "green",
72
+ title: "@eventcatalog/backstage-plugin-eventcatalog",
73
+ titleAlignment: "center"
74
+ })
75
+ );
76
+ }
77
+ return true;
78
+ };
79
+ // Annotate the CommonJS export names for ESM import in node:
80
+ 0 && (module.exports = {
81
+ isBackstagePluginEnabled
82
+ });
@@ -0,0 +1,3 @@
1
+ declare const isBackstagePluginEnabled: (licenseKey?: string) => Promise<boolean>;
2
+
3
+ export { isBackstagePluginEnabled };
@@ -0,0 +1,3 @@
1
+ declare const isBackstagePluginEnabled: (licenseKey?: string) => Promise<boolean>;
2
+
3
+ export { isBackstagePluginEnabled };
@@ -0,0 +1,6 @@
1
+ import {
2
+ isBackstagePluginEnabled
3
+ } from "./chunk-XMDPVKIJ.js";
4
+ export {
5
+ isBackstagePluginEnabled
6
+ };
package/dist/watcher.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  watch
3
- } from "./chunk-FSKZU5FH.js";
4
- import "./chunk-7JDTB3U5.js";
3
+ } from "./chunk-OW2FQPYP.js";
5
4
  import "./chunk-E7TXTI7G.js";
5
+ import "./chunk-7JDTB3U5.js";
6
6
  export {
7
7
  watch
8
8
  };
@@ -142,6 +142,8 @@ const currentNavigationItem = navigationItems.find((item) => item.current);
142
142
  const { title, description, sidebar: showSideBarOverride } = Astro.props;
143
143
 
144
144
  const showSideBarOnLoad = currentNavigationItem?.sidebar;
145
+
146
+ const canPageBeEmbedded = process.env.ENABLE_EMBED === 'true';
145
147
  ---
146
148
 
147
149
  <!doctype html>
@@ -209,10 +211,26 @@ const showSideBarOnLoad = currentNavigationItem?.sidebar;
209
211
  >
210
212
  <slot />
211
213
  </main>
214
+
215
+ <!-- Creae a overlay that tells people to purchase backstage plugin if they want to embed the page -->
216
+ <div class="absolute inset-0 bg-black items-center justify-center z-50 hidden" id="embed-overlay">
217
+ <div class="text-white text-center space-y-4">
218
+ <div>
219
+ <h1 class="text-2xl font-bold">EventCatalog Backstage Integration</h1>
220
+ <p class="text-md text-red-500">Missing license key for backstage integration.</p>
221
+ </div>
222
+ <div>
223
+ <p class="text-sm text-gray-500">Please configure the backstage plugin to embed this page into Backstage.</p>
224
+ <a href="https://www.eventcatalog.dev/integrations/backstage" class="text-blue-500 text-xs"
225
+ >Configure backstage plugin &rarr;</a
226
+ >
227
+ </div>
228
+ </div>
229
+ </div>
212
230
  </div>
213
231
  </body>
214
232
  </html>
215
- <script define:vars={{ navigationItems, currentNavigationItem, showSideBarOnLoad }}>
233
+ <script define:vars={{ navigationItems, currentNavigationItem, showSideBarOnLoad, canPageBeEmbedded }}>
216
234
  // Listen for Astro transititions
217
235
  document.addEventListener('astro:page-load', () => {
218
236
  document.dispatchEvent(new CustomEvent('contentLoaded'));
@@ -230,6 +248,12 @@ const showSideBarOnLoad = currentNavigationItem?.sidebar;
230
248
  const embeded = params.embed === 'true' ? true : false;
231
249
  const content = document.getElementById('content');
232
250
 
251
+ if (embeded && !canPageBeEmbedded) {
252
+ const overlay = document.getElementById('embed-overlay');
253
+ overlay.style.display = 'flex';
254
+ return;
255
+ }
256
+
233
257
  if (embeded) {
234
258
  const elementsToHide = [
235
259
  'eventcatalog-vertical-nav',
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "url": "https://github.com/event-catalog/eventcatalog.git"
7
7
  },
8
8
  "type": "module",
9
- "version": "2.21.2",
9
+ "version": "2.21.4",
10
10
  "publishConfig": {
11
11
  "access": "public"
12
12
  },
@@ -1,10 +1,10 @@
1
- import {
2
- mapCatalogToAstro
3
- } from "./chunk-7JDTB3U5.js";
4
1
  import {
5
2
  addPropertyToFrontMatter,
6
3
  verifyRequiredFieldsAreInCatalogConfigFile
7
4
  } from "./chunk-E7TXTI7G.js";
5
+ import {
6
+ mapCatalogToAstro
7
+ } from "./chunk-7JDTB3U5.js";
8
8
 
9
9
  // src/catalog-to-astro-content-directory.js
10
10
  import { glob } from "glob";
@@ -1,9 +1,9 @@
1
- import {
2
- mapCatalogToAstro
3
- } from "./chunk-7JDTB3U5.js";
4
1
  import {
5
2
  addPropertyToFrontMatter
6
3
  } from "./chunk-E7TXTI7G.js";
4
+ import {
5
+ mapCatalogToAstro
6
+ } from "./chunk-7JDTB3U5.js";
7
7
 
8
8
  // src/watcher.js
9
9
  import watcher from "@parcel/watcher";