Update linting plugin (#294)

This commit is contained in:
J. Ryan Stinnett
2022-01-10 12:57:33 +00:00
committed by GitHub
parent 531dde8bff
commit 989e030d97
16 changed files with 408 additions and 15 deletions

View File

@@ -10,13 +10,12 @@ const asar = require('asar');
const needle = require('needle');
const riotDesktopPackageJson = require('../package.json');
const { setPackageVersion } = require('./set-version.js');
const PUB_KEY_URL = "https://packages.riot.im/element-release-key.asc";
const PACKAGE_URL_PREFIX = "https://github.com/vector-im/element-web/releases/download/";
const ASAR_PATH = 'webapp.asar';
const { setPackageVersion } = require('./set-version.js');
async function getLatestDevelopUrl(bkToken) {
const buildsResult = await needle('get',
"https://api.buildkite.com/v2/organizations/matrix-dot-org/pipelines/element-web/builds",

View File

@@ -15,8 +15,8 @@ limitations under the License.
*/
import path from 'path';
import rimraf from 'rimraf';
import { DependencyInfo } from './dep';
import HakEnv from './hakEnv';

View File

@@ -17,10 +17,10 @@ limitations under the License.
import path from 'path';
import fsProm from 'fs/promises';
import childProcess from 'child_process';
import rimraf from 'rimraf';
import glob from 'glob';
import mkdirp from 'mkdirp';
import HakEnv from './hakEnv';
import { DependencyInfo } from './dep';

View File

@@ -16,8 +16,8 @@ limitations under the License.
import fsProm from 'fs/promises';
import childProcess from 'child_process';
import pacote from 'pacote';
import HakEnv from './hakEnv';
import { DependencyInfo } from './dep';

View File

@@ -15,6 +15,7 @@ limitations under the License.
*/
import mkdirp from 'mkdirp';
import { DependencyInfo } from './dep';
import HakEnv from './hakEnv';

View File

@@ -16,7 +16,6 @@ limitations under the License.
import path from 'path';
import os from 'os';
import nodePreGypVersioning from "node-pre-gyp/lib/util/versioning";
import { getElectronVersion } from "app-builder-lib/out/electron/electronVersion";

View File

@@ -15,7 +15,6 @@ limitations under the License.
*/
import path from 'path';
import findNpmPrefix from 'find-npm-prefix';
import HakEnv from './hakEnv';

View File

@@ -18,6 +18,7 @@ import path from 'path';
import os from 'os';
import fsProm from 'fs/promises';
import childProcess from 'child_process';
import HakEnv from './hakEnv';
import { DependencyInfo } from './dep';