Skip to content

Commit

Permalink
fix(app): remove unused dependencies (#7593)
Browse files Browse the repository at this point in the history
ref: MANAGER-9752

Signed-off-by: Cyrille Bourgois <[email protected]>
  • Loading branch information
Cyrille Bourgois authored Jul 19, 2022
1 parent d8ddc8c commit 5fd2613
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions packages/manager/tools/sao-ovh-manager-app/lib/update-pkg.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,13 @@ module.exports = ({ name, description, regions }) => ({
'@ovh-ux/manager-error-page': '^2.0.0',
[`@ovh-ux/manager-${name}`]: '^0.0.0 || ^1.0.0',
'@ovh-ux/manager-ng-layout-helpers': '^2.0.0',
'@ovh-ux/manager-preloader': '^1.1.0',
'@ovh-ux/ng-ovh-api-wrappers': '^4.0.4',
'@ovh-ux/ng-ovh-http': '^5.0.0',
'@ovh-ux/ng-ovh-request-tagger': '^1.1.0',
'@ovh-ux/ng-ovh-sso-auth': '^4.2.3',
'@ovh-ux/ng-ovh-swimming-poll': '^5.0.0',
'@ovh-ux/ng-translate-async-loader': '^2.1.0',
'@ovh-ux/ng-ui-router-breadcrumb': '^1.0.0',
'@ovh-ux/ng-ui-router-line-progress': '^1.2.2',
'@ovh-ux/ufrontend': '^1.1.1 || ^2.0.0',
'@ovh-ux/ui-kit': '^4.4.3',
'@uirouter/angularjs': '^1.0.23',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
import angular from 'angular';
import uiRouter from '@uirouter/angularjs';
import { registerCoreModule } from '@ovh-ux/manager-core';
import { detach as detachPreloader } from '@ovh-ux/manager-preloader';
import ngOvhUiRouterLineProgress from '@ovh-ux/ng-ui-router-line-progress';
import ngUiRouterBreadcrumb from '@ovh-ux/ng-ui-router-breadcrumb';
import errorPage from './error';

Expand All @@ -19,7 +17,6 @@ export default (containerEl, environment) => {
moduleName,
[
registerCoreModule(environment),
ngOvhUiRouterLineProgress,
ngUiRouterBreadcrumb,
uiRouter,
errorPage,
Expand All @@ -38,7 +35,6 @@ export default (containerEl, environment) => {
.run(
/* @ngInject */($rootScope, $transitions) => {
const unregisterHook = $transitions.onSuccess({}, () => {
detachPreloader();
$rootScope.$broadcast('app:started');
unregisterHook();
});
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
import 'script-loader!jquery'; // eslint-disable-line
import 'core-js/stable';
import 'whatwg-fetch';
import {
attach as attachPreloader,
displayMessage,
} from '@ovh-ux/manager-preloader';
import { registerApplication } from '@ovh-ux/ufrontend';
import { findAvailableLocale, detectUserLocale } from '@ovh-ux/manager-config';

attachPreloader(findAvailableLocale(detectUserLocale()));

registerApplication('<%= name %>').then(({ environment }) => {
environment.setVersion(__VERSION__);
Expand Down

0 comments on commit 5fd2613

Please sign in to comment.