-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
108 changed files
with
5,035 additions
and
18,988 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,13 @@ | ||
#!/usr/bin/env node | ||
|
||
require('colors'); | ||
const program = require('../lib/commander'); | ||
|
||
const StencilDebug = require('../lib/StencilDebug'); | ||
const { PACKAGE_INFO } = require('../constants'); | ||
const { printCliResultErrorAndExit } = require('../lib/cliCommon'); | ||
import 'colors'; | ||
import program from '../lib/commander.js'; | ||
import StencilDebug from '../lib/StencilDebug.js'; | ||
import { PACKAGE_INFO } from '../constants.js'; | ||
import { printCliResultErrorAndExit } from '../lib/cliCommon.js'; | ||
|
||
program | ||
.version(PACKAGE_INFO.version) | ||
.option('-o, --output [filename]', 'If provided will write to file') | ||
.parse(process.argv); | ||
|
||
const cliOptions = program.opts(); | ||
|
||
new StencilDebug().run(cliOptions).catch(printCliResultErrorAndExit); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,17 @@ | ||
#!/usr/bin/env node | ||
|
||
require('colors'); | ||
const StencilRelease = require('../lib/release/release'); | ||
const { PACKAGE_INFO } = require('../constants'); | ||
const program = require('../lib/commander'); | ||
const { checkNodeVersion } = require('../lib/cliCommon'); | ||
const { printCliResultErrorAndExit } = require('../lib/cliCommon'); | ||
import 'colors'; | ||
import StencilRelease from '../lib/release/release.js'; | ||
import { PACKAGE_INFO } from '../constants.js'; | ||
import program from '../lib/commander.js'; | ||
import { checkNodeVersion, printCliResultErrorAndExit } from '../lib/cliCommon.js'; | ||
|
||
program | ||
.version(PACKAGE_INFO.version) | ||
.option('-b, --branch [name]', 'specify the main branch name') | ||
.parse(process.argv); | ||
|
||
checkNodeVersion(); | ||
|
||
const cliOptions = program.opts(); | ||
const options = { | ||
branch: cliOptions.branch || 'master', | ||
}; | ||
|
||
new StencilRelease().run(options).catch(printCliResultErrorAndExit); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.