publish-microfrontend 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.
Files changed (3) hide show
  1. package/lib/index.js +20760 -19818
  2. package/package.json +4 -4
  3. package/src/index.ts +2 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publish-microfrontend",
3
- "version": "1.8.1-beta.7789",
3
+ "version": "1.8.2-beta.7801",
4
4
  "description": "A CLI for publishing micro frontends to a feed service.",
5
5
  "keywords": [
6
6
  "modules",
@@ -50,7 +50,7 @@
50
50
  "@types/mime": "^4",
51
51
  "@types/node": "^18",
52
52
  "@types/rc": "^1",
53
- "@types/yargs": "^17",
53
+ "@types/yargs": "^15",
54
54
  "axios": "^1.7.7",
55
55
  "chalk": "^5",
56
56
  "enhanced-resolve": "^5",
@@ -66,7 +66,7 @@
66
66
  "rimraf": "^6",
67
67
  "tar": "^7",
68
68
  "typescript": "^5",
69
- "yargs": "^17"
69
+ "yargs": "^15"
70
70
  },
71
- "gitHead": "bb2d9af6adf122768ccb368ade4b6dddcc8331a7"
71
+ "gitHead": "7d9e8de27c860c0434863552782ff8a73ef447f9"
72
72
  }
package/src/index.ts CHANGED
@@ -22,7 +22,7 @@ const defaultArgs = rc('microfrontend', {
22
22
  interactive: false,
23
23
  });
24
24
 
25
- const y = yargs(process.argv.slice(2), current)
25
+ const args = yargs
26
26
  .string('source')
27
27
  .describe('source', 'Sets the source of either the previously packed *.tgz bundle or the directory to publish.')
28
28
  .default('source', current)
@@ -53,10 +53,9 @@ const y = yargs(process.argv.slice(2), current)
53
53
  .default('headers', defaultArgs.headers)
54
54
  .boolean('interactive')
55
55
  .describe('interactive', 'Defines if authorization tokens can be retrieved interactively.')
56
- .default('interactive', defaultArgs.interactive);
56
+ .default('interactive', defaultArgs.interactive).argv;
57
57
 
58
58
  async function run() {
59
- const args = await y.argv;
60
59
  const {
61
60
  cert,
62
61
  source,