YARN-5503. [YARN-3368] Add missing hidden files in webapp folder for deployment (Sreenath Somarajapuram via Sunil G)

This commit is contained in:
sunilg 2016-08-30 20:58:35 +05:30 committed by Wangda Tan
parent 05555f8f0a
commit f6574d9ff6
6 changed files with 100 additions and 1 deletions

View File

@ -30,7 +30,7 @@
<packaging>${packaging.type}</packaging> <packaging>${packaging.type}</packaging>
<properties> <properties>
<packaging.type>jar</packaging.type> <packaging.type>war</packaging.type>
<webappDir>src/main/webapp</webappDir> <webappDir>src/main/webapp</webappDir>
<node.executable>node</node.executable> <node.executable>node</node.executable>
<nodeVersion>v0.12.2</nodeVersion> <nodeVersion>v0.12.2</nodeVersion>
@ -52,9 +52,26 @@
<exclude>src/main/webapp/bower.json</exclude> <exclude>src/main/webapp/bower.json</exclude>
<exclude>src/main/webapp/package.json</exclude> <exclude>src/main/webapp/package.json</exclude>
<exclude>src/main/webapp/testem.json</exclude> <exclude>src/main/webapp/testem.json</exclude>
<exclude>src/main/webapp/dist/**/*</exclude>
<exclude>src/main/webapp/tmp/**/*</exclude>
<exclude>src/main/webapp/public/assets/images/**/*</exclude> <exclude>src/main/webapp/public/assets/images/**/*</exclude>
<exclude>src/main/webapp/public/assets/images/*</exclude>
<exclude>src/main/webapp/public/robots.txt</exclude> <exclude>src/main/webapp/public/robots.txt</exclude>
<exclude>public/assets/images/**/*</exclude>
<exclude>public/crossdomain.xml</exclude> <exclude>public/crossdomain.xml</exclude>
<exclude>src/main/webapp/.tmp/**/*</exclude>
<exclude>src/main/webapp/.bowerrc</exclude>
<exclude>src/main/webapp/.editorconfig</exclude>
<exclude>src/main/webapp/.ember-cli</exclude>
<exclude>src/main/webapp/.gitignore</exclude>
<exclude>src/main/webapp/.jshintrc</exclude>
<exclude>src/main/webapp/.travis.yml</exclude>
<exclude>src/main/webapp/.watchmanconfig</exclude>
<exclude>src/main/webapp/tests/.jshintrc</exclude>
<exclude>src/main/webapp/blueprints/.jshintrc</exclude>
</excludes> </excludes>
</configuration> </configuration>
</plugin> </plugin>

View File

@ -0,0 +1,4 @@
{
"directory": "bower_components",
"analytics": false
}

View File

@ -0,0 +1,34 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# editorconfig.org
root = true
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2
[*.js]
indent_style = space
indent_size = 2
[*.hbs]
insert_final_newline = false
indent_style = space
indent_size = 2
[*.css]
indent_style = space
indent_size = 2
[*.html]
indent_style = space
indent_size = 2
[*.{diff,md}]
trim_trailing_whitespace = false

View File

@ -0,0 +1,9 @@
{
/**
Ember CLI sends analytics information by default. The data is completely
anonymous, but there are times when you might want to disable this behavior.
Setting `disableAnalytics` to true will prevent any data from being sent.
*/
"disableAnalytics": false
}

View File

@ -0,0 +1,32 @@
{
"predef": [
"document",
"window",
"-Promise"
],
"browser": true,
"boss": true,
"curly": true,
"debug": false,
"devel": true,
"eqeqeq": true,
"evil": true,
"forin": false,
"immed": false,
"laxbreak": false,
"newcap": true,
"noarg": true,
"noempty": false,
"nonew": false,
"nomen": false,
"onevar": false,
"plusplus": false,
"regexp": false,
"undef": true,
"sub": true,
"strict": false,
"white": false,
"eqnull": true,
"esnext": true,
"unused": true
}

View File

@ -0,0 +1,3 @@
{
"ignore_dirs": ["tmp", "dist"]
}