@eventcatalog/core 2.0.11 → 2.0.12
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/CHANGELOG.md +6 -0
- package/bin/dist/eventcatalog.cjs +1 -1
- package/bin/dist/eventcatalog.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3141,7 +3141,7 @@ var previewCatalog = () => {
|
|
|
3141
3141
|
copyFolder((0, import_node_path.join)(dir, "public"), (0, import_node_path.join)(core, "public"));
|
|
3142
3142
|
copyFile((0, import_node_path.join)(dir, "eventcatalog.config.js"), (0, import_node_path.join)(core, "eventcatalog.config.js"));
|
|
3143
3143
|
copyFile((0, import_node_path.join)(dir, "eventcatalog.styles.css"), (0, import_node_path.join)(core, "eventcatalog.styles.css"));
|
|
3144
|
-
(0, import_node_child_process.execSync)(`PROJECT_DIR='${dir}' CATALOG_DIR='${core}' npm run preview`, {
|
|
3144
|
+
(0, import_node_child_process.execSync)(`PROJECT_DIR='${dir}' CATALOG_DIR='${core}' npm run preview -- --root ${dir} --port 3000`, {
|
|
3145
3145
|
cwd: core,
|
|
3146
3146
|
stdio: "inherit"
|
|
3147
3147
|
});
|
package/bin/dist/eventcatalog.js
CHANGED
|
@@ -3108,7 +3108,7 @@ var previewCatalog = () => {
|
|
|
3108
3108
|
copyFolder(join(dir, "public"), join(core, "public"));
|
|
3109
3109
|
copyFile(join(dir, "eventcatalog.config.js"), join(core, "eventcatalog.config.js"));
|
|
3110
3110
|
copyFile(join(dir, "eventcatalog.styles.css"), join(core, "eventcatalog.styles.css"));
|
|
3111
|
-
execSync(`PROJECT_DIR='${dir}' CATALOG_DIR='${core}' npm run preview`, {
|
|
3111
|
+
execSync(`PROJECT_DIR='${dir}' CATALOG_DIR='${core}' npm run preview -- --root ${dir} --port 3000`, {
|
|
3112
3112
|
cwd: core,
|
|
3113
3113
|
stdio: "inherit"
|
|
3114
3114
|
});
|