Skip to content
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

build: update all deps #2217

Merged
merged 39 commits into from
Apr 11, 2021
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
0621984
build: update root deps
lossir Jan 31, 2021
109f62e
build: update typescript + eslint(and related deps)
lossir Jan 31, 2021
df4b958
build(react-ui): update deps for operability
lossir Jan 31, 2021
ac54371
build(react-ui): update babel and deps that are used to build*
lossir Jan 31, 2021
c171f97
fix(react-ui): remove unused lib - MockDate
lossir Jan 31, 2021
c2bf8c7
fix(react-ui): remove unused stylelint-config-css-modules
lossir Jan 31, 2021
a1bbd23
build(react-ui): update jest & enzyme
lossir Feb 28, 2021
5f66bca
build: update react to 16.14
lossir Mar 2, 2021
eb565eb
build(react-ui-validations): update deps
lossir Mar 3, 2021
645a993
build(styleguide): replace `typescript` to `typescript static`
lossir Mar 3, 2021
31cf522
style(getFocusableElement): remove unnecessary space
lossir Mar 3, 2021
8f3a30a
build(styleguide): install `babel-polyfill`
lossir Mar 3, 2021
2ea6124
Merge branches 'next' and 'update-all-deps-IF-54' of github.com:skbko…
lossir Mar 29, 2021
6c2b237
refactor(styleguidist): add `static` modifier
lossir Apr 5, 2021
4234121
refactor(styleguidist): use useState instead initialState/setState
lossir Apr 5, 2021
4cd8155
chore: make 'delay' function same everywhere
lossir Apr 5, 2021
6b29e8f
refactor(styleguidist): suppress `DoctrineError` due to `@public`
lossir Apr 5, 2021
4085575
refactor(styleguidist): use useState instead initialState (2)
lossir Apr 6, 2021
c84f58c
refactor(styleguidist): replace a tasklist item: `[ ]` with `<input>`
lossir Apr 6, 2021
3c96e30
refactor(styleguidist): add highlight to selected sidebar item*
lossir Apr 6, 2021
31f9820
refactor: remove unnecessary `attachTo`
lossir Apr 7, 2021
3dae8b2
build: update `emotion` to 11
lossir Apr 7, 2021
315e923
build: remove unused: csstype, babel-polyfill, selenium-webdriver
lossir Apr 7, 2021
a6add09
build(deps): update `commitlint` from 11.0.0 to 12.1.1 in root
lossir Apr 7, 2021
d7c8794
build(deps): update `husky` from 4 to 6.0.0 in root
lossir Apr 7, 2021
3a637c2
build(deps): update `lerna` from 3.22.1 to 4.0.0 in root
lossir Apr 7, 2021
d737418
build(deps): update deps in eslint-config
lossir Apr 7, 2021
c445233
build(deps): re-update deps in react-ui
lossir Apr 7, 2021
cc4cb70
Merge branch 'next' of github.com:skbkontur/retail-ui into update-all…
lossir Apr 8, 2021
080688f
chore(husky): add checks that git-lfs is installed
lossir Apr 8, 2021
4491f18
refactor(SSR): add use of `cache.key` & update docs
lossir Apr 9, 2021
9b37991
refactor: remove unnecessary `styleguide` and `jest` code
lossir Apr 9, 2021
b0d7d49
docs(DatePicker): fix some little things
lossir Apr 9, 2021
c502a2e
test(smoke): remove excess code after removing deprecated components
lossir Apr 9, 2021
8a2fb96
Merge branch 'next' of github.com:skbkontur/retail-ui into update-all…
lossir Apr 9, 2021
5857fe1
chore(husky): remove checks that git-lfs is installed
lossir Apr 9, 2021
3e15ac7
chore: commit autogenerating git-lfs's hooks
zhzz Apr 11, 2021
35d9f13
docs(SSR): add link for react-ui 2.x
zhzz Apr 11, 2021
c81f67d
Merge remote-tracking branch 'origin/next' into update-all-deps-IF-54
zhzz Apr 11, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
],
"private": true,
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@skbkontur/eslint-config": "*",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
"env-cmd": "^10.0.1",
"husky": "^3.1.0",
"lerna": "^3.19.0"
"commitizen": "^4.2.3",
"cz-conventional-changelog": "^3.3.0",
"env-cmd": "^10.1.0",
"husky": "^4.3.8",
"lerna": "^3.22.1"
},
"scripts": {
"commit": "git-cz",
Expand Down
5 changes: 5 additions & 0 deletions packages/eslint-config/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,10 @@
"react": {
"version": "detect"
}
},
"rules": {
"@typescript-eslint/ban-ts-comment": 0,
"@typescript-eslint/ban-types": 0,
"@typescript-eslint/explicit-module-boundary-types": 0
zhzz marked this conversation as resolved.
Show resolved Hide resolved
}
}
16 changes: 8 additions & 8 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"version": "1.0.1",
"license": "MIT",
"dependencies": {
"@typescript-eslint/eslint-plugin": "2.16.0",
"@typescript-eslint/parser": "2.16.0",
"eslint": "6.8.0",
"eslint-config-prettier": "6.8.0",
"@typescript-eslint/eslint-plugin": "4.14.1",
"@typescript-eslint/parser": "4.14.1",
"eslint": "7.19.0",
"eslint-config-prettier": "7.2.0",
"eslint-html-reporter": "0.7.4",
"eslint-plugin-import": "2.19.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "7.17.0",
"eslint-plugin-react-hooks": "2.3.0"
"eslint-plugin-import": "2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react": "7.22.0",
"eslint-plugin-react-hooks": "4.2.0"
}
}
9 changes: 0 additions & 9 deletions packages/react-ui-validations/.storybook/config.js

