@jtl-software/create-cloud-app 0.0.21 → 0.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +10 -7
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -237,14 +237,17 @@ function makeCachedToken(clientId, tokens, fallbackRefreshToken, scope) {
|
|
|
237
237
|
}
|
|
238
238
|
var defaultOpener = (url) => {
|
|
239
239
|
const platform = process.platform;
|
|
240
|
-
const cmd = platform === "darwin" ? "open" : platform === "win32" ? "start" : "xdg-open";
|
|
241
|
-
const args = platform === "win32" ? ["", url] : [url];
|
|
242
240
|
try {
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
241
|
+
if (platform === "win32") {
|
|
242
|
+
spawn("cmd.exe", ["/c", `start "" "${url}"`], {
|
|
243
|
+
stdio: "ignore",
|
|
244
|
+
detached: true,
|
|
245
|
+
windowsVerbatimArguments: true
|
|
246
|
+
}).unref();
|
|
247
|
+
} else {
|
|
248
|
+
const cmd = platform === "darwin" ? "open" : "xdg-open";
|
|
249
|
+
spawn(cmd, [url], { stdio: "ignore", detached: true }).unref();
|
|
250
|
+
}
|
|
248
251
|
} catch {
|
|
249
252
|
}
|
|
250
253
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jtl-software/create-cloud-app",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "CLI tool for scaffolding JTL Platform cloud apps",
|
|
6
6
|
"bin": {
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@clack/prompts": "^1.2.0",
|
|
21
|
-
"@jtl-software/cloud-app-template-backend-dotnet": "0.0.
|
|
22
|
-
"@jtl-software/cloud-app-template-backend-node": "0.0.
|
|
23
|
-
"@jtl-software/cloud-app-template-frontend-react": "0.0.
|
|
24
|
-
"@jtl-software/cloud-app-template-shared": "0.0.
|
|
21
|
+
"@jtl-software/cloud-app-template-backend-dotnet": "0.0.12",
|
|
22
|
+
"@jtl-software/cloud-app-template-backend-node": "0.0.14",
|
|
23
|
+
"@jtl-software/cloud-app-template-frontend-react": "0.0.16",
|
|
24
|
+
"@jtl-software/cloud-app-template-shared": "0.0.6",
|
|
25
25
|
"picocolors": "^1.1.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|