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() {
7070 } ,
7171 ] )
7272 . 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+
7392 if ( answers . confirmUpdate ) {
7493 const {
7594 forcedDependencies,
Original file line number Diff line number Diff line change 4949 },
5050 "devDependencies" : {
5151 "@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 " ,
5353 "@testing-library/jest-dom" : " ^6.4.2" ,
5454 "@testing-library/react" : " ^14.2.2" ,
5555 "@testing-library/user-event" : " ^14.5.2" ,
Original file line number Diff line number Diff line change 4949 },
5050 "devDependencies" : {
5151 "@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 " ,
5353 "@testing-library/jest-dom" : " ^6.4.2" ,
5454 "@testing-library/react" : " ^14.2.2" ,
5555 "@testing-library/user-event" : " ^14.5.2" ,
Original file line number Diff line number Diff line change 4949 },
5050 "devDependencies" : {
5151 "@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 " ,
5353 "@testing-library/jest-dom" : " ^6.4.2" ,
5454 "@testing-library/react" : " ^14.2.2" ,
5555 "@testing-library/user-event" : " ^14.5.2" ,
Original file line number Diff line number Diff line change 4949 },
5050 "devDependencies" : {
5151 "@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 " ,
5353 "@testing-library/jest-dom" : " ^6.4.2" ,
5454 "@testing-library/react" : " ^14.2.2" ,
5555 "@testing-library/user-event" : " ^14.5.2" ,
Original file line number Diff line number Diff line change 4949 },
5050 "devDependencies" : {
5151 "@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 " ,
5353 "@testing-library/jest-dom" : " ^6.4.2" ,
5454 "@testing-library/react" : " ^14.2.2" ,
5555 "@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 = {
1010 } ,
1111 devDependencies : {
1212 "@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 " ,
1414 "@types/react" : "17.0.2" ,
1515 "@types/react-dom" : "17.0.2" ,
1616 } ,
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ module.exports = {
1010 } ,
1111 devDependencies : {
1212 "@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 " ,
1414 "@types/react" : "17.0.2" ,
1515 "@types/react-dom" : "17.0.2" ,
1616 } ,
You can’t perform that action at this time.
0 commit comments