-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cleanup): move cli specific files to separate dir
- Loading branch information
1 parent
469f788
commit 28019d5
Showing
18 changed files
with
70 additions
and
70 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,4 +1,4 @@ | ||
const validateEngines = require('./es6/validate-engines.js') | ||
const cliEntry = require('node:path').resolve(__dirname, 'cli-entry.js') | ||
const validateEngines = require('./cli/validate-engines.js') | ||
const cliEntry = require('node:path').resolve(__dirname, 'cli/entry.js') | ||
|
||
module.exports = (process) => validateEngines(process, () => require(cliEntry)) |
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.
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
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 |
---|---|---|
|
@@ -5,95 +5,95 @@ | |
* Make sure to inspect the output below. Do not ignore changes! | ||
*/ | ||
'use strict' | ||
exports[`test/lib/utils/update-notifier.js TAP notification situations 122.420.69 - color=always > must match snapshot 1`] = ` | ||
exports[`test/lib/cli/update-notifier.js TAP notification situations 122.420.69 - color=always > must match snapshot 1`] = ` | ||
New [31mmajor[39m version of npm available! [31m122.420.69[39m -> [34m123.420.69[39m | ||
Changelog: [34mhttps://github.com/npm/cli/releases/tag/v123.420.69[39m | ||
To update run: [4mnpm install -g [email protected][24m | ||
` | ||
|
||
exports[`test/lib/utils/update-notifier.js TAP notification situations 122.420.69 - color=false > must match snapshot 1`] = ` | ||
exports[`test/lib/cli/update-notifier.js TAP notification situations 122.420.69 - color=false > must match snapshot 1`] = ` | ||
New major version of npm available! 122.420.69 -> 123.420.69 | ||
Changelog: https://github.com/npm/cli/releases/tag/v123.420.69 | ||
To update run: npm install -g [email protected] | ||
` | ||
|
||
exports[`test/lib/utils/update-notifier.js TAP notification situations 123.419.69 - color=always > must match snapshot 1`] = ` | ||
exports[`test/lib/cli/update-notifier.js TAP notification situations 123.419.69 - color=always > must match snapshot 1`] = ` | ||
New [33mminor[39m version of npm available! [33m123.419.69[39m -> [34m123.420.69[39m | ||
Changelog: [34mhttps://github.com/npm/cli/releases/tag/v123.420.69[39m | ||
To update run: [4mnpm install -g [email protected][24m | ||
` | ||
|
||
exports[`test/lib/utils/update-notifier.js TAP notification situations 123.419.69 - color=false > must match snapshot 1`] = ` | ||
exports[`test/lib/cli/update-notifier.js TAP notification situations 123.419.69 - color=false > must match snapshot 1`] = ` | ||
New minor version of npm available! 123.419.69 -> 123.420.69 | ||
Changelog: https://github.com/npm/cli/releases/tag/v123.420.69 | ||
To update run: npm install -g [email protected] | ||
` | ||
|
||
exports[`test/lib/utils/update-notifier.js TAP notification situations 123.420.68 - color=always > must match snapshot 1`] = ` | ||
exports[`test/lib/cli/update-notifier.js TAP notification situations 123.420.68 - color=always > must match snapshot 1`] = ` | ||
New [36mpatch[39m version of npm available! [36m123.420.68[39m -> [34m123.420.69[39m | ||
Changelog: [34mhttps://github.com/npm/cli/releases/tag/v123.420.69[39m | ||
To update run: [4mnpm install -g [email protected][24m | ||
` | ||
|
||
exports[`test/lib/utils/update-notifier.js TAP notification situations 123.420.68 - color=false > must match snapshot 1`] = ` | ||
exports[`test/lib/cli/update-notifier.js TAP notification situations 123.420.68 - color=false > must match snapshot 1`] = ` | ||
New patch version of npm available! 123.420.68 -> 123.420.69 | ||
Changelog: https://github.com/npm/cli/releases/tag/v123.420.69 | ||
To update run: npm install -g [email protected] | ||
` | ||
|
||
exports[`test/lib/utils/update-notifier.js TAP notification situations 123.420.70 - color=always > must match snapshot 1`] = ` | ||
exports[`test/lib/cli/update-notifier.js TAP notification situations 123.420.70 - color=always > must match snapshot 1`] = ` | ||
New [33mminor[39m version of npm available! [33m123.420.70[39m -> [34m123.421.70[39m | ||
Changelog: [34mhttps://github.com/npm/cli/releases/tag/v123.421.70[39m | ||
To update run: [4mnpm install -g [email protected][24m | ||
` | ||
|
||
exports[`test/lib/utils/update-notifier.js TAP notification situations 123.420.70 - color=false > must match snapshot 1`] = ` | ||
exports[`test/lib/cli/update-notifier.js TAP notification situations 123.420.70 - color=false > must match snapshot 1`] = ` | ||
New minor version of npm available! 123.420.70 -> 123.421.70 | ||
Changelog: https://github.com/npm/cli/releases/tag/v123.421.70 | ||
To update run: npm install -g [email protected] | ||
` | ||
|
||
exports[`test/lib/utils/update-notifier.js TAP notification situations 123.421.69 - color=always > must match snapshot 1`] = ` | ||
exports[`test/lib/cli/update-notifier.js TAP notification situations 123.421.69 - color=always > must match snapshot 1`] = ` | ||
New [36mpatch[39m version of npm available! [36m123.421.69[39m -> [34m123.421.70[39m | ||
Changelog: [34mhttps://github.com/npm/cli/releases/tag/v123.421.70[39m | ||
To update run: [4mnpm install -g [email protected][24m | ||
` | ||
|
||
exports[`test/lib/utils/update-notifier.js TAP notification situations 123.421.69 - color=false > must match snapshot 1`] = ` | ||
exports[`test/lib/cli/update-notifier.js TAP notification situations 123.421.69 - color=false > must match snapshot 1`] = ` | ||
New patch version of npm available! 123.421.69 -> 123.421.70 | ||
Changelog: https://github.com/npm/cli/releases/tag/v123.421.70 | ||
To update run: npm install -g [email protected] | ||
` | ||
|
||
exports[`test/lib/utils/update-notifier.js TAP notification situations 124.0.0-beta.0 - color=always > must match snapshot 1`] = ` | ||
exports[`test/lib/cli/update-notifier.js TAP notification situations 124.0.0-beta.0 - color=always > must match snapshot 1`] = ` | ||
New [36mprerelease[39m version of npm available! [36m124.0.0-beta.0[39m -> [34m124.0.0-beta.99999[39m | ||
Changelog: [34mhttps://github.com/npm/cli/releases/tag/v124.0.0-beta.99999[39m | ||
To update run: [4mnpm install -g [email protected][24m | ||
` | ||
|
||
exports[`test/lib/utils/update-notifier.js TAP notification situations 124.0.0-beta.0 - color=false > must match snapshot 1`] = ` | ||
exports[`test/lib/cli/update-notifier.js TAP notification situations 124.0.0-beta.0 - color=false > must match snapshot 1`] = ` | ||
New prerelease version of npm available! 124.0.0-beta.0 -> 124.0.0-beta.99999 | ||
Changelog: https://github.com/npm/cli/releases/tag/v124.0.0-beta.99999 | ||
|
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
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