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: add lsc manifest configuration
- Loading branch information
Rafael Calpena Rodrigues
committed
Oct 19, 2020
1 parent
2f9443f
commit 21e66f5
Showing
6 changed files
with
43 additions
and
4 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
16 changes: 16 additions & 0 deletions
16
templates/ui-package/projects/__app-name-slug__-app/labshare-manifest.js
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,16 @@ | ||
module.exports = { | ||
"type": "app", | ||
"modules": [ | ||
{ | ||
name: "@labshare/<%= appNameSlug %>", | ||
path: "@labshare/<%= appNameSlug %>", | ||
manifest: { | ||
defaultIcon: "icon-lsi-info-fill", | ||
entryModule: "<%= appNamePascalCase %>Module", | ||
description: "Description for <%= appNameSlug %>", | ||
consumeEvents: [], | ||
emitEvents: [] | ||
} | ||
} | ||
] | ||
} |
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
20 changes: 20 additions & 0 deletions
20
templates/ui-package/projects/__app-name-slug__-lib/labshare-manifest.js
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,20 @@ | ||
module.exports = { | ||
name: '<%= appNameSlug %>', | ||
|
||
description: 'Description for <%= appNameSlug %>', | ||
|
||
/* Must be exact Angular Module name */ | ||
entryModule: '<%= appNamePascalCase %>Module', | ||
|
||
/* Icon to be displayed in left-menu. | ||
See options in https://labshare.github.io/ls-font/ */ | ||
defaultIcon: 'icon-lsi-info-fill', | ||
|
||
/* Events that the library subscribes to. | ||
Can come from the App or other libraries. */ | ||
consumeEvents: [], | ||
|
||
/* Events that the library emits. | ||
Can be emitted to app or other libraries */ | ||
emitEvents: [] | ||
} |
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