@eventcatalog/create-eventcatalog 2.0.20 → 2.0.21
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/dist/index.js +4 -5
- package/package.json +1 -1
- package/templates/index.ts +3 -4
package/dist/index.js
CHANGED
|
@@ -22466,7 +22466,7 @@ var import_os2 = __toESM(require("os"));
|
|
|
22466
22466
|
var package_default = {
|
|
22467
22467
|
name: "@eventcatalog/create-eventcatalog",
|
|
22468
22468
|
description: "Create EventCatalog with one command",
|
|
22469
|
-
version: "2.0.
|
|
22469
|
+
version: "2.0.21",
|
|
22470
22470
|
bin: {
|
|
22471
22471
|
"create-catalog": "./dist/index.js"
|
|
22472
22472
|
},
|
|
@@ -22566,9 +22566,6 @@ var installTemplate = async ({
|
|
|
22566
22566
|
preview: "eventcatalog preview",
|
|
22567
22567
|
generate: "eventcatalog generate",
|
|
22568
22568
|
test: 'echo "Error: no test specified" && exit 1'
|
|
22569
|
-
},
|
|
22570
|
-
dependencies: {
|
|
22571
|
-
"@eventcatalog/core": "latest"
|
|
22572
22569
|
}
|
|
22573
22570
|
};
|
|
22574
22571
|
import_fs16.default.writeFileSync(
|
|
@@ -22576,7 +22573,9 @@ var installTemplate = async ({
|
|
|
22576
22573
|
JSON.stringify(packageJson, null, 2) + import_os3.default.EOL
|
|
22577
22574
|
);
|
|
22578
22575
|
const installFlags = { packageManager: packageManager2, isOnline };
|
|
22579
|
-
const dependencies = [
|
|
22576
|
+
const dependencies = [
|
|
22577
|
+
"@eventcatalog/core"
|
|
22578
|
+
];
|
|
22580
22579
|
const devDependencies = [];
|
|
22581
22580
|
if (dependencies.length) {
|
|
22582
22581
|
console.log();
|
package/package.json
CHANGED
package/templates/index.ts
CHANGED
|
@@ -50,9 +50,6 @@ export const installTemplate = async ({
|
|
|
50
50
|
preview: "eventcatalog preview",
|
|
51
51
|
generate: "eventcatalog generate",
|
|
52
52
|
test: 'echo "Error: no test specified" && exit 1',
|
|
53
|
-
},
|
|
54
|
-
dependencies: {
|
|
55
|
-
"@eventcatalog/core": "latest"
|
|
56
53
|
}
|
|
57
54
|
};
|
|
58
55
|
/**
|
|
@@ -72,7 +69,9 @@ export const installTemplate = async ({
|
|
|
72
69
|
* Default dependencies.
|
|
73
70
|
*/
|
|
74
71
|
// const dependencies = ["@eventcatalog/eventcatalog-2"];
|
|
75
|
-
const dependencies = [
|
|
72
|
+
const dependencies = [
|
|
73
|
+
"@eventcatalog/core"
|
|
74
|
+
] as any;
|
|
76
75
|
// "@myuser/my-package": "file:../lib"
|
|
77
76
|
const devDependencies = [] as any;
|
|
78
77
|
|