forked from loafle/openapi-generator-original
[javascript][client] Add gitignore to template (#7438)
* [javascript][client] add gitignore template file * [javascript][client] update samples
This commit is contained in:
parent
6909c888d2
commit
6a4aed91ca
@ -58,7 +58,8 @@ public class JavascriptClientCodegen extends DefaultCodegen implements CodegenCo
|
||||
new String[]{"git_push.sh.mustache", "git_push.sh"},
|
||||
new String[]{"README.mustache", "README.md"},
|
||||
new String[]{"mocha.opts", "mocha.opts"},
|
||||
new String[]{"travis.yml", ".travis.yml"}
|
||||
new String[]{"travis.yml", ".travis.yml"},
|
||||
new String[]{"gitignore.mustache", ".gitignore"}
|
||||
};
|
||||
|
||||
final String[][] JAVASCRIPT_ES6_SUPPORTING_FILES = new String[][]{
|
||||
@ -69,7 +70,8 @@ public class JavascriptClientCodegen extends DefaultCodegen implements CodegenCo
|
||||
new String[]{"README.mustache", "README.md"},
|
||||
new String[]{"mocha.opts", "mocha.opts"},
|
||||
new String[]{"travis.yml", ".travis.yml"},
|
||||
new String[]{".babelrc.mustache", ".babelrc"}
|
||||
new String[]{".babelrc.mustache", ".babelrc"},
|
||||
new String[]{"gitignore.mustache", ".gitignore"}
|
||||
};
|
||||
|
||||
protected String projectName;
|
||||
|
33
samples/client/petstore/javascript-es6/.gitignore
vendored
Normal file
33
samples/client/petstore/javascript-es6/.gitignore
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
# Runtime data
|
||||
pids
|
||||
*.pid
|
||||
*.seed
|
||||
|
||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||
lib-cov
|
||||
|
||||
# Coverage directory used by tools like istanbul
|
||||
coverage
|
||||
|
||||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
||||
.grunt
|
||||
|
||||
# node-waf configuration
|
||||
.lock-wscript
|
||||
|
||||
# Compiled binary addons (http://nodejs.org/api/addons.html)
|
||||
build/Release
|
||||
|
||||
# Dependency directory
|
||||
node_modules
|
||||
|
||||
# Optional npm cache directory
|
||||
.npm
|
||||
|
||||
# Optional REPL history
|
||||
.node_repl_history
|
@ -1,4 +1,5 @@
|
||||
.babelrc
|
||||
.gitignore
|
||||
.travis.yml
|
||||
README.md
|
||||
docs/AdditionalPropertiesClass.md
|
||||
|
33
samples/client/petstore/javascript-promise-es6/.gitignore
vendored
Normal file
33
samples/client/petstore/javascript-promise-es6/.gitignore
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
# Logs
|
||||
logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
|
||||
# Runtime data
|
||||
pids
|
||||
*.pid
|
||||
*.seed
|
||||
|
||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||
lib-cov
|
||||
|
||||
# Coverage directory used by tools like istanbul
|
||||
coverage
|
||||
|
||||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
|
||||
.grunt
|
||||
|
||||
# node-waf configuration
|
||||
.lock-wscript
|
||||
|
||||
# Compiled binary addons (http://nodejs.org/api/addons.html)
|
||||
build/Release
|
||||
|
||||
# Dependency directory
|
||||
node_modules
|
||||
|
||||
# Optional npm cache directory
|
||||
.npm
|
||||
|
||||
# Optional REPL history
|
||||
.node_repl_history
|
@ -1,4 +1,5 @@
|
||||
.babelrc
|
||||
.gitignore
|
||||
.travis.yml
|
||||
README.md
|
||||
docs/AdditionalPropertiesClass.md
|
||||
|
Loading…
x
Reference in New Issue
Block a user