Update CI tools (#248)
* chore: ci tools updates * ci tools updates * chore: update ci
This commit is contained in:
parent
89ff3187b5
commit
dbdac0ddd1
8 changed files with 4008 additions and 76 deletions
21
.bithoundrc
21
.bithoundrc
|
@ -1,21 +0,0 @@
|
||||||
{
|
|
||||||
"critics": {
|
|
||||||
"lint": {
|
|
||||||
"engine": "standard"
|
|
||||||
},
|
|
||||||
"wc": {
|
|
||||||
"limit": 5000
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"mute": [
|
|
||||||
"read-config-ng",
|
|
||||||
"socket.io",
|
|
||||||
"standard",
|
|
||||||
"bithound"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"ignore": [
|
|
||||||
"public/webssh2.bundle.js",
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -1,36 +0,0 @@
|
||||||
---
|
|
||||||
engines:
|
|
||||||
csslint:
|
|
||||||
enabled: true
|
|
||||||
exclude_paths:
|
|
||||||
- "client/public/*"
|
|
||||||
duplication:
|
|
||||||
exclude_paths:
|
|
||||||
- "client/public/*"
|
|
||||||
- "workspace/*"
|
|
||||||
enabled: true
|
|
||||||
config:
|
|
||||||
languages:
|
|
||||||
- ruby
|
|
||||||
- javascript
|
|
||||||
- python
|
|
||||||
- php
|
|
||||||
eslint:
|
|
||||||
enabled: true
|
|
||||||
fixme:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
ratings:
|
|
||||||
paths:
|
|
||||||
- "**.css"
|
|
||||||
- "**.inc"
|
|
||||||
- "**.js"
|
|
||||||
- "**.jsx"
|
|
||||||
- "**.module"
|
|
||||||
- "**.php"
|
|
||||||
- "**.py"
|
|
||||||
- "**.rb"
|
|
||||||
exclude_paths:
|
|
||||||
- "node_modules/"
|
|
||||||
- "client/public/*"
|
|
||||||
- "workspace/*"
|
|
|
@ -1,4 +1,4 @@
|
||||||
language: node_js
|
language: node_js
|
||||||
node_js:
|
node_js:
|
||||||
- 6
|
- 14
|
||||||
- 10
|
- 16
|
||||||
|
|
15
Jenkinsfile
vendored
15
Jenkinsfile
vendored
|
@ -1,15 +0,0 @@
|
||||||
pipeline {
|
|
||||||
agent {
|
|
||||||
docker {
|
|
||||||
image 'node:6-alpine'
|
|
||||||
args '-p 3000:3000'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stages {
|
|
||||||
stage('Build') {
|
|
||||||
steps {
|
|
||||||
sh 'npm install'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
2
Makefile
Normal file
2
Makefile
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
test:
|
||||||
|
cd ./app; npm run test
|
|
@ -1,4 +1,4 @@
|
||||||
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
|
# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities.
|
||||||
version: v1.13.1
|
version: v1.19.0
|
||||||
ignore: {}
|
ignore: {}
|
||||||
patch: {}
|
patch: {}
|
4003
app/package-lock.json
generated
4003
app/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -72,6 +72,7 @@
|
||||||
"nodaemon": "0.0.5",
|
"nodaemon": "0.0.5",
|
||||||
"prettier": "^2.3.0",
|
"prettier": "^2.3.0",
|
||||||
"snazzy": "^9.0.0",
|
"snazzy": "^9.0.0",
|
||||||
|
"snyk": "^1.603.0",
|
||||||
"socket.io-client": "^4.1.1",
|
"socket.io-client": "^4.1.1",
|
||||||
"source-map-loader": "^2.0.1",
|
"source-map-loader": "^2.0.1",
|
||||||
"standard-version": "^9.3.0",
|
"standard-version": "^9.3.0",
|
||||||
|
|
Loading…
Reference in a new issue