create-node-app
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -0,0 +0,0 @@ { |
@@ -42,3 +42,3 @@ #!/usr/bin/env node | ||
async function createApp (appName, verbose) { | ||
async function createApp(appName, verbose) { | ||
checkAppName(program.name(), appName) | ||
@@ -85,2 +85,4 @@ const useYarn = shouldUseYarn() | ||
// .gitignore files won't be published on NPM, so they must be renamed here | ||
fs.renameSync(path.join(appPath, 'gitignore'), path.join(appPath, '.gitignore')) | ||
await execSync(`git init && git add . && git commit -m "initial commit"`, { | ||
@@ -87,0 +89,0 @@ cwd: appPath, |
@@ -0,0 +0,0 @@ # create-node-app |
@@ -6,3 +6,3 @@ { | ||
}, | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Create Node.js apps by running one command", | ||
@@ -14,5 +14,5 @@ "main": "index.js", | ||
"dependencies": { | ||
"chalk": "^2.4.1", | ||
"commander": "^2.19.0", | ||
"fs-extra": "^7.0.1", | ||
"chalk": "^2.4.1", | ||
"validate-npm-package-name": "^3.0.0" | ||
@@ -19,0 +19,0 @@ }, |
@@ -0,0 +0,0 @@ # Create Node App |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ { |
@@ -0,0 +0,0 @@ This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). |
@@ -0,0 +0,0 @@ const express = require('express') |
module.exports = process.env.REACT_APP_LAUNCH_WWW ? require('./www') : require('./api') |
@@ -0,0 +0,0 @@ import React, { Component } from 'react' |
@@ -0,0 +0,0 @@ import React from 'react'; |
@@ -0,0 +0,0 @@ import React from 'react' |
@@ -0,0 +0,0 @@ // This optional code is used to register a service worker. |
@@ -0,0 +0,0 @@ // @flow |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
28
447
52727