create-message-kit 1.0.20 → 1.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.
Files changed (2) hide show
  1. package/index.js +14 -11
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -14,22 +14,25 @@ const packageJson = JSON.parse(
14
14
  fs.readFileSync(resolve(__dirname, "package.json"), "utf8"),
15
15
  );
16
16
  const version = packageJson.version;
17
-
17
+ const pckMessageKitLib = JSON.parse(
18
+ fs.readFileSync(resolve(__dirname, "../message-kit/package.json"), "utf8"),
19
+ );
20
+ const versionMessageKitLib = pckMessageKitLib.version;
18
21
  program
19
22
  .name("byob")
20
23
  .description("CLI to initialize projects")
21
24
  .action(async () => {
22
- log.info(pc.cyan(`Welcome to MessageKit v${version}!`));
25
+ log.info(pc.cyan(`Welcome to MessageKit v${versionMessageKitLib}!`));
23
26
  const coolLogo = `
24
- ███╗ ███╗███████╗███████╗███████╗ █████╗ ██████╗ ███████╗██╗ ██╗██╗████████╗
25
- ████╗ ████║██╔════╝██╔════╝██╔════╝██╔══██╗██╔════╝ ██╔════╝██║ ██╔╝██║╚══██╔══╝
26
- ██╔████╔██║█████╗ ███████╗███████╗███████║██║ ███╗█████╗ █████╔╝ ██║ ██║
27
- ██║╚██╔╝██║██╔══╝ ╚════██║╚════██║██╔══██║██║ ██║██╔══╝ ██╔═██╗ ██║ ██║
28
- ██║ ╚═╝ ██║███████╗███████║███████║██║ ██║╚██████╔╝███████╗██║ ██╗██║ ██║
29
- ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝
30
- Powered by XMTP`;
31
-
32
- log.info(pc.cyan(coolLogo));
27
+ ███╗ ███╗███████╗███████╗███████╗ █████╗ ██████╗ ███████╗██╗ ██╗██╗████████╗
28
+ ████╗ ████║██╔════╝██╔════╝██╔════╝██╔══██╗██╔════╝ ██╔════╝██║ ██╔╝██║╚══██╔══╝
29
+ ██╔████╔██║█████╗ ███████╗███████╗███████║██║ ███╗█████╗ █████╔╝ ██║ ██║
30
+ ██║╚██╔╝██║██╔══╝ ╚════██║╚════██║██╔══██║██║ ██║██╔══╝ ██╔═██╗ ██║ ██║
31
+ ██║ ╚═╝ ██║███████╗███████║███████║██║ ██║╚██████╔╝███████╗██║ ██╗██║ ██║
32
+ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝
33
+ Powered by XMTP`;
34
+
35
+ log.info(pc.red(coolLogo));
33
36
 
34
37
  const { templateType, displayName, destDir } = await gatherProjectInfo();
35
38
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-message-kit",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "main": "index.js",