Skip to content

Commit 287dc62

Browse files
committed
minor fix, version 1.0.2
1 parent 0c9e8f0 commit 287dc62

File tree

5 files changed

+87
-5
lines changed

5 files changed

+87
-5
lines changed

.DS_Store

-6 KB
Binary file not shown.

.gitignore

Lines changed: 84 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,84 @@
1-
node_modules
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
9+
# Diagnostic reports (https://nodejs.org/api/report.html)
10+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
11+
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
*.pid.lock
17+
18+
# Directory for instrumented libs generated by jscoverage/JSCover
19+
lib-cov
20+
21+
# Coverage directory used by tools like istanbul
22+
coverage
23+
24+
# nyc test coverage
25+
.nyc_output
26+
27+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
28+
.grunt
29+
30+
# Bower dependency directory (https://bower.io/)
31+
bower_components
32+
33+
# node-waf configuration
34+
.lock-wscript
35+
36+
# Compiled binary addons (https://nodejs.org/api/addons.html)
37+
build/Release
38+
39+
# Dependency directories
40+
node_modules/
41+
jspm_packages/
42+
43+
# TypeScript v1 declaration files
44+
typings/
45+
46+
# Optional npm cache directory
47+
.npm
48+
49+
# Optional eslint cache
50+
.eslintcache
51+
52+
# Optional REPL history
53+
.node_repl_history
54+
55+
# Output of 'npm pack'
56+
*.tgz
57+
58+
# Yarn Integrity file
59+
.yarn-integrity
60+
61+
# dotenv environment variables file
62+
.env
63+
.env.test
64+
65+
# parcel-bundler cache (https://parceljs.org/)
66+
.cache
67+
68+
# next.js build output
69+
.next
70+
71+
# nuxt.js build output
72+
.nuxt
73+
74+
# vuepress build output
75+
.vuepress/dist
76+
77+
# Serverless directories
78+
.serverless/
79+
80+
# FuseBox cache
81+
.fusebox/
82+
83+
# DynamoDB Local files
84+
.dynamodb/

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"description": "A CLI to bootstrap Gatsby app",
55
"main": "src/index.js",
66
"bin": {
7-
"@tripheo2410/create-gatsby-web": "bin/create-gatsby-web",
87
"create-gatsby-web": "bin/create-gatsby-web"
98
},
109
"publishConfig": {

src/cli.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import arg from 'arg';
22
import inquirer from 'inquirer';
3-
import { createGatsbyApp } from './main';
3+
import { createGatsbyWeb } from './main';
44

55
function parseArgumentsIntoOptions(rawArgs) {
66
const args = arg(
@@ -63,5 +63,5 @@ async function promptForMissingOptions(options) {
6363
export async function cli(args) {
6464
let options = parseArgumentsIntoOptions(args);
6565
options = await promptForMissingOptions(options);
66-
await createGatsbyApp(options);
66+
await createGatsbyWeb(options);
6767
}

src/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ async function initGit(options) {
2525
return;
2626
}
2727

28-
export async function createGatsbyApp(options) {
28+
export async function createGatsbyWeb(options) {
2929
options = {
3030
...options,
3131
targetDirectory: options.targetDirectory || process.cwd()

0 commit comments

Comments
 (0)