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 # editorconfig.org
root = true root = true
@@ -7,7 +6,6 @@ root = true
indent_style = space indent_style = space
indent_size = 2 indent_size = 2
# We recommend you to keep these unchanged
end_of_line = lf end_of_line = lf
charset = utf-8 charset = utf-8
trim_trailing_whitespace = true trim_trailing_whitespace = true

31
.gitignore vendored
View File

@@ -20,7 +20,7 @@ coverage
# nyc test coverage # nyc test coverage
.nyc_output .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 .grunt
# Bower dependency directory (https://bower.io/) # Bower dependency directory (https://bower.io/)
@@ -29,14 +29,14 @@ bower_components
# node-waf configuration # node-waf configuration
.lock-wscript .lock-wscript
# Compiled binary addons (http://nodejs.org/api/addons.html) # Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release build/Release
# Dependency directories # Dependency directories
node_modules/ node_modules/
jspm_packages/ jspm_packages/
# Typescript v1 declaration files # TypeScript v1 declaration files
typings/ typings/
# Optional npm cache directory # Optional npm cache directory
@@ -57,6 +57,29 @@ typings/
# dotenv environment variables file # dotenv environment variables file
.env .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 # ignore ide files
.idea .idea
.vscode .vscode
@@ -65,4 +88,4 @@ typings/
lib lib
# ignore docs # ignore docs
docs docs

View File

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

View File

@@ -1,10 +1,9 @@
# Ignore all files/folders by default # Ignore all files/folders by default
# See https://stackoverflow.com/a/29932318 # See https://stackoverflow.com/a/29932318
/* /*
# Except these files/folders
# Execept this files/folders
!docs
!lib !lib
lib/tsconfig.tsbuildinfo
!LICENSE !LICENSE
!package.json !package.json
!package-lock.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", "license": "GPL-3.0-only",
"scripts": { "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'", "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", "check-configuration": "openstapps-configuration",
"compile": "rimraf lib && tsc && prepend lib/cli.js '#!/usr/bin/env node\n'", "compile": "rimraf lib && tsc && prepend lib/cli.js '#!/usr/bin/env node\n'",
@@ -48,30 +48,30 @@
"statements": 95 "statements": 95
}, },
"devDependencies": { "devDependencies": {
"@openstapps/configuration": "0.8.0", "@openstapps/configuration": "0.13.0",
"@types/chai": "4.1.7", "@types/chai": "4.1.7",
"@types/chai-as-promised": "7.1.0", "@types/chai-as-promised": "7.1.0",
"@types/mocha": "5.2.6", "@types/mocha": "5.2.6",
"@types/sinon": "7.0.11", "@types/sinon": "7.0.11",
"chai": "4.2.0", "chai": "4.2.0",
"chai-as-promised": "7.1.1", "chai-as-promised": "7.1.1",
"conventional-changelog-cli": "2.0.12", "conventional-changelog-cli": "2.0.17",
"mocha": "6.0.2", "mocha": "6.1.4",
"mocha-typescript": "1.1.17", "mocha-typescript": "1.1.17",
"nyc": "13.3.0", "nyc": "14.0.0",
"prepend-file-cli": "1.0.6", "prepend-file-cli": "1.0.6",
"rimraf": "2.6.3", "rimraf": "2.6.3",
"sinon": "7.3.1", "sinon": "7.3.2",
"ts-node": "8.0.3", "ts-node": "8.1.0",
"tslint": "5.14.0", "tslint": "5.16.0",
"typedoc": "0.14.2", "typedoc": "0.14.2",
"typescript": "3.4.1" "typescript": "3.4.5"
}, },
"dependencies": { "dependencies": {
"@types/node": "10.14.4", "@types/node": "10.14.6",
"@types/nodemailer": "4.6.7", "@types/nodemailer": "4.6.8",
"chalk": "2.4.2", "chalk": "2.4.2",
"flatted": "2.0.0", "flatted": "2.0.0",
"nodemailer": "6.0.0" "nodemailer": "6.1.1"
} }
} }

View File

@@ -1,3 +1,3 @@
{ {
"extends": "./node_modules/@openstapps/configuration/tsconfig.json" "extends": "./node_modules/@openstapps/configuration/tsconfig.json"
} }