diff --git a/ponyracer/README.md b/ponyracer/README.md index 7b27cbe..b2c191a 100644 --- a/ponyracer/README.md +++ b/ponyracer/README.md @@ -1,6 +1,6 @@ # Ponyracer -This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.0.0-next.1. +This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.0.0-next.2. ## Development server diff --git a/ponyracer/package.json b/ponyracer/package.json index a96002c..4ffdfd2 100644 --- a/ponyracer/package.json +++ b/ponyracer/package.json @@ -22,8 +22,8 @@ "zone.js": "~0.15.0" }, "devDependencies": { - "@angular/build": "^20.0.0-next.1", - "@angular/cli": "^20.0.0-next.1", + "@angular/build": "^20.0.0-next.2", + "@angular/cli": "^20.0.0-next.2", "@angular/compiler-cli": "^20.0.0-next.0", "@types/jasmine": "~5.1.0", "jasmine-core": "~5.6.0", diff --git a/ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.service.spec.ts b/ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.service.spec.ts deleted file mode 100644 index 74c543e..0000000 --- a/ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.service.spec.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { TestBed } from '@angular/core/testing'; - -import { PonyracerLibService } from './ponyracer-lib.service'; - -describe('PonyracerLibService', () => { - let service: PonyracerLibService; - - beforeEach(() => { - TestBed.configureTestingModule({}); - service = TestBed.inject(PonyracerLibService); - }); - - it('should be created', () => { - expect(service).toBeTruthy(); - }); -}); diff --git a/ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.service.ts b/ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.service.ts deleted file mode 100644 index 107853c..0000000 --- a/ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.service.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { Injectable } from '@angular/core'; - -@Injectable({ - providedIn: 'root' -}) -export class PonyracerLibService { - - constructor() { } -} diff --git a/ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.component.spec.ts b/ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.spec.ts similarity index 51% rename from ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.component.spec.ts rename to ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.spec.ts index 8bb9416..8ae1d2e 100644 --- a/ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.component.spec.ts +++ b/ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.spec.ts @@ -1,18 +1,18 @@ import { ComponentFixture, TestBed } from '@angular/core/testing'; -import { PonyracerLibComponent } from './ponyracer-lib.component'; +import { PonyracerLib } from './ponyracer-lib'; -describe('PonyracerLibComponent', () => { - let component: PonyracerLibComponent; - let fixture: ComponentFixture; +describe('PonyracerLib', () => { + let component: PonyracerLib; + let fixture: ComponentFixture; beforeEach(async () => { await TestBed.configureTestingModule({ - imports: [PonyracerLibComponent] + imports: [PonyracerLib] }) .compileComponents(); - fixture = TestBed.createComponent(PonyracerLibComponent); + fixture = TestBed.createComponent(PonyracerLib); component = fixture.componentInstance; fixture.detectChanges(); }); diff --git a/ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.component.ts b/ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.ts similarity index 83% rename from ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.component.ts rename to ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.ts index e4efd61..5b8f4ba 100644 --- a/ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.component.ts +++ b/ponyracer/projects/ponyracer-lib/src/lib/ponyracer-lib.ts @@ -10,6 +10,6 @@ import { Component } from '@angular/core'; `, styles: `` }) -export class PonyracerLibComponent { +export class PonyracerLib { } diff --git a/ponyracer/projects/ponyracer-lib/src/public-api.ts b/ponyracer/projects/ponyracer-lib/src/public-api.ts index fe85488..6a2db37 100644 --- a/ponyracer/projects/ponyracer-lib/src/public-api.ts +++ b/ponyracer/projects/ponyracer-lib/src/public-api.ts @@ -2,5 +2,4 @@ * Public API Surface of ponyracer-lib */ -export * from './lib/ponyracer-lib.service'; -export * from './lib/ponyracer-lib.component'; +export * from './lib/ponyracer-lib';