mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-11-04 12:22:54 +00:00 
			
		
		
		
	Upgrade packages and remove unused dependencies
This commit is contained in:
		@@ -48,7 +48,7 @@ import { MonacoEditorModule } from 'ngx-monaco-editor';
 | 
			
		||||
    BrowserModule,
 | 
			
		||||
    FormsModule,
 | 
			
		||||
    HttpClientModule,
 | 
			
		||||
    NgbModule.forRoot(),
 | 
			
		||||
    NgbModule,
 | 
			
		||||
    AppRoutingModule,
 | 
			
		||||
    MonacoEditorModule.forRoot()
 | 
			
		||||
  ],
 | 
			
		||||
 
 | 
			
		||||
@@ -22,9 +22,9 @@ export class DashboardComponent implements OnInit, OnDestroy {
 | 
			
		||||
  deploying = false;
 | 
			
		||||
  polling = false;
 | 
			
		||||
  deploymentNotificationSubscription: Subscription;
 | 
			
		||||
  @ViewChild('webiframe') webiframe: ElementRef;
 | 
			
		||||
  @ViewChild('tfwmessages') messages: ElementRef;
 | 
			
		||||
  @ViewChild('urlbar') urlbar: ElementRef;
 | 
			
		||||
  @ViewChild('webiframe', {static: true}) webiframe: ElementRef;
 | 
			
		||||
  @ViewChild('tfwmessages', {static: true}) messages: ElementRef;
 | 
			
		||||
  @ViewChild('urlbar', {static: true}) urlbar: ElementRef;
 | 
			
		||||
 | 
			
		||||
  layout: string = config.dashboard.currentLayout;
 | 
			
		||||
  hideMessages: boolean = config.dashboard.hideMessages;
 | 
			
		||||
 
 | 
			
		||||
@@ -11,7 +11,7 @@ import { TerminadoService } from '../services/terminado.service';
 | 
			
		||||
  styleUrls: ['./terminal.component.scss']
 | 
			
		||||
})
 | 
			
		||||
export class TerminalComponent implements OnInit, AfterViewInit, OnDestroy {
 | 
			
		||||
  @ViewChild('xterm') target: ElementRef;
 | 
			
		||||
  @ViewChild('xterm', {static: true}) target: ElementRef;
 | 
			
		||||
 | 
			
		||||
  constructor(private terminadoService: TerminadoService) { }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -11,28 +11,13 @@
 | 
			
		||||
 * automatically update themselves. This includes Safari >= 10, Chrome >= 55 (including Opera),
 | 
			
		||||
 * Edge >= 13 on the desktop, and iOS 10 and Chrome on mobile.
 | 
			
		||||
 *
 | 
			
		||||
 * Learn more in https://angular.io/docs/ts/latest/guide/browser-support.html
 | 
			
		||||
 * Learn more in https://angular.io/guide/browser-support
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
/***************************************************************************************************
 | 
			
		||||
 * BROWSER POLYFILLS
 | 
			
		||||
 */
 | 
			
		||||
* BROWSER POLYFILLS
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
/** IE9, IE10 and IE11 requires all of the following polyfills. **/
 | 
			
		||||
import 'core-js/es6/symbol';
 | 
			
		||||
import 'core-js/es6/object';
 | 
			
		||||
import 'core-js/es6/function';
 | 
			
		||||
import 'core-js/es6/parse-int';
 | 
			
		||||
import 'core-js/es6/parse-float';
 | 
			
		||||
import 'core-js/es6/number';
 | 
			
		||||
import 'core-js/es6/math';
 | 
			
		||||
import 'core-js/es6/string';
 | 
			
		||||
import 'core-js/es6/date';
 | 
			
		||||
import 'core-js/es6/array';
 | 
			
		||||
import 'core-js/es6/regexp';
 | 
			
		||||
import 'core-js/es6/map';
 | 
			
		||||
import 'core-js/es6/weak-map';
 | 
			
		||||
import 'core-js/es6/set';
 | 
			
		||||
 | 
			
		||||
/** IE10 and IE11 requires the following for NgClass support on SVG elements */
 | 
			
		||||
import 'classlist.js';  // Run `npm install --save classlist.js`.
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,5 @@
 | 
			
		||||
/* You can add global styles to this file, and also import other style files */
 | 
			
		||||
@import '../node_modules/bootstrap/scss/bootstrap';
 | 
			
		||||
@import '../node_modules/bootstrap-css-only/css/bootstrap.min.css';
 | 
			
		||||
@import '../node_modules/xterm/dist/xterm.css';
 | 
			
		||||
 | 
			
		||||
@import "assets/scss/main";
 | 
			
		||||
 
 | 
			
		||||
@@ -8,10 +8,12 @@
 | 
			
		||||
    },
 | 
			
		||||
    "outDir": "../out-tsc/app",
 | 
			
		||||
    "baseUrl": "./",
 | 
			
		||||
    "module": "esNext",
 | 
			
		||||
    "types": [],
 | 
			
		||||
    "resolveJsonModule": true
 | 
			
		||||
  },
 | 
			
		||||
  "angularCompilerOptions": {
 | 
			
		||||
    "enableIvy": false
 | 
			
		||||
  },
 | 
			
		||||
  "exclude": [
 | 
			
		||||
    "test.ts",
 | 
			
		||||
    "**/*.spec.ts"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user