create-fs-app 1.1.7 → 1.1.9

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
@@ -1,8 +1,23 @@
1
- # Create fs App
1
+ ![PRs Welcome](https://img.shields.io/badge/PRs-welcome-green.svg)
2
+ <img src="./assets/logo.png">
3
+ Create Full Stack apps with no build configuration.
2
4
 
5
+ - [Creating an App](#creating-an-app) – How to create a new app.
6
+ Create fs App works on macOS, Windows, and Linux.<br>
7
+ If something doesn’t work, please [file an issue](https://github.com/Om-jannu/create-fs-app/issues/new).<br>
3
8
 
9
+ ## Quick Overview
4
10
  ```sh
5
11
  npx create-fs-app my-app
12
+ cd my-app
6
13
  ```
14
+ If you've previously installed `create-fs-app` globally via `npm install -g create-fs-app`, we recommend you uninstall the package using `npm uninstall -g create-fs-app` or `yarn global remove create-fs-app` to ensure that npx always uses the latest version.
7
15
 
8
16
  _([npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) is a package runner tool that comes with npm 5.2+ and higher, see [instructions for older npm versions](https://gist.github.com/gaearon/4064d3c23a77c74a3614c498a8bb1c5f))_
17
+
18
+ <p align="center">
19
+ <img src="./assets/s1.png">
20
+ </p>
21
+ <p align="center">
22
+ <img src="./assets/s2.png">
23
+ </p>
Binary file
package/assets/s1.png ADDED
Binary file
package/assets/s2.png ADDED
Binary file
package/create-fs-app.js CHANGED
@@ -123,9 +123,8 @@ const BuildStructure = async(selected_app,repoUrl) => {
123
123
  cloneRepository('.', currentDirectory, repoUrl);
124
124
  }
125
125
  else {
126
- const projDir = path.resolve(path.dirname(__filename),appName);
127
126
  await createFolder(appName,selected_app);
128
- await cloneRepository(appName,projDir,repoUrl);
127
+ await cloneRepository(appName,currentDirectory,repoUrl);
129
128
  }
130
129
  }
131
130