Commit 35d80dc8 authored by Martin Lowe's avatar Martin Lowe 🇨🇦
Browse files

Update node packages to be modern, fix issues w/ build

parent 6315e1af
{
"root": true,
"extends": [
"eslint:recommended",
"strongloop"
......@@ -8,11 +9,14 @@
"es2017": true,
"browser": false
},
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"ignorePatterns": [
"test/*.js",
"**/vendor/*.js"
],
"parserOptions": {
"requireConfigFile": false
},
"rules": {
"max-len": [2, 140, 2],
"eqeqeq": 2,
......
......@@ -10,7 +10,7 @@
# docker run -i --rm -v <full path to a file folder>:/run/secrets eclipsefdn/gitlab-sync
#
###
FROM node:12
FROM node:fermium-alpine
WORKDIR /app
ARG VERBOSE_VAL=false
ENV VERBOSE_VAL ${VERBOSE_VAL:-false}
......
......@@ -10,7 +10,7 @@
# docker run -i --rm -v <full path to a file folder>:/run/secrets eclipsefdn/import-backup
#
###
FROM node:12
FROM node:fermium-alpine
WORKDIR /app
ARG VERBOSE_VAL=false
ENV VERBOSE_VAL ${VERBOSE_VAL:-false}
......
This diff is collapsed.
......@@ -47,7 +47,7 @@ const ADMIN_PERMISSIONS_LEVEL = 50;
const uuid = require('uuid');
const { SecretReader, getBaseConfig } = require('./SecretReader.js');
const { Gitlab } = require('gitlab');
const { Gitlab } = require('@gitbeaker/node');
const EclipseAPI = require('./EclipseAPI.js');
const { getLogger } = require('./logger.js');
......
const Wrapper = require('../GitWrapper.js');
const { Gitlab } = require('gitlab');
const { Gitlab } = require('@gitbeaker/node');
const { SecretReader, getBaseConfig } = require('../SecretReader.js');
const { ImportRunner } = require('./ImportRunner');
......
......@@ -7,7 +7,7 @@ const expect = chai.expect;
// import test dependencies
const { ImportRunner } = require('../src/auto_backup/ImportRunner');
const Wrapper = require('../src/GitWrapper');
const { Gitlab } = require('gitlab');
const { Gitlab } = require('@gitbeaker/node');
// create reusable API wrapper bases
const GH_BASE_WRAPPER = new Wrapper();
const GL_BASE_WRAPPER = new Gitlab();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment