Skip to content

Commit

Permalink
Release: December 2021 (#1308)
Browse files Browse the repository at this point in the history
* chore: handover translations 202111211330 (#1248)

* chore: handover translations 202111191330 (#1242)

* chore: handover translations 202111201030 (#1246)

* chore: handover translations 202111202230 (#1247)

* chore: change the frequency of dependabot updates (#1259)

* Task: add build step to linter workflow (#1267)

* Task/sonar cloud analysis (#1270)

* Fix: November Dependabot updates (#1274)

* Chore(deps): Bump jest-watch-typeahead from 0.2.1 to 0.5.0 (#1199)

* Chore(deps): Bump @axe-core/webdriverjs from 4.2.2 to 4.3.1 (#1192)

* Chore(deps-dev): Bump react-test-renderer from 16.8.3 to 16.13.0 (#1195)

* Chore(deps): Bump eslint-plugin-flowtype from 2.50.1 to 2.50.3 (#1198)

* Chore(deps): Bump re-resizable from 6.9.0 to 6.9.1 (#1197)

* Chore(deps): Bump terser-webpack-plugin from 3.1.0 to 4.2.3 (#1196)

* Chore(deps): Bump file-loader from 2.0.0 to 6.2.0 (#1194)

* Chore(deps-dev): Bump @types/react from 16.8.3 to 17.0.35 (#1219)

* Chore(deps): Bump react from 16.8.2 to 16.14.0 (#1193)

* Chore(deps-dev): Bump enzyme-adapter-react-16 from 1.9.1 to 1.15.6 (#1223)

* Chore(deps-dev): Bump enzyme-adapter-react-16 from 1.9.1 to 1.15.6

* Chore(deps-dev): Bump @types/enzyme from 3.9.0 to 3.10.10 (#1225)

* Chore(deps-dev): Bump ws from 8.0.0 to 8.2.3 (#1226)

* Chore(deps): Bump webpack from 4.28.3 to 4.46.0 (#1227)

* Chore(deps): Bump @azure/msal-browser from 2.12.0 to 2.19.0  (#1253)

* Chore(deps): Bump @microsoft/applicationinsights-web from 2.3.1 to 2.7.1 (#1230)

* Chore(deps-dev): Bump serialize-javascript from 3.1.0 to 6.0.0 (#1231)

* Chore(deps-dev): Bump @typescript-eslint/eslint-plugin-tslint from 4.15.0 to 4.33.0 (#1232)

* Chore(deps-dev): Bump axios from 0.21.4 to 0.24.0 (#1240)

* Chore(deps): Bump postcss-preset-env from 6.5.0 to 6.7.0 (#1228)

* Chore(deps-dev): Bump @typescript-eslint/parser from 4.15.0 to 4.33.0 (#1243)

* Chore(deps-dev): Bump standard-version from 8.0.2 to 9.3.2 (#1245)

* Chore(deps-dev): Bump react-test-renderer from 16.13.0 to 16.14.0 (#1265)

* Chore(deps-dev): Bump @types/react-redux from 7.1.0 to 7.1.20 (#1264)

* Chore(deps-dev): Bump @types/selenium-webdriver from 4.0.6 to 4.0.16 (#1263)

* Chore(deps-dev): Bump @types/react-dom from 16.8.2 to 17.0.11 (#1262)

* Chore(deps): Bump html-webpack-plugin from 4.0.0-alpha.2 to 4.5.2 (#1261)

* Chore(deps): Bump postcss-preset-env from 6.5.0 to 6.7.0 (#1260)

* Chore(deps): Bump @fluentui/react from 8.28.0 to 8.43.0 (#1258)

* Chore(deps-dev): Bump node-notifier from 8.0.1 to 10.0.0 (#1255)

* Chore(deps): Bump jest from 23.6.0 to 27.3.1 (#1244)

* Fix: Dropdown Accessibility issue (#1275)

* Feature: resource explorer (#1128)

* Task: add status message for anonymous queries (#1278)

* fix failing coverage information collection (#1279)

* Task: Export selected resources to postman collection (#1277)

* fix: restore request section behavior (#1292)

* Enhancement: Add copy button confirmation (#1291)

* Fix selecting  query option in autocomplete dropdown causing crash (#1301)

* Fix: return blue dots on supported tabs (#1303)

* Task: Remove resources tab (#1304)

* Fix: Add validation for whitespaces included in a query Url (#1305)
  • Loading branch information
Onokaev authored Dec 9, 2021
1 parent edfb717 commit 932a672
Show file tree
Hide file tree
Showing 67 changed files with 349,792 additions and 8,501 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ module.exports = {
'no-multiple-empty-lines': 'error',
'no-new-wrappers': 'error',
'quotes': ['error', 'single'],
'no-shadow': [
'no-shadow': 'off',
'@typescript-eslint/no-shadow': [
'warn',
{
hoist: 'all',
Expand Down
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
interval: monthly
open-pull-requests-limit: 10
33 changes: 32 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
name: Lint and Build

on:
push
workflow_dispatch:
push:
branches:
- master
- dev
pull_request:
types: [opened, synchronize, reopened]

env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

jobs:
code-linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of results

- name: Install Nodejs
uses: actions/setup-node@v2
Expand All @@ -19,3 +30,23 @@ jobs:

- name: Run linter
run: npm run lint

- name: Run the tests
run: npm test

- name: Build
run: npm run build

- name: Generate test coverage report
run: npm run test -- --coverage --watchAll=false --testResultsProcessor=jest-sonar-reporter

- name: Fix code coverage paths
run: |
sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' coverage/lcov.info
sed -i 's@'$GITHUB_WORKSPACE'@/github/workspace/@g' reports/test-report.xml
- name: Run sonar cloud analysis
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

# testing
/coverage
/reports

# misc
.DS_Store
Expand Down
3 changes: 2 additions & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"singleQuote": true,
"semi": true,
"jsxSingleQuote":true
"jsxSingleQuote": true,
"trailingComma": "none"
}
21 changes: 11 additions & 10 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
module.exports = {
collectCoverageFrom: ['src/**/*.{js,jsx,ts,tsx}', '!src/**/*.d.ts'],
collectCoverageFrom: [
'src/**/*.{js,jsx,ts,tsx}',
'!**/node_modules/**',
'!build/**',
'!src/**/*.d.ts'
],
resolver: 'jest-pnp-resolver',
setupFiles: ['react-app-polyfill/jsdom'],
setupTestFrameworkScriptFile: '<rootDir>/src/setupTests.ts',
testMatch: [
'<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}',
'<rootDir>/src/**/?(*.)(spec|test).{js,jsx,ts,tsx}'
],
setupFilesAfterEnv: ['<rootDir>/src/setupTests.ts'],
testMatch: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
globals: {
crypto: require('crypto')
},
testEnvironment: 'jsdom',
testURL: 'http://localhost',
transform: {
'^.+\\.(js|jsx|ts|tsx)$': '<rootDir>/node_modules/ts-jest/preprocessor.js',
'^.+\\.(js|jsx|ts|tsx)$': 'ts-jest',
'^.+\\.css$': '<rootDir>/config/jest/cssTransform.js',
'^(?!.*\\.(js|jsx|ts|tsx|css|json)$)':
'<rootDir>/node_modules/ts-jest/preprocessor.js'
'^(?!.*\\.(js|jsx|ts|tsx|css|json)$)':'ts-jest'
},
transformIgnorePatterns: [
'[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$',
Expand All @@ -42,5 +43,5 @@ module.exports = {
'jest-watch-typeahead/filename',
'jest-watch-typeahead/testname'
],
testResultsProcessor: './node_modules/jest-junit-reporter'
testResultsProcessor: 'jest-sonar-reporter'
};
Loading

0 comments on commit 932a672

Please sign in to comment.