File tree Expand file tree Collapse file tree 3 files changed +31
-5
lines changed
Expand file tree Collapse file tree 3 files changed +31
-5
lines changed Original file line number Diff line number Diff line change 1- # Oracle CX Commerce webpack plugin
1+ # [ Oracle CX Commerce] ( https://cloud.oracle.com/en_US/commerce-cloud " Oracle Commerce Cloud ") webpack plugin
22
33## Usage
44
@@ -36,3 +36,8 @@ Transfer all files to the given Commerce Cloud administration interface from the
3636cd platform/
3737npx dcu -k $APP_KEY -n $APP_NODE -x .
3838```
39+
40+ ## Related
41+ * [ create-occ-react-app] ( https://github.com/oracle-commerce-cloud/create-occ-react-app " occ-react-scripts ") and [ occ-react-scripts] ( https://www.npmjs.com/package/occ-react-scripts " occ-react-scripts ")
42+ * [ occ-react-components.ts] ( https://github.com/oracle-commerce-cloud/occ-react-components.ts " occ-react-components.ts ")
43+ * [ Design-Code-Utility] ( https://www.npmjs.com/package/@oraclecc/dcu " dcu ")
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ WebpackOnBuildPlugin.prototype.apply = function(compiler) {
5454 const targetDir = `${ testFolder } /${ file } /js` ;
5555 const widgetName = file . toLowerCase ( ) ;
5656 const widgetConfig = await leadWidgetConfig ( widgetName ) . catch ( ( e ) => ( { } ) ) ;
57- let output = outputFiles . find ( ( fileName ) => fileName . includes ( `${ widgetConfig . javascript } .widget ` ) ) ;
57+ let output = outputFiles . find ( ( fileName ) => fileName . includes ( `${ widgetConfig . javascript } ` ) ) ;
5858 fs . rmdirSync ( targetDir , { recursive : true } ) ;
5959 if ( ! output ) {
6060 console . log ( ' ' , logSymbols . error , `/widget${ FgGreen } /${ file } /${ Reset } js/${ widgetConfig . javascript } .js` ) ;
@@ -65,8 +65,9 @@ WebpackOnBuildPlugin.prototype.apply = function(compiler) {
6565 fs . createReadStream ( output ) . pipe ( fs . createWriteStream ( `${ targetDir } /${ widgetConfig . javascript } .js` ) ) ;
6666 } ) ,
6767 ) ;
68- console . log ( "\nThe " + FgCyan + platformFolderName + Reset + " folder is ready to be deployed.\n " ) ;
68+ console . log ( "\nThe " + FgCyan + platformFolderName + Reset + " folder is ready to be deployed." ) ;
6969 console . log ( "Find out more about deployment here:\n" ) ;
70+ console . log ( FgYellow , "https://bit.ly/2YSc5vH\n" , Reset ) ;
7071 } ) ;
7172 } ) ;
7273} ;
Original file line number Diff line number Diff line change 11{
22 "name" : " occ-webpack-plugin" ,
33 "description" : " Oracle CX Commerce webpack plugin" ,
4- "version" : " 1.0.0 " ,
4+ "version" : " 1.0.1 " ,
55 "main" : " index.js" ,
66 "repository" : " https://github.com/oracle-commerce-cloud/occ-webpack-build-plugin.git" ,
77 "author" : " aboulmane <anassboulmane@gmail.com>" ,
88 "license" : " MIT" ,
99 "dependencies" : {
1010 "log-symbols" : " ^4.0.0"
11- }
11+ },
12+ "tags" : [
13+ " webpack" ,
14+ " oracle-commerce-cloud" ,
15+ " DesignCodeUtility" ,
16+ " commerce-cloud" ,
17+ " oracle" ,
18+ " occ" ,
19+ " cli" ,
20+ " dcu"
21+ ],
22+ "keywords" : [
23+ " webpack" ,
24+ " oracle-commerce-cloud" ,
25+ " DesignCodeUtility" ,
26+ " commerce-cloud" ,
27+ " oracle" ,
28+ " occ" ,
29+ " cli" ,
30+ " dcu"
31+ ]
1232}
You can’t perform that action at this time.
0 commit comments