This file was deleted.

3 changes: 3 additions & 0 deletions packages/react-ui-validations/.storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
stories: ['../stories/**/*.stories.tsx'],
};
21 changes: 21 additions & 0 deletions packages/react-ui-validations/.storybook/preview-head.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<style>
@font-face {
font-family: 'Segoe UI';
font-weight: 400;
src: local('Segoe UI'), local('SegoeUI'),
url('//c.s-microsoft.com/static/fonts/segoe-ui/cyrillic/normal/latest.woff') format('woff');
}

html,
body {
min-height: 100%;
}

body {
font-family: 'Segoe UI', 'Helvetica Neue', Roboto, Arial, sans-serif;
font-size: 14px;
margin: 0;
background: white;
color: rgba(0, 0, 0, 0.87);
}
</style>
15 changes: 15 additions & 0 deletions packages/react-ui-validations/.storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { setFilter } from '@skbkontur/react-props2attrs';
import { findAmongParents } from '@skbkontur/react-sorge/lib';

setFilter(fiber => {
// Транслируем все пропы только для контролов
const isControlComponent = !!findAmongParents(
fiber,
fiberParent => fiberParent.type && typeof fiberParent.type.__KONTUR_REACT_UI__ === 'string',
);
if (isControlComponent) {
return null;
}
// Для остальных компонентов ограничиваемся тестовыми идентификаторами
return ['data-tid', 'data-testid'];
});
9 changes: 0 additions & 9 deletions packages/react-ui-validations/.storybook/webpack.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,8 @@
const path = require('path');
const webpack = require('webpack');

