proca 0.6.0 → 0.6.1

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
@@ -18,7 +18,7 @@ $ npm install -g proca
18
18
  $ proca COMMAND
19
19
  running command...
20
20
  $ proca (--version)
21
- proca/0.6.0 linux-x64 node-v20.12.2
21
+ proca/0.6.1 linux-x64 node-v20.12.2
22
22
  $ proca --help [COMMAND]
23
23
  USAGE
24
24
  $ proca COMMAND
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "proca",
3
3
  "description": "Access the proca api",
4
- "version": "0.6.0",
4
+ "version": "0.6.1",
5
5
  "author": "Xavier",
6
6
  "bin": {
7
7
  "proca": "./proca-cli"
@@ -1,33 +0,0 @@
1
- /*
2
- * inspired by https://github.com/salesforcecli/cli/blob/main/src/flags.ts
3
- * Copyright (c) 2020, salesforce.com, inc.
4
- * All rights reserved.
5
- * Licensed under the BSD 3-Clause license.
6
- * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause
7
- */
8
-
9
- // -------------------------------------------------------------------------------
10
- // No requires or imports since this is loaded early in the cli lifecycle and we
11
- // want to minimize the number of packages that load before enabling require
12
- // instrumentation.
13
- // -------------------------------------------------------------------------------
14
-
15
- export function _preprocessCliFlags(process) {
16
- process.argv.map((arg) => {
17
- if (arg === "--dev-debug") {
18
- let debug = "*";
19
- const filterIndex = process.argv.indexOf("--debug-filter");
20
- if (filterIndex > 0) {
21
- debug = process.argv[filterIndex + 1];
22
-
23
- process.argv.splice(filterIndex, 2);
24
- }
25
- // convert --dev-debug into a set of environment variables
26
- process.env.DEBUG = debug;
27
- process.env.PROCA_ENV = "development";
28
-
29
- // need to calculate indexOf --dev-debug here because it might've changed based on --debug-filter
30
- process.argv.splice(process.argv.indexOf("--dev-debug"), 1);
31
- }
32
- });
33
- }