build: update dependencies and adjust configuration

This commit is contained in:
Karl-Philipp Wulfert
2019-04-30 13:46:25 +02:00
parent 766205049b
commit 3ba2b0bf3c
7 changed files with 994 additions and 2334 deletions

View File

@@ -1,4 +1,3 @@
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
# editorconfig.org
root = true
@@ -7,7 +6,6 @@ root = true
indent_style = space
indent_size = 2
# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true

29
.gitignore vendored
View File

@@ -20,7 +20,7 @@ coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
@@ -29,14 +29,14 @@ bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (http://nodejs.org/api/addons.html)
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Typescript v1 declaration files
# TypeScript v1 declaration files
typings/
# Optional npm cache directory
@@ -57,6 +57,29 @@ typings/
# dotenv environment variables file
.env
# parcel-bundler cache (https://parceljs.org/)
.cache
# next.js build output
.next
# nuxt.js build output
.nuxt
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
#DynamoDB Local files
.dynamodb/
########## end of https://github.com/github/gitignore/blob/master/Node.gitignore
# ignore ide files
.idea
.vscode

View File

@@ -3,7 +3,6 @@ image: registry.gitlab.com/openstapps/projectmanagement/node
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- lib
- node_modules
before_script:
@@ -31,6 +30,16 @@ audit:
stage: test
script:
- npm audit
except:
- schedules
allow_failure: true
scheduled-audit:
stage: test
script:
- npm audit
only:
- schedules
pages:
stage: deploy

View File

@@ -1,10 +1,9 @@
# Ignore all files/folders by default
# See https://stackoverflow.com/a/29932318
/*
# Execept this files/folders
!docs
# Except these files/folders
!lib
lib/tsconfig.tsbuildinfo
!LICENSE
!package.json
!package-lock.json

3253
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -8,7 +8,7 @@
},
"license": "GPL-3.0-only",
"scripts": {
"build": "npm run tslint && npm run compile && npm run documentation",
"build": "npm run tslint && npm run compile",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'",
"check-configuration": "openstapps-configuration",
"compile": "rimraf lib && tsc && prepend lib/cli.js '#!/usr/bin/env node\n'",
@@ -48,30 +48,30 @@
"statements": 95
},
"devDependencies": {
"@openstapps/configuration": "0.8.0",
"@openstapps/configuration": "0.13.0",
"@types/chai": "4.1.7",
"@types/chai-as-promised": "7.1.0",
"@types/mocha": "5.2.6",
"@types/sinon": "7.0.11",
"chai": "4.2.0",
"chai-as-promised": "7.1.1",
"conventional-changelog-cli": "2.0.12",
"mocha": "6.0.2",
"conventional-changelog-cli": "2.0.17",
"mocha": "6.1.4",
"mocha-typescript": "1.1.17",
"nyc": "13.3.0",
"nyc": "14.0.0",
"prepend-file-cli": "1.0.6",
"rimraf": "2.6.3",
"sinon": "7.3.1",
"ts-node": "8.0.3",
"tslint": "5.14.0",
"sinon": "7.3.2",
"ts-node": "8.1.0",
"tslint": "5.16.0",
"typedoc": "0.14.2",
"typescript": "3.4.1"
"typescript": "3.4.5"
},
"dependencies": {
"@types/node": "10.14.4",
"@types/nodemailer": "4.6.7",
"@types/node": "10.14.6",
"@types/nodemailer": "4.6.8",
"chalk": "2.4.2",
"flatted": "2.0.0",
"nodemailer": "6.0.0"
"nodemailer": "6.1.1"
}
}