Skip to content

Commit

Permalink
Merge branch 'release/v0.10.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
musicEnfanthen committed Mar 15, 2023
2 parents fa535a0 + 027cf97 commit 67cecfb
Show file tree
Hide file tree
Showing 209 changed files with 20,485 additions and 29,882 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

- name: Perform SonarCloud Analysis
if: matrix.node-version == 16.18 && github.event_name != 'pull_request' && github.repository_owner == env.MAIN_REPO_OWNER # perform SonarCloud analysis only for current node version and not with pull requests or forks(token issue)
uses: SonarSource/sonarcloud-github-action@v1.8
uses: SonarSource/sonarcloud-github-action@v1.9
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
Expand Down
1,696 changes: 853 additions & 843 deletions CHANGELOG.md

Large diffs are not rendered by default.

48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "awg-app",
"version": "0.10.1",
"version": "0.10.2",
"license": "MIT",
"author": {
"name": "Stefan Münnich",
Expand Down Expand Up @@ -78,16 +78,16 @@
"deploy:ci": "ng deploy --no-build --message=\"Release $npm_package_name (v$npm_package_version) on gh-pages\""
},
"dependencies": {
"@angular/animations": "^15.2.0",
"@angular/common": "^15.2.0",
"@angular/compiler": "^15.2.0",
"@angular/core": "^15.2.0",
"@angular/forms": "^15.2.0",
"@angular/localize": "^15.2.0",
"@angular/platform-browser": "^15.2.0",
"@angular/platform-browser-dynamic": "^15.2.0",
"@angular/platform-server": "^15.2.0",
"@angular/router": "^15.2.0",
"@angular/animations": "^15.2.2",
"@angular/common": "^15.2.2",
"@angular/compiler": "^15.2.2",
"@angular/core": "^15.2.2",
"@angular/forms": "^15.2.2",
"@angular/localize": "^15.2.2",
"@angular/platform-browser": "^15.2.2",
"@angular/platform-browser-dynamic": "^15.2.2",
"@angular/platform-server": "^15.2.2",
"@angular/router": "^15.2.2",
"@codemirror/legacy-modes": "^6.3.1",
"@fortawesome/angular-fontawesome": "^0.12.1",
"@fortawesome/fontawesome-svg-core": "^6.3.0",
Expand All @@ -106,37 +106,37 @@
"json2typescript": "^1.5.1",
"n3": "^1.16.3",
"ngx-json-viewer": "^3.2.1",
"rdfstore": "musicenfanthen/rdfstore-js#v0.9.18-alpha.9",
"rdfstore": "musicenfanthen/rdfstore-js#v0.9.18-alpha.11",
"rxjs": "~7.8.0",
"snapsvg": "^0.5.1",
"tslib": "^2.4.1",
"tslib": "^2.5.0",
"zone.js": "~0.12.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^15.2.0",
"@angular-devkit/build-angular": "^15.2.3",
"@angular-eslint/builder": "^15.2.1",
"@angular-eslint/eslint-plugin": "^15.2.1",
"@angular-eslint/eslint-plugin-template": "^15.2.1",
"@angular-eslint/schematics": "^15.2.1",
"@angular-eslint/template-parser": "^15.2.1",
"@angular/cli": "^15.2.0",
"@angular/compiler-cli": "^15.2.0",
"@angular/cli": "^15.2.3",
"@angular/compiler-cli": "^15.2.2",
"@commitlint/cli": "^17.4.4",
"@commitlint/config-angular": "^17.4.4",
"@compodoc/compodoc": "^1.1.19",
"@types/d3": "^7.4.0",
"@types/jasmine": "~4.3.1",
"@types/node": "^16.18.12",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"@types/node": "^16.18.16",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"angular-cli-ghpages": "^1.0.5",
"conventional-recommended-bump": "^6.1.0",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-angular": "^4.1.0",
"eslint-plugin-deprecation": "^1.3.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsdoc": "^40.0.0",
"eslint-plugin-jsdoc": "^40.0.3",
"eslint-plugin-prettier": "^4.2.1",
"gzipper": "^7.2.0",
"husky": "^8.0.3",
Expand All @@ -146,11 +146,11 @@
"karma-coverage": "^2.2.0",
"karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "^2.0.0",
"lint-staged": "^13.1.2",
"lint-staged": "^13.2.0",
"prettier": "^2.8.4",
"source-map-explorer": "^2.5.3",
"standard-version": "^9.5.0",
"typescript": "~4.8.4",
"typescript": "~4.9.5",
"webpack-bundle-analyzer": "^4.8.0"
},
"engines": {
Expand Down
9 changes: 3 additions & 6 deletions src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,7 @@ describe('AppComponent (DONE)', () => {
RoutedTestMockComponent,
RoutedTest2MockComponent,
],
providers: [
// Mocked router provided wth RouterTestingModule
{ provide: AnalyticsService, useValue: mockAnalyticsService },
],
providers: [{ provide: AnalyticsService, useValue: mockAnalyticsService }],
}).compileComponents();

