Skip to content

Commit e604b1b

Browse files
authored
🎉 JHipster project init (#4)
* Update gitignore before JHipster initialization * Initialize probject with JHipster * 👷 Add travis-CI config and badge Signed-off-by: mathieu.brunot <[email protected]> * 💚 Update travis-ci config Signed-off-by: mathieu.brunot <[email protected]> * 💚 Use semicolons to end sh lines Signed-off-by: mathieu.brunot <[email protected]> * 💚 Use semicolons to end sh lines Signed-off-by: mathieu.brunot <[email protected]> * 💚 Fix hung apt commands Signed-off-by: mathieu.brunot <[email protected]> * 📝 Add usage info and update contrib Signed-off-by: mathieu.brunot <[email protected]>
1 parent 40c5063 commit e604b1b

File tree

415 files changed

+57396
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

415 files changed

+57396
-1
lines changed

.editorconfig

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# EditorConfig helps developers define and maintain consistent
2+
# coding styles between different editors and IDEs
3+
# editorconfig.org
4+
5+
root = true
6+
7+
[*]
8+
9+
# We recommend you to keep these unchanged
10+
end_of_line = lf
11+
charset = utf-8
12+
trim_trailing_whitespace = true
13+
insert_final_newline = true
14+
15+
# Change these settings to your own preference
16+
indent_style = space
17+
indent_size = 4
18+
19+
[*.{ts,tsx,js,jsx,json,css,scss,yml}]
20+
indent_size = 2
21+
22+
[*.md]
23+
trim_trailing_whitespace = false

.eslintignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
node_modules/
2+
src/main/docker/
3+
src/test/javascript/protractor.conf.js
4+
src/test/javascript/jest.conf.js
5+
webpack/
6+
target/
7+
build/
8+
node/
9+
postcss.config.js

.eslintrc.json

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"plugins": ["@typescript-eslint/tslint"],
3+
"extends": ["jhipster"],
4+
"parserOptions": {
5+
"project": "./tsconfig.json"
6+
},
7+
"rules": {
8+
"@typescript-eslint/tslint/config": [
9+
"error",
10+
{
11+
"lintFile": "./tslint.json"
12+
}
13+
]
14+
}
15+
}

.gitattributes

+148
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
# This file is inspired by https://github.com/alexkaratarakis/gitattributes
2+
#
3+
# Auto detect text files and perform LF normalization
4+
# http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
5+
* text=auto
6+
7+
# The above will handle all files NOT found below
8+
# These files are text and should be normalized (Convert crlf => lf)
9+
10+
*.bat text eol=crlf
11+
*.coffee text
12+
*.css text
13+
*.cql text
14+
*.df text
15+
*.ejs text
16+
*.html text
17+
*.java text
18+
*.js text
19+
*.json text
20+
*.less text
21+
*.properties text
22+
*.sass text
23+
*.scss text
24+
*.sh text eol=lf
25+
*.sql text
26+
*.txt text
27+
*.ts text
28+
*.xml text
29+
*.yaml text
30+
*.yml text
31+
32+
# Documents
33+
*.doc diff=astextplain
34+
*.DOC diff=astextplain
35+
*.docx diff=astextplain
36+
*.DOCX diff=astextplain
37+
*.dot diff=astextplain
38+
*.DOT diff=astextplain
39+
*.pdf diff=astextplain
40+
*.PDF diff=astextplain
41+
*.rtf diff=astextplain
42+
*.RTF diff=astextplain
43+
*.markdown text
44+
*.md text
45+
*.adoc text
46+
*.textile text
47+
*.mustache text
48+
*.csv text
49+
*.tab text
50+
*.tsv text
51+
*.txt text
52+
AUTHORS text
53+
CHANGELOG text
54+
CHANGES text
55+
CONTRIBUTING text
56+
COPYING text
57+
copyright text
58+
*COPYRIGHT* text
59+
INSTALL text
60+
license text
61+
LICENSE text
62+
NEWS text
63+
readme text
64+
*README* text
65+
TODO text
66+
67+
# Graphics
68+
*.png binary
69+
*.jpg binary
70+
*.jpeg binary
71+
*.gif binary
72+
*.tif binary
73+
*.tiff binary
74+
*.ico binary
75+
# SVG treated as an asset (binary) by default. If you want to treat it as text,
76+
# comment-out the following line and uncomment the line after.
77+
*.svg binary
78+
#*.svg text
79+
*.eps binary
80+
81+
# These files are binary and should be left untouched
82+
# (binary is a macro for -text -diff)
83+
*.class binary
84+
*.jar binary
85+
*.war binary
86+
87+
## LINTERS
88+
.csslintrc text
89+
.eslintrc text
90+
.jscsrc text
91+
.jshintrc text
92+
.jshintignore text
93+
.stylelintrc text
94+
95+
## CONFIGS
96+
*.conf text
97+
*.config text
98+
.editorconfig text
99+
.gitattributes text
100+
.gitconfig text
101+
.gitignore text
102+
.htaccess text
103+
*.npmignore text
104+
105+
## HEROKU
106+
Procfile text
107+
.slugignore text
108+
109+
## AUDIO
110+
*.kar binary
111+
*.m4a binary
112+
*.mid binary
113+
*.midi binary
114+
*.mp3 binary
115+
*.ogg binary
116+
*.ra binary
117+
118+
## VIDEO
119+
*.3gpp binary
120+
*.3gp binary
121+
*.as binary
122+
*.asf binary
123+
*.asx binary
124+
*.fla binary
125+
*.flv binary
126+
*.m4v binary
127+
*.mng binary
128+
*.mov binary
129+
*.mp4 binary
130+
*.mpeg binary
131+
*.mpg binary
132+
*.swc binary
133+
*.swf binary
134+
*.webm binary
135+
136+
## ARCHIVES
137+
*.7z binary
138+
*.gz binary
139+
*.rar binary
140+
*.tar binary
141+
*.zip binary
142+
143+
## FONTS
144+
*.ttf binary
145+
*.eot binary
146+
*.otf binary
147+
*.woff binary
148+
*.woff2 binary

