Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(console): bump particles to 12.0.1 #6948

Merged
merged 4 commits into from Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
240 changes: 137 additions & 103 deletions gravitee-apim-console-webui/package-lock.json

Large diffs are not rendered by default.

7 changes: 3 additions & 4 deletions gravitee-apim-console-webui/package.json
Expand Up @@ -21,9 +21,9 @@
"@danielmoncada/angular-datetime-picker-moment-adapter": "4.0.0",
"@fontsource/libre-franklin": "4.4.5",
"@gravitee/ui-analytics": "11.2.0",
"@gravitee/ui-components": "4.2.2",
"@gravitee/ui-particles-angular": "11.2.0",
"@gravitee/ui-policy-studio-angular": "11.2.0",
"@gravitee/ui-components": "4.2.3",
"@gravitee/ui-particles-angular": "12.0.1",
"@gravitee/ui-policy-studio-angular": "12.0.1",
"@highcharts/map-collection": "1.1.4",
"@ngx-formly/core": "6.3.0",
"@ngx-formly/material": "6.3.0",
Expand Down Expand Up @@ -68,7 +68,6 @@
"marked-highlight": "2.1.1",
"md-color-picker": "0.2.6",
"md-steppers": "0.4.1",
"messageformat": "2.3.0",
"moment": "2.30.1",
"monaco-editor": "0.46.0",
"ng-file-upload": "12.2.13",
Expand Down
2 changes: 1 addition & 1 deletion gravitee-apim-console-webui/src/app.module.ajs.ts
Expand Up @@ -24,7 +24,7 @@ import { marked } from 'marked';
import * as hljs from 'highlight.js';
// Codemirror
import * as CodeMirror from 'codemirror';
import * as moment from 'moment';
import moment from 'moment';
import * as tinycolor from 'tinycolor2';
import AutofocusDirective from './components/autofocus/autofocus.directive';
import GvModelDirective from './libraries/gv-model.directive';
Expand Down
2 changes: 1 addition & 1 deletion gravitee-apim-console-webui/src/index.scss
Expand Up @@ -60,7 +60,7 @@

@import './scss/material-layout-compatibility.scss';

@include gio.import-fonts(true);
@include gio.import-fonts();

body {
font-family: 'Golos UI', 'Roboto', 'Helvetica Neue', sans-serif;
Expand Down
Expand Up @@ -18,7 +18,7 @@ import { NoopAnimationsModule } from '@angular/platform-browser/animations';
import { HttpClientTestingModule, HttpTestingController } from '@angular/common/http/testing';
import { TestbedHarnessEnvironment } from '@angular/cdk/testing/testbed';
import { MatIconTestingModule } from '@angular/material/icon/testing';
import * as moment from 'moment';
import moment from 'moment';
import { OwlDateTimeModule } from '@danielmoncada/angular-datetime-picker';
import { OwlMomentDateTimeModule } from '@danielmoncada/angular-datetime-picker-moment-adapter';
import { ActivatedRoute, Router } from '@angular/router';
Expand Down
Expand Up @@ -18,7 +18,7 @@ import { Component, OnDestroy, OnInit } from '@angular/core';
import { PageEvent } from '@angular/material/paginator';
import { map, shareReplay, skip, switchMap, takeUntil, tap } from 'rxjs/operators';
import { forkJoin, of, ReplaySubject, Subject } from 'rxjs';
import * as moment from 'moment';
import moment from 'moment';
import { ActivatedRoute, Router } from '@angular/router';

import { QuickFiltersStoreService } from './services';
Expand Down
Expand Up @@ -15,7 +15,7 @@
*/
import { BehaviorSubject } from 'rxjs';
import { Injectable } from '@angular/core';
import * as moment from 'moment';
import moment from 'moment';

import DurationConstructor = moment.unitOfTime.DurationConstructor;

Expand Down
Expand Up @@ -15,7 +15,7 @@
*/
import { IQService, IRootScopeService } from 'angular';

import * as moment from 'moment';
import moment from 'moment';
import { ActivatedRoute, Router } from '@angular/router';
import { assign, forEach } from 'lodash';

Expand Down
4 changes: 4 additions & 0 deletions gravitee-apim-console-webui/src/setup-jest.ts
Expand Up @@ -19,6 +19,10 @@ import 'jest-preset-angular/setup-jest';
// This means we will not be able to test Swagger in our components tests
jest.mock('swagger-ui', () => jest.fn());

// mocking asciidoctor for tests as it contains some JS incompatible with Jest
// This means we will not be able to test Asciidoctor in our components tests
jest.mock('@asciidoctor/core', () => jest.fn());

// Mocking the Range object to avoid errors in tests (policy-studio-debug.component.spec.ts)
document.createRange = () => {
const range = new Range();
Expand Down
3 changes: 2 additions & 1 deletion gravitee-apim-console-webui/tsconfig.spec.json
Expand Up @@ -4,7 +4,8 @@
"outDir": "./out-tsc/spec",
"module": "CommonJs",
"types": ["jest", "angular", "node"],
"target": "ES2016"
"target": "ES2016",
"esModuleInterop": true
},
"include": ["src/**/*.spec.ts", "src/**/*.d.ts"]
}
117 changes: 19 additions & 98 deletions gravitee-apim-portal-webui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions gravitee-apim-portal-webui/package.json
Expand Up @@ -35,9 +35,8 @@
"@asciidoctor/core": "3.0.2",
"@asyncapi/web-component": "1.2.23",
"@fontsource/ibm-plex-sans": "4.5.5",
"@gravitee/ui-components": "4.2.2",
"@gravitee/ui-components": "4.2.3",
"@highcharts/map-collection": "2.0.0",
"@messageformat/core": "3.3.0",
"@ngx-translate/core": "14.0.0",
"@ngx-translate/http-loader": "7.0.0",
"@types/swagger-ui": "3.52.4",
Expand Down
6 changes: 0 additions & 6 deletions package-lock.json

This file was deleted.