-
Notifications
You must be signed in to change notification settings - Fork 732
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(npm,package-json,export): export all site clientlibs as npm modu…
…les in a main package added new components from update 2.18.0 and updated component export file issue/1367
- Loading branch information
Showing
7 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
...content/jcr_root/apps/core/wcm/components/carousel/v1/carousel/clientlibs/site/js/main.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,3 @@ | ||
export default () => { | ||
require("./carousel") | ||
} |
3 changes: 3 additions & 0 deletions
3
...rc/content/jcr_root/apps/core/wcm/components/form/text/v2/text/clientlibs/site/js/main.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,3 @@ | ||
export default () => { | ||
require("./text") | ||
} |
12 changes: 12 additions & 0 deletions
12
content/src/content/jcr_root/apps/core/wcm/components/main.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 |
---|---|---|
@@ -1,13 +1,25 @@ | ||
import accordionv1 from './accordion/v1/accordion/clientlibs/site/js/main'; | ||
import carouselv1 from './carousel/v1/carousel/clientlibs/site/js/main'; | ||
import formtextv2 from './form/text/v2/text/clientlibs/site/js/main'; | ||
import imagev1 from './image/v1/image/clientlibs/site/js/main'; | ||
import imagev2 from './image/v2/image/clientlibs/site/js/main'; | ||
import pagev1sharing from './page/v1/page/clientlibs/sharing/js/main'; | ||
import pagev2pwa from './page/v2/page/clientlibs/pwa/js/main'; | ||
import pagev2sharing from './page/v2/page/clientlibs/sharing/js/main'; | ||
import pdfviewerv1 from './pdfviewer/v1/pdfviewer/clientlibs/site/js/main'; | ||
import searchv1 from './search/v1/search/clientlibs/site/js/main'; | ||
import tabsv1 from './tabs/v1/tabs/clientlibs/site/js/main'; | ||
import textv2 from './text/v2/text/clientlibs/site/js/main'; | ||
|
||
export function accordionv1() {accordionv1()}; | ||
export function carouselv1() {carouselv1()}; | ||
export function formtextv2() {formtextv2()}; | ||
export function imagev1() {imagev1()}; | ||
export function imagev2() {imagev2()}; | ||
export function pagev1sharing() {pagev1sharing()}; | ||
export function pagev2pwa() {pagev2pwa()}; | ||
export function pagev2sharing() {pagev2sharing()}; | ||
export function pdfviewerv1() {pdfviewerv1()}; | ||
export function searchv1() {searchv1()}; | ||
export function tabsv1() {tabsv1()}; | ||
export function textv2() {textv2()}; |
3 changes: 3 additions & 0 deletions
3
.../src/content/jcr_root/apps/core/wcm/components/page/v1/page/clientlibs/sharing/js/main.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,3 @@ | ||
export default () => { | ||
require("./sharing") | ||
} |
3 changes: 3 additions & 0 deletions
3
...src/content/jcr_root/apps/core/wcm/components/page/v2/page/clientlibs/site/pwa/js/main.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,3 @@ | ||
export default () => { | ||
require("./pwa") | ||
} |
3 changes: 3 additions & 0 deletions
3
...content/jcr_root/apps/core/wcm/components/page/v2/page/clientlibs/site/sharing/js/main.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,3 @@ | ||
export default () => { | ||
require("./sharing") | ||
} |
3 changes: 3 additions & 0 deletions
3
...ent/src/content/jcr_root/apps/core/wcm/components/text/v2/text/clientlibs/site/js/main.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,3 @@ | ||
export default () => { | ||
require("./text") | ||
} |