publish-microfrontend 1.8.1 → 1.8.2-beta.7851
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/lib/index.js +20758 -19816
- package/package.json +4 -4
- 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.
|
|
3
|
+
"version": "1.8.2-beta.7851",
|
|
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": "^
|
|
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": "^
|
|
69
|
+
"yargs": "^15"
|
|
70
70
|
},
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "fa0dcf704b6146a1ceb6daa2787540365030e943"
|
|
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
|
|
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,
|