@atomicsolutions/proton5-cli 5.0.9 → 5.0.10

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/README.md CHANGED
@@ -75,7 +75,7 @@ EXAMPLES
75
75
  $ proton config add
76
76
  ```
77
77
 
78
- _See code: [src/commands/config/add.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.9/src/commands/config/add.ts)_
78
+ _See code: [src/commands/config/add.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.10/src/commands/config/add.ts)_
79
79
 
80
80
  ## `proton config edit [NAME]`
81
81
 
@@ -98,7 +98,7 @@ EXAMPLES
98
98
  $ proton config edit
99
99
  ```
100
100
 
101
- _See code: [src/commands/config/edit.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.9/src/commands/config/edit.ts)_
101
+ _See code: [src/commands/config/edit.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.10/src/commands/config/edit.ts)_
102
102
 
103
103
  ## `proton config list`
104
104
 
@@ -115,7 +115,7 @@ EXAMPLES
115
115
  $ proton config list
116
116
  ```
117
117
 
118
- _See code: [src/commands/config/list.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.9/src/commands/config/list.ts)_
118
+ _See code: [src/commands/config/list.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.10/src/commands/config/list.ts)_
119
119
 
120
120
  ## `proton config remove [NAME]`
121
121
 
@@ -132,7 +132,7 @@ EXAMPLES
132
132
  $ proton config remove
133
133
  ```
134
134
 
135
- _See code: [src/commands/config/remove.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.9/src/commands/config/remove.ts)_
135
+ _See code: [src/commands/config/remove.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.10/src/commands/config/remove.ts)_
136
136
 
137
137
  ## `proton connect [NAME]`
138
138
 
@@ -149,7 +149,7 @@ EXAMPLES
149
149
  $ proton connect
150
150
  ```
151
151
 
152
- _See code: [src/commands/connect.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.9/src/commands/connect.ts)_
152
+ _See code: [src/commands/connect.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.10/src/commands/connect.ts)_
153
153
 
154
154
  ## `proton disconnect [NAME]`
155
155
 
@@ -166,7 +166,7 @@ EXAMPLES
166
166
  $ proton disconnect
167
167
  ```
168
168
 
169
- _See code: [src/commands/disconnect.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.9/src/commands/disconnect.ts)_
169
+ _See code: [src/commands/disconnect.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.10/src/commands/disconnect.ts)_
170
170
 
171
171
  ## `proton help [COMMAND]`
172
172
 
@@ -493,7 +493,7 @@ EXAMPLES
493
493
  $ proton runner list-run
494
494
  ```
495
495
 
496
- _See code: [src/commands/runner/list-run.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.9/src/commands/runner/list-run.ts)_
496
+ _See code: [src/commands/runner/list-run.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.10/src/commands/runner/list-run.ts)_
497
497
 
498
498
  ## `proton runner status`
499
499
 
@@ -510,7 +510,7 @@ EXAMPLES
510
510
  $ proton runner status
511
511
  ```
512
512
 
513
- _See code: [src/commands/runner/status.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.9/src/commands/runner/status.ts)_
513
+ _See code: [src/commands/runner/status.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.10/src/commands/runner/status.ts)_
514
514
 
515
515
  ## `proton runner stop-run [ID]`
516
516
 
@@ -527,7 +527,7 @@ EXAMPLES
527
527
  $ proton runner stop-run
528
528
  ```
529
529
 
530
- _See code: [src/commands/runner/stop-run.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.9/src/commands/runner/stop-run.ts)_
530
+ _See code: [src/commands/runner/stop-run.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.10/src/commands/runner/stop-run.ts)_
531
531
 
532
532
  ## `proton settings`
533
533
 
@@ -544,7 +544,7 @@ EXAMPLES
544
544
  $ proton settings
545
545
  ```
546
546
 
547
- _See code: [src/commands/settings/index.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.9/src/commands/settings/index.ts)_
547
+ _See code: [src/commands/settings/index.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.10/src/commands/settings/index.ts)_
548
548
 
549
549
  ## `proton settings set`
550
550
 
@@ -565,7 +565,7 @@ EXAMPLES
565
565
  $ proton settings set
566
566
  ```
567
567
 
568
- _See code: [src/commands/settings/set.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.9/src/commands/settings/set.ts)_
568
+ _See code: [src/commands/settings/set.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.10/src/commands/settings/set.ts)_
569
569
 
570
570
  ## `proton settings unset`
571
571
 
@@ -586,5 +586,5 @@ EXAMPLES
586
586
  $ proton settings unset
587
587
  ```
588
588
 
589
- _See code: [src/commands/settings/unset.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.9/src/commands/settings/unset.ts)_
589
+ _See code: [src/commands/settings/unset.ts](https://github.com/atomicsolutions/proton5-cli/blob/v5.0.10/src/commands/settings/unset.ts)_
590
590
  <!-- commandsstop -->
@@ -2,7 +2,8 @@ import net from 'node:net';
2
2
  import { spawn } from 'node:child_process';
3
3
  import path from 'node:path';
4
4
  import { SOCKET_PATH } from '../shared/socketPath.js';
5
- const isDev = process.env.NODE_ENV !== 'production';
5
+ import { fileURLToPath } from 'node:url';
6
+ const isDev = fileURLToPath(import.meta.url).endsWith('.ts');
6
7
  function tryConnect() {
7
8
  return new Promise(resolve => {
8
9
  const socket = net.createConnection(SOCKET_PATH);
@@ -405,5 +405,5 @@
405
405
  ]
406
406
  }
407
407
  },
408
- "version": "5.0.9"
408
+ "version": "5.0.10"
409
409
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atomicsolutions/proton5-cli",
3
3
  "description": "Proton Runner v5 CLI",
4
- "version": "5.0.9",
4
+ "version": "5.0.10",
5
5
  "author": "luiscosilva",
6
6
  "bin": {
7
7
  "proton": "./bin/run.js"