Skip to content

Commit 4e6b22c

Browse files
Override external-editor to @inquirer/external-editor
This approach is borrowed from this commit SBoudrias/Inquirer.js@e26d213 This should work because in inquirer@8 external-editor is still @3
1 parent d4ff3d7 commit 4e6b22c

File tree

2 files changed

+41
-55
lines changed

2 files changed

+41
-55
lines changed

example/capacitor/package-lock.json

Lines changed: 37 additions & 55 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/capacitor/package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
"run-ios": "cap run ios",
1414
"run-android": "cap run android"
1515
},
16+
"overrides": {
17+
"external-editor": "@inquirer/external-editor"
18+
},
1619
"dependencies": {
1720
"@authgear/capacitor": "../../packages/authgear-capacitor",
1821
"@authgear/web": "../../packages/authgear-web",
@@ -34,6 +37,7 @@
3437
"react-router-dom": "^5.3.4"
3538
},
3639
"devDependencies": {
40+
"@inquirer/external-editor": "^1.0.0",
3741
"@capacitor/cli": "^7.0.0",
3842
"@ionic/cli": "^7.2.1",
3943
"@types/react": "^18.0.27",

0 commit comments

Comments
 (0)