-
-
Notifications
You must be signed in to change notification settings - Fork 101
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dev/calendar
- Loading branch information
Showing
64 changed files
with
4,346 additions
and
1,898 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Lint | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
matrix: | ||
node-version: [12.x] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: ${{ matrix.node-version }} | ||
- name: Install | ||
run: npm ci | ||
- name: Run linting | ||
run: make lint |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,3 +2,5 @@ singleQuote: true | |
trailingComma: 'es5' | ||
tabWidth: 2 | ||
printWidth: 100 | ||
arrowParens: "avoid" | ||
endOfLine: "lf" |
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
Submodule aw-client-js
deleted from
79a75b
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,6 +1,7 @@ | ||
module.exports = { | ||
// TODO: We should try to switch to the @vue/app preset, but right now it breaks everything | ||
//presets: ['@vue/app'], | ||
presets: ['@vue/cli-plugin-babel/preset'], | ||
plugins: ['lodash', '@babel/plugin-syntax-dynamic-import'], | ||
comments: false, | ||
}; |
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,4 +1,31 @@ | ||
// Tests can be added in the aw-webui/test folder | ||
// File names that end with .test.js will be run in the jsdom testEnvironment | ||
// File names that end with .test.node.js will be run in the node testEnvironment | ||
|
||
module.exports = { | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
}; | ||
projects: [ | ||
{ | ||
displayName: 'jsdom', | ||
preset: '@vue/cli-plugin-unit-jest', | ||
testEnvironment: 'jsdom', | ||
transform: { | ||
'^.+\\.js$': 'babel-jest', | ||
'^.+\\.vue$': 'vue-jest' | ||
}, | ||
testMatch: ['**/test/**/*.test.js?(x)'], | ||
moduleNameMapper: { | ||
'^~/(.+)$': '<rootDir>/src/$1', | ||
}, | ||
modulePathIgnorePatterns: ['test/e2e/screenshot.test.js'] // Don't run this file in npm test | ||
}, | ||
{ | ||
displayName: 'node', | ||
preset: 'ts-jest', | ||
testEnvironment: 'node', | ||
testMatch: ['**/test/**/*.test.node.js?(x)'], | ||
moduleNameMapper: { | ||
'^~/(.+)$': '<rootDir>/src/$1', | ||
} | ||
} | ||
] | ||
}; |
Oops, something went wrong.