-
Notifications
You must be signed in to change notification settings - Fork 190
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #748 from nextcloud/vue-rewrite
Major rewrite of the UI with Vue JS. Thanks to @JonathanTreffler @jancborchardt @devlinjunker And all others that made this possible
- Loading branch information
Showing
194 changed files
with
36,605 additions
and
31,547 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,52 @@ | ||
// SPDX-FileCopyrightText: Carl Schwan <[email protected]> | ||
// SPDX-License-Identifier: AGPL-3.0-or-later | ||
module.exports = { | ||
root: true, | ||
parser: 'vue-eslint-parser', | ||
parserOptions: { | ||
parser: { | ||
ts: '@typescript-eslint/parser', | ||
}, | ||
ecmaVersion: 2020, | ||
}, | ||
env: { | ||
jest: true, | ||
}, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:vue/base', | ||
'plugin:vue/essential', | ||
'@vue/standard', | ||
'@vue/typescript/recommended', | ||
'@nextcloud', | ||
] | ||
'plugin:@typescript-eslint/recommended', | ||
], | ||
ignorePatterns: ['*.d.ts', 'l10n/*.js'], | ||
rules: { | ||
'no-console': 'warn', | ||
'@typescript-eslint/no-var-requires': 'off', | ||
|
||
// TODO: Trouble importing .ts files into .vue files for some reason? | ||
'import/extensions': 'off', | ||
'n/no-missing-import': 'off', | ||
}, | ||
settings: { | ||
'import/resolver': { | ||
node: { | ||
extensions: ['.ts'], | ||
}, | ||
}, | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['*spec.ts', 'tests/javascript/unit/setup.ts'], | ||
rules: { | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
}, | ||
}, | ||
{ | ||
files: ['src/store/*.ts'], | ||
rules: { | ||
'function-paren-newline': ['error', 'multiline'], | ||
}, | ||
}, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Lint | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
eslint: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
|
||
name: eslint node${{ matrix.node-versions }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up node ${{ matrix.node-versions }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-versions }} | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Lint | ||
run: npm run lint | ||
|
||
stylelint: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [16.x] | ||
|
||
name: stylelint node${{ matrix.node-versions }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Set up node ${{ matrix.node-versions }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-versions }} | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Lint | ||
run: npm run stylelint |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
vendor/ | ||
coverage/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
// SPDX-FileCopyrightText: Carl Schwan <[email protected]> | ||
// SPDX-License-Identifier: AGPL-3.0-or-later | ||
const babelConfig = require('@nextcloud/babel-config') | ||
|
||
module.exports = babelConfig | ||
module.exports = { | ||
plugins: [ | ||
'@babel/plugin-syntax-dynamic-import', | ||
], | ||
presets: ['@babel/preset-env', '@babel/preset-typescript'], | ||
} |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.