-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit ebbb749
Showing
1,292 changed files
with
225,968 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"directory": "src/main/webapp/bower_components" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
|
||
# Change these settings to your own preference | ||
indent_style = space | ||
indent_size = 4 | ||
|
||
# We recommend you to keep these unchanged | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
[{package,bower}.json] | ||
indent_style = space | ||
indent_size = 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# more info here - http://eslint.org/docs/user-guide/configuring.html#ignoring-files-and-directories | ||
|
||
# node_modules ignored by default | ||
|
||
# ignore bower_components | ||
src/main/webapp/bower_components |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// See: http://eslint.org/ | ||
// See: https://www.npmjs.com/package/eslint-plugin-angular | ||
{ | ||
"extends": [ | ||
"eslint:recommended", | ||
"angular" | ||
], | ||
"env": { | ||
"node": true, | ||
"browser": true | ||
}, | ||
// severity for a rule should be one of the following: 0 = off, 1 = warning, 2 = error | ||
"rules": { | ||
// coding style | ||
"wrap-iife": [2, "inside"], | ||
"eqeqeq": 2, | ||
"no-use-before-define": [2, "nofunc"], | ||
"no-unused-vars": [2, {"vars": "local", "args": "none"}], | ||
"no-multi-str": 2, | ||
"no-irregular-whitespace": 2, | ||
"semi": [2, "always"], | ||
"indent": 2, | ||
|
||
// os/git options | ||
// we want to run on all OSes | ||
"linebreak-style": 0, | ||
"eol-last": 2 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# All text files should have the "lf" (Unix) line endings | ||
* text eol=lf | ||
|
||
# Explicitly declare text files you want to always be normalized and converted | ||
# to native line endings on checkout. | ||
*.java text | ||
*.js text | ||
*.css text | ||
*.html text | ||
|
||
# Denote all files that are truly binary and should not be modified. | ||
*.png binary | ||
*.jpg binary | ||
*.jar binary | ||
*.pdf binary | ||
*.eot binary | ||
*.ttf binary | ||
*.gzip binary | ||
*.gz binary | ||
*.ai binary | ||
*.eps binary | ||
*.swf binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
###################### | ||
# Project Specific | ||
###################### | ||
/target/www/** | ||
|
||
###################### | ||
# Node | ||
###################### | ||
/node/** | ||
/node_tmp/** | ||
/node_modules/** | ||
|
||
###################### | ||
# SASS | ||
###################### | ||
.sass-cache/** | ||
|
||
###################### | ||
# Eclipse | ||
###################### | ||
*.pydevproject | ||
.project | ||
.metadata | ||
/tmp/** | ||
/tmp/**/* | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.classpath | ||
.settings/** | ||
.loadpath | ||
/src/main/resources/rebel.xml | ||
|
||
# External tool builders | ||
.externalToolBuilders/** | ||
|
||
# Locally stored "Eclipse launch configurations" | ||
*.launch | ||
|
||
# CDT-specific | ||
.cproject | ||
|
||
# PDT-specific | ||
.buildpath | ||
|
||
###################### | ||
# Intellij | ||
###################### | ||
.idea/** | ||
*.iml | ||
*.iws | ||
*.ipr | ||
*.ids | ||
*.orig | ||
|
||
###################### | ||
# Maven | ||
###################### | ||
/log/** | ||
/target/** | ||
|
||
###################### | ||
# Gradle | ||
###################### | ||
.gradle/** | ||
|
||
###################### | ||
# Package Files | ||
###################### | ||
*.jar | ||
*.war | ||
*.ear | ||
*.db | ||
|
||
###################### | ||
# Windows | ||
###################### | ||
# Windows image file caches | ||
Thumbs.db | ||
|
||
# Folder config file | ||
Desktop.ini | ||
|
||
###################### | ||
# Mac OSX | ||
###################### | ||
.DS_Store | ||
.svn | ||
|
||
# Thumbnails | ||
._* | ||
|
||
# Files that might appear on external disk | ||
.Spotlight-V100 | ||
.Trashes | ||
|
||
###################### | ||
# Directories | ||
###################### | ||
/build/** | ||
/bin/** | ||
/spring_loaded/** | ||
/deploy/** | ||
|
||
###################### | ||
# Logs | ||
###################### | ||
*.log | ||
|
||
###################### | ||
# Others | ||
###################### | ||
*.class | ||
*.*~ | ||
*~ | ||
.merge_file* | ||
|
||
###################### | ||
# Gradle Wrapper | ||
###################### | ||
!gradle/wrapper/gradle-wrapper.jar | ||
|
||
###################### | ||
# Maven Wrapper | ||
###################### | ||
!.mvn/wrapper/maven-wrapper.jar | ||
|
||
###################### | ||
# ESLint | ||
###################### | ||
.eslintcache |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
language: java | ||
jdk: | ||
- oraclejdk8 | ||
sudo: false | ||
cache: | ||
directories: | ||
- node | ||
- node_modules | ||
- $HOME/.m2 | ||
env: | ||
- NODE_VERSION=4.4.7 | ||
before_install: | ||
- nvm install $NODE_VERSION | ||
- npm install -g npm | ||
- npm install -g bower gulp-cli | ||
- node -v | ||
- npm -v | ||
- bower -v | ||
- gulp -v | ||
- java -version | ||
install: npm install | ||
script: | ||
- ./mvnw clean | ||
- ./mvnw test | ||
- gulp test | ||
- ./mvnw package -Pprod -DskipTests | ||
notifications: | ||
webhooks: | ||
on_success: change # options: [always|never|change] default: always | ||
on_failure: always # options: [always|never|change] default: always | ||
on_start: false # default: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"generator-jhipster": { | ||
"jhipsterVersion": "3.8.0", | ||
"baseName": "SimpleJavaTest", | ||
"packageName": "com.example", | ||
"packageFolder": "com/example", | ||
"serverPort": "8080", | ||
"authenticationType": "session", | ||
"hibernateCache": "no", | ||
"clusteredHttpSession": false, | ||
"websocket": false, | ||
"databaseType": "sql", | ||
"devDatabaseType": "postgresql", | ||
"prodDatabaseType": "postgresql", | ||
"searchEngine": false, | ||
"messageBroker": false, | ||
"buildTool": "maven", | ||
"enableSocialSignIn": false, | ||
"rememberMeKey": "f551eadd5711da6dbd2a09a1c21fe5790af1ac62", | ||
"useSass": false, | ||
"applicationType": "monolith", | ||
"testFrameworks": [], | ||
"jhiPrefix": "jhi", | ||
"enableTranslation": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
node { | ||
// uncomment these 2 lines and edit the name 'node-4.4.7' according to what you choose in configuration | ||
// def nodeHome = tool name: 'node-4.4.7', type: 'jenkins.plugins.nodejs.tools.NodeJSInstallation' | ||
// env.PATH = "${nodeHome}/bin:${env.PATH}" | ||
|
||
stage('check tools') { | ||
sh "node -v" | ||
sh "npm -v" | ||
sh "bower -v" | ||
sh "gulp -v" | ||
} | ||
|
||
stage('checkout') { | ||
checkout scm | ||
} | ||
|
||
stage('npm install') { | ||
sh "npm install" | ||
} | ||
|
||
stage('clean') { | ||
sh "./mvnw clean" | ||
} | ||
|
||
stage('backend tests') { | ||
sh "./mvnw test" | ||
} | ||
|
||
stage('frontend tests') { | ||
sh "gulp test" | ||
} | ||
|
||
stage('packaging') { | ||
sh "./mvnw package -Pprod -DskipTests" | ||
} | ||
} |
Oops, something went wrong.