This repository has been archived by the owner on Mar 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dashboard build to accomodate upstream changes
Commit 51bb0bb13f in upstream causes builds to fail on any webpack error. To work around a typescript issue, commit 2181ed1340 adds 'index.d.ts' to the dashboard base directory. Since this is not included in the packaged maven artifact, this commit adds the same file to the rh-che dashboard directory and updates the build to copy it along with the rest of the sources. Should be undone when typescript is updated >3.5 Signed-off-by: Angel Misevski <amisevsk@redhat.com>
- Loading branch information
Showing
3 changed files
with
10 additions
and
1 deletion.
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
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 @@ | ||
// remove this declaration after upgrading typescript version > 3.5 | ||
import * as _angular from 'angular'; | ||
import * as _jsyaml from 'js-yaml'; | ||
|
||
declare global { | ||
const angular: typeof _angular; | ||
const jsyaml: typeof _jsyaml; | ||
} |
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