Skip to content

Commit

Permalink
Dirty updates
Browse files Browse the repository at this point in the history
  • Loading branch information
hansottowirtz committed Jun 7, 2023
1 parent fa7fa0c commit e9bca9b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
7 changes: 5 additions & 2 deletions packages/uxp-devtools-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe-fixed-uxp/uxp-devtools-cli",
"version": "1.5.8",
"version": "1.5.9",
"description": "Command line interface for rapid UXP plugin development",
"main": "src/uxp.js",
"scripts": {
Expand All @@ -24,7 +24,7 @@
"author": "Adobe Inc",
"license": "Apache-2.0",
"dependencies": {
"@adobe-fixed-uxp/uxp-devtools-core": "^1.5.0",
"@adobe-fixed-uxp/uxp-devtools-core": "^1.5.1",
"@adobe-fixed-uxp/uxp-wdio-automation-template": "^1.0.0",
"@adobe/uxp-template-default-starter": "^1.0.0",
"@adobe/uxp-template-default-starter-ps": "^1.0.0",
Expand All @@ -42,5 +42,8 @@
},
"devDependencies": {
"@adobe-fixed-uxp/uxp-inspect-frontend": "^1.5.1"
},
"optionalDependencies": {
"@adobe-fixed-uxp/uxp-inspect-frontend": "^1.5.1"
}
}
4 changes: 2 additions & 2 deletions packages/uxp-devtools-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@adobe-fixed-uxp/uxp-devtools-core",
"version": "1.5.0",
"version": "1.5.1",
"description": "UXP Devtools Core Module",
"main": "src/index.js",
"scripts": {
Expand All @@ -21,7 +21,7 @@
"author": "Adobe Inc",
"license": "Apache-2.0",
"dependencies": {
"@adobe-fixed-uxp/uxp-devtools-helper": "^1.5.0",
"@adobe-fixed-uxp/uxp-devtools-helper": "^1.5.1",
"chalk": "^3.0.0",
"chokidar": "^3.4.2",
"express": "^4.17.1",
Expand Down
5 changes: 1 addition & 4 deletions packages/uxp-devtools-helper/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
{
"name": "@adobe-fixed-uxp/uxp-devtools-helper",
"version": "1.5.0",
"version": "1.5.1",
"description": "Adobe Devtools helper package used by uxp cli",
"main": "src/DevToolsHelper.js",
"scripts": {
"install": "node scripts/devtools_setup.js"
},
"repository": {
"type": "git",
"url": "[email protected]:adobe-uxp/devtools-cli.git",
Expand Down
2 changes: 2 additions & 0 deletions packages/uxp-devtools-helper/src/DevToolsHelper.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,12 @@ class DevToolsHelper {
const errorMsg = "Cound not connect to the UXP Developer Service. Start the cli service and try again.";
this._devToolsNative.getServicePort((type, data) => {
try {
console.log(data);
const payload = JSON.parse(data.payload);
prom.resolve(payload.port);
}
catch (err) {
console.error(err)
prom.reject(new Error(errorMsg));
}
prom.handled = true;
Expand Down

0 comments on commit e9bca9b

Please sign in to comment.