File tree 2 files changed +8
-3
lines changed
src/tooling/publish-microfrontend/src
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1
1
# Piral Changelog
2
2
3
+ ## 1.8.1 (tbd)
4
+
5
+ - Fixed build issue in ` publish-microfrontend `
6
+
3
7
## 1.8.0 (January 26, 2025)
4
8
5
9
- Fixed pinning of dependencies in ` piral-configs ` (#733 )
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env node
2
2
3
- import * as yargs from 'yargs' ;
3
+ import yargs from 'yargs' ;
4
4
import rc from 'rc' ;
5
5
import { fromKeys , publishModeKeys } from 'piral-cli/src/helpers' ;
6
6
import { basename } from 'path' ;
@@ -22,7 +22,7 @@ const defaultArgs = rc('microfrontend', {
22
22
interactive : false ,
23
23
} ) ;
24
24
25
- const args = yargs
25
+ const y = yargs ( process . argv . slice ( 2 ) , current )
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,9 +53,10 @@ const args = yargs
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 ) . argv ;
56
+ . default ( 'interactive' , defaultArgs . interactive ) ;
57
57
58
58
async function run ( ) {
59
+ const args = await y . argv ;
59
60
const {
60
61
cert,
61
62
source,
You can’t perform that action at this time.
0 commit comments