Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

Commit

Permalink
Merge pull request #248 from nextcloud/fix/dependencies-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
juliushaertl authored Aug 6, 2021
2 parents 6af017d + 452d2d1 commit 7eed47b
Show file tree
Hide file tree
Showing 29 changed files with 25,273 additions and 5,119 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
module.exports = {
globals: {
__webpack_nonce__: true,
__webpack_public_path__: true,
},
extends: [
'@nextcloud',
],
}
44 changes: 44 additions & 0 deletions .github/workflows/lint-eslint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization

name: Lint

on:
pull_request:
push:
branches:
- master
- stable*

jobs:
lint:
runs-on: ubuntu-latest

name: eslint

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@v1.1
id: versions
with:
fallbackNode: '^12'
fallbackNpm: '^6'

- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@v2
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}

- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g npm@"${{ steps.versions.outputs.npmVersion }}"

- name: Install dependencies
run: npm ci

- name: Lint
run: npm run lint
1 change: 1 addition & 0 deletions js/files_videoplayer-_34aa.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
(self.webpackChunkfiles_videoplayer=self.webpackChunkfiles_videoplayer||[]).push([["_34aa"],{5893:()=>{}}]);
2 changes: 2 additions & 0 deletions js/files_videoplayer-css_style_css.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions js/files_videoplayer-css_style_css.js.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions js/files_videoplayer-main.js

Large diffs are not rendered by default.

35 changes: 35 additions & 0 deletions js/files_videoplayer-main.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
* @license MIT
*/

/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/

/**
* @copyright 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @license GNU AGPL version 3 or any later version
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
1 change: 1 addition & 0 deletions js/files_videoplayer-main.js.map

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/**
* @videojs/http-streaming
* @version 1.5.1
* @copyright 2018 Brightcove, Inc
* @license Apache-2.0
*/

Large diffs are not rendered by default.

30 changes: 0 additions & 30 deletions js/main.js

This file was deleted.

1 change: 0 additions & 1 deletion js/main.js.map

This file was deleted.

9 changes: 0 additions & 9 deletions js/vendors~videojs.js

This file was deleted.

1 change: 0 additions & 1 deletion js/vendors~videojs.js.map

This file was deleted.

2 changes: 0 additions & 2 deletions js/videojs.js

This file was deleted.

Loading

0 comments on commit 7eed47b

Please sign in to comment.