File tree Expand file tree Collapse file tree 10 files changed +27
-7
lines changed
template-backend-extension
template-search-extension
template-widget-extension Expand file tree Collapse file tree 10 files changed +27
-7
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,25 @@ async function updateExtension() {
70
70
} ,
71
71
] )
72
72
. then ( async ( answers ) => {
73
+ await inquirer
74
+ . prompt ( [
75
+ {
76
+ type : "confirm" ,
77
+ name : "confirmYarnRC" ,
78
+ message :
79
+ "➤ You need to add nodeLinker: node-modules to your .yarnrc.yml file. Do you want to update your it ? (the old one will be backed up)" ,
80
+ default : true ,
81
+ } ,
82
+ ] )
83
+ . then ( async ( answers ) => {
84
+ if ( answers . confirmTsConfig ) {
85
+ await backAndCopyFile ( ".yarnrc.yml" ) ;
86
+ console . log (
87
+ chalk . green ( "➤ .yarnrc.yml file updated successfully !" )
88
+ ) ;
89
+ }
90
+ } ) ;
91
+
73
92
if ( answers . confirmUpdate ) {
74
93
const {
75
94
forcedDependencies,
Original file line number Diff line number Diff line change 49
49
},
50
50
"devDependencies" : {
51
51
"@lumapps-extensions-playground/devenv" : " 1.27.0" ,
52
- "@lumapps-extensions/shipping-server" : " 1.9.2 " ,
52
+ "@lumapps-extensions/shipping-server" : " 1.9.3-rc.1 " ,
53
53
"@testing-library/jest-dom" : " ^6.4.2" ,
54
54
"@testing-library/react" : " ^14.2.2" ,
55
55
"@testing-library/user-event" : " ^14.5.2" ,
Original file line number Diff line number Diff line change 49
49
},
50
50
"devDependencies" : {
51
51
"@lumapps-extensions-playground/devenv" : " 1.27.0" ,
52
- "@lumapps-extensions/shipping-server" : " 1.9.2 " ,
52
+ "@lumapps-extensions/shipping-server" : " 1.9.3-rc.1 " ,
53
53
"@testing-library/jest-dom" : " ^6.4.2" ,
54
54
"@testing-library/react" : " ^14.2.2" ,
55
55
"@testing-library/user-event" : " ^14.5.2" ,
Original file line number Diff line number Diff line change 49
49
},
50
50
"devDependencies" : {
51
51
"@lumapps-extensions-playground/devenv" : " 1.27.0" ,
52
- "@lumapps-extensions/shipping-server" : " 1.9.2 " ,
52
+ "@lumapps-extensions/shipping-server" : " 1.9.3-rc.1 " ,
53
53
"@testing-library/jest-dom" : " ^6.4.2" ,
54
54
"@testing-library/react" : " ^14.2.2" ,
55
55
"@testing-library/user-event" : " ^14.5.2" ,
Original file line number Diff line number Diff line change 49
49
},
50
50
"devDependencies" : {
51
51
"@lumapps-extensions-playground/devenv" : " 1.27.0" ,
52
- "@lumapps-extensions/shipping-server" : " 1.9.2 " ,
52
+ "@lumapps-extensions/shipping-server" : " 1.9.3-rc.1 " ,
53
53
"@testing-library/jest-dom" : " ^6.4.2" ,
54
54
"@testing-library/react" : " ^14.2.2" ,
55
55
"@testing-library/user-event" : " ^14.5.2" ,
Original file line number Diff line number Diff line change 49
49
},
50
50
"devDependencies" : {
51
51
"@lumapps-extensions-playground/devenv" : " 1.27.0" ,
52
- "@lumapps-extensions/shipping-server" : " 1.9.2 " ,
52
+ "@lumapps-extensions/shipping-server" : " 1.9.3-rc.1 " ,
53
53
"@testing-library/jest-dom" : " ^6.4.2" ,
54
54
"@testing-library/react" : " ^14.2.2" ,
55
55
"@testing-library/user-event" : " ^14.5.2" ,
Original file line number Diff line number Diff line change
1
+ nodeLinker : node-modules
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ module.exports = {
10
10
} ,
11
11
devDependencies : {
12
12
"@lumapps-extensions-playground/devenv" : "1.27.0" ,
13
- "@lumapps-extensions/shipping-server" : "1.9.2 " ,
13
+ "@lumapps-extensions/shipping-server" : "1.9.3-rc.1 " ,
14
14
"@types/react" : "17.0.2" ,
15
15
"@types/react-dom" : "17.0.2" ,
16
16
} ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ module.exports = {
10
10
} ,
11
11
devDependencies : {
12
12
"@lumapps-extensions-playground/devenv" : "1.27.0" ,
13
- "@lumapps-extensions/shipping-server" : "1.9.2 " ,
13
+ "@lumapps-extensions/shipping-server" : "1.9.3-rc.1 " ,
14
14
"@types/react" : "17.0.2" ,
15
15
"@types/react-dom" : "17.0.2" ,
16
16
} ,
You can’t perform that action at this time.
0 commit comments