-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from czeckd/fix452
Update to use ng-packagr
- Loading branch information
Showing
19 changed files
with
2,102 additions
and
147 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.ng_pkg_build | ||
node_modules | ||
**~ | ||
runt | ||
|
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 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 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 |
---|---|---|
|
@@ -7,14 +7,14 @@ | |
'app': 'app', // 'dist', | ||
'rxjs': 'https://unpkg.com/[email protected]', | ||
'@angular': 'https://unpkg.com/@angular', | ||
'angular-dual-listbox': 'lib' | ||
'angular-dual-listbox': 'lib/src' | ||
}; | ||
|
||
// packages tells the System loader how to load when no filename and/or no extension | ||
var packages = { | ||
'app': { main: 'main.ts', defaultExtension: 'ts' }, | ||
'rxjs': { defaultExtension: 'js' }, | ||
'angular-dual-listbox': { main: 'index.ts', defaultExtension: 'ts' } | ||
'angular-dual-listbox': { main: '../index.ts', defaultExtension: 'ts' } | ||
}; | ||
|
||
var ngPackageNames = [ | ||
|
@@ -39,7 +39,14 @@ | |
// transpiler: 'typescript', | ||
transpiler: 'ts', | ||
typescriptOptions: { | ||
emitDecoratorMetadata: true | ||
emitDecoratorMetadata: true, | ||
experimentalDecorators: true, | ||
module: "commonjs", | ||
}, | ||
meta: { | ||
'typescript': { | ||
"exports": "ts" | ||
} | ||
}, | ||
map: map, | ||
packages: packages | ||
|
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,3 +1,3 @@ | ||
export * from './basic-list'; | ||
export * from './dual-list.component'; | ||
export * from './angular-dual-listbox.module'; | ||
export * from './src/basic-list'; | ||
export * from './src/dual-list.component'; | ||
export * from './src/angular-dual-listbox.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,29 @@ | ||
{ | ||
"$schema": "../../node_modules/ng-packagr/package.schema.json", | ||
"name": "angular-dual-listbox", | ||
"description": "Angular 4+ component for a dual listbox control.", | ||
"version": "4.6.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/czeckd/angular-dual-listbox.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/czeckd/angular-dual-listbox/issues" | ||
}, | ||
"author": "David Czeck", | ||
"license": "MIT", | ||
"keywords": [ | ||
"angular", | ||
"listbox" | ||
], | ||
"peerDependencies": { | ||
"@angular/core": ">=4.0.0", | ||
"@angular/forms": ">=4.0.0" | ||
}, | ||
"ngPackage": { | ||
"lib": { | ||
"entryFile": "index.ts" | ||
}, | ||
"dest": "dist" | ||
} | ||
} |
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
Oops, something went wrong.