Skip to content

Commit

Permalink
Release v2.2.6 - to main (#1600)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarski committed Nov 30, 2023
2 parents 2f918cb + 7df9c73 commit 3cbf528
Show file tree
Hide file tree
Showing 305 changed files with 49,140 additions and 65,679 deletions.
127 changes: 105 additions & 22 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,40 +1,123 @@
{
"extends": "@mudita",
"env": {
"browser": true
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
"project": "./tsconfig.json",
"sourceType": "module"
},
"root": true,
"plugins": ["license-header", "unused-imports"],
"plugins": [
"@typescript-eslint",
"react",
"react-hooks",
"unused-imports",
"license-header",
"jest",
"jest-dom",
"jsx-a11y",
"testing-library"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"prettier",
"plugin:jsx-a11y/recommended",
"plugin:jest/recommended",
"plugin:jest-dom/recommended",
"plugin:testing-library/react",
"plugin:react/recommended",
"plugin:react-hooks/recommended"
],
"rules": {
"@typescript-eslint/no-unsafe-assignment": "warn",
"@typescript-eslint/no-unsafe-member-access": "warn",
"no-async-promise-executor": "warn",
"@typescript-eslint/no-misused-promises": "warn",
"@typescript-eslint/no-unsafe-call": "warn",
"@typescript-eslint/require-await": "warn",
"@typescript-eslint/await-thenable": "warn",
"@typescript-eslint/restrict-template-expressions": "warn",
"@typescript-eslint/restrict-plus-operands": "warn",
"@typescript-eslint/no-floating-promises": "warn",
"@typescript-eslint/ban-ts-comment": "warn",
"@typescript-eslint/ban-types": "warn",
"@typescript-eslint/no-unsafe-return": "warn",
"jsx-a11y/no-noninteractive-element-interactions": "warn",
"jsx-a11y/click-events-have-key-events": "warn",
"jsx-a11y/no-autofocus": "warn",
"react/no-unescaped-entities": "warn",
"@typescript-eslint/unbound-method": "warn",
"@typescript-eslint/prefer-regexp-exec": "warn",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-unsafe-argument": "off",
"@typescript-eslint/no-redundant-type-constituents": "off",
"@typescript-eslint/no-unsafe-enum-comparison": "off",
"@typescript-eslint/no-duplicate-enum-values": "off",
"@typescript-eslint/prefer-as-const": "off",
"@typescript-eslint/no-base-to-string": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/no-unsafe-member-access": "off",
"@typescript-eslint/no-unnecessary-type-assertion": "off",
"@typescript-eslint/no-unsafe-call": "off",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/require-await": "off",
"@typescript-eslint/no-unsafe-assignment": "off",

"react/display-name": "off",
"react/prop-types": "off",
"react/jsx-boolean-value": "off",
"react/no-unescaped-entities": "warn",
"react-hooks/rules-of-hooks": "warn",
"curly": "off",
"no-async-promise-executor": "warn",
"no-prototype-builtins": "warn",
"jest-dom/prefer-in-document": "warn",
"jest-dom/prefer-enabled-disabled": "warn",
"@typescript-eslint/prefer-regexp-exec": "warn",

"license-header/header": ["error", "../../resources/license-header.js"],
"@typescript-eslint/no-unused-vars": [
"error",
{ "argsIgnorePattern": "^_" }

"no-unused-vars": "off",
"unused-imports/no-unused-vars": [
"off",
{
"argsIgnorePattern": "^_"
}
],
"unused-imports/no-unused-imports": "error"
"unused-imports/no-unused-imports": "error",

"jest/no-focused-tests": "error",
"jest/no-identical-title": "off",
"jest/no-standalone-expect": "off",
"jest/valid-title": "off",
"jest/no-alias-methods": "off",
"jest/jest/no-export": "off",
"jest/no-conditional-expect": "off",
"jest/expect-expect": "off",
"jest/no-export": "off",
"jest/no-mocks-import": "off",
"jest/prefer-to-have-length": "off",
"jest/no-disabled-tests": "off",
"jest/valid-expect": "off",
"jest/no-done-callback": "off",
"jest/no-test-prefixes": "off",

"jest-dom/prefer-in-document": "warn",
"jest-dom/prefer-enabled-disabled": "warn",

"jsx-a11y/no-noninteractive-element-interactions": "warn",
"jsx-a11y/click-events-have-key-events": "warn",
"jsx-a11y/no-autofocus": "warn",

"testing-library/prefer-screen-queries": "off",
"testing-library/prefer-presence-queries": "off",
"testing-library/no-dom-import": "off",
"testing-library/render-result-naming-convention": "off",
"testing-library/no-wait-for-multiple-assertions": "off",
"testing-library/no-wait-for-side-effects": "off",
"testing-library/no-node-access": "off",
"testing-library/no-container": "off",
"testing-library/await-async-queries": "off",
"testing-library/no-await-sync-events": "off",
"testing-library/no-render-in-lifecycle": "off"
},
"settings": {
"react": {
"version": "detect"
},
"jest": {
"version": "detect"
}
},
"ignorePatterns": ["auth-server.test.ts"]
}
10 changes: 5 additions & 5 deletions .github/workflows/nexus-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
environment: development
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 14.17.3
node-version: 18.16.1
- name: Setup Env for Windows
if: matrix.os == 'Windows'
env:
Expand Down Expand Up @@ -155,13 +155,13 @@ jobs:
run: |
$env:NODE_OPTIONS="--max-old-space-size=4096"
cd packages/app/
npm run dist:prod:all
npm run dist
- name: Build App for Linux/Mac
if: matrix.os != 'Windows'
run: |
export NODE_OPTIONS="--max-old-space-size=4096"
cd packages/app/
npm run dist:prod:all
npm run dist
- name: Push artifacts to nexus registry from Windows
if: matrix.os == 'Windows'
env:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/nexus-pre-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
environment: pre-production
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 14.17.3
node-version: 18.16.1
- name: Setup Env for Windows
if: matrix.os == 'Windows'
env:
Expand Down Expand Up @@ -89,13 +89,13 @@ jobs:
run: |
$env:NODE_OPTIONS="--max-old-space-size=4096"
cd packages/app/
npm run dist:prod:all
npm run dist
- name: Build App for Linux/Mac
if: matrix.os != 'Windows'
run: |
export NODE_OPTIONS="--max-old-space-size=4096"
cd packages/app/
npm run dist:prod:all
npm run dist
- name: Push artifacts to nexus registry from Windows
if: matrix.os == 'Windows'
env:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/nexus-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
environment: production
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 14.17.3
node-version: 18.16.1
- name: Setup Env for Windows
if: matrix.os == 'Windows'
env:
Expand Down Expand Up @@ -89,13 +89,13 @@ jobs:
run: |
$env:NODE_OPTIONS="--max-old-space-size=4096"
cd packages/app/
npm run dist:prod:all
npm run dist
- name: Build App for Linux/Mac
if: matrix.os != 'Windows'
run: |
export NODE_OPTIONS="--max-old-space-size=4096"
cd packages/app/
npm run dist:prod:all
npm run dist
- name: Push artifacts to nexus registry from Windows
if: matrix.os == 'Windows'
env:
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:

strategy:
matrix:
node-version: [14.17.3]
node-version: [18.16.1]

timeout-minutes: 20
timeout-minutes: 40

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
Expand All @@ -28,7 +28,7 @@ jobs:
env:
CI: true
- name: Test
run: npm run test:coverage
run: npm run test
env:
CI: true
NODE_OPTIONS: '--max_old_space_size=8192'
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,6 @@ packages/app/src/help/default-help.json

# Fetched appplication configuration
packages/app/src/settings/static/app-configuration.json

# Fetched wasm sql lib
packages/app/static/sql-wasm*
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v14.17.3
v18.16.1
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
Here we write upgrading notes for brands. It's a team effort to make them as
straightforward as possible.

## [2.2.5] - 2023-11-30

### Changed

- **Electron**: updated to version 26.0.0
- **Node.js**: updated to version 18.16.1
- **Chromedriver**: updated to version 116.0.0
- **Jest**: updated to version 29.0.0
- **React**: updated to version 18.2.0
- **TypeScript**: updated to version 5.2.2
- Additionally, unnecessary dependencies have been removed, resulting in a more streamlined and efficient project structure. This release includes various minor fixes and optimizations to enhance overall stability and user experience.

## [2.2.5] - 2023-11-23

### Changed
Expand All @@ -20,6 +32,7 @@ straightforward as possible.

- Outlook import shows Mudita Center as verified publisher


## [2.2.4] - 2023-10-26

### Fixed
Expand Down
Loading

0 comments on commit 3cbf528

Please sign in to comment.