File tree Expand file tree Collapse file tree 5 files changed +26
-19
lines changed Expand file tree Collapse file tree 5 files changed +26
-19
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,19 @@ function replaceString() {
4343 replace : normalizeUrl ( voltranConfig . preview || path . resolve ( __dirname , './emptyModule.js' ) ) ,
4444 flags : 'g'
4545 } ,
46+ {
47+ search : '@voltran/server' ,
48+ replace : normalizeUrl ( path . resolve ( __dirname , '../src/server' ) ) ,
49+ flags : 'g'
50+ } ,
4651 {
4752 search : '@voltran/core' ,
48- replace : normalizeUrl ( path . resolve ( __dirname , '../src/index ' ) ) ,
53+ replace : normalizeUrl ( path . resolve ( __dirname , '../src/core ' ) ) ,
4954 flags : 'g'
5055 } ,
5156 {
52- search : '@voltran/server ' ,
53- replace : normalizeUrl ( path . resolve ( __dirname , '../src/server ' ) ) ,
57+ search : '@voltran' ,
58+ replace : normalizeUrl ( path . resolve ( __dirname , '../src/index ' ) ) ,
5459 flags : 'g'
5560 } ,
5661 {
Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ function checkRequiredVariables(mergeConfigs) {
110110}
111111
112112export function cli ( args ) {
113+ console . log ( 'SELAM' ) ;
113114 const argumentList = parseArgumentsIntoOptions ( args ) ;
114115 console . log ( clc . blue ( JSON . stringify ( argumentList ) ) ) ;
115116 const voltranConfigs = argumentList . configFile ? getVoltranConfigs ( argumentList . configFile ) : { } ;
Original file line number Diff line number Diff line change 11{
22 "name" : " voltranjs" ,
3- "version" : " 1.2.0-beta.6 " ,
3+ "version" : " 1.2.0-beta.7 " ,
44 "main" : " src/index.js" ,
55 "author" : " Hepsiburada Technology Team" ,
66 "bin" : {
Original file line number Diff line number Diff line change 1+ import apiService , {
2+ ClientApiManager ,
3+ ServerApiManager ,
4+ apiServiceMiddleware
5+ } from './universal/core/apiService' ;
6+ import requestDispatcher from './universal/utils/requestDispatcher' ;
7+ import useRequestDispatcher from './universal/hooks/useRequestDispatcher' ;
8+
9+ export {
10+ ClientApiManager ,
11+ ServerApiManager ,
12+ apiService ,
13+ apiServiceMiddleware ,
14+ requestDispatcher ,
15+ useRequestDispatcher
16+ } ;
Original file line number Diff line number Diff line change 11import voltran from './universal/partials/withBaseComponent' ;
2- import apiService , {
3- ClientApiManager ,
4- ServerApiManager ,
5- apiServiceMiddleware
6- } from './universal/core/apiService' ;
7- import requestDispatcher from './universal/utils/requestDispatcher' ;
8- import useRequestDispatcher from './universal/hooks/useRequestDispatcher' ;
92
103export default voltran ;
11- export {
12- ClientApiManager ,
13- ServerApiManager ,
14- apiService ,
15- apiServiceMiddleware ,
16- requestDispatcher ,
17- useRequestDispatcher
18- } ;
You can’t perform that action at this time.
0 commit comments