yarn-or-die
Version:
Force using yarn instead of npm
207 lines (204 loc) • 11.8 kB
Plain Text
> yarn-or-die@1.0.0 test2 D:\Source\Repos\glenngr\yarn-or-die
> yarn test
yarn run v1.2.1
$ node index.js
{ ALLUSERSPROFILE: 'C:\\ProgramData',
ANDROID_HOME: 'C:\\Users\\Glenn.Gaming-PC\\AppData\\Local\\Android\\android-sdk',
APPDATA: 'C:\\Users\\Glenn.Gaming-PC\\AppData\\Roaming',
ChocolateyInstall: 'C:\\ProgramData\\chocolatey',
ChocolateyLastPathUpdate: 'Tue May 2 20:57:10 2017',
CLASSPATH: '.;',
COMMONPROGRAMFILES: 'C:\\Program Files\\Common Files',
'CommonProgramFiles(x86)': 'C:\\Program Files (x86)\\Common Files',
CommonProgramW6432: 'C:\\Program Files\\Common Files',
COMPUTERNAME: 'MONSTER',
COMSPEC: 'C:\\WINDOWS\\system32\\cmd.exe',
ELECTRON_NO_ATTACH_CONSOLE: '1',
EXEPATH: 'C:\\Program Files\\Git\\bin',
FPS_BROWSER_APP_PROFILE_STRING: 'Internet Explorer',
FPS_BROWSER_USER_PROFILE_STRING: 'Default',
FP_NO_HOST_CHECK: 'NO',
FSHARPINSTALLDIR: 'C:\\Program Files (x86)\\Microsoft SDKs\\F#\\4.1\\Framework\\v4.0\\',
GOOGLE_API_KEY: 'AIzaSyAQfxPJiounkhOjODEO5ZieffeBv6yft2Q',
GTK_BASEPATH: 'C:\\Program Files (x86)\\GtkSharp\\2.12\\',
HOME: 'C:\\Users\\Glenn.Gaming-PC',
HOMEDRIVE: 'C:',
HOMEPATH: '\\Users\\Glenn.Gaming-PC',
JAVA_HOME: 'C:\\Program Files\\Java\\jdk1.8.0_131',
LANG: 'en_US.UTF-8',
LOCALAPPDATA: 'C:\\Users\\Glenn.Gaming-PC\\AppData\\Local',
LOGONSERVER: '\\\\MONSTER',
MSYSTEM: 'MINGW64',
NODE: 'C:\\Program Files (x86)\\nodejs\\node.exe',
npm_config_access: '',
npm_config_also: '',
npm_config_always_auth: '',
npm_config_argv: '{"remain":[],"cooked":["run","test2"],"original":["run","test2"]}',
npm_config_bin_links: 'true',
npm_config_browser: '',
npm_config_ca: '',
npm_config_cache: 'C:\\Users\\Glenn.Gaming-PC\\AppData\\Roaming\\npm-cache',
npm_config_cache_lock_retries: '10',
npm_config_cache_lock_stale: '60000',
npm_config_cache_lock_wait: '10000',
npm_config_cache_max: 'Infinity',
npm_config_cache_min: '10',
npm_config_cafile: '',
npm_config_cert: '',
npm_config_color: 'true',
npm_config_depth: 'Infinity',
npm_config_description: 'true',
npm_config_dev: '',
npm_config_dry_run: '',
npm_config_editor: 'notepad.exe',
npm_config_engine_strict: '',
npm_config_fetch_retries: '2',
npm_config_fetch_retry_factor: '10',
npm_config_fetch_retry_maxtimeout: '60000',
npm_config_fetch_retry_mintimeout: '10000',
npm_config_force: '',
npm_config_git: 'git',
npm_config_git_tag_version: 'true',
npm_config_global: '',
npm_config_globalconfig: 'C:\\Users\\Glenn.Gaming-PC\\AppData\\Roaming\\npm\\etc\\npmrc',
npm_config_globalignorefile: 'C:\\Users\\Glenn.Gaming-PC\\AppData\\Roaming\\npm\\etc\\npmignore',
npm_config_global_style: '',
npm_config_group: '',
npm_config_heading: 'npm',
npm_config_https_proxy: '',
npm_config_if_present: '',
npm_config_ignore_optional: '',
npm_config_ignore_scripts: '',
npm_config_init_author_email: '',
npm_config_init_author_name: '',
npm_config_init_author_url: '',
npm_config_init_license: 'MIT',
npm_config_init_module: 'C:\\Users\\Glenn.Gaming-PC\\.npm-init.js',
npm_config_init_version: '1.0.0',
npm_config_json: '',
npm_config_key: '',
npm_config_legacy_bundling: '',
npm_config_link: '',
npm_config_local_address: '',
npm_config_loglevel: 'warn',
npm_config_long: '',
npm_config_maxsockets: '50',
npm_config_message: '%s',
npm_config_node_version: '6.10.1',
npm_config_npat: '',
npm_config_npm_package_bin_yarn_or_die: 'index.js',
npm_config_onload_script: '',
npm_config_only: '',
npm_config_optional: 'true',
npm_config_parseable: '',
npm_config_prefix: 'C:\\Users\\Glenn.Gaming-PC\\AppData\\Roaming\\npm',
npm_config_production: '',
npm_config_progress: 'true',
npm_config_proprietary_attribs: 'true',
npm_config_proxy: '',
npm_config_rebuild_bundle: 'true',
npm_config_registry: 'https://registry.yarnpkg.com',
npm_config_rollback: 'true',
npm_config_save: '',
npm_config_save_bundle: '',
npm_config_save_dev: '',
npm_config_save_exact: '',
npm_config_save_optional: '',
npm_config_save_prefix: '^',
npm_config_scope: '',
npm_config_searchexclude: '',
npm_config_searchopts: '',
npm_config_searchsort: 'name',
npm_config_shell: 'C:\\WINDOWS\\system32\\cmd.exe',
npm_config_shrinkwrap: 'true',
npm_config_sign_git_tag: '',
npm_config_strict_ssl: 'true',
npm_config_tag: 'latest',
npm_config_tag_version_prefix: 'v',
npm_config_tmp: 'C:\\Users\\GLENN~1.GAM\\AppData\\Local\\Temp',
npm_config_umask: '0000',
npm_config_unicode: '',
npm_config_unsafe_perm: 'true',
npm_config_usage: '',
npm_config_user: '',
npm_config_userconfig: 'C:\\Users\\Glenn.Gaming-PC\\.npmrc',
npm_config_user_agent: 'yarn/1.2.1 npm/? node/v6.10.1 win32 x64',
npm_config_version: '',
npm_config_versions: '',
npm_config_version_git_message: 'v%s',
npm_config_version_git_sign: '',
npm_config_version_git_tag: 'true',
npm_config_version_tag_prefix: 'v',
npm_config_viewer: 'browser',
npm_execpath: 'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm_lifecycle_event: 'test',
npm_lifecycle_script: 'node index.js',
npm_node_execpath: 'C:\\Program Files (x86)\\nodejs\\node.exe',
npm_package_author_name: 'Glenn Greibesland',
npm_package_bin_yarn_or_die: 'index.js',
npm_package_bugs_url: 'https://github.com/glenngr/yarn-or-die/issues',
npm_package_description: 'Force using yarn instead of npm',
npm_package_gitHead: '60566a30148f51110dacee674c5ddf3c8d616f4a',
npm_package_homepage: 'https://github.com/glenngr/yarn-or-die#readme',
npm_package_keywords_0: 'Force',
npm_package_keywords_1: 'using',
npm_package_keywords_2: 'yarn',
npm_package_keywords_3: 'instead',
npm_package_keywords_4: 'of',
npm_package_keywords_5: 'npm',
npm_package_license: 'MIT',
npm_package_licenseText: '"MIT License\\n\\nCopyright (c) 2017 Glenn Greibesland\\n\\nPermission is hereby granted, free of charge, to any person obtaining a copy\\nof this software and associated documentation files (the \\"Software\\"), to deal\\nin the Software without restriction, including without limitation the rights\\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\\ncopies of the Software, and to permit persons to whom the Software is\\nfurnished to do so, subject to the following conditions:\\n\\nThe above copyright notice and this permission notice shall be included in all\\ncopies or substantial portions of the Software.\\n\\nTHE SOFTWARE IS PROVIDED \\"AS IS\\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\\nSOFTWARE.\\n"',
npm_package_main: 'index.js',
npm_package_name: 'yarn-or-die',
npm_package_readmeFilename: 'README.md',
npm_package_repository_type: 'git',
npm_package_repository_url: 'git+https://github.com/glenngr/yarn-or-die.git',
npm_package_scripts_test: 'node index.js',
npm_package_scripts_test2: 'yarn test',
npm_package_version: '1.0.0',
NUMBER_OF_PROCESSORS: '8',
OneDrive: 'D:\\Glenn\\OneDrive',
OS: 'Windows_NT',
PATH: 'D:\\Source\\Repos\\glenngr\\yarn-or-die\\node_modules\\.bin;C:\\Users\\Glenn.Gaming-PC\\AppData\\Local\\Yarn\\config\\link\\node_modules\\.bin;D:\\Source\\Repos\\glenngr\\yarn-or-die\\node_modules\\.bin;C:\\Users\\Glenn.Gaming-PC\\AppData\\Local\\Yarn\\config\\link\\node_modules\\.bin;C:\\Users\\Glenn.Gaming-PC\\AppData\\Roaming\\npm\\bin;C:\\Program Files (x86)\\lib\\node_modules\\npm\\bin\\node-gyp-bin;C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin;C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\node-gyp-bin;D:\\Source\\Repos\\glenngr\\yarn-or-die\\node_modules\\.bin;C:\\Program Files\\Git\\mingw64\\bin;C:\\Program Files\\Git\\usr\\bin;C:\\Users\\Glenn.Gaming-PC\\bin;C:\\Program Files\\Docker\\Docker\\Resources\\bin;C:\\ProgramData\\Oracle\\Java\\javapath;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0;C:\\Users\\GlennG\\AppData\\Local\\Smartbar\\Application;C:\\Program Files (x86)\\Windows Live\\Shared;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0;C:\\WINDOWS\\system32\\config\\systemprofile\\.dnx\\bin;C:\\Program Files\\Microsoft DNX\\Dnvm;C:\\Program Files\\Microsoft SQL Server\\120\\Tools\\Binn;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit;C:\\Program Files (x86)\\GtkSharp\\2.12\\bin;C:\\Program Files\\dotnet;C:\\Program Files\\Git\\cmd;C:\\Program Files\\PuTTY;C:\\Program Files (x86)\\nodejs;C:\\ProgramData\\chocolatey\\bin;C:\\Program Files\\Java\\jdk1.8.0_131\\bin;C:\\Android\\android-sdk\\tools;C:\\Android\\android-sdk\\platform-tools;C:\\Program Files (x86)\\Brackets\\command;C:\\Program Files (x86)\\Microsoft VS Code Insiders\\bin;C:\\Users\\Glenn.Gaming-PC\\AppData\\Roaming\\npm;C:\\Program Files (x86)\\Microsoft VS Code\\bin;C:\\Users\\Glenn.Gaming-PC\\AppData\\Local\\Microsoft\\WindowsApps',
PATHEXT: '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JSE;.WSF;.WSH;.MSC',
PLINK_PROTOCOL: 'ssh',
PROCESSOR_ARCHITECTURE: 'AMD64',
PROCESSOR_IDENTIFIER: 'Intel64 Family 6 Model 58 Stepping 9, GenuineIntel',
PROCESSOR_LEVEL: '6',
PROCESSOR_REVISION: '3a09',
ProgramData: 'C:\\ProgramData',
PROGRAMFILES: 'C:\\Program Files',
'ProgramFiles(x86)': 'C:\\Program Files (x86)',
ProgramW6432: 'C:\\Program Files',
PROMPT: '$P$G',
PSModulePath: 'C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules\\;C:\\Program Files\\WindowsPowerShell\\Modules\\;C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\PowerShell\\ResourceManager\\AzureResourceManager\\;C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\PowerShell\\ServiceManagement\\;C:\\Program Files (x86)\\Microsoft SDKs\\Azure\\PowerShell\\Storage\\',
PUBLIC: 'C:\\Users\\Public',
PWD: 'D:/Source/Repos/glenngr/yarn-or-die',
SESSIONNAME: 'Console',
SHLVL: '2',
SYSTEMDRIVE: 'C:',
SYSTEMROOT: 'C:\\WINDOWS',
TEMP: 'C:\\Users\\GLENN~1.GAM\\AppData\\Local\\Temp',
TERM: 'cygwin',
TERM_PROGRAM: 'vscode',
TERM_PROGRAM_VERSION: '1.16.1',
TMP: 'C:\\Users\\GLENN~1.GAM\\AppData\\Local\\Temp',
USERDOMAIN: 'MONSTER',
USERDOMAIN_ROAMINGPROFILE: 'MONSTER',
USERNAME: 'Glenn',
USERPROFILE: 'C:\\Users\\Glenn.Gaming-PC',
VS110COMNTOOLS: 'C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\Common7\\Tools\\',
VS120COMNTOOLS: 'C:\\Program Files (x86)\\Microsoft Visual Studio 12.0\\Common7\\Tools\\',
VS140COMNTOOLS: 'D:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\Common7\\Tools\\',
VSCODE_CLI: '1',
VSCODE_CWD: 'D:\\Source\\Repos\\glenngr',
VSCODE_IPC_HOOK: '\\\\.\\pipe\\code-cb7c9f-1.16.1-main-sock',
VSCODE_NLS_CONFIG: '{"locale":"en-us","availableLanguages":{}}',
VSCODE_NODE_CACHED_DATA_DIR_5320: 'C:\\Users\\Glenn.Gaming-PC\\AppData\\Roaming\\Code\\CachedData\\27492b6bf3acb0775d82d2f87b25a93490673c6d',
VSCODE_NODE_CACHED_DATA_DIR_8384: 'C:\\Users\\Glenn.Gaming-PC\\AppData\\Roaming\\Code\\CachedData\\27492b6bf3acb0775d82d2f87b25a93490673c6d',
VSCODE_PID: '8384',
VSSDK140Install: 'D:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VSSDK\\',
WINDIR: 'C:\\WINDOWS',
YARN_SILENT: '1',
_: 'C:/Program Files (x86)/nodejs/node.exe' }
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.