valtech-components 2.0.4 → 2.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ng-package.json CHANGED
@@ -3,5 +3,9 @@
3
3
  "dest": "../../dist/valtech-components",
4
4
  "lib": {
5
5
  "entryFile": "src/public-api.ts"
6
- }
7
- }
6
+ },
7
+ "assets": [
8
+ "src/lib/components/styles",
9
+ "./styles"
10
+ ]
11
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "valtech-components",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.0.0",
6
6
  "@angular/core": "^18.0.0",
@@ -0,0 +1,17 @@
1
+ import { CommonModule } from '@angular/common';
2
+ import { Component } from '@angular/core';
3
+
4
+ @Component({
5
+ selector: 'val-hello-world',
6
+ standalone: true,
7
+ imports: [CommonModule],
8
+ template: `
9
+ <p>
10
+ hello-world works!
11
+ </p>
12
+ `,
13
+ styles: ``
14
+ })
15
+ export class HelloWorldComponent {
16
+
17
+ }
package/src/public-api.ts CHANGED
@@ -2,5 +2,4 @@
2
2
  * Public API Surface of valtech-components
3
3
  */
4
4
 
5
- export * from './lib/valtech-components.service';
6
- export * from './lib/valtech-components.component';
5
+ export * from './lib/components/hello-world/hello-world.component';
@@ -1,23 +0,0 @@
1
- import { ComponentFixture, TestBed } from '@angular/core/testing';
2
-
3
- import { ValtechComponentsComponent } from './valtech-components.component';
4
-
5
- describe('ValtechComponentsComponent', () => {
6
- let component: ValtechComponentsComponent;
7
- let fixture: ComponentFixture<ValtechComponentsComponent>;
8
-
9
- beforeEach(async () => {
10
- await TestBed.configureTestingModule({
11
- imports: [ValtechComponentsComponent]
12
- })
13
- .compileComponents();
14
-
15
- fixture = TestBed.createComponent(ValtechComponentsComponent);
16
- component = fixture.componentInstance;
17
- fixture.detectChanges();
18
- });
19
-
20
- it('should create', () => {
21
- expect(component).toBeTruthy();
22
- });
23
- });
@@ -1,16 +0,0 @@
1
- import { Component } from '@angular/core';
2
-
3
- @Component({
4
- selector: 'lib-valtech-components',
5
- standalone: true,
6
- imports: [],
7
- template: `
8
- <p>
9
- valtech-components works!
10
- </p>
11
- `,
12
- styles: ``
13
- })
14
- export class ValtechComponentsComponent {
15
-
16
- }
@@ -1,16 +0,0 @@
1
- import { TestBed } from '@angular/core/testing';
2
-
3
- import { ValtechComponentsService } from './valtech-components.service';
4
-
5
- describe('ValtechComponentsService', () => {
6
- let service: ValtechComponentsService;
7
-
8
- beforeEach(() => {
9
- TestBed.configureTestingModule({});
10
- service = TestBed.inject(ValtechComponentsService);
11
- });
12
-
13
- it('should be created', () => {
14
- expect(service).toBeTruthy();
15
- });
16
- });
@@ -1,9 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
-
3
- @Injectable({
4
- providedIn: 'root'
5
- })
6
- export class ValtechComponentsService {
7
-
8
- constructor() { }
9
- }