piral-cli 1.8.1-beta.7789 → 1.8.2-beta.7801

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.
@@ -1,5 +1,5 @@
1
- import { Argv, Arguments } from 'yargs';
2
- import { RuleRunner, PiletRuleContext, PiralRuleContext, LogLevels, SharedDependency } from './common';
1
+ import type { Argv, Arguments } from 'yargs';
2
+ import type { RuleRunner, PiletRuleContext, PiralRuleContext, LogLevels, SharedDependency } from './common';
3
3
  export type FlagType = 'string' | 'number' | 'boolean' | 'object';
4
4
  export interface Flag {
5
5
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "piral-cli",
3
- "version": "1.8.1-beta.7789",
3
+ "version": "1.8.2-beta.7801",
4
4
  "description": "The standard CLI for creating and building a Piral instance or a Pilet.",
5
5
  "keywords": [
6
6
  "portal",
@@ -54,7 +54,7 @@
54
54
  "@types/mime": "^4",
55
55
  "@types/node": "^18",
56
56
  "@types/rc": "^1",
57
- "@types/yargs": "^17",
57
+ "@types/yargs": "^15",
58
58
  "axios": "^1",
59
59
  "chalk": "^5",
60
60
  "enhanced-resolve": "^5",
@@ -68,15 +68,15 @@
68
68
  "ora": "^8",
69
69
  "rc": "^1",
70
70
  "rimraf": "^6",
71
- "tar": "^7"
71
+ "tar": "^7",
72
+ "yargs": "^15"
72
73
  },
73
74
  "dependencies": {
74
75
  "css-conflict-inspector": "^0.2",
75
76
  "dets": "^0.16.7",
76
77
  "kras": "^1",
77
78
  "open": "^10",
78
- "typescript": "^5",
79
- "yargs": "^17"
79
+ "typescript": "^5"
80
80
  },
81
- "gitHead": "bb2d9af6adf122768ccb368ade4b6dddcc8331a7"
81
+ "gitHead": "7d9e8de27c860c0434863552782ff8a73ef447f9"
82
82
  }
package/src/cli.ts CHANGED
@@ -1,7 +1,6 @@
1
- import yargs from 'yargs';
2
- import { detailed } from 'yargs-parser';
3
1
  import { caterpillerIcon, zapIcon, butterflyIcon, cliName, cliVersion } from './common';
4
2
  import { runQuestionnaireFor } from './questionnaire';
3
+ import { yargs, detailed } from './external';
5
4
  import { ToolCommand } from './types';
6
5
 
7
6
  let argv = yargs;
@@ -1,5 +1,7 @@
1
1
  import * as jju from 'jju';
2
2
  import * as tar from 'tar';
3
+ import yargs from 'yargs';
4
+ import { detailed } from 'yargs-parser';
3
5
  import glob from 'glob';
4
6
  import FormData from 'form-data';
5
7
  import rc = require('rc');
@@ -34,4 +36,6 @@ export {
34
36
  getPort,
35
37
  jju,
36
38
  getModulePath,
39
+ yargs,
40
+ detailed,
37
41
  };
@@ -1,5 +1,5 @@
1
- import { Argv, Arguments } from 'yargs';
2
- import { RuleRunner, PiletRuleContext, PiralRuleContext, LogLevels, SharedDependency } from './common';
1
+ import type { Argv, Arguments } from 'yargs';
2
+ import type { RuleRunner, PiletRuleContext, PiralRuleContext, LogLevels, SharedDependency } from './common';
3
3
 
4
4
  export type FlagType = 'string' | 'number' | 'boolean' | 'object';
5
5