// Spies for service methods
Expand Down Expand Up @@ -109,11 +106,11 @@ describe('AppComponent (DONE)', () => {
cleanStylesFromDOM();
});

it('should create the app', waitForAsync(() => {
it('... should create the app', waitForAsync(() => {
expect(component).toBeTruthy();
}));

it('injected service should use provided mockValue', () => {
it('... injected service should use provided mockValue', () => {
const analyticsService = TestBed.inject(AnalyticsService);
expect(analyticsService === mockAnalyticsService).toBe(true);
});
Expand Down
6 changes: 3 additions & 3 deletions src/app/app.globals.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// THIS IS AN AUTO-GENERATED FILE. DO NOT CHANGE IT MANUALLY!
// Generated last time on Sat, Feb 25, 2023 8:25:53 PM
// Generated last time on Wed, Mar 15, 2023 6:42:02 PM

/**
* The latest version of the AWG App
*/
export const appVersion = '0.10.1';
export const appVersion = '0.10.2';

/**
* The release date of the latest version of the AWG App
*/
export const appVersionReleaseDate = '25. Februar 2023';
export const appVersionReleaseDate = '15. März 2023';

/**
* The URL of the AWG App
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ describe('FooterCopyrightComponent (DONE)', () => {
cleanStylesFromDOM();
});

it('should create', () => {
it('... should create', () => {
expect(component).toBeTruthy();
});

describe('BEFORE initial data binding', () => {
it('should not have pageMetaData', () => {
it('... should not have pageMetaData', () => {
expect(component.pageMetaData).toBeUndefined();
});

Expand Down Expand Up @@ -77,7 +77,7 @@ describe('FooterCopyrightComponent (DONE)', () => {
});

describe('VIEW', () => {
it('should render copyright period', () => {
it('... should render copyright period', () => {
const expectedYearStart = expectedPageMetaData.yearStart;
const expectedYearCurrent = expectedPageMetaData.yearCurrent;

Expand All @@ -90,7 +90,7 @@ describe('FooterCopyrightComponent (DONE)', () => {
.toContain(expectedYearStart + '–' + expectedYearCurrent);
});

it('should render project name', () => {
it('... should render project name', () => {
const expectedProjectName = expectedPageMetaData.awgProjectName;

const nameDes = getAndExpectDebugElementByCss(compDe, '.awg-project-name', 1, 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ describe('FooterDeclarationComponent (DONE)', () => {
cleanStylesFromDOM();
});

it('should create', () => {
it('... should create', () => {
expect(component).toBeTruthy();
});

describe('BEFORE initial data binding', () => {
it('should not have pageMetaData', () => {
it('... should not have pageMetaData', () => {
expect(component.pageMetaData).toBeUndefined();
});

Expand Down Expand Up @@ -83,7 +83,7 @@ describe('FooterDeclarationComponent (DONE)', () => {
});

describe('VIEW', () => {
it('should render values', () => {
it('... should render values', () => {
const expectedVersion = expectedPageMetaData.version;
const expectedVersionDate = expectedPageMetaData.versionReleaseDate;

Expand Down
16 changes: 10 additions & 6 deletions src/app/core/footer/footer-logo/footer-logo.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,20 @@ describe('FooterLogoComponent (DONE)', () => {
cleanStylesFromDOM();
});

it('should create', () => {
it('... should create', () => {
expect(component).toBeTruthy();
});

describe('BEFORE initial data binding', () => {
it('should not have logo', () => {
it('... should not have logo', () => {
expect(component.logo).toBeUndefined();
});

describe('#getLogoClass', () => {
describe('#getLogoClass()', () => {
it('... should have a method `getLogoClass`', () => {
expect(component.getLogoClass).toBeDefined();
});

it('... should not have been called yet', () => {
expectSpyCall(getLogoClassSpy, 0);
});
Expand Down Expand Up @@ -105,12 +109,12 @@ describe('FooterLogoComponent (DONE)', () => {
fixture.detectChanges();
});

it('should have logo', () => {
it('... should have logo', () => {
expect(component.logo).toBeDefined();
expect(component.logo).withContext(`should be ${expectedLogo}`).toBe(expectedLogo);
});

it('should change logo if input changes', () => {
it('... should change logo if input changes', () => {
expect(component.logo).toBeDefined();
expect(component.logo).withContext(`should be ${expectedLogo}`).toBe(expectedLogo);

Expand All @@ -133,7 +137,7 @@ describe('FooterLogoComponent (DONE)', () => {
.toEqual(expectedNonMainFooterLogo);
});

describe('#getLogoClass', () => {
describe('#getLogoClass()', () => {
it('... should have been called with logo id', () => {
expectSpyCall(getLogoClassSpy, 1, expectedLogo.id);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ describe('FooterPoweredbyComponent (DONE)', () => {
cleanStylesFromDOM();
});

it('should create', () => {
it('... should create', () => {
expect(component).toBeTruthy();
});

describe('BEFORE initial data binding', () => {
it('should not have logos', () => {
it('... should not have logos', () => {
expect(component.logos).toBeUndefined();
});

Expand All @@ -70,7 +70,7 @@ describe('FooterPoweredbyComponent (DONE)', () => {
fixture.detectChanges();
});

it('should have logos', () => {
it('... should have logos', () => {
expect(component.logos).toBeDefined();
expect(component.logos).withContext(`should be ${expectedLogos}`).toBe(expectedLogos);
});
Expand Down
12 changes: 8 additions & 4 deletions src/app/core/footer/footer.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,21 @@ describe('FooterComponent (DONE)', () => {
cleanStylesFromDOM();
});

it('should create', () => {
it('... should create', () => {
expect(component).toBeTruthy();
});

it('injected service should use provided mockValue', () => {
it('... injected service should use provided mockValue', () => {
const coreService = TestBed.inject(CoreService);
expect(mockCoreService === coreService).toBeTrue();
});

describe('BEFORE initial data binding', () => {
describe('#provideMetaData', () => {
describe('#provideMetaData()', () => {
it('... should have a method `provideMetaData`', () => {
expect(component.provideMetaData).toBeDefined();
});

it('... should not have been called', () => {
expect(component.provideMetaData).not.toHaveBeenCalled();
});
Expand Down Expand Up @@ -152,7 +156,7 @@ describe('FooterComponent (DONE)', () => {
fixture.detectChanges();
});

describe('#provideMetaData', () => {
describe('#provideMetaData()', () => {
it('... should have been called', () => {
expect(component.provideMetaData).toHaveBeenCalled();
});
Expand Down
Loading

0 comments on commit 67cecfb

Please sign in to comment.