File tree 5 files changed +87
-5
lines changed
5 files changed +87
-5
lines changed Original file line number Diff line number Diff line change 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 /
Original file line number Diff line number Diff line change 4
4
"description" : " A CLI to bootstrap Gatsby app" ,
5
5
"main" : " src/index.js" ,
6
6
"bin" : {
7
- "@tripheo2410/create-gatsby-web" : " bin/create-gatsby-web" ,
8
7
"create-gatsby-web" : " bin/create-gatsby-web"
9
8
},
10
9
"publishConfig" : {
Original file line number Diff line number Diff line change 1
1
import arg from 'arg' ;
2
2
import inquirer from 'inquirer' ;
3
- import { createGatsbyApp } from './main' ;
3
+ import { createGatsbyWeb } from './main' ;
4
4
5
5
function parseArgumentsIntoOptions ( rawArgs ) {
6
6
const args = arg (
@@ -63,5 +63,5 @@ async function promptForMissingOptions(options) {
63
63
export async function cli ( args ) {
64
64
let options = parseArgumentsIntoOptions ( args ) ;
65
65
options = await promptForMissingOptions ( options ) ;
66
- await createGatsbyApp ( options ) ;
66
+ await createGatsbyWeb ( options ) ;
67
67
}
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ async function initGit(options) {
25
25
return ;
26
26
}
27
27
28
- export async function createGatsbyApp ( options ) {
28
+ export async function createGatsbyWeb ( options ) {
29
29
options = {
30
30
...options ,
31
31
targetDirectory : options . targetDirectory || process . cwd ( )
You can’t perform that action at this time.
0 commit comments