-
Notifications
You must be signed in to change notification settings - Fork 1
Release 4.0.0 #30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
qpounodb
wants to merge
56
commits into
master
Choose a base branch
from
release-4.0.0
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Release 4.0.0 #30
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
638bf4b
[*] access to window object; WindowType fields
7453e31
[*] removed default appId argument
ac3bdf5
[*] version, changelog
cdd0000
[*] pr fixes
0919556
[-] initializeVkApp
185bee2
[*] Расширение возможных кейсов в проверке на отказ пользователя; [+]…
dewolixgit be3580d
[*] Коммент
dewolixgit b2cbd14
[*] Вынесение констант с типами ошибок ВК, расширение проверки на оши…
dewolixgit 60a0feb
[-] Экспорт consts из либы
dewolixgit 41dda82
[+] Тесты функций isVkError, checkVkUserDenied
dewolixgit c6a1aa0
[+] Тесты на функцию callVkApi
dewolixgit f081832
[*] Доработки утилит
dewolixgit a1bca3c
[+] Автотесты и утилиты для автотестов
dewolixgit 8327a7f
[+] Тесты
dewolixgit 0f87f47
[+] Тесты
dewolixgit 10bff39
[*] Корректировки: автотесты и комменты; [+] todo-тест в shareVkPost
dewolixgit d4116bf
[*] Переименование
dewolixgit 5a9ed4f
[*] Правки тестов getVkAccessToken
dewolixgit 3ff9e1a
[*] Коммент
dewolixgit a084e17
[+] Правка автотестов getVkAccessToken
dewolixgit ff0d59a
[*] js doc
be37e98
[*] fix
916ac92
[*] Правки после ревью
dewolixgit 0f25208
[+] changelog, команда для сбора списка тестов
dewolixgit f0c4b60
[+] Обновления package.json и readme.md
dewolixgit 84f39bf
Merge pull request #18 from ktsstudio/SPECIAL-11631
dewolixgit 58c5fe3
Merge pull request #19 from ktsstudio/SPECIAL-14044
dewolixgit bb01ee0
[*] Обновление mediaproject-utils
dewolixgit 8c37855
Merge pull request #21 from ktsstudio/SPECIAL-14239
dewolixgit 4bcb252
[-] Лишний тип
dewolixgit 872be03
[*] Комменты, обновление readme и changelog
dewolixgit 0e0935d
[*] Уточнение типизации, сокращение кода
dewolixgit 5f6de94
Merge branch 'release-3.0.0' into SPECIAL-14045
dewolixgit 26c98e4
[*] Обновление автотестов в callVkApi в соответствии с отказом от пар…
dewolixgit 3a245cb
[+] Автотесты для shareVkPost
dewolixgit d63e906
[*] Обновление readme
dewolixgit 5b9f0aa
[*] Правка названий автотестов
dewolixgit 3b09800
[-] Удаление лишней проверки на передачу аргумента функции
dewolixgit c6b2475
[+] Обработка платформы мессенджера, поле is_messenger в window
dewolixgit 3c819f6
[*] Поднятие версии
dewolixgit 40d3fc2
[+] checkVkPlatform: обработка случая открытия приложения из мвк на д…
dewolixgit d843f7d
Merge branch 'release-3.0.0' into SPECIAL-14045
dewolixgit 173c770
[*] Корректировка автотестов checkVkPlatform с учётом возвращаемого и…
dewolixgit 2463b13
[*] is_mvk -> is_web
dewolixgit 7a1187c
Merge branch 'release-3.1.0' into SPECIAL-14045
dewolixgit dbb0e55
Merge pull request #20 from ktsstudio/SPECIAL-14045
dewolixgit 593136c
Merge 'release-3.1.0' into SPECIAL-14238
dewolixgit cbf49ef
[+] Отдельная обработка desktop_web_messenger
dewolixgit f1f0f98
[*] Обновление changelog
dewolixgit c1d9f4a
[*] Обновление версии в package.json
dewolixgit ed75995
Merge pull request #24 from ktsstudio/SPECIAL-14238
qpounodb 45eb837
updates
qpounodb eaf1e6e
fix: vk api errors types usage
qpounodb 0c4d850
refactor: add utils for handling vk errors
qpounodb ade9861
fix: vk statuses utils exports
qpounodb 8110f68
doc: review updates
qpounodb File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 @@ | ||
| { | ||
| "jsxBracketSameLine": false, | ||
| "bracketSameLine": false, | ||
| "bracketSpacing": true, | ||
| "singleQuote": true, | ||
| "tabWidth": 2 | ||
| "tabWidth": 2, | ||
| "trailingComma": "es5" | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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,117 @@ | ||
| // @ts-check | ||
| import eslint from '@eslint/js'; | ||
| import importPluginX from 'eslint-plugin-import-x'; | ||
| import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended'; | ||
| import reactPlugin from 'eslint-plugin-react'; | ||
| import tsEslint from 'typescript-eslint'; | ||
|
|
||
| export default tsEslint.config( | ||
| eslint.configs.recommended, | ||
| ...tsEslint.configs.recommended, | ||
| ...tsEslint.configs.strict, | ||
| ...tsEslint.configs.stylistic, | ||
| { | ||
| ignores: ['dist/**'], | ||
| plugins: { | ||
| react: reactPlugin, | ||
| 'import-x': importPluginX, | ||
| }, | ||
| languageOptions: { | ||
| ecmaVersion: 2018, | ||
| sourceType: 'module', | ||
| parserOptions: { | ||
| ecmaFeatures: { | ||
| jsx: true, | ||
| }, | ||
| }, | ||
| globals: { | ||
| Atomics: 'readonly', | ||
| SharedArrayBuffer: 'readonly', | ||
| }, | ||
| }, | ||
| settings: { | ||
| 'import-x/parsers': { | ||
| '@typescript-eslint/parser': ['.ts', '.tsx'], | ||
| }, | ||
| 'import-x/resolver': { | ||
| typescript: true, | ||
| node: true, | ||
| }, | ||
| }, | ||
| rules: { | ||
| 'prefer-destructuring': ['error', { object: true, array: false }], | ||
| 'prefer-const': 'error', | ||
| 'prefer-arrow-callback': 'error', | ||
| '@typescript-eslint/consistent-type-definitions': 'off', // отключает принудительное использование только `type` или `interface` | ||
| '@typescript-eslint/no-invalid-void-type': 'off', // отключает использование `void` только в сигнатуре возврата функции | ||
| '@typescript-eslint/no-explicit-any': ['warn', { ignoreRestArgs: true }], | ||
| '@typescript-eslint/interface-name-prefix': 'off', | ||
| '@typescript-eslint/no-unused-vars': 'error', | ||
| '@typescript-eslint/camelcase': 'off', | ||
| '@typescript-eslint/no-var-requires': 'off', | ||
| '@typescript-eslint/ban-ts-comment': 'warn', | ||
| 'import-x/default': 'off', | ||
| 'import-x/no-named-as-default': 'off', | ||
| 'import-x/order': [ | ||
| 'error', | ||
| { | ||
| groups: [ | ||
| 'builtin', | ||
| 'external', | ||
| 'internal', | ||
| 'parent', | ||
| 'sibling', | ||
| 'index', | ||
| ], | ||
| 'newlines-between': 'always', | ||
| alphabetize: { | ||
| order: 'asc', | ||
| orderImportKind: 'asc', | ||
| caseInsensitive: true, | ||
| }, | ||
| }, | ||
| ], | ||
| 'padding-line-between-statements': [ | ||
| 'error', | ||
|
|
||
| // After directives (like 'use-strict'), except between directives | ||
| { blankLine: 'always', prev: 'directive', next: '*' }, | ||
| { blankLine: 'any', prev: 'directive', next: 'directive' }, | ||
|
|
||
| // Before and after export | ||
| { blankLine: 'always', prev: '*', next: 'export' }, | ||
| { blankLine: 'always', prev: 'export', next: '*' }, | ||
|
|
||
| // Before and after every sequence of variable declarations | ||
| { blankLine: 'always', prev: '*', next: ['const', 'let', 'var'] }, | ||
| { blankLine: 'always', prev: ['const', 'let', 'var'], next: '*' }, | ||
| { | ||
| blankLine: 'any', | ||
| prev: ['const', 'let', 'var'], | ||
| next: ['const', 'let', 'var'], | ||
| }, | ||
|
|
||
| // Before and after class declaration, if, while, switch, try | ||
| { | ||
| blankLine: 'always', | ||
| prev: '*', | ||
| next: ['class', 'if', 'while', 'switch', 'try'], | ||
| }, | ||
| { | ||
| blankLine: 'always', | ||
| prev: ['class', 'if', 'while', 'switch', 'try'], | ||
| next: '*', | ||
| }, | ||
|
|
||
| // Before return statements | ||
| { blankLine: 'always', prev: '*', next: 'return' }, | ||
| ], | ||
| 'react/jsx-uses-react': 'error', | ||
| 'react/jsx-uses-vars': 'error', | ||
| 'react/jsx-no-target-blank': 'off', | ||
| 'react/prefer-stateless-function': 'error', | ||
| 'react/display-name': 'off', | ||
| }, | ||
| }, | ||
| eslintPluginPrettierRecommended | ||
| ); | ||
This file contains hidden or 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,11 @@ | ||
| import type { Config } from 'jest'; | ||
|
|
||
| const config: Config = { | ||
| testEnvironment: 'jsdom', | ||
| testPathIgnorePatterns: ['/node_modules/', '/__tests__/utils/'], | ||
| transform: { | ||
| '^.+\\.(t|j)sx?$': '@swc/jest', | ||
| }, | ||
| }; | ||
|
|
||
| export default config; |
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.