This repository has been archived by the owner on Jul 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update library so it builds in ng-packgr
- Loading branch information
1 parent
e858de5
commit 7cbc207
Showing
13 changed files
with
41 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,4 +27,4 @@ jobs: | |
provider: script | ||
skip_cleanup: true | ||
script: | ||
- bash scripts/deploy.sh | ||
- npm run semantic-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
//This defines what is available to consumers of your library. | ||
export { | ||
WelcomeComponent, | ||
} from './src/app/base-lib/welcome/welcome.component'; | ||
|
||
export { | ||
AppModule, | ||
} from './src/app/app.module'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
|
||
import {NgModule} from '@angular/core'; | ||
import {WelcomeModule} from '../app/base-lib/welcome/welcome.module'; | ||
|
||
// Export Angular 6 feature module | ||
@NgModule({ | ||
imports: [ | ||
WelcomeModule | ||
] | ||
}) | ||
export class AppModule {} |
5 changes: 2 additions & 3 deletions
5
templates/library-package/src/app/base-lib/welcome/welcome.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
import {NgModule} from '@angular/core'; | ||
import {CommonModule} from '@angular/common'; | ||
import {UIRouterModule} from '@uirouter/angular'; | ||
import {WelcomeComponent} from './welcome.component'; | ||
|
||
@NgModule({ | ||
imports: [CommonModule, UIRouterModule], | ||
imports: [CommonModule], | ||
providers: [], | ||
declarations: [WelcomeComponent], | ||
exports: [WelcomeComponent], | ||
exports: [WelcomeComponent] | ||
}) | ||
export class WelcomeModule {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,6 @@ | |
"lib": [ | ||
"es2017", | ||
"dom" | ||
], | ||
}, | ||
] | ||
} | ||
} |