Skip to content

Commit

Permalink
fix: satifiy prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-0dp committed Dec 12, 2024
1 parent 8126053 commit 7a42b36
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 30 deletions.
5 changes: 1 addition & 4 deletions bin/stencil-bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ program
'-d, --dest [dest]',
'Where to save the zip file. It defaults to the current directory you are in when bundling',
)
.option(
'-S, --source-maps',
'Include source-maps in the bundle. This is useful for debugging',
)
.option('-S, --source-maps', 'Include source-maps in the bundle. This is useful for debugging')
.option(
'-n, --name [filename]',
'What do you want to call the zip file. It defaults to stencil-bundle.zip',
Expand Down
30 changes: 6 additions & 24 deletions bin/stencil-push.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,16 @@ import { prepareCommand, printCliResultErrorAndExit } from '../lib/cliCommon.js'

program
.version(PACKAGE_INFO.version)
.option(
'-f, --file [filename]',
'specify the filename of the bundle to upload'
)
.option(
'-s, --save [filename]',
'specify the filename to save the bundle as'
)
.option(
'-S, --source-maps',
'Include source-maps in the bundle. This is useful for debugging',
)
.option(
'-a, --activate [variationname]',
'specify the variation of the theme to activate'
)
.option(
'-d, --delete',
'delete oldest private theme if upload limit reached'
)
.option('-f, --file [filename]', 'specify the filename of the bundle to upload')
.option('-s, --save [filename]', 'specify the filename to save the bundle as')
.option('-S, --source-maps', 'Include source-maps in the bundle. This is useful for debugging')
.option('-a, --activate [variationname]', 'specify the variation of the theme to activate')
.option('-d, --delete', 'delete oldest private theme if upload limit reached')
.option(
'-c, --channel_ids <channelIds...>',
'specify the channel IDs of the storefront to push the theme to',
)
.option(
'-allc, --all_channels',
'push a theme to all available channels'
);
.option('-allc, --all_channels', 'push a theme to all available channels');
const cliOptions = prepareCommand(program);
const options = {
apiHost: cliOptions.host,
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7a42b36

Please sign in to comment.