Compare commits
No commits in common. 'master' and 'develop' have entirely different histories.
34 changed files with 1 additions and 725 deletions
@ -1,2 +0,0 @@ |
|||||
|
|
||||
node_modules/ |
|
@ -1,24 +1 @@ |
|||||
# BossLibrary |
|
||||
|
|
||||
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.0.0. |
|
||||
|
|
||||
## Code scaffolding |
|
||||
|
|
||||
Run `ng generate component component-name --project boss-library` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project boss-library`. |
|
||||
> Note: Don't forget to add `--project boss-library` or else it will be added to the default project in your `angular.json` file. |
|
||||
|
|
||||
## Build |
|
||||
|
|
||||
Run `ng build boss-library` to build the project. The build artifacts will be stored in the `dist/` directory. |
|
||||
|
|
||||
## Publishing |
|
||||
|
|
||||
After building your library with `ng build boss-library`, go to the dist folder `cd dist/boss-library` and run `npm publish`. |
|
||||
|
|
||||
## Running unit tests |
|
||||
|
|
||||
Run `ng test boss-library` to execute the unit tests via [Karma](https://karma-runner.github.io). |
|
||||
|
|
||||
## Further help |
|
||||
|
|
||||
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page. |
|
||||
|
# boss-library |
||||
|
@ -1,24 +0,0 @@ |
|||||
# BossLibrary |
|
||||
|
|
||||
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.0.0. |
|
||||
|
|
||||
## Code scaffolding |
|
||||
|
|
||||
Run `ng generate component component-name --project boss-library` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project boss-library`. |
|
||||
> Note: Don't forget to add `--project boss-library` or else it will be added to the default project in your `angular.json` file. |
|
||||
|
|
||||
## Build |
|
||||
|
|
||||
Run `ng build boss-library` to build the project. The build artifacts will be stored in the `dist/` directory. |
|
||||
|
|
||||
## Publishing |
|
||||
|
|
||||
After building your library with `ng build boss-library`, go to the dist folder `cd dist/boss-library` and run `npm publish`. |
|
||||
|
|
||||
## Running unit tests |
|
||||
|
|
||||
Run `ng test boss-library` to execute the unit tests via [Karma](https://karma-runner.github.io). |
|
||||
|
|
||||
## Further help |
|
||||
|
|
||||
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page. |
|
@ -1,5 +0,0 @@ |
|||||
/** |
|
||||
* Generated bundle index. Do not edit. |
|
||||
*/ |
|
||||
export * from './public-api'; |
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9zcy1saWJyYXJ5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Jvc3MtbGlicmFyeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL3B1YmxpYy1hcGknO1xuIl19
|
|
@ -1,14 +0,0 @@ |
|||||
import { Component } from '@angular/core'; |
|
||||
import * as i0 from "@angular/core"; |
|
||||
export class BossLibraryComponent { |
|
||||
constructor() { } |
|
||||
ngOnInit() { |
|
||||
} |
|
||||
} |
|
||||
BossLibraryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); |
|
||||
BossLibraryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: BossLibraryComponent, selector: "boss-library", ngImport: i0, template: `<p> boss-library works! </p>`, isInline: true }); |
|
||||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryComponent, decorators: [{ |
|
||||
type: Component, |
|
||||
args: [{ selector: 'boss-library', template: `<p> boss-library works! </p>` }] |
|
||||
}], ctorParameters: function () { return []; } }); |
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9zcy1saWJyYXJ5LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvYm9zcy1saWJyYXJ5LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDOztBQVFsRCxNQUFNLE9BQU8sb0JBQW9CO0lBRS9CLGdCQUFnQixDQUFDO0lBRWpCLFFBQVE7SUFDUixDQUFDOztpSEFMVSxvQkFBb0I7cUdBQXBCLG9CQUFvQixvREFKckIsOEJBQThCOzJGQUk3QixvQkFBb0I7a0JBTmhDLFNBQVM7K0JBQ0UsY0FBYyxZQUNkLDhCQUE4QiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbXBvbmVudCwgT25Jbml0IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2Jvc3MtbGlicmFyeScsXG4gIHRlbXBsYXRlOiBgPHA+IGJvc3MtbGlicmFyeSB3b3JrcyEgPC9wPmAsXG4gIHN0eWxlczogWyBdXG59KVxuXG5leHBvcnQgY2xhc3MgQm9zc0xpYnJhcnlDb21wb25lbnQgaW1wbGVtZW50cyBPbkluaXQge1xuXG4gIGNvbnN0cnVjdG9yKCkgeyB9XG5cbiAgbmdPbkluaXQoKTogdm9pZCB7XG4gIH1cblxufVxuIl19
|
|
@ -1,32 +0,0 @@ |
|||||
import { NgModule } from '@angular/core'; |
|
||||
import { FormsModule } from '@angular/forms'; |
|
||||
import { CommonModule } from '@angular/common'; |
|
||||
import { BrowserModule } from '@angular/platform-browser'; |
|
||||
import { BossLibraryComponent } from './boss-library.component'; |
|
||||
import * as i0 from "@angular/core"; |
|
||||
export class BossLibraryModule { |
|
||||
} |
|
||||
BossLibraryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); |
|
||||
BossLibraryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, declarations: [BossLibraryComponent], imports: [FormsModule, |
|
||||
CommonModule, |
|
||||
BrowserModule], exports: [BossLibraryComponent] }); |
|
||||
BossLibraryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, imports: [FormsModule, |
|
||||
CommonModule, |
|
||||
BrowserModule] }); |
|
||||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, decorators: [{ |
|
||||
type: NgModule, |
|
||||
args: [{ |
|
||||
declarations: [ |
|
||||
BossLibraryComponent |
|
||||
], |
|
||||
imports: [ |
|
||||
FormsModule, |
|
||||
CommonModule, |
|
||||
BrowserModule |
|
||||
], |
|
||||
exports: [ |
|
||||
BossLibraryComponent |
|
||||
] |
|
||||
}] |
|
||||
}] }); |
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9zcy1saWJyYXJ5Lm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvYm9zcy1saWJyYXJ5Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQTtBQUM1QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUE7QUFDOUMsT0FBTyxFQUFFLGFBQWEsRUFBRSxNQUFNLDJCQUEyQixDQUFBO0FBQ3pELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLDBCQUEwQixDQUFDOztBQWdCaEUsTUFBTSxPQUFPLGlCQUFpQjs7OEdBQWpCLGlCQUFpQjsrR0FBakIsaUJBQWlCLGlCQVoxQixvQkFBb0IsYUFHcEIsV0FBVztRQUNYLFlBQVk7UUFDWixhQUFhLGFBR2Isb0JBQW9COytHQUlYLGlCQUFpQixZQVQxQixXQUFXO1FBQ1gsWUFBWTtRQUNaLGFBQWE7MkZBT0osaUJBQWlCO2tCQWQ3QixRQUFRO21CQUFDO29CQUNSLFlBQVksRUFBRTt3QkFDWixvQkFBb0I7cUJBQ3JCO29CQUNELE9BQU8sRUFBRTt3QkFDUCxXQUFXO3dCQUNYLFlBQVk7d0JBQ1osYUFBYTtxQkFDZDtvQkFDRCxPQUFPLEVBQUU7d0JBQ1Asb0JBQW9CO3FCQUNyQjtpQkFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBGb3Jtc01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2Zvcm1zJ1xuaW1wb3J0IHsgQ29tbW9uTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29tbW9uJ1xuaW1wb3J0IHsgQnJvd3Nlck1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL3BsYXRmb3JtLWJyb3dzZXInXG5pbXBvcnQgeyBCb3NzTGlicmFyeUNvbXBvbmVudCB9IGZyb20gJy4vYm9zcy1saWJyYXJ5LmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGRlY2xhcmF0aW9uczogW1xuICAgIEJvc3NMaWJyYXJ5Q29tcG9uZW50XG4gIF0sXG4gIGltcG9ydHM6IFtcbiAgICBGb3Jtc01vZHVsZSxcbiAgICBDb21tb25Nb2R1bGUsXG4gICAgQnJvd3Nlck1vZHVsZVxuICBdLFxuICBleHBvcnRzOiBbXG4gICAgQm9zc0xpYnJhcnlDb21wb25lbnRcbiAgXVxufSlcblxuZXhwb3J0IGNsYXNzIEJvc3NMaWJyYXJ5TW9kdWxlIHsgfVxuIl19
|
|
@ -1,14 +0,0 @@ |
|||||
import { Injectable } from '@angular/core'; |
|
||||
import * as i0 from "@angular/core"; |
|
||||
export class BossLibraryService { |
|
||||
constructor() { } |
|
||||
} |
|
||||
BossLibraryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); |
|
||||
BossLibraryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, providedIn: 'root' }); |
|
||||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, decorators: [{ |
|
||||
type: Injectable, |
|
||||
args: [{ |
|
||||
providedIn: 'root' |
|
||||
}] |
|
||||
}], ctorParameters: function () { return []; } }); |
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYm9zcy1saWJyYXJ5LnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbGliL2Jvc3MtbGlicmFyeS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBSzNDLE1BQU0sT0FBTyxrQkFBa0I7SUFFN0IsZ0JBQWdCLENBQUM7OytHQUZOLGtCQUFrQjttSEFBbEIsa0JBQWtCLGNBRmpCLE1BQU07MkZBRVAsa0JBQWtCO2tCQUg5QixVQUFVO21CQUFDO29CQUNWLFVBQVUsRUFBRSxNQUFNO2lCQUNuQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoe1xuICBwcm92aWRlZEluOiAncm9vdCdcbn0pXG5leHBvcnQgY2xhc3MgQm9zc0xpYnJhcnlTZXJ2aWNlIHtcblxuICBjb25zdHJ1Y3RvcigpIHsgfVxufVxuIl19
|
|
@ -1,7 +0,0 @@ |
|||||
/* |
|
||||
* Public API Surface of boss-library |
|
||||
*/ |
|
||||
export * from './lib/boss-library.service'; |
|
||||
export * from './lib/boss-library.component'; |
|
||||
export * from './lib/boss-library.module'; |
|
||||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBRUgsY0FBYyw0QkFBNEIsQ0FBQztBQUMzQyxjQUFjLDhCQUE4QixDQUFDO0FBQzdDLGNBQWMsMkJBQTJCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIGJvc3MtbGlicmFyeVxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vbGliL2Jvc3MtbGlicmFyeS5zZXJ2aWNlJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2Jvc3MtbGlicmFyeS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvYm9zcy1saWJyYXJ5Lm1vZHVsZSc7XG4iXX0=
|
|
@ -1,66 +0,0 @@ |
|||||
import * as i0 from '@angular/core'; |
|
||||
import { Injectable, Component, NgModule } from '@angular/core'; |
|
||||
import { FormsModule } from '@angular/forms'; |
|
||||
import { CommonModule } from '@angular/common'; |
|
||||
import { BrowserModule } from '@angular/platform-browser'; |
|
||||
|
|
||||
class BossLibraryService { |
|
||||
constructor() { } |
|
||||
} |
|
||||
BossLibraryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); |
|
||||
BossLibraryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, providedIn: 'root' }); |
|
||||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, decorators: [{ |
|
||||
type: Injectable, |
|
||||
args: [{ |
|
||||
providedIn: 'root' |
|
||||
}] |
|
||||
}], ctorParameters: function () { return []; } }); |
|
||||
|
|
||||
class BossLibraryComponent { |
|
||||
constructor() { } |
|
||||
ngOnInit() { |
|
||||
} |
|
||||
} |
|
||||
BossLibraryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); |
|
||||
BossLibraryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: BossLibraryComponent, selector: "boss-library", ngImport: i0, template: `<p> boss-library works! </p>`, isInline: true }); |
|
||||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryComponent, decorators: [{ |
|
||||
type: Component, |
|
||||
args: [{ selector: 'boss-library', template: `<p> boss-library works! </p>` }] |
|
||||
}], ctorParameters: function () { return []; } }); |
|
||||
|
|
||||
class BossLibraryModule { |
|
||||
} |
|
||||
BossLibraryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); |
|
||||
BossLibraryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, declarations: [BossLibraryComponent], imports: [FormsModule, |
|
||||
CommonModule, |
|
||||
BrowserModule], exports: [BossLibraryComponent] }); |
|
||||
BossLibraryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, imports: [FormsModule, |
|
||||
CommonModule, |
|
||||
BrowserModule] }); |
|
||||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, decorators: [{ |
|
||||
type: NgModule, |
|
||||
args: [{ |
|
||||
declarations: [ |
|
||||
BossLibraryComponent |
|
||||
], |
|
||||
imports: [ |
|
||||
FormsModule, |
|
||||
CommonModule, |
|
||||
BrowserModule |
|
||||
], |
|
||||
exports: [ |
|
||||
BossLibraryComponent |
|
||||
] |
|
||||
}] |
|
||||
}] }); |
|
||||
|
|
||||
/* |
|
||||
* Public API Surface of boss-library |
|
||||
*/ |
|
||||
|
|
||||
/** |
|
||||
* Generated bundle index. Do not edit. |
|
||||
*/ |
|
||||
|
|
||||
export { BossLibraryComponent, BossLibraryModule, BossLibraryService }; |
|
||||
//# sourceMappingURL=boss-library.mjs.map
|
|
@ -1 +0,0 @@ |
|||||
{"version":3,"file":"boss-library.mjs","sources":["../../../src/lib/boss-library.service.ts","../../../src/lib/boss-library.component.ts","../../../src/lib/boss-library.module.ts","../../../src/public-api.ts","../../../src/boss-library.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class BossLibraryService {\n\n constructor() { }\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'boss-library',\n template: `<p> boss-library works! </p>`,\n styles: [ ]\n})\n\nexport class BossLibraryComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms'\nimport { CommonModule } from '@angular/common'\nimport { BrowserModule } from '@angular/platform-browser'\nimport { BossLibraryComponent } from './boss-library.component';\n\n@NgModule({\n declarations: [\n BossLibraryComponent\n ],\n imports: [\n FormsModule,\n CommonModule,\n BrowserModule\n ],\n exports: [\n BossLibraryComponent\n ]\n})\n\nexport class BossLibraryModule { }\n","/*\n * Public API Surface of boss-library\n */\n\nexport * from './lib/boss-library.service';\nexport * from './lib/boss-library.component';\nexport * from './lib/boss-library.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAKa,kBAAkB,CAAA;AAE7B,IAAA,WAAA,GAAA,GAAiB;;+GAFN,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAlB,kBAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cAFjB,MAAM,EAAA,CAAA,CAAA;2FAEP,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;iBACnB,CAAA;;;MCIY,oBAAoB,CAAA;AAE/B,IAAA,WAAA,GAAA,GAAiB;IAEjB,QAAQ,GAAA;KACP;;iHALU,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,oDAJrB,8BAA8B,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;2FAI7B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,SAAS;YACE,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,cAAc,YACd,CAA8B,4BAAA,CAAA,EAAA,CAAA;;;MCgB7B,iBAAiB,CAAA;;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAjB,iBAAiB,EAAA,YAAA,EAAA,CAZ1B,oBAAoB,CAAA,EAAA,OAAA,EAAA,CAGpB,WAAW;QACX,YAAY;QACZ,aAAa,aAGb,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAIX,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAT1B,WAAW;QACX,YAAY;QACZ,aAAa,CAAA,EAAA,CAAA,CAAA;2FAOJ,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAd7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,oBAAoB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,WAAW;wBACX,YAAY;wBACZ,aAAa;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,oBAAoB;AACrB,qBAAA;iBACF,CAAA;;;AClBD;;AAEG;;ACFH;;AAEG;;;;"} |
|
@ -1,66 +0,0 @@ |
|||||
import * as i0 from '@angular/core'; |
|
||||
import { Injectable, Component, NgModule } from '@angular/core'; |
|
||||
import { FormsModule } from '@angular/forms'; |
|
||||
import { CommonModule } from '@angular/common'; |
|
||||
import { BrowserModule } from '@angular/platform-browser'; |
|
||||
|
|
||||
class BossLibraryService { |
|
||||
constructor() { } |
|
||||
} |
|
||||
BossLibraryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); |
|
||||
BossLibraryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, providedIn: 'root' }); |
|
||||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryService, decorators: [{ |
|
||||
type: Injectable, |
|
||||
args: [{ |
|
||||
providedIn: 'root' |
|
||||
}] |
|
||||
}], ctorParameters: function () { return []; } }); |
|
||||
|
|
||||
class BossLibraryComponent { |
|
||||
constructor() { } |
|
||||
ngOnInit() { |
|
||||
} |
|
||||
} |
|
||||
BossLibraryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); |
|
||||
BossLibraryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: BossLibraryComponent, selector: "boss-library", ngImport: i0, template: `<p> boss-library works! </p>`, isInline: true }); |
|
||||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryComponent, decorators: [{ |
|
||||
type: Component, |
|
||||
args: [{ selector: 'boss-library', template: `<p> boss-library works! </p>` }] |
|
||||
}], ctorParameters: function () { return []; } }); |
|
||||
|
|
||||
class BossLibraryModule { |
|
||||
} |
|
||||
BossLibraryModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); |
|
||||
BossLibraryModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, declarations: [BossLibraryComponent], imports: [FormsModule, |
|
||||
CommonModule, |
|
||||
BrowserModule], exports: [BossLibraryComponent] }); |
|
||||
BossLibraryModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, imports: [FormsModule, |
|
||||
CommonModule, |
|
||||
BrowserModule] }); |
|
||||
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: BossLibraryModule, decorators: [{ |
|
||||
type: NgModule, |
|
||||
args: [{ |
|
||||
declarations: [ |
|
||||
BossLibraryComponent |
|
||||
], |
|
||||
imports: [ |
|
||||
FormsModule, |
|
||||
CommonModule, |
|
||||
BrowserModule |
|
||||
], |
|
||||
exports: [ |
|
||||
BossLibraryComponent |
|
||||
] |
|
||||
}] |
|
||||
}] }); |
|
||||
|
|
||||
/* |
|
||||
* Public API Surface of boss-library |
|
||||
*/ |
|
||||
|
|
||||
/** |
|
||||
* Generated bundle index. Do not edit. |
|
||||
*/ |
|
||||
|
|
||||
export { BossLibraryComponent, BossLibraryModule, BossLibraryService }; |
|
||||
//# sourceMappingURL=boss-library.mjs.map
|
|
@ -1 +0,0 @@ |
|||||
{"version":3,"file":"boss-library.mjs","sources":["../../../src/lib/boss-library.service.ts","../../../src/lib/boss-library.component.ts","../../../src/lib/boss-library.module.ts","../../../src/public-api.ts","../../../src/boss-library.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class BossLibraryService {\n\n constructor() { }\n}\n","import { Component, OnInit } from '@angular/core';\n\n@Component({\n selector: 'boss-library',\n template: `<p> boss-library works! </p>`,\n styles: [ ]\n})\n\nexport class BossLibraryComponent implements OnInit {\n\n constructor() { }\n\n ngOnInit(): void {\n }\n\n}\n","import { NgModule } from '@angular/core';\nimport { FormsModule } from '@angular/forms'\nimport { CommonModule } from '@angular/common'\nimport { BrowserModule } from '@angular/platform-browser'\nimport { BossLibraryComponent } from './boss-library.component';\n\n@NgModule({\n declarations: [\n BossLibraryComponent\n ],\n imports: [\n FormsModule,\n CommonModule,\n BrowserModule\n ],\n exports: [\n BossLibraryComponent\n ]\n})\n\nexport class BossLibraryModule { }\n","/*\n * Public API Surface of boss-library\n */\n\nexport * from './lib/boss-library.service';\nexport * from './lib/boss-library.component';\nexport * from './lib/boss-library.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;MAKa,kBAAkB,CAAA;AAE7B,IAAA,WAAA,GAAA,GAAiB;;+GAFN,kBAAkB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAlB,kBAAA,CAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,kBAAkB,cAFjB,MAAM,EAAA,CAAA,CAAA;2FAEP,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAH9B,UAAU;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,MAAM;AACnB,iBAAA,CAAA;;;MCIY,oBAAoB,CAAA;AAE/B,IAAA,WAAA,GAAA,GAAiB;IAEjB,QAAQ,GAAA;KACP;;iHALU,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAApB,oBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,oDAJrB,CAA8B,4BAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA;2FAI7B,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBANhC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,cAAc,YACd,CAA8B,4BAAA,CAAA,EAAA,CAAA;;;MCgB7B,iBAAiB,CAAA;;8GAAjB,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA;+GAAjB,iBAAiB,EAAA,YAAA,EAAA,CAZ1B,oBAAoB,CAAA,EAAA,OAAA,EAAA,CAGpB,WAAW;QACX,YAAY;AACZ,QAAA,aAAa,aAGb,oBAAoB,CAAA,EAAA,CAAA,CAAA;AAIX,iBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,iBAAiB,YAT1B,WAAW;QACX,YAAY;QACZ,aAAa,CAAA,EAAA,CAAA,CAAA;2FAOJ,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAd7B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,oBAAoB;AACrB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,WAAW;wBACX,YAAY;wBACZ,aAAa;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACP,oBAAoB;AACrB,qBAAA;AACF,iBAAA,CAAA;;;AClBD;;AAEG;;ACFH;;AAEG;;;;"} |
|
@ -1,5 +0,0 @@ |
|||||
/** |
|
||||
* Generated bundle index. Do not edit. |
|
||||
*/ |
|
||||
/// <amd-module name="boss-library" />
|
|
||||
export * from './public-api'; |
|
@ -1,8 +0,0 @@ |
|||||
import { OnInit } from '@angular/core'; |
|
||||
import * as i0 from "@angular/core"; |
|
||||
export declare class BossLibraryComponent implements OnInit { |
|
||||
constructor(); |
|
||||
ngOnInit(): void; |
|
||||
static ɵfac: i0.ɵɵFactoryDeclaration<BossLibraryComponent, never>; |
|
||||
static ɵcmp: i0.ɵɵComponentDeclaration<BossLibraryComponent, "boss-library", never, {}, {}, never, never, false>; |
|
||||
} |
|
@ -1,10 +0,0 @@ |
|||||
import * as i0 from "@angular/core"; |
|
||||
import * as i1 from "./boss-library.component"; |
|
||||
import * as i2 from "@angular/forms"; |
|
||||
import * as i3 from "@angular/common"; |
|
||||
import * as i4 from "@angular/platform-browser"; |
|
||||
export declare class BossLibraryModule { |
|
||||
static ɵfac: i0.ɵɵFactoryDeclaration<BossLibraryModule, never>; |
|
||||
static ɵmod: i0.ɵɵNgModuleDeclaration<BossLibraryModule, [typeof i1.BossLibraryComponent], [typeof i2.FormsModule, typeof i3.CommonModule, typeof i4.BrowserModule], [typeof i1.BossLibraryComponent]>; |
|
||||
static ɵinj: i0.ɵɵInjectorDeclaration<BossLibraryModule>; |
|
||||
} |
|
@ -1,6 +0,0 @@ |
|||||
import * as i0 from "@angular/core"; |
|
||||
export declare class BossLibraryService { |
|
||||
constructor(); |
|
||||
static ɵfac: i0.ɵɵFactoryDeclaration<BossLibraryService, never>; |
|
||||
static ɵprov: i0.ɵɵInjectableDeclaration<BossLibraryService>; |
|
||||
} |
|
@ -1,164 +0,0 @@ |
|||||
# tslib |
|
||||
|
|
||||
This is a runtime library for [TypeScript](https://www.typescriptlang.org/) that contains all of the TypeScript helper functions. |
|
||||
|
|
||||
This library is primarily used by the `--importHelpers` flag in TypeScript. |
|
||||
When using `--importHelpers`, a module that uses helper functions like `__extends` and `__assign` in the following emitted file: |
|
||||
|
|
||||
```ts |
|
||||
var __assign = (this && this.__assign) || Object.assign || function(t) { |
|
||||
for (var s, i = 1, n = arguments.length; i < n; i++) { |
|
||||
s = arguments[i]; |
|
||||
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) |
|
||||
t[p] = s[p]; |
|
||||
} |
|
||||
return t; |
|
||||
}; |
|
||||
exports.x = {}; |
|
||||
exports.y = __assign({}, exports.x); |
|
||||
|
|
||||
``` |
|
||||
|
|
||||
will instead be emitted as something like the following: |
|
||||
|
|
||||
```ts |
|
||||
var tslib_1 = require("tslib"); |
|
||||
exports.x = {}; |
|
||||
exports.y = tslib_1.__assign({}, exports.x); |
|
||||
``` |
|
||||
|
|
||||
Because this can avoid duplicate declarations of things like `__extends`, `__assign`, etc., this means delivering users smaller files on average, as well as less runtime overhead. |
|
||||
For optimized bundles with TypeScript, you should absolutely consider using `tslib` and `--importHelpers`. |
|
||||
|
|
||||
# Installing |
|
||||
|
|
||||
For the latest stable version, run: |
|
||||
|
|
||||
## npm |
|
||||
|
|
||||
```sh |
|
||||
# TypeScript 3.9.2 or later |
|
||||
npm install tslib |
|
||||
|
|
||||
# TypeScript 3.8.4 or earlier |
|
||||
npm install tslib@^1 |
|
||||
|
|
||||
# TypeScript 2.3.2 or earlier |
|
||||
npm install tslib@1.6.1 |
|
||||
``` |
|
||||
|
|
||||
## yarn |
|
||||
|
|
||||
```sh |
|
||||
# TypeScript 3.9.2 or later |
|
||||
yarn add tslib |
|
||||
|
|
||||
# TypeScript 3.8.4 or earlier |
|
||||
yarn add tslib@^1 |
|
||||
|
|
||||
# TypeScript 2.3.2 or earlier |
|
||||
yarn add tslib@1.6.1 |
|
||||
``` |
|
||||
|
|
||||
## bower |
|
||||
|
|
||||
```sh |
|
||||
# TypeScript 3.9.2 or later |
|
||||
bower install tslib |
|
||||
|
|
||||
# TypeScript 3.8.4 or earlier |
|
||||
bower install tslib@^1 |
|
||||
|
|
||||
# TypeScript 2.3.2 or earlier |
|
||||
bower install tslib@1.6.1 |
|
||||
``` |
|
||||
|
|
||||
## JSPM |
|
||||
|
|
||||
```sh |
|
||||
# TypeScript 3.9.2 or later |
|
||||
jspm install tslib |
|
||||
|
|
||||
# TypeScript 3.8.4 or earlier |
|
||||
jspm install tslib@^1 |
|
||||
|
|
||||
# TypeScript 2.3.2 or earlier |
|
||||
jspm install tslib@1.6.1 |
|
||||
``` |
|
||||
|
|
||||
# Usage |
|
||||
|
|
||||
Set the `importHelpers` compiler option on the command line: |
|
||||
|
|
||||
``` |
|
||||
tsc --importHelpers file.ts |
|
||||
``` |
|
||||
|
|
||||
or in your tsconfig.json: |
|
||||
|
|
||||
```json |
|
||||
{ |
|
||||
"compilerOptions": { |
|
||||
"importHelpers": true |
|
||||
} |
|
||||
} |
|
||||
``` |
|
||||
|
|
||||
#### For bower and JSPM users |
|
||||
|
|
||||
You will need to add a `paths` mapping for `tslib`, e.g. For Bower users: |
|
||||
|
|
||||
```json |
|
||||
{ |
|
||||
"compilerOptions": { |
|
||||
"module": "amd", |
|
||||
"importHelpers": true, |
|
||||
"baseUrl": "./", |
|
||||
"paths": { |
|
||||
"tslib" : ["bower_components/tslib/tslib.d.ts"] |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
``` |
|
||||
|
|
||||
For JSPM users: |
|
||||
|
|
||||
```json |
|
||||
{ |
|
||||
"compilerOptions": { |
|
||||
"module": "system", |
|
||||
"importHelpers": true, |
|
||||
"baseUrl": "./", |
|
||||
"paths": { |
|
||||
"tslib" : ["jspm_packages/npm/tslib@2.x.y/tslib.d.ts"] |
|
||||
} |
|
||||
} |
|
||||
} |
|
||||
``` |
|
||||
|
|
||||
## Deployment |
|
||||
|
|
||||
- Choose your new version number |
|
||||
- Set it in `package.json` and `bower.json` |
|
||||
- Create a tag: `git tag [version]` |
|
||||
- Push the tag: `git push --tags` |
|
||||
- Create a [release in GitHub](https://github.com/microsoft/tslib/releases) |
|
||||
- Run the [publish to npm](https://github.com/microsoft/tslib/actions?query=workflow%3A%22Publish+to+NPM%22) workflow |
|
||||
|
|
||||
Done. |
|
||||
|
|
||||
# Contribute |
|
||||
|
|
||||
There are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md) to TypeScript. |
|
||||
|
|
||||
* [Submit bugs](https://github.com/Microsoft/TypeScript/issues) and help us verify fixes as they are checked in. |
|
||||
* Review the [source code changes](https://github.com/Microsoft/TypeScript/pulls). |
|
||||
* Engage with other TypeScript users and developers on [StackOverflow](http://stackoverflow.com/questions/tagged/typescript). |
|
||||
* Join the [#typescript](http://twitter.com/#!/search/realtime/%23typescript) discussion on Twitter. |
|
||||
* [Contribute bug fixes](https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md). |
|
||||
|
|
||||
# Documentation |
|
||||
|
|
||||
* [Quick tutorial](http://www.typescriptlang.org/Tutorial) |
|
||||
* [Programming handbook](http://www.typescriptlang.org/Handbook) |
|
||||
* [Homepage](http://www.typescriptlang.org/) |
|
@ -1,31 +0,0 @@ |
|||||
{ |
|
||||
"name": "boss-library", |
|
||||
"version": "0.0.6", |
|
||||
"peerDependencies": { |
|
||||
"@angular/common": "^14.0.0", |
|
||||
"@angular/core": "^14.0.0" |
|
||||
}, |
|
||||
"dependencies": { |
|
||||
"tslib": "^2.3.0" |
|
||||
}, |
|
||||
"module": "fesm2015/boss-library.mjs", |
|
||||
"es2020": "fesm2020/boss-library.mjs", |
|
||||
"esm2020": "esm2020/boss-library.mjs", |
|
||||
"fesm2020": "fesm2020/boss-library.mjs", |
|
||||
"fesm2015": "fesm2015/boss-library.mjs", |
|
||||
"typings": "index.d.ts", |
|
||||
"exports": { |
|
||||
"./package.json": { |
|
||||
"default": "./package.json" |
|
||||
}, |
|
||||
".": { |
|
||||
"types": "./index.d.ts", |
|
||||
"esm2020": "./esm2020/boss-library.mjs", |
|
||||
"es2020": "./fesm2020/boss-library.mjs", |
|
||||
"es2015": "./fesm2015/boss-library.mjs", |
|
||||
"node": "./fesm2015/boss-library.mjs", |
|
||||
"default": "./fesm2020/boss-library.mjs" |
|
||||
} |
|
||||
}, |
|
||||
"sideEffects": false |
|
||||
} |
|
@ -1,3 +0,0 @@ |
|||||
export * from './lib/boss-library.service'; |
|
||||
export * from './lib/boss-library.component'; |
|
||||
export * from './lib/boss-library.module'; |
|
@ -1,44 +0,0 @@ |
|||||
// Karma configuration file, see link for more information
|
|
||||
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
|
||||
|
|
||||
module.exports = function (config) { |
|
||||
config.set({ |
|
||||
basePath: '', |
|
||||
frameworks: ['jasmine', '@angular-devkit/build-angular'], |
|
||||
plugins: [ |
|
||||
require('karma-jasmine'), |
|
||||
require('karma-chrome-launcher'), |
|
||||
require('karma-jasmine-html-reporter'), |
|
||||
require('karma-coverage'), |
|
||||
require('@angular-devkit/build-angular/plugins/karma') |
|
||||
], |
|
||||
client: { |
|
||||
jasmine: { |
|
||||
// you can add configuration options for Jasmine here
|
|
||||
// the possible options are listed at https://jasmine.github.io/api/edge/Configuration.html
|
|
||||
// for example, you can disable the random execution with `random: false`
|
|
||||
// or set a specific seed with `seed: 4321`
|
|
||||
}, |
|
||||
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
|
||||
}, |
|
||||
jasmineHtmlReporter: { |
|
||||
suppressAll: true // removes the duplicated traces
|
|
||||
}, |
|
||||
coverageReporter: { |
|
||||
dir: require('path').join(__dirname, '../../coverage/boss-library'), |
|
||||
subdir: '.', |
|
||||
reporters: [ |
|
||||
{ type: 'html' }, |
|
||||
{ type: 'text-summary' } |
|
||||
] |
|
||||
}, |
|
||||
reporters: ['progress', 'kjhtml'], |
|
||||
port: 9876, |
|
||||
colors: true, |
|
||||
logLevel: config.LOG_INFO, |
|
||||
autoWatch: true, |
|
||||
browsers: ['Chrome'], |
|
||||
singleRun: false, |
|
||||
restartOnFileChange: true |
|
||||
}); |
|
||||
}; |
|
@ -1,7 +0,0 @@ |
|||||
{ |
|
||||
"$schema": "../../node_modules/ng-packagr/ng-package.schema.json", |
|
||||
"dest": "./dist/boss-library", |
|
||||
"lib": { |
|
||||
"entryFile": "src/public-api.ts" |
|
||||
} |
|
||||
} |
|
@ -1,11 +0,0 @@ |
|||||
{ |
|
||||
"name": "boss-library", |
|
||||
"version": "0.0.7", |
|
||||
"peerDependencies": { |
|
||||
"@angular/common": "^14.0.0", |
|
||||
"@angular/core": "^14.0.0" |
|
||||
}, |
|
||||
"dependencies": { |
|
||||
"tslib": "^2.3.0" |
|
||||
} |
|
||||
} |
|
@ -1,23 +0,0 @@ |
|||||
import { ComponentFixture, TestBed } from '@angular/core/testing'; |
|
||||
|
|
||||
import { BossLibraryComponent } from './boss-library.component'; |
|
||||
|
|
||||
describe('BossLibraryComponent', () => { |
|
||||
let component: BossLibraryComponent; |
|
||||
let fixture: ComponentFixture<BossLibraryComponent>; |
|
||||
|
|
||||
beforeEach(async () => { |
|
||||
await TestBed.configureTestingModule({ |
|
||||
declarations: [ BossLibraryComponent ] |
|
||||
}) |
|
||||
.compileComponents(); |
|
||||
|
|
||||
fixture = TestBed.createComponent(BossLibraryComponent); |
|
||||
component = fixture.componentInstance; |
|
||||
fixture.detectChanges(); |
|
||||
}); |
|
||||
|
|
||||
it('should create', () => { |
|
||||
expect(component).toBeTruthy(); |
|
||||
}); |
|
||||
}); |
|
@ -1,16 +0,0 @@ |
|||||
import { Component, OnInit } from '@angular/core'; |
|
||||
|
|
||||
@Component({ |
|
||||
selector: 'boss-library', |
|
||||
template: `<p> BOSS-library works! </p>`, |
|
||||
styles: [ ] |
|
||||
}) |
|
||||
|
|
||||
export class BossLibraryComponent implements OnInit { |
|
||||
|
|
||||
constructor() { } |
|
||||
|
|
||||
ngOnInit(): void { |
|
||||
} |
|
||||
|
|
||||
} |
|
@ -1,21 +0,0 @@ |
|||||
import { NgModule } from '@angular/core'; |
|
||||
import { FormsModule } from '@angular/forms' |
|
||||
import { CommonModule } from '@angular/common' |
|
||||
import { BrowserModule } from '@angular/platform-browser' |
|
||||
import { BossLibraryComponent } from './boss-library.component'; |
|
||||
|
|
||||
@NgModule({ |
|
||||
declarations: [ |
|
||||
BossLibraryComponent |
|
||||
], |
|
||||
imports: [ |
|
||||
FormsModule, |
|
||||
CommonModule, |
|
||||
BrowserModule |
|
||||
], |
|
||||
exports: [ |
|
||||
BossLibraryComponent |
|
||||
] |
|
||||
}) |
|
||||
|
|
||||
export class BossLibraryModule { } |
|
@ -1,16 +0,0 @@ |
|||||
import { TestBed } from '@angular/core/testing'; |
|
||||
|
|
||||
import { BossLibraryService } from './boss-library.service'; |
|
||||
|
|
||||
describe('BossLibraryService', () => { |
|
||||
let service: BossLibraryService; |
|
||||
|
|
||||
beforeEach(() => { |
|
||||
TestBed.configureTestingModule({}); |
|
||||
service = TestBed.inject(BossLibraryService); |
|
||||
}); |
|
||||
|
|
||||
it('should be created', () => { |
|
||||
expect(service).toBeTruthy(); |
|
||||
}); |
|
||||
}); |
|
@ -1,9 +0,0 @@ |
|||||
import { Injectable } from '@angular/core'; |
|
||||
|
|
||||
@Injectable({ |
|
||||
providedIn: 'root' |
|
||||
}) |
|
||||
export class BossLibraryService { |
|
||||
|
|
||||
constructor() { } |
|
||||
} |
|
@ -1,11 +0,0 @@ |
|||||
{ |
|
||||
"name": "boss-library", |
|
||||
"version": "0.0.6", |
|
||||
"peerDependencies": { |
|
||||
"@angular/common": "^14.0.0", |
|
||||
"@angular/core": "^14.0.0" |
|
||||
}, |
|
||||
"dependencies": { |
|
||||
"tslib": "^2.3.0" |
|
||||
} |
|
||||
} |
|
@ -1,7 +0,0 @@ |
|||||
/* |
|
||||
* Public API Surface of boss-library |
|
||||
*/ |
|
||||
|
|
||||
export * from './lib/boss-library.service'; |
|
||||
export * from './lib/boss-library.component'; |
|
||||
export * from './lib/boss-library.module'; |
|
@ -1,27 +0,0 @@ |
|||||
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
|
|
||||
|
|
||||
import 'zone.js'; |
|
||||
import 'zone.js/testing'; |
|
||||
import { getTestBed } from '@angular/core/testing'; |
|
||||
import { |
|
||||
BrowserDynamicTestingModule, |
|
||||
platformBrowserDynamicTesting |
|
||||
} from '@angular/platform-browser-dynamic/testing'; |
|
||||
|
|
||||
declare const require: { |
|
||||
context(path: string, deep?: boolean, filter?: RegExp): { |
|
||||
<T>(id: string): T; |
|
||||
keys(): string[]; |
|
||||
}; |
|
||||
}; |
|
||||
|
|
||||
// First, initialize the Angular testing environment.
|
|
||||
getTestBed().initTestEnvironment( |
|
||||
BrowserDynamicTestingModule, |
|
||||
platformBrowserDynamicTesting(), |
|
||||
); |
|
||||
|
|
||||
// Then we find all the tests.
|
|
||||
const context = require.context('./', true, /\.spec\.ts$/); |
|
||||
// And load the modules.
|
|
||||
context.keys().forEach(context); |
|
@ -1,15 +0,0 @@ |
|||||
/* To learn more about this file see: https://angular.io/config/tsconfig. */ |
|
||||
{ |
|
||||
"extends": "../../tsconfig.json", |
|
||||
"compilerOptions": { |
|
||||
"outDir": "../../out-tsc/lib", |
|
||||
"declaration": true, |
|
||||
"declarationMap": true, |
|
||||
"inlineSources": true, |
|
||||
"types": [] |
|
||||
}, |
|
||||
"exclude": [ |
|
||||
"src/test.ts", |
|
||||
"**/*.spec.ts" |
|
||||
] |
|
||||
} |
|
@ -1,10 +0,0 @@ |
|||||
/* To learn more about this file see: https://angular.io/config/tsconfig. */ |
|
||||
{ |
|
||||
"extends": "./tsconfig.lib.json", |
|
||||
"compilerOptions": { |
|
||||
"declarationMap": false |
|
||||
}, |
|
||||
"angularCompilerOptions": { |
|
||||
"compilationMode": "partial" |
|
||||
} |
|
||||
} |
|
@ -1,17 +0,0 @@ |
|||||
/* To learn more about this file see: https://angular.io/config/tsconfig. */ |
|
||||
{ |
|
||||
"extends": "../../tsconfig.json", |
|
||||
"compilerOptions": { |
|
||||
"outDir": "../../out-tsc/spec", |
|
||||
"types": [ |
|
||||
"jasmine" |
|
||||
] |
|
||||
}, |
|
||||
"files": [ |
|
||||
"src/test.ts" |
|
||||
], |
|
||||
"include": [ |
|
||||
"**/*.spec.ts", |
|
||||
"**/*.d.ts" |
|
||||
] |
|
||||
} |
|
@ -1,8 +0,0 @@ |
|||||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. |
|
||||
# yarn lockfile v1 |
|
||||
|
|
||||
|
|
||||
tslib@^2.3.0: |
|
||||
version "2.6.0" |
|
||||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.0.tgz#b295854684dbda164e181d259a22cd779dcd7bc3" |
|
||||
integrity sha512-7At1WUettjcSRHXCyYtTselblcHl9PJFFVKiCAy/bY97+BPZXSQ2wbq0P9s8tK2G7dFQfNnlJnPAiArVBVBsfA== |
|
Loading…
Reference in new issue