Skip to content

Commit

Permalink
Merge pull request #286 from opticdev/fix-popup
Browse files Browse the repository at this point in the history
fix node popup node.exe on windows
  • Loading branch information
acunniffe authored Jul 21, 2020
2 parents 783cf7f + 8fa7358 commit 304d1c9
Show file tree
Hide file tree
Showing 13 changed files with 36 additions and 33 deletions.
4 changes: 2 additions & 2 deletions workspaces/agent-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/agent-cli",
"version": "8.2.7",
"version": "8.2.8",
"author": "@useoptic",
"bin": {
"optic-agent": "./bin/run"
Expand All @@ -15,7 +15,7 @@
"@oclif/command": "^1",
"@oclif/config": "^1",
"@oclif/plugin-help": "^3",
"@useoptic/cli-shared": "8.2.7",
"@useoptic/cli-shared": "8.2.8",
"dotenv": "^8.2.0",
"jwt-decode": "^2.2.0",
"tslib": "^1",
Expand Down
6 changes: 3 additions & 3 deletions workspaces/ci-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/ci-cli",
"version": "8.2.7",
"version": "8.2.8",
"author": "@useoptic",
"bin": {
"optic-ci": "./bin/run"
Expand All @@ -15,8 +15,8 @@
"@oclif/command": "^1",
"@oclif/config": "^1",
"@oclif/plugin-help": "^3",
"@useoptic/cli-config": "8.2.7",
"@useoptic/cli-shared": "8.2.7",
"@useoptic/cli-config": "8.2.8",
"@useoptic/cli-shared": "8.2.8",
"dotenv": "^8.2.0",
"jwt-decode": "^2.2.0",
"tslib": "^1",
Expand Down
6 changes: 3 additions & 3 deletions workspaces/cli-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/cli-client",
"version": "8.2.7",
"version": "8.2.8",
"scripts": {
"ws:build": "yarn run tsc -b --verbose",
"ws:clean": "rm -rf build/*",
Expand All @@ -14,8 +14,8 @@
"main": "build/index.js",
"types": "build/index.d.ts",
"dependencies": {
"@useoptic/cli-config": "8.2.7",
"@useoptic/client-utilities": "8.2.7",
"@useoptic/cli-config": "8.2.8",
"@useoptic/client-utilities": "8.2.8",
"bottleneck": "^2.19.5",
"cross-fetch": "^3.0.4"
},
Expand Down
2 changes: 1 addition & 1 deletion workspaces/cli-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/cli-config",
"version": "8.2.7",
"version": "8.2.8",
"scripts": {
"ws:test": "echo config",
"ws:build": "yarn run tsc -b --verbose",
Expand Down
4 changes: 2 additions & 2 deletions workspaces/cli-scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/cli-scripts",
"version": "8.2.7",
"version": "8.2.8",
"scripts": {
"ws:test": "echo scripts",
"ws:build": "yarn run tsc -b --verbose",
Expand All @@ -16,7 +16,7 @@
"dependencies": {
"node-notifier": "^7.0.0",
"analytics-node": "^3.4.0-beta.1",
"@useoptic/cli-shared": "8.2.7"
"@useoptic/cli-shared": "8.2.8"
},
"devDependencies": {
"@types/node-notifier": "^6.0.1"
Expand Down
5 changes: 4 additions & 1 deletion workspaces/cli-scripts/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ export function runManagedScript(modulePath: string, ...args: string[]) {
const isDebuggingEnabled =
process.env.OPTIC_DAEMON_ENABLE_DEBUGGING === 'yes';
// const execArgv = isDebuggingEnabled ? ['--inspect=63694'] : []; // not in spawn
const child = cp.spawn(modulePath, args, { windowsHide: true });
const child = cp.spawn(process.argv0, [modulePath, ...args], {
windowsHide: true,
stdio: ['ipc'],
});
return child;
}

Expand Down
12 changes: 6 additions & 6 deletions workspaces/cli-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/cli-server",
"version": "8.2.7",
"version": "8.2.8",
"scripts": {
"ws:build": "yarn run tsc -b --verbose",
"ws:clean": "rm -rf build/*",
Expand All @@ -14,11 +14,11 @@
"main": "build/index.js",
"types": "build/index.d.ts",
"dependencies": {
"@useoptic/cli-client": "8.2.7",
"@useoptic/cli-config": "8.2.7",
"@useoptic/cli-scripts": "8.2.7",
"@useoptic/cli-shared": "8.2.7",
"@useoptic/ui": "8.2.7",
"@useoptic/cli-client": "8.2.8",
"@useoptic/cli-config": "8.2.8",
"@useoptic/cli-scripts": "8.2.8",
"@useoptic/cli-shared": "8.2.8",
"@useoptic/ui": "8.2.8",
"avsc": "^5.4.18",
"body-parser": "^1.19.0",
"cors": "^2.8.5",
Expand Down
8 changes: 4 additions & 4 deletions workspaces/cli-shared/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/cli-shared",
"version": "8.2.7",
"version": "8.2.8",
"scripts": {
"ws:build": "yarn run tsc -b --verbose",
"ws:clean": "rm -rf build/*",
Expand All @@ -15,9 +15,9 @@
"types": "build/index.d.ts",
"dependencies": {
"@oclif/command": "^1.6.1",
"@useoptic/cli-client": "8.2.7",
"@useoptic/cli-config": "8.2.7",
"@useoptic/client-utilities": "8.2.7",
"@useoptic/cli-client": "8.2.8",
"@useoptic/cli-config": "8.2.8",
"@useoptic/client-utilities": "8.2.8",
"@useoptic/domain": "10.0.3",
"@useoptic/domain-types": "10.0.3",
"@useoptic/domain-utilities": "10.0.3",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/client-utilities/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/client-utilities",
"version": "8.2.7",
"version": "8.2.8",
"scripts": {
"ws:build": "yarn run tsc -b --verbose",
"ws:clean": "rm -rf build/*",
Expand Down
12 changes: 6 additions & 6 deletions workspaces/local-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@useoptic/cli",
"description": "The Optic CLI",
"version": "8.2.7",
"version": "8.2.8",
"author": "@useoptic",
"bin": {
"api": "./bin/run"
Expand All @@ -16,11 +16,11 @@
"@oclif/command": "^1",
"@oclif/config": "^1",
"@oclif/plugin-help": "^2",
"@useoptic/cli-client": "8.2.7",
"@useoptic/cli-config": "8.2.7",
"@useoptic/cli-scripts": "8.2.7",
"@useoptic/cli-server": "8.2.7",
"@useoptic/cli-shared": "8.2.7",
"@useoptic/cli-client": "8.2.8",
"@useoptic/cli-config": "8.2.8",
"@useoptic/cli-scripts": "8.2.8",
"@useoptic/cli-server": "8.2.8",
"@useoptic/cli-shared": "8.2.8",
"@useoptic/domain": "10.0.3",
"analytics-node": "^3.4.0-beta.1",
"cli-ux": "^5.4.1",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/saas-types/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@useoptic/saas-types",
"description": "interfaces and types for Optic SaaS surface area",
"version": "8.2.7",
"version": "8.2.8",
"main": "build/index.js",
"files": [
"build"
Expand Down
2 changes: 1 addition & 1 deletion workspaces/snapshot-tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/snapshot-tests",
"version": "8.2.7",
"version": "8.2.8",
"scripts": {
"ws:build": "yarn run tsc -b --verbose",
"ws:clean": "rm -rf build/*",
Expand Down
4 changes: 2 additions & 2 deletions workspaces/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@useoptic/ui",
"version": "8.2.7",
"version": "8.2.8",
"files": [
"build",
"index.js",
Expand All @@ -15,7 +15,7 @@
"@material-ui/core": "^4.9.7",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.46",
"@useoptic/cli-client": "8.2.7",
"@useoptic/cli-client": "8.2.8",
"@useoptic/domain": "10.0.3",
"@useoptic/domain-utilities": "10.0.3",
"bottleneck": "^2.19.5",
Expand Down

0 comments on commit 304d1c9

Please sign in to comment.