Adapt to new Apps-Compiler structure

parent c8fa62c5
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,7 +2,7 @@ import { Command, flags } from '@oclif/command';
import chalk from 'chalk';
import cli from 'cli-ux';
import { ICompilerDiagnostic } from '@rocket.chat/apps-compiler';
import { ICompilerDiagnostic } from '@rocket.chat/apps-compiler/definition';
import { AppCompiler, FolderDetails, unicodeSymbols } from '../misc';
import { getServerInfo, uploadApp } from '../misc/deployHelpers';
......@@ -65,7 +65,7 @@ export default class Deploy extends Command {
if (result.diagnostics.length && !flags.force) {
this.reportDiagnostics(result.diagnostics);
this.error('TypeScript compiler asldk error(s) occurred');
this.error('TypeScript compiler error(s) occurred');
this.exit(1);
return;
}
......
import { Command, flags } from '@oclif/command';
import { ICompilerDiagnostic } from '@rocket.chat/apps-compiler';
import { ICompilerDiagnostic } from '@rocket.chat/apps-compiler/definition';
import chalk from 'chalk';
import cli from 'cli-ux';
......
......@@ -3,7 +3,7 @@ import chalk from 'chalk';
import * as chokidar from 'chokidar';
import cli from 'cli-ux';
import {ICompilerDiagnostic} from '@rocket.chat/apps-compiler';
import { ICompilerDiagnostic } from '@rocket.chat/apps-compiler/definition';
import { AppCompiler, FolderDetails, unicodeSymbols } from '../misc';
import { checkUpload, getIgnoredFiles, getServerInfo, uploadApp } from '../misc/deployHelpers';
......@@ -93,7 +93,7 @@ const tasks = async (command: Command, fd: FolderDetails, flags: { [key: string]
if (result.diagnostics.length && !flags.force) {
reportDiagnostics(command, result.diagnostics);
command.error('TypeScript compiler asldk error(s) occurred');
command.error('TypeScript compiler error(s) occurred');
command.exit(1);
return;
}
......
import * as path from 'path';
import { AppsCompiler, ICompilerResult } from '@rocket.chat/apps-compiler';
import { AppsCompiler } from '@rocket.chat/apps-compiler';
import { ICompilerResult } from '@rocket.chat/apps-compiler/definition';
import { FolderDetails } from './folderDetails';
import packageInfo = require('../../package.json');
......
Markdown is supported
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