forked from npm/cli
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(committer:get-all): Updated command output and feature functiona…
…lity feat(auto-update): Added programmatic auto-update to BaseCommand class feat(publishing): Added major, minor, patch, beta, and branch publishing
- Loading branch information
1 parent
b145714
commit 3c5cf3c
Showing
24 changed files
with
1,027 additions
and
6,468 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
#!/usr/bin/env node | ||
require('module-alias/register'); | ||
const oclif = require('@oclif/core'); | ||
|
||
const oclif = require('@oclif/core') | ||
|
||
const path = require('path') | ||
const project = path.join(__dirname, '..', 'tsconfig.json') | ||
const path = require('path'); | ||
const project = path.join(__dirname, '..', 'tsconfig.json'); | ||
|
||
// In dev mode -> use ts-node and dev plugins | ||
process.env.NODE_ENV = 'development' | ||
process.env.NODE_ENV = 'development'; | ||
|
||
require('ts-node').register({project}) | ||
require('ts-node').register({project}); | ||
|
||
// In dev mode, always show stack traces | ||
oclif.settings.debug = true; | ||
|
||
// Start the CLI | ||
oclif.run().then(oclif.flush).catch(oclif.Errors.handle) | ||
oclif.run().then(oclif.flush).catch(oclif.Errors.handle); |
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,5 +1,5 @@ | ||
#!/usr/bin/env node | ||
require('module-alias/register'); | ||
const oclif = require('@oclif/core'); | ||
|
||
const oclif = require('@oclif/core') | ||
|
||
oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle')) | ||
oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle')); |
Oops, something went wrong.