mirror of
https://github.com/shimataro/ssh-key-action.git
synced 2025-06-19 22:52:10 +10:00
* first action! (#1)
This commit is contained in:
parent
8deacc95b1
commit
ace1e6a69a
3750 changed files with 1155519 additions and 0 deletions
5
node_modules/is-installed-globally/index.js
generated
vendored
Normal file
5
node_modules/is-installed-globally/index.js
generated
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
'use strict';
|
||||
const globalDirs = require('global-dirs');
|
||||
const isPathInside = require('is-path-inside');
|
||||
|
||||
module.exports = isPathInside(__dirname, globalDirs.yarn.packages) || isPathInside(__dirname, globalDirs.npm.packages);
|
9
node_modules/is-installed-globally/license
generated
vendored
Normal file
9
node_modules/is-installed-globally/license
generated
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
|
||||
|
||||
Permission 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:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||
|
||||
THE 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.
|
80
node_modules/is-installed-globally/package.json
generated
vendored
Normal file
80
node_modules/is-installed-globally/package.json
generated
vendored
Normal file
|
@ -0,0 +1,80 @@
|
|||
{
|
||||
"_from": "is-installed-globally@^0.1.0",
|
||||
"_id": "is-installed-globally@0.1.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-Df2Y9akRFxbdU13aZJL2e/PSWoA=",
|
||||
"_location": "/is-installed-globally",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "is-installed-globally@^0.1.0",
|
||||
"name": "is-installed-globally",
|
||||
"escapedName": "is-installed-globally",
|
||||
"rawSpec": "^0.1.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^0.1.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/update-notifier"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/is-installed-globally/-/is-installed-globally-0.1.0.tgz",
|
||||
"_shasum": "0dfd98f5a9111716dd535dda6492f67bf3d25a80",
|
||||
"_spec": "is-installed-globally@^0.1.0",
|
||||
"_where": "/home/shimataro/projects/actions/ssh-key-action/node_modules/update-notifier",
|
||||
"author": {
|
||||
"name": "Sindre Sorhus",
|
||||
"email": "sindresorhus@gmail.com",
|
||||
"url": "sindresorhus.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/sindresorhus/is-installed-globally/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"global-dirs": "^0.1.0",
|
||||
"is-path-inside": "^1.0.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Check if your package was installed globally",
|
||||
"devDependencies": {
|
||||
"ava": "*",
|
||||
"execa": "^0.7.0",
|
||||
"xo": "*"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=4"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/sindresorhus/is-installed-globally#readme",
|
||||
"keywords": [
|
||||
"global",
|
||||
"package",
|
||||
"globally",
|
||||
"module",
|
||||
"install",
|
||||
"installed",
|
||||
"npm",
|
||||
"yarn",
|
||||
"is",
|
||||
"check",
|
||||
"detect",
|
||||
"local",
|
||||
"locally",
|
||||
"cli",
|
||||
"bin",
|
||||
"binary"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "is-installed-globally",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/sindresorhus/is-installed-globally.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava"
|
||||
},
|
||||
"version": "0.1.0"
|
||||
}
|
39
node_modules/is-installed-globally/readme.md
generated
vendored
Normal file
39
node_modules/is-installed-globally/readme.md
generated
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
# is-installed-globally [](https://travis-ci.org/sindresorhus/is-installed-globally)
|
||||
|
||||
> Check if your package was installed globally
|
||||
|
||||
Can be useful if your CLI needs different behavior when installed globally and locally.
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install is-installed-globally
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const isInstalledGlobally = require('is-installed-globally');
|
||||
|
||||
// With `npm install your-package`
|
||||
console.log(isInstalledGlobally);
|
||||
//=> false
|
||||
|
||||
// With `npm install --global your-package`
|
||||
console.log(isInstalledGlobally);
|
||||
//=> true
|
||||
```
|
||||
|
||||
|
||||
## Related
|
||||
|
||||
- [import-global](https://github.com/sindresorhus/import-global) - Import a globally installed module
|
||||
- [resolve-global](https://github.com/sindresorhus/resolve-global) - Resolve the path of a globally installed module
|
||||
- [global-dirs](https://github.com/sindresorhus/global-dirs) - Get the directory of globally installed packages and binaries
|
||||
|
||||
|
||||
## License
|
||||
|
||||
MIT © [Sindre Sorhus](https://sindresorhus.com)
|
Loading…
Add table
Add a link
Reference in a new issue