Skip to content
Myr

Meta tweaks

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Sindre Sorhus · committed by Sindre Sorhus · parent 402a329 · Browse files · 4 files+80 added−95 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+80 added−95 removed

  • other:+80 added−95 removed

4 files+80 added−95 removed

modified:.editorconfig+1 added-1 removed
5 unmodified lines
6charset = utf-87trim_trailing_whitespace = true8insert_final_newline = true910[{package.json,*.yml}]10[*.yml]11indent_style = space12indent_size = 2
modified:license+4 added-16 removed
1The MIT License (MIT)1MIT License23Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)45Permission is hereby granted, free of charge, to any person obtaining a copy6of this software and associated documentation files (the "Software"), to deal7in the Software without restriction, including without limitation the rights8to use, copy, modify, merge, publish, distribute, sublicense, and/or sell9copies of the Software, and to permit persons to whom the Software is10furnished to do so, subject to the following conditions:5Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:612The above copyright notice and this permission notice shall be included in13all copies or substantial portions of the Software.7The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.815THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR16IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,17FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE18AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER19LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,20OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN21THE SOFTWARE.9THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
modified:package.json+74 added-77 removed
modified:test.js+1 added-1 removed
135 unmodified lines
136 await m('npm', ['install', '--no-package-lock'], {cwd});137138 const {stdout} = await m(bin, {localDir: cwd});139140 t.is(path.relative(cwd, stdout), 'node_modules/self-path');140 t.is(path.relative(cwd, stdout), path.normalize('node_modules/self-path'));141});142143test('input option can be a String', async t => {144 const {stdout} = await m('stdin', {input: 'foobar'});
306 unmodified lines