mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-05-20 05:14:44 +00:00
.
This commit is contained in:
parent
beb1329f9f
commit
2b95e76931
7736 changed files with 1874747 additions and 51184 deletions
2
node_modules/node-modules-regexp/index.js
generated
vendored
Normal file
2
node_modules/node-modules-regexp/index.js
generated
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
'use strict';
|
||||
module.exports = /^(?:.*[\\\/])?node_modules(?:[\\\/].*)?$/;
|
21
node_modules/node-modules-regexp/license
generated
vendored
Normal file
21
node_modules/node-modules-regexp/license
generated
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) James Talmage <james@talmage.io> (github.com/jamestalmage)
|
||||
|
||||
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/node-modules-regexp/package.json
generated
vendored
Normal file
80
node_modules/node-modules-regexp/package.json
generated
vendored
Normal file
|
@ -0,0 +1,80 @@
|
|||
{
|
||||
"_args": [
|
||||
[
|
||||
"node-modules-regexp@1.0.0",
|
||||
"/Users/eric/repos/actions/setup-node"
|
||||
]
|
||||
],
|
||||
"_development": true,
|
||||
"_from": "node-modules-regexp@1.0.0",
|
||||
"_id": "node-modules-regexp@1.0.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha1-jZ2+KJZKSsVxLpExZCEHxx6Q7EA=",
|
||||
"_location": "/node-modules-regexp",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "node-modules-regexp@1.0.0",
|
||||
"name": "node-modules-regexp",
|
||||
"escapedName": "node-modules-regexp",
|
||||
"rawSpec": "1.0.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "1.0.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/pirates"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/node-modules-regexp/-/node-modules-regexp-1.0.0.tgz",
|
||||
"_spec": "1.0.0",
|
||||
"_where": "/Users/eric/repos/actions/setup-node",
|
||||
"author": {
|
||||
"name": "James Talmage",
|
||||
"email": "james@talmage.io",
|
||||
"url": "github.com/jamestalmage"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jamestalmage/node-modules-regexp/issues"
|
||||
},
|
||||
"dependencies": {},
|
||||
"description": "A regular expression for file paths that contain a `node_modules` folder.",
|
||||
"devDependencies": {
|
||||
"ava": "^0.7.0",
|
||||
"xo": "^0.11.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=0.10.0"
|
||||
},
|
||||
"files": [
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jamestalmage/node-modules-regexp#readme",
|
||||
"keywords": [
|
||||
"node_modules",
|
||||
"regular expression",
|
||||
"regular expressions",
|
||||
"regular",
|
||||
"expression",
|
||||
"expressions",
|
||||
"exclude",
|
||||
"include",
|
||||
"ignore",
|
||||
"node",
|
||||
"module"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "node-modules-regexp",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jamestalmage/node-modules-regexp.git"
|
||||
},
|
||||
"scripts": {
|
||||
"test": "xo && ava"
|
||||
},
|
||||
"version": "1.0.0",
|
||||
"xo": {
|
||||
"ignores": [
|
||||
"test.js"
|
||||
]
|
||||
}
|
||||
}
|
32
node_modules/node-modules-regexp/readme.md
generated
vendored
Normal file
32
node_modules/node-modules-regexp/readme.md
generated
vendored
Normal file
|
@ -0,0 +1,32 @@
|
|||
# node-modules-regexp [](https://travis-ci.org/jamestalmage/node-modules-regexp)
|
||||
|
||||
> A regular expression for file paths that contain a `node_modules` folder.
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save node-modules-regexp
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
const nodeModules = require('node-modules-regexp');
|
||||
|
||||
nodeModules.test('/foo/node_modules/bar.js');
|
||||
//=> true
|
||||
|
||||
nodeModules.test('/foo/bar.js');
|
||||
//=> false
|
||||
```
|
||||
|
||||
|
||||
## API
|
||||
|
||||
The returned value is a regular expression, [soooo....](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp).
|
||||
|
||||
## License
|
||||
|
||||
MIT © [James Talmage](http://github.com/jamestalmage)
|
Loading…
Add table
Add a link
Reference in a new issue