Skip to content

Commit 6771388

Browse files
committed
Merge branch 'chore/dep-update' into develop
2 parents 08dd3f6 + 4c0c120 commit 6771388

File tree

108 files changed

+1656
-2330
lines changed

Some content is hidden

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

108 files changed

+1656
-2330
lines changed

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
bin/
2+
config/local*
3+
data/
14
public/
25
src/gql
36
src/js/

.eslintrc.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1+
const baseConfig = require('@j4numbers/eslint-base-config');
2+
13
module.exports = {
2-
...require('@j4numbers/eslint-base-config'),
4+
...baseConfig,
35

46
env: {
57
'es6': true,

.npmignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.idea
2+
.nyc_output
3+
coverage
4+
data
5+
test
6+
7+
*eslint*
8+
.dockerignore
9+
docker-compose.yml
10+
*Dockerfile
11+
nyc*

.nycrc

Lines changed: 0 additions & 22 deletions
This file was deleted.

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ RUN npm i --only=production
1313
# Stage 3 - package files
1414
FROM node:12-alpine AS package
1515
WORKDIR /opt/web/app
16-
COPY --from=compile /opt/web/app/bin ./bin
1716
COPY --from=compile /opt/web/app/config/default.js ./config/
1817
COPY --from=compile /opt/web/app/config/custom-environment-variables.json ./config/
1918
COPY --from=compile /opt/web/app/src ./src

bin/mongo_runner.js

Lines changed: 0 additions & 33 deletions
This file was deleted.
File renamed without changes.

config/test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ module.exports = {
2828
port: '8080',
2929
},
3030
jwt: {
31-
public_cert: 'test/spec/helpers/certs/localhost-cert.pem',
32-
private_key: 'test/spec/helpers/certs/localhost-privkey.pem',
31+
public_cert: 'certs/localhost-cert.pem',
32+
private_key: 'certs/localhost-privkey.pem',
3333
},
3434
nunjucks: {
3535
options: {

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: '3'
22
services:
33
mongodb:
4-
image: mongo
4+
image: mongo:5.0
55
command: mongod
66
ports:
77
- "27017:27017"
@@ -17,7 +17,7 @@ services:
1717
dockerfile: Dockerfile
1818
context: ./
1919
volumes:
20-
- "./test/spec/helpers/certs:/etc/ssl/"
20+
- "./certs:/etc/ssl/"
2121
environment:
2222
APP_NAME: "j4numbers"
2323
APP_HOSTNAME: "localhost"

gulpfile.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
const gulp = require('gulp');
22
const npath = require('path');
3-
const sass = require('gulp-sass');
3+
const sassCompiler = require('sass');
4+
const sass = require('gulp-sass')(sassCompiler);
45
const babel = require('gulp-babel');
56
const clean = require('gulp-clean');
67

@@ -17,7 +18,7 @@ gulp.task('clean', () => gulp.src(
1718
{
1819
read: false,
1920
allowEmpty: true,
20-
}
21+
},
2122
).pipe(clean()));
2223

2324
/* --------------------------------------------------------------------- INFO */
@@ -42,7 +43,6 @@ gulp.task('sass', () => gulp
4243
indentedSyntax: false,
4344
includePaths: [
4445
'node_modules/bootstrap/scss/*.scss',
45-
'node_modules/font-awesome/scss/*.scss',
4646
],
4747
}).on('error', sass.logError))
4848
.pipe(gulp.dest('./public/stylesheets')));
@@ -68,14 +68,14 @@ gulp.task('copy-scripts', () => gulp
6868
gulp.task('copy-images', () => gulp
6969
.src([
7070
'./src/images/**/*.{png,ico,gif,jpg,svg}',
71+
'./node_modules/bootstrap-icons/*.svg',
7172
])
7273
.pipe(gulp.dest('./public/images')));
7374

7475
// Copies fonts to public folder
7576
gulp.task('copy-fonts', () => gulp
7677
.src([
7778
'./src/fonts/*.{woff,woff2}',
78-
'./node_modules/font-awesome/fonts/*.{otf,eot,svg,ttf,woff,woff2}',
7979
])
8080
.pipe(gulp.dest('./public/fonts')));
8181

0 commit comments

Comments
 (0)