.gitignore

+150
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,153 @@
2121

2222
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
2323
hs_err_pid*
24+
25+
# vvv JHipster generated vvv
26+
27+
######################
28+
# Project Specific
29+
######################
30+
/src/main/webapp/content/css/main.css
31+
/target/classes/static/**
32+
/src/test/javascript/coverage/
33+
34+
######################
35+
# Node
36+
######################
37+
/node/
38+
node_tmp/
39+
node_modules/
40+
npm-debug.log.*
41+
/.awcache/*
42+
/.cache-loader/*
43+
44+
######################
45+
# SASS
46+
######################
47+
.sass-cache/
48+
49+
######################
50+
# Eclipse
51+
######################
52+
*.pydevproject
53+
.project
54+
.metadata
55+
tmp/
56+
tmp/**/*
57+
*.tmp
58+
*.bak
59+
*.swp
60+
*~.nib
61+
local.properties
62+
.classpath
63+
.settings/
64+
.loadpath
65+
.factorypath
66+
/src/main/resources/rebel.xml
67+
68+
# External tool builders
69+
.externalToolBuilders/**
70+
71+
# Locally stored "Eclipse launch configurations"
72+
*.launch
73+
74+
# CDT-specific
75+
.cproject
76+
77+
# PDT-specific
78+
.buildpath
79+
80+
# STS-specific
81+
/.sts4-cache/*
82+
######################
83+
# Intellij
84+
######################
85+
.idea/
86+
*.iml
87+
*.iws
88+
*.ipr
89+
*.ids
90+
*.orig
91+
classes/
92+
out/
93+
94+
######################
95+
# Visual Studio Code
96+
######################
97+
.vscode/
98+
99+
######################
100+
# Maven
101+
######################
102+
/log/
103+
/target/
104+
105+
######################
106+
# Gradle
107+
######################
108+
.gradle/
109+
/build/
110+
111+
######################
112+
# Package Files
113+
######################
114+
*.jar
115+
*.war
116+
*.ear
117+
*.db
118+
119+
######################
120+
# Windows
121+
######################
122+
# Windows image file caches
123+
Thumbs.db
124+
125+
# Folder config file
126+
Desktop.ini
127+
128+
######################
129+
# Mac OSX
130+
######################
131+
.DS_Store
132+
.svn
133+
134+
# Thumbnails
135+
._*
136+
137+
# Files that might appear on external disk
138+
.Spotlight-V100
139+
.Trashes
140+
141+
######################
142+
# Directories
143+
######################
144+
/bin/
145+
/deploy/
146+
147+
######################
148+
# Logs
149+
######################
150+
*.log*
151+
152+
######################
153+
# Others
154+
######################
155+
*.class
156+
*.*~
157+
*~
158+
.merge_file*
159+
160+
######################
161+
# Gradle Wrapper
162+
######################
163+
!gradle/wrapper/gradle-wrapper.jar
164+
165+
######################
166+
# Maven Wrapper
167+
######################
168+
!.mvn/wrapper/maven-wrapper.jar
169+
170+
######################
171+
# ESLint
172+
######################
173+
.eslintcache

.huskyrc

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"hooks": {
3+
"pre-commit": "lint-staged"
4+
}
5+
}

.lintstagedrc.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
'{,src/**/}*.{md,json,ts,css,scss,yml}': ['prettier --write', 'git add']
3+
};

0 commit comments

Comments
 (0)