react-mfe-gen 1.2.0 → 1.2.2

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/README.md CHANGED
@@ -25,4 +25,8 @@ Node.js installed (latest LTS recommended).
25
25
  - Run the CLI
26
26
  `create-react-mfe`
27
27
 
28
+ - You will see the below message in your terminal
29
+
30
+ ![react-mfe-gen](./images/react-mfe-gen.png)
31
+
28
32
  - Answer the prompts to generate your project, container, or micro-frontend.
package/dist/mfe-gen.js CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  "use strict";
2
3
  var __importDefault = (this && this.__importDefault) || function (mod) {
3
4
  return (mod && mod.__esModule) ? mod : { "default": mod };
Binary file
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "react-mfe-gen",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Generate React micro-frontends, containers, and projects using a simple CLI with runtime integration support.",
5
- "main": "index.js",
5
+ "main": "dist/mfe-gen.js",
6
6
  "scripts": {
7
7
  "build": "tsc",
8
8
  "prepublishOnly": "npm run build",
9
- "dev": "ts-node src/mfe-gen.ts",
10
9
  "start": "tsc && node dist/mfe-gen.js",
11
10
  "test": "echo \"Error: no test specified\" && exit 1"
12
11
  },
package/src/mfe-gen.ts CHANGED
@@ -1,3 +1,4 @@
1
+ #!/usr/bin/env node
1
2
  import inquirer from "inquirer";
2
3
  import { PROMPT, INFO_MESSAGE, CHOICE_CONSTANTS } from "./constants/constants";
3
4
  import {
package/tsconfig.json CHANGED
@@ -5,6 +5,7 @@
5
5
  "rootDir": "src",
6
6
  "outDir": "dist",
7
7
  "strict": true,
8
+ "removeComments": false,
8
9
  "esModuleInterop": true,
9
10
  "forceConsistentCasingInFileNames": true,
10
11
  "skipLibCheck": true