These files should not be added
This commit is contained in:
35
build/javascript/node_modules/node-releases/.github/workflows/nightly-sync.yml
generated
vendored
35
build/javascript/node_modules/node-releases/.github/workflows/nightly-sync.yml
generated
vendored
@@ -1,35 +0,0 @@
|
||||
name: Nightly Sync of content
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 3 * * *' # run daily at 3am
|
||||
|
||||
jobs:
|
||||
checks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: "12.x"
|
||||
|
||||
- name: Install
|
||||
run: npm ci
|
||||
|
||||
- name: Collect latest releases
|
||||
run: npm run build
|
||||
|
||||
- name: Commit changes
|
||||
uses: EndBug/add-and-commit@v4
|
||||
with:
|
||||
author_name: GitHub Action
|
||||
author_email: action@github.com
|
||||
message: "feat: Nightly Sync"
|
||||
|
||||
- name: Push changes
|
||||
# Only run this on the main nodejs repo and not forks
|
||||
if: github.repository == 'chicoxyzzy/node-releases'
|
||||
uses: ad-m/github-push-action@v0.5.0
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
21
build/javascript/node_modules/node-releases/LICENSE
generated
vendored
21
build/javascript/node_modules/node-releases/LICENSE
generated
vendored
@@ -1,21 +0,0 @@
|
||||
The MIT License
|
||||
|
||||
Copyright (c) 2017 Sergey Rubanov (https://github.com/chicoxyzzy)
|
||||
|
||||
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.
|
||||
31
build/javascript/node_modules/node-releases/README.md
generated
vendored
31
build/javascript/node_modules/node-releases/README.md
generated
vendored
@@ -1,31 +0,0 @@
|
||||
# Node.js releases data
|
||||
|
||||
All data is located in `data` directory.
|
||||
|
||||
`data/raw` contains raw data `nodejs.json` and `iojs.json`.
|
||||
|
||||
`data/processed` contains `envs.js` with both node.js and io.js data preprocessed to be used by [browserlist](https://github.com/ai/browserslist) and other projects. Each version in this file contains only necessary info: version, release date and optionally LTS flag.
|
||||
|
||||
## Installation
|
||||
```bash
|
||||
npm install --save node-releases
|
||||
```
|
||||
|
||||
## Updating data
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
This is a build script which fetches data from web, processes it and saves processed data to `data/processed/envs.json`. If you want to run this steps separately you can use commands described below.
|
||||
|
||||
|
||||
### Fetching data
|
||||
```bash
|
||||
npm run fetch
|
||||
```
|
||||
This npm script will download new data to `data/raw` directory. Also it'll download Node.js release schedule into `release-schedule` folder.
|
||||
|
||||
### Processing data
|
||||
```bash
|
||||
npm run process
|
||||
```
|
||||
This script generates `envs.json` file from raw data files and saves it to `data/processed` directory.
|
||||
59
build/javascript/node_modules/node-releases/package.json
generated
vendored
59
build/javascript/node_modules/node-releases/package.json
generated
vendored
@@ -1,59 +0,0 @@
|
||||
{
|
||||
"_args": [
|
||||
[
|
||||
"node-releases@1.1.61",
|
||||
"/home/runner/work/owncast/owncast/build/javascript"
|
||||
]
|
||||
],
|
||||
"_from": "node-releases@1.1.61",
|
||||
"_id": "node-releases@1.1.61",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-DD5vebQLg8jLCOzwupn954fbIiZht05DAZs0k2u8NStSe6h9XdsuIQL8hSRKYiU8WUQRznmSDrKGbv3ObOmC7g==",
|
||||
"_location": "/node-releases",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "node-releases@1.1.61",
|
||||
"name": "node-releases",
|
||||
"escapedName": "node-releases",
|
||||
"rawSpec": "1.1.61",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "1.1.61"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/browserslist"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.61.tgz",
|
||||
"_spec": "1.1.61",
|
||||
"_where": "/home/runner/work/owncast/owncast/build/javascript",
|
||||
"author": {
|
||||
"name": "Sergey Rubanov",
|
||||
"email": "chi187@gmail.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/chicoxyzzy/node-releases/issues"
|
||||
},
|
||||
"dependencies": {},
|
||||
"description": "Node.js releases data",
|
||||
"devDependencies": {
|
||||
"semver": "^6.3.0"
|
||||
},
|
||||
"homepage": "https://github.com/chicoxyzzy/node-releases#readme",
|
||||
"keywords": [
|
||||
"nodejs",
|
||||
"releases"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "node-releases",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/chicoxyzzy/node-releases.git"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npm run fetch && npm run process",
|
||||
"fetch": "node scripts/fetch.js",
|
||||
"process": "node scripts/process.js"
|
||||
},
|
||||
"version": "1.1.61"
|
||||
}
|
||||
Reference in New Issue
Block a user