module.exports = async ({ config, mode }) => {
config.resolve.extensions.unshift('.ts', '.tsx');

config.entry.unshift('react-ui-testing/react-selenium-testing');

config.entry.push(
path.join(__dirname, '../stories/styles/reset.less'),
path.join(__dirname, '../stories/styles/typography.less'),
);

config.module.rules = [
{
test: /\.(ts|tsx)$/,
Expand Down Expand Up @@ -44,7 +36,6 @@ module.exports = async ({ config, mode }) => {
},
},
},
'less-loader',
],
},
{
Expand Down
64 changes: 33 additions & 31 deletions packages/react-ui-validations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,57 +49,59 @@
},
"devDependencies": {
"@babel/core": "^7.12.8",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.7",
"@babel/plugin-transform-runtime": "^7.13.9",
"@babel/preset-env": "^7.13.9",
"@babel/preset-react": "^7.12.7",
"@hot-loader/react-dom": "^16.11.0",
"@skbkontur/react-icons": "^3.2.1",
"@hot-loader/react-dom": "^17.0.1",
"@skbkontur/react-icons": "^4.4.0",
"@skbkontur/react-props2attrs": "^0.1.2",
"@skbkontur/react-sorge": "^0.1.0",
"@storybook/react": "5.3.14",
"@types/jest": "^24.0.23",
"@types/react": "16.9.16",
"@types/react-dom": "16.9.4",
"@types/jest": "^26.0.20",
"@types/react": "16.14.4",
"@types/react-dom": "16.9.11",
"@types/react-helmet": "^5.0.14",
"@types/react-router-dom": "^5.1.3",
"@types/react-syntax-highlighter": "^11.0.3",
"@types/styled-components": "^4.4.1",
"@types/react-syntax-highlighter": "^13.5.0",
"@types/styled-components": "^5.1.7",
"@types/warning": "^3.0.0",
"babel-jest": "^24.9.0",
"babel-jest": "^26.6.3",
"babel-loader": "^8.0.6",
"core-js": "^3.4.8",
"cross-env": "^6.0.3",
"css-loader": "^3.3.0",
"core-js": "^3.9.1",
"cross-env": "^7.0.3",
"css-loader": "^5.1.1",
"dts-bundle": "^0.7.3",
"file-loader": "^5.0.2",
"gh-pages": "^2.1.1",
"html-webpack-plugin": "^3.2.0",
"file-loader": "^6.2.0",
"gh-pages": "^3.1.0",
"html-webpack-plugin": "4.5.2",
"identity-obj-proxy": "^3.0.0",
"jest": "24.9.0",
"jest": "26.6.3",
"jest-teamcity-reporter": "^0.9.0",
"less": "3.10.3",
"less-loader": "^5.0.0",
"less": "4.1.1",
"less-loader": "7.3.0",
"markdown": "^0.5.0",
"npm-run-all": "^4.1.5",
"prettier": "^1.14.2",
"raw-loader": "^4.0.0",
"react": "^16.12.0",
"react-dom": "^16.12.0",
"react-helmet": "^5.2.1",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-helmet": "^6.1.0",
"react-hot-loader": "^4.12.18",
"react-router-dom": "^5.1.2",
"react-syntax-highlighter": "11.0.2",
"react-syntax-highlighter": "15.4.3",
"rimraf": "^3.0.0",
"rollup": "^1.27.9",
"rollup": "^2.40.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-replace": "^2.2.0",
"rollup-plugin-typescript2": "^0.25.3",
"rollup-plugin-typescript2": "^0.30.0",
"shelljs": "^0.8.3",
"string-replace-loader": "^2.3.0",
"style-loader": "^1.0.1",
"styled-components": "^4.4.1",
"ts-jest": "^24.2.0",
"ts-loader": "6.2.1",
"typescript": "^3.7.3",
"string-replace-loader": "^3.0.1",
"style-loader": "^2.0.0",
"styled-components": "^5.2.1",
"ts-jest": "^26.5.2",
"ts-loader": "8.0.17",
"typescript": "4.1.3",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "3.9.0"
Expand Down
1 change: 0 additions & 1 deletion packages/react-ui-validations/src/ValidationContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export interface ValidationContextSettings {
disableSmoothScroll: boolean;
}

// eslint-disable-next-line @typescript-eslint/interface-name-prefix
export interface IValidationContext {
register(wrapper: ValidationWrapperInternal): void;
unregister(wrapper: ValidationWrapperInternal): void;
Expand Down
9 changes: 0 additions & 9 deletions packages/react-ui-validations/stories/styles/mixins.less

This file was deleted.

52 changes: 0 additions & 52 deletions packages/react-ui-validations/stories/styles/reset.less

This file was deleted.

94 changes: 0 additions & 94 deletions packages/react-ui-validations/stories/styles/typography.less

This file was deleted.

Loading