From b9cc5b097db2daadca3cd80ee42f95fd5b27d203 Mon Sep 17 00:00:00 2001
From: Sebastien LE MOUILLOUR <32456736+smouillour@users.noreply.github.com>
Date: Mon, 13 Nov 2023 10:52:20 +0100
Subject: [PATCH] fix(TDOPS-5641): Update deps in packages in the folder
packages + fix some lint (#4983)
---
.changeset/brown-geese-trade.md | 5 ++
.changeset/calm-eagles-confess.md | 5 ++
.changeset/cold-camels-cheat.md | 5 ++
.changeset/eighty-readers-complain.md | 5 ++
.changeset/five-fans-begin.md | 5 ++
.changeset/four-numbers-doubt.md | 5 ++
.changeset/great-cars-relate.md | 5 ++
.changeset/honest-weeks-agree.md | 5 ++
.changeset/loud-papayas-boil.md | 5 ++
.changeset/many-wolves-invent.md | 5 ++
.changeset/mean-walls-admire.md | 5 ++
.changeset/nine-turtles-accept.md | 5 ++
.changeset/orange-suits-chew.md | 5 ++
.changeset/poor-poems-greet.md | 5 ++
.changeset/quick-tools-rescue.md | 5 ++
.changeset/stale-carpets-cheat.md | 5 ++
.changeset/tall-waves-approve.md | 5 ++
.changeset/tidy-carpets-trade.md | 5 ++
.changeset/wet-bears-think.md | 5 ++
.changeset/yellow-bats-tie.md | 5 ++
package.json | 3 +-
packages/a11y/package.json | 13 +++-
packages/a11y/tsconfig.json | 3 +-
packages/assets-api/package.json | 6 ++
packages/assets-api/src/index.test.ts | 20 +++---
packages/cmf/src/action.js | 2 +-
.../cmf/src/reduxstorage/reduxLocalStorage.js | 5 +-
packages/containers/package.json | 4 ++
.../src/ConfirmDialog/ConfirmDialog.test.js | 31 +++++----
packages/containers/src/cmfModule.js | 29 ++++----
packages/dataviz/package.json | 1 +
packages/design-docs/package.json | 2 +-
.../form/ToggleSwitch/ToggleSwitch.mdx | 4 +-
packages/design-tokens/jest.config.js | 4 ++
packages/design-tokens/package.json | 10 ++-
packages/flow-designer/package.json | 13 +++-
.../src/components/node/AbstractNode.test.tsx | 1 +
packages/flow-designer/tsconfig.json | 2 +-
.../src/UIForm/Widget/Widget.component.js | 1 +
.../CheckBox/displayMode/TextMode.module.scss | 1 +
.../fields/Datalist/Datalist.component.js | 1 +
.../src/UIForm/fields/Date/Date.component.js | 1 +
.../UIForm/fields/Date/DateTime.component.js | 1 +
.../src/UIForm/fields/Date/Time.component.js | 1 +
.../UIForm/fields/File/File.component.test.js | 13 ++--
.../MultiSelectTag.component.js | 1 +
.../UIForm/fields/Toggle/Toggle.component.js | 1 +
.../TextModeArrayTemplate.module.scss | 2 +-
packages/forms/src/UIForm/utils/properties.js | 1 +
packages/icons/package.json | 2 +
packages/jsfc/package.json | 8 ++-
packages/jsfc/src/index.js | 7 +-
packages/jsfc/tsconfig.json | 2 +-
.../lib/getPackageJsonInfo.js | 1 +
.../local-libs-webpack-plugin/package.json | 3 +
packages/playground/package.json | 11 ++-
packages/playground/webpack.config.dev.js | 1 -
packages/stepper/package.json | 1 +
packages/storybook-cmf/package.json | 2 +-
packages/storybook-docs/package.json | 4 +-
.../src/components/FigmaContext.ts | 8 ++-
.../src/components/Trial/Trial.stories.tsx | 6 +-
packages/storybook-one/.storybook/main.js | 4 +-
packages/storybook-one/package.json | 3 +-
packages/theme/package.json | 7 +-
packages/theme/webpack.config.js | 10 +--
packages/utils/package.json | 7 ++
packages/utils/tsconfig.json | 2 +-
yarn.lock | 67 ++++++++++++-------
69 files changed, 328 insertions(+), 105 deletions(-)
create mode 100644 .changeset/brown-geese-trade.md
create mode 100644 .changeset/calm-eagles-confess.md
create mode 100644 .changeset/cold-camels-cheat.md
create mode 100644 .changeset/eighty-readers-complain.md
create mode 100644 .changeset/five-fans-begin.md
create mode 100644 .changeset/four-numbers-doubt.md
create mode 100644 .changeset/great-cars-relate.md
create mode 100644 .changeset/honest-weeks-agree.md
create mode 100644 .changeset/loud-papayas-boil.md
create mode 100644 .changeset/many-wolves-invent.md
create mode 100644 .changeset/mean-walls-admire.md
create mode 100644 .changeset/nine-turtles-accept.md
create mode 100644 .changeset/orange-suits-chew.md
create mode 100644 .changeset/poor-poems-greet.md
create mode 100644 .changeset/quick-tools-rescue.md
create mode 100644 .changeset/stale-carpets-cheat.md
create mode 100644 .changeset/tall-waves-approve.md
create mode 100644 .changeset/tidy-carpets-trade.md
create mode 100644 .changeset/wet-bears-think.md
create mode 100644 .changeset/yellow-bats-tie.md
create mode 100644 packages/design-tokens/jest.config.js
diff --git a/.changeset/brown-geese-trade.md b/.changeset/brown-geese-trade.md
new file mode 100644
index 00000000000..f4b173c408d
--- /dev/null
+++ b/.changeset/brown-geese-trade.md
@@ -0,0 +1,5 @@
+---
+'@talend/utils': minor
+---
+
+Add missing deps and fix tsconfig
diff --git a/.changeset/calm-eagles-confess.md b/.changeset/calm-eagles-confess.md
new file mode 100644
index 00000000000..e84cebfa130
--- /dev/null
+++ b/.changeset/calm-eagles-confess.md
@@ -0,0 +1,5 @@
+---
+'@talend/react-containers': minor
+---
+
+Add missing deps and fix some lint issues
diff --git a/.changeset/cold-camels-cheat.md b/.changeset/cold-camels-cheat.md
new file mode 100644
index 00000000000..5595447f84e
--- /dev/null
+++ b/.changeset/cold-camels-cheat.md
@@ -0,0 +1,5 @@
+---
+'@talend/assets-api': minor
+---
+
+Add missing deps and remove link to @talend/icons (circular deps)
diff --git a/.changeset/eighty-readers-complain.md b/.changeset/eighty-readers-complain.md
new file mode 100644
index 00000000000..334ce50e3cd
--- /dev/null
+++ b/.changeset/eighty-readers-complain.md
@@ -0,0 +1,5 @@
+---
+'@talend/react-storybook-cmf': minor
+---
+
+Add missing deps
diff --git a/.changeset/five-fans-begin.md b/.changeset/five-fans-begin.md
new file mode 100644
index 00000000000..6c937137ef8
--- /dev/null
+++ b/.changeset/five-fans-begin.md
@@ -0,0 +1,5 @@
+---
+'@talend/design-tokens': minor
+---
+
+Add missing deps and missing jest config file
diff --git a/.changeset/four-numbers-doubt.md b/.changeset/four-numbers-doubt.md
new file mode 100644
index 00000000000..98992404e81
--- /dev/null
+++ b/.changeset/four-numbers-doubt.md
@@ -0,0 +1,5 @@
+---
+'@talend/react-dataviz': minor
+---
+
+Add missing deps
diff --git a/.changeset/great-cars-relate.md b/.changeset/great-cars-relate.md
new file mode 100644
index 00000000000..22d62f32490
--- /dev/null
+++ b/.changeset/great-cars-relate.md
@@ -0,0 +1,5 @@
+---
+'@talend/design-system': minor
+---
+
+Fix lint issues
diff --git a/.changeset/honest-weeks-agree.md b/.changeset/honest-weeks-agree.md
new file mode 100644
index 00000000000..10753f06c04
--- /dev/null
+++ b/.changeset/honest-weeks-agree.md
@@ -0,0 +1,5 @@
+---
+'@talend/react-flow-designer': minor
+---
+
+Add missing deps, fix tsconfig file and fix some lint issue
diff --git a/.changeset/loud-papayas-boil.md b/.changeset/loud-papayas-boil.md
new file mode 100644
index 00000000000..9b66b574591
--- /dev/null
+++ b/.changeset/loud-papayas-boil.md
@@ -0,0 +1,5 @@
+---
+'@talend/react-a11y': minor
+---
+
+Add missing deps and fix tsconfig file
diff --git a/.changeset/many-wolves-invent.md b/.changeset/many-wolves-invent.md
new file mode 100644
index 00000000000..9ec3a30684a
--- /dev/null
+++ b/.changeset/many-wolves-invent.md
@@ -0,0 +1,5 @@
+---
+'@talend/local-libs-webpack-plugin': minor
+---
+
+Add missing deps and fix lint issue
diff --git a/.changeset/mean-walls-admire.md b/.changeset/mean-walls-admire.md
new file mode 100644
index 00000000000..be658c2b92d
--- /dev/null
+++ b/.changeset/mean-walls-admire.md
@@ -0,0 +1,5 @@
+---
+'@talend/react-cmf': minor
+---
+
+Fix lint issues
diff --git a/.changeset/nine-turtles-accept.md b/.changeset/nine-turtles-accept.md
new file mode 100644
index 00000000000..1286045a733
--- /dev/null
+++ b/.changeset/nine-turtles-accept.md
@@ -0,0 +1,5 @@
+---
+'@talend/storybook-docs': minor
+---
+
+Add missing deps and fix lint issues
diff --git a/.changeset/orange-suits-chew.md b/.changeset/orange-suits-chew.md
new file mode 100644
index 00000000000..4826a739572
--- /dev/null
+++ b/.changeset/orange-suits-chew.md
@@ -0,0 +1,5 @@
+---
+'@talend/react-stepper': minor
+---
+
+Add missing deps
diff --git a/.changeset/poor-poems-greet.md b/.changeset/poor-poems-greet.md
new file mode 100644
index 00000000000..d6a8e998aae
--- /dev/null
+++ b/.changeset/poor-poems-greet.md
@@ -0,0 +1,5 @@
+---
+'@talend/icons': minor
+---
+
+Add missing deps
diff --git a/.changeset/quick-tools-rescue.md b/.changeset/quick-tools-rescue.md
new file mode 100644
index 00000000000..87b0e14d5fc
--- /dev/null
+++ b/.changeset/quick-tools-rescue.md
@@ -0,0 +1,5 @@
+---
+'@talend/design-docs': minor
+---
+
+Add missing deps and remove unnecessary one
diff --git a/.changeset/stale-carpets-cheat.md b/.changeset/stale-carpets-cheat.md
new file mode 100644
index 00000000000..94593693b18
--- /dev/null
+++ b/.changeset/stale-carpets-cheat.md
@@ -0,0 +1,5 @@
+---
+'@talend/react-forms': minor
+---
+
+Fix lint issues
diff --git a/.changeset/tall-waves-approve.md b/.changeset/tall-waves-approve.md
new file mode 100644
index 00000000000..7edc0e6b146
--- /dev/null
+++ b/.changeset/tall-waves-approve.md
@@ -0,0 +1,5 @@
+---
+'@talend/ui-storybook-one': minor
+---
+
+Add missing deps, fix code for PNPM
diff --git a/.changeset/tidy-carpets-trade.md b/.changeset/tidy-carpets-trade.md
new file mode 100644
index 00000000000..1b31e17c60b
--- /dev/null
+++ b/.changeset/tidy-carpets-trade.md
@@ -0,0 +1,5 @@
+---
+'@talend/json-schema-form-core': minor
+---
+
+Add missing deps, fix lint issue and fix tsconfig file
diff --git a/.changeset/wet-bears-think.md b/.changeset/wet-bears-think.md
new file mode 100644
index 00000000000..c6ef8dffe61
--- /dev/null
+++ b/.changeset/wet-bears-think.md
@@ -0,0 +1,5 @@
+---
+'@talend/ui-playground': minor
+---
+
+Add missing deps and fix webpack.config file
diff --git a/.changeset/yellow-bats-tie.md b/.changeset/yellow-bats-tie.md
new file mode 100644
index 00000000000..f769ec078f7
--- /dev/null
+++ b/.changeset/yellow-bats-tie.md
@@ -0,0 +1,5 @@
+---
+'@talend/bootstrap-theme': minor
+---
+
+Add missing deps and fix webpack.config file
diff --git a/package.json b/package.json
index f0b17c3d7d4..59ed895ed3c 100644
--- a/package.json
+++ b/package.json
@@ -32,6 +32,7 @@
"prepare": "husky install"
},
"resolutions": {
+ "**/cypress": "^12.17.4",
"**/@types/react": "^18.2.7",
"**/@types/react-dom": "^18.2.7",
"**/i18next-scanner-typescript/typescript": "^5.0.4",
@@ -60,7 +61,7 @@
},
"dependencies": {
"@types/react": "^18.2.7",
- "@types/react-dom": "^18.2.7",
+ "@types/react-dom": "^18.2.15",
"terser-webpack-plugin": "^5.3.9",
"typescript": "^5.2.2",
"webpack": "^5.89.0"
diff --git a/packages/a11y/package.json b/packages/a11y/package.json
index 0639f8c96ab..865df9dd404 100644
--- a/packages/a11y/package.json
+++ b/packages/a11y/package.json
@@ -25,12 +25,21 @@
},
"dependencies": {
"@talend/utils": "^2.7.0",
- "keycode": "^2.2.1",
- "lodash": "^4.17.21"
+ "keycode": "^2.2.1"
},
"devDependencies": {
+ "@talend/eslint-config": "^12.2.0",
+ "@talend/eslint-plugin": "^1.0.1",
"@talend/scripts-core": "^16.1.0",
+ "@talend/scripts-config-typescript": "^11.1.0",
"@testing-library/react": "^12.1.5",
+ "@testing-library/user-event": "^13.5.0",
+ "@types/date-fns": "^0.0.2",
+ "@types/jest": "^29.5.5",
+ "@types/react": "^18.2.37",
+ "@types/react-dom": "^18.2.15",
+ "date-fns": "^1.30.1",
+ "jest-in-case": "^1.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
diff --git a/packages/a11y/tsconfig.json b/packages/a11y/tsconfig.json
index 23310ba411a..52e32860ed8 100644
--- a/packages/a11y/tsconfig.json
+++ b/packages/a11y/tsconfig.json
@@ -5,6 +5,7 @@
"allowJs": false,
"declaration": true,
"target": "ES5",
- "module": "CommonJs"
+ "module": "CommonJs",
+ "types": ["jest", "@testing-library/jest-dom"]
}
}
diff --git a/packages/assets-api/package.json b/packages/assets-api/package.json
index feaf575e0f4..178ec677b7b 100644
--- a/packages/assets-api/package.json
+++ b/packages/assets-api/package.json
@@ -28,8 +28,14 @@
},
"dependencies": {},
"devDependencies": {
+ "@talend/babel-plugin-import-from-index": "^1.5.1",
+ "@talend/eslint-config": "^12.2.0",
+ "@talend/eslint-plugin": "^1.0.1",
"@talend/scripts-core": "^16.1.0",
"@talend/scripts-config-react-webpack": "^16.2.0",
+ "@talend/scripts-config-typescript": "^11.1.0",
+ "@types/node": "^6.14.13",
+ "@types/jest": "^29.5.5",
"read-pkg-up": "^7.0.1"
},
"publishConfig": {
diff --git a/packages/assets-api/src/index.test.ts b/packages/assets-api/src/index.test.ts
index af31b052cdc..def049485c0 100644
--- a/packages/assets-api/src/index.test.ts
+++ b/packages/assets-api/src/index.test.ts
@@ -1,7 +1,6 @@
import readPackageUp from 'read-pkg-up';
import assetsApi, { Asset } from '.';
-const iconsInfo = readPackageUp.sync({ cwd: require.resolve('@talend/icons') });
const currentInfo = readPackageUp.sync({ cwd: __dirname });
const bundlePath = '/dist/svg-bundles/all.svg';
@@ -12,28 +11,27 @@ describe('assets-api', () => {
});
it('should return unpkg url', () => {
- const url = assetsApi.getURL(bundlePath, '@talend/icons', iconsInfo?.packageJson.version);
- expect(url).toBe(
- `https://unpkg.com/@talend/icons@${iconsInfo?.packageJson.version}${bundlePath}`,
- );
+ const url = assetsApi.getURL(bundlePath, '@talend/icons', '6.60.1');
+ expect(url).toBe(`https://unpkg.com/@talend/icons@6.60.1${bundlePath}`);
});
it('should return /cdn url', () => {
const original = window.Talend.CDN_URL;
window.Talend.CDN_URL = '/cdn';
- const url = assetsApi.getURL(bundlePath, '@talend/icons', iconsInfo?.packageJson.version);
- expect(url).toBe(`/cdn/@talend/icons/${iconsInfo?.packageJson.version}${bundlePath}`);
+ const url = assetsApi.getURL(bundlePath, '@talend/icons', '6.60.1');
+ expect(url).toBe(`/cdn/@talend/icons/6.60.1${bundlePath}`);
window.Talend.CDN_URL = original;
});
it('should prevent // as start url', () => {
const original = window.Talend.CDN_URL;
window.Talend.CDN_URL = '/cdn';
- const mockedBaseElement = { getAttribute: jest.fn().mockReturnValueOnce('/') };
- // @ts-ignore
+ const mockedBaseElement = {
+ getAttribute: jest.fn().mockReturnValueOnce('/'),
+ } as unknown as Element;
jest.spyOn(document, 'querySelector').mockImplementation(() => mockedBaseElement);
- const url = assetsApi.getURL(bundlePath, '@talend/icons', iconsInfo?.packageJson.version);
- expect(url).toBe(`/cdn/@talend/icons/${iconsInfo?.packageJson.version}${bundlePath}`);
+ const url = assetsApi.getURL(bundlePath, '@talend/icons', '6.60.1');
+ expect(url).toBe(`/cdn/@talend/icons/6.60.1${bundlePath}`);
window.Talend.CDN_URL = original;
});
diff --git a/packages/cmf/src/action.js b/packages/cmf/src/action.js
index 22e2121a96c..31e12ddf879 100644
--- a/packages/cmf/src/action.js
+++ b/packages/cmf/src/action.js
@@ -79,7 +79,7 @@ function getActionObject(context, action, event, data) {
*/
function getOnProps(props) {
return Object.keys(props).filter(
- name => ({}.hasOwnProperty.call(props, name) && /^on.+/.test(name)),
+ name => ({}).hasOwnProperty.call(props, name) && /^on.+/.test(name),
);
}
diff --git a/packages/cmf/src/reduxstorage/reduxLocalStorage.js b/packages/cmf/src/reduxstorage/reduxLocalStorage.js
index 6cd15b10755..501430258a0 100644
--- a/packages/cmf/src/reduxstorage/reduxLocalStorage.js
+++ b/packages/cmf/src/reduxstorage/reduxLocalStorage.js
@@ -3,7 +3,10 @@ import createEngine from 'redux-storage-engine-localstorage';
import filter from 'redux-storage-decorator-filter';
import immutablejs from './redux-storage-decorator-immutablejs';
-const CMF_IMMUTABLE_PATHS = [['cmf', 'components'], ['cmf', 'collections']];
+const CMF_IMMUTABLE_PATHS = [
+ ['cmf', 'components'],
+ ['cmf', 'collections'],
+];
const CMF_MIDDLEWARE_BLACK_LIST = ['@@INIT', '@@router/LOCATION_CHANGE'];
diff --git a/packages/containers/package.json b/packages/containers/package.json
index 629a3967a39..56c0a362d4f 100644
--- a/packages/containers/package.json
+++ b/packages/containers/package.json
@@ -53,7 +53,10 @@
"@storybook/addon-actions": "^7.5.3",
"@talend/bootstrap-theme": "^8.2.1",
"@talend/icons": "^7.1.0",
+ "@talend/locales-tui-components": "^11.4.5",
"@talend/locales-tui-containers": "^9.1.3",
+ "@talend/locales-tui-forms": "^10.2.4",
+ "@talend/locales-design-system": "^7.15.1",
"@talend/react-storybook-cmf": "^8.1.0",
"@talend/eslint-config": "^12.2.0",
"@talend/eslint-plugin": "^1.0.1",
@@ -65,6 +68,7 @@
"@testing-library/user-event": "^13.5.0",
"i18next": "^23.6.0",
"jest-in-case": "^1.0.2",
+ "msw": "^1.3.2",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
diff --git a/packages/containers/src/ConfirmDialog/ConfirmDialog.test.js b/packages/containers/src/ConfirmDialog/ConfirmDialog.test.js
index bdd332eada2..3643033d9cd 100644
--- a/packages/containers/src/ConfirmDialog/ConfirmDialog.test.js
+++ b/packages/containers/src/ConfirmDialog/ConfirmDialog.test.js
@@ -12,22 +12,21 @@ import { showConfirmDialog, hideConfirmDialog } from './showHideConfirmDialog';
jest.mock(
'@talend/react-components/lib/ConfirmDialog',
() =>
- ({ cancelAction, validateAction, show, ...props }) =>
- (
-
-
-
-
- ),
+ ({ cancelAction, validateAction, show, ...props }) => (
+
+
+
+
+ ),
);
jest.unmock('@talend/design-system');
diff --git a/packages/containers/src/cmfModule.js b/packages/containers/src/cmfModule.js
index 975eabdf015..dd9d1242fb8 100644
--- a/packages/containers/src/cmfModule.js
+++ b/packages/containers/src/cmfModule.js
@@ -3,20 +3,23 @@ import { cmfConnect } from '@talend/react-cmf';
import * as allComponents from '@talend/react-components';
import * as containers from './containers';
-const components = Object.keys(allComponents).reduce((acc, key) => {
- if (!acc[key] && typeof allComponents[key] === 'function') {
- const options = {};
- if (['ActionList', 'AppSwitcher', 'Layout', 'RichLayout', 'Dialog'].includes(key)) {
- options.withComponentRegistry = true;
+const components = Object.keys(allComponents).reduce(
+ (acc, key) => {
+ if (!acc[key] && typeof allComponents[key] === 'function') {
+ const options = {};
+ if (['ActionList', 'AppSwitcher', 'Layout', 'RichLayout', 'Dialog'].includes(key)) {
+ options.withComponentRegistry = true;
+ }
+ if (!allComponents[key].displayName) {
+ allComponents[key].displayName = key;
+ }
+ // eslint-disable-next-line no-param-reassign
+ acc[key] = cmfConnect(options)(allComponents[key]);
}
- if (!allComponents[key].displayName) {
- allComponents[key].displayName = key;
- }
- // eslint-disable-next-line no-param-reassign
- acc[key] = cmfConnect(options)(allComponents[key]);
- }
- return acc;
-}, omit(containers, ['actionAPI']));
+ return acc;
+ },
+ omit(containers, ['actionAPI']),
+);
export default {
id: 'containers',
diff --git a/packages/dataviz/package.json b/packages/dataviz/package.json
index dc8f1d4954c..e150bc29bd2 100644
--- a/packages/dataviz/package.json
+++ b/packages/dataviz/package.json
@@ -67,6 +67,7 @@
"@testing-library/user-event": "^13.5.0",
"@types/classnames": "^2.3.1",
"@types/d3": "^7.4.3",
+ "@types/cypress": "^1.1.3",
"@types/geojson": "^7946.0.13",
"@types/lodash": "^4.14.201",
"@types/node": "^6.14.13",
diff --git a/packages/design-docs/package.json b/packages/design-docs/package.json
index 8a925817c29..b090441d102 100644
--- a/packages/design-docs/package.json
+++ b/packages/design-docs/package.json
@@ -46,7 +46,6 @@
"@storybook/addons": "^7.5.3",
"@storybook/core-events": "^7.5.3",
"@storybook/preset-scss": "^1.0.3",
- "@storybook/react-webpack5": "^7.5.3",
"@storybook/testing-library": "^0.2.2",
"@storybook/testing-react": "^2.0.1",
"@storybook/theming": "^7.5.3",
@@ -59,6 +58,7 @@
"@talend/locales-tui-forms": "^10.2.4",
"@talend/scripts-core": "^16.1.0",
"@talend/scripts-config-babel": "^13.1.0",
+ "@talend/scripts-config-react-webpack": "^16.2.0",
"@talend/scripts-config-storybook-lib": "^5.1.0",
"@talend/scripts-config-typescript": "^11.1.0",
"@types/react": "^18.2.37",
diff --git a/packages/design-system/src/stories/form/ToggleSwitch/ToggleSwitch.mdx b/packages/design-system/src/stories/form/ToggleSwitch/ToggleSwitch.mdx
index 7dfdd89c6de..8c9e2cbaa4e 100644
--- a/packages/design-system/src/stories/form/ToggleSwitch/ToggleSwitch.mdx
+++ b/packages/design-system/src/stories/form/ToggleSwitch/ToggleSwitch.mdx
@@ -1,6 +1,8 @@
import { Canvas, Meta, Story } from '@storybook/addon-docs';
+
import { FigmaImage, Use } from '@talend/storybook-docs';
-import { Form, ToggleSwitch } from '@talend/design-system';
+
+import { Form, ToggleSwitch } from '../../../';
import * as Stories from './ToggleSwitch.stories';
diff --git a/packages/design-tokens/jest.config.js b/packages/design-tokens/jest.config.js
new file mode 100644
index 00000000000..603f020ff46
--- /dev/null
+++ b/packages/design-tokens/jest.config.js
@@ -0,0 +1,4 @@
+module.exports = {
+ testEnvironment: 'jest-environment-jsdom',
+ testRegex: '(/__tests__/.*|src/|scripts/).*\\.test.(js|ts|tsx)$',
+};
diff --git a/packages/design-tokens/package.json b/packages/design-tokens/package.json
index d5773411a22..79ec90f1a5e 100644
--- a/packages/design-tokens/package.json
+++ b/packages/design-tokens/package.json
@@ -34,9 +34,17 @@
"access": "public"
},
"devDependencies": {
+ "@talend/eslint-config": "^12.2.0",
+ "@talend/eslint-plugin": "^1.0.1",
"@talend/scripts-core": "^16.1.0",
"@talend/scripts-config-react-webpack": "^16.2.0",
- "typeface-source-sans-pro": "^1.1.13"
+ "@talend/scripts-config-typescript": "^11.1.0",
+ "@talend/babel-plugin-import-from-index": "^1.5.1",
+ "@talend/babel-plugin-assets-api": "^1.1.0",
+ "jest": "^29.7.0",
+ "jest-environment-jsdom": "^29.7.0",
+ "typeface-source-sans-pro": "^1.1.13",
+ "webpack": "^5.88.2"
},
"dependencies": {}
}
diff --git a/packages/flow-designer/package.json b/packages/flow-designer/package.json
index 73ca49acd9b..de2b719e2d5 100644
--- a/packages/flow-designer/package.json
+++ b/packages/flow-designer/package.json
@@ -18,16 +18,25 @@
"author": "Talend ",
"license": "Apache-2.0",
"devDependencies": {
+ "@talend/babel-plugin-import-from-index": "^1.5.1",
+ "@talend/babel-plugin-assets-api": "^1.1.0",
+ "@talend/eslint-config": "^12.2.0",
+ "@talend/eslint-plugin": "^1.0.1",
"@talend/scripts-config-jest": "^13.0.0",
"@talend/scripts-core": "^16.1.0",
+ "@talend/scripts-config-typescript": "^11.1.0",
"@talend/scripts-config-react-webpack": "^16.2.0",
+ "@testing-library/react": "^12.1.5",
+ "@testing-library/jest-dom": "^5.17.0",
"@types/d3": "^7.4.3",
- "@types/enzyme": "^3.10.16",
"@types/invariant": "^2.2.37",
+ "@types/jest": "^29.5.5",
"@types/lodash": "^4.14.201",
+ "@types/node": "^6.14.13",
+ "@types/prop-types": "^15.7.5",
+ "@types/react": "^18.2.37",
"@types/react-redux": "^7.1.30",
"@types/react-test-renderer": "^18.0.6",
- "@types/react": "^18.2.37",
"@types/redux-mock-store": "^1.0.6",
"@types/redux-thunk": "^2.1.0",
"i18next": "^23.6.0",
diff --git a/packages/flow-designer/src/components/node/AbstractNode.test.tsx b/packages/flow-designer/src/components/node/AbstractNode.test.tsx
index 4be29513683..ac7673986a1 100644
--- a/packages/flow-designer/src/components/node/AbstractNode.test.tsx
+++ b/packages/flow-designer/src/components/node/AbstractNode.test.tsx
@@ -1,3 +1,4 @@
+import '@testing-library/jest-dom';
import { fireEvent, render, screen } from '@testing-library/react';
import {
diff --git a/packages/flow-designer/tsconfig.json b/packages/flow-designer/tsconfig.json
index 0a281ba5d05..58c9b91708b 100644
--- a/packages/flow-designer/tsconfig.json
+++ b/packages/flow-designer/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../node_modules/@talend/scripts-config-typescript/tsconfig.json",
+ "extends": "@talend/scripts-config-typescript/tsconfig.json",
"include": ["src/**/*"],
"compilerOptions": {
"declaration": true,
diff --git a/packages/forms/src/UIForm/Widget/Widget.component.js b/packages/forms/src/UIForm/Widget/Widget.component.js
index 5022be3bcf3..b4a84fb29ca 100644
--- a/packages/forms/src/UIForm/Widget/Widget.component.js
+++ b/packages/forms/src/UIForm/Widget/Widget.component.js
@@ -9,6 +9,7 @@ import shouldRender from '../utils/condition';
import theme from './Widget.component.module.scss';
import { useWidget } from '../context';
+// eslint-disable-next-line @typescript-eslint/default-param-last
function isUpdating(updatingKeys = [], key) {
if (updatingKeys.length === 0 || !key) {
return false;
diff --git a/packages/forms/src/UIForm/fields/CheckBox/displayMode/TextMode.module.scss b/packages/forms/src/UIForm/fields/CheckBox/displayMode/TextMode.module.scss
index 914116cf8b3..ccff0f25ad8 100644
--- a/packages/forms/src/UIForm/fields/CheckBox/displayMode/TextMode.module.scss
+++ b/packages/forms/src/UIForm/fields/CheckBox/displayMode/TextMode.module.scss
@@ -17,6 +17,7 @@
}
// override bootstrap style. This for is needed to write a bigger weight selector
+/* stylelint-disable-next-line selector-no-qualifying-type */
form div:not(.has-success):not(.has-warning):not(.has-error).checkbox label {
color: inherit;
font-size: inherit;
diff --git a/packages/forms/src/UIForm/fields/Datalist/Datalist.component.js b/packages/forms/src/UIForm/fields/Datalist/Datalist.component.js
index 9cd71f127eb..de27de0dff2 100644
--- a/packages/forms/src/UIForm/fields/Datalist/Datalist.component.js
+++ b/packages/forms/src/UIForm/fields/Datalist/Datalist.component.js
@@ -218,6 +218,7 @@ class Datalist extends Component {
{...this.state}
dataFeature={this.props.schema.dataFeature}
className="form-control-container"
+ // eslint-disable-next-line jsx-a11y/no-autofocus
autoFocus={this.props.schema.autoFocus}
disabled={this.props.schema.disabled || this.props.valueIsUpdating}
multiSection={get(this.props, 'schema.options.isMultiSection', false)}
diff --git a/packages/forms/src/UIForm/fields/Date/Date.component.js b/packages/forms/src/UIForm/fields/Date/Date.component.js
index 37c7eef45d3..a3c9ef6ca4e 100644
--- a/packages/forms/src/UIForm/fields/Date/Date.component.js
+++ b/packages/forms/src/UIForm/fields/Date/Date.component.js
@@ -55,6 +55,7 @@ function DateWidget(props) {
valueIsUpdating={valueIsUpdating}
>
{
],
},
};
+
beforeEach(() => {
jest.resetAllMocks();
});
+
it('should render default File', () => {
// when
const { container } = render();
@@ -118,10 +121,12 @@ describe('File field', () => {
const fileInput = document.querySelector('input[type="file"]');
await userEvent.upload(fileInput, blob);
- expect(propsWithPresignedUrlTrigger.onTrigger).toHaveBeenCalledWith(expect.anything(), {
- schema: propsWithPresignedUrlTrigger.schema,
- trigger: propsWithPresignedUrlTrigger.schema.triggers[0],
- });
+ await waitFor(() =>
+ expect(propsWithPresignedUrlTrigger.onTrigger).toHaveBeenCalledWith(expect.anything(), {
+ schema: propsWithPresignedUrlTrigger.schema,
+ trigger: propsWithPresignedUrlTrigger.schema.triggers[0],
+ }),
+ );
});
it('should not change filename in state when props are not updated', () => {
diff --git a/packages/forms/src/UIForm/fields/MultiSelectTag/MultiSelectTag.component.js b/packages/forms/src/UIForm/fields/MultiSelectTag/MultiSelectTag.component.js
index ab489e681f3..fd18b757889 100644
--- a/packages/forms/src/UIForm/fields/MultiSelectTag/MultiSelectTag.component.js
+++ b/packages/forms/src/UIForm/fields/MultiSelectTag/MultiSelectTag.component.js
@@ -254,6 +254,7 @@ export default class MultiSelectTag extends Component {
",
"license": "Apache-2.0",
"devDependencies": {
+ "@talend/dynamic-cdn-webpack-plugin": "^13.0.1",
"@talend/eslint-config": "^12.2.0",
"@talend/eslint-plugin": "^1.0.1",
"@talend/scripts-core": "^16.1.0",
"@talend/scripts-config-babel": "^13.1.0",
"@talend/scripts-config-stylelint": "^4.0.0",
+ "body-parser": "1.20.1",
"compression": "^1.7.4",
+ "copy-webpack-plugin": "^10.2.4",
"cross-env": "^7.0.3",
"express": "^4.18.2",
- "i18next-http-backend": "^1.4.5"
+ "i18next-http-backend": "^1.4.5",
+ "webpack": "^5.88.2"
},
"dependencies": {
"@talend/bootstrap-theme": "^8.2.1",
"@talend/react-bootstrap": "^2.1.0",
"@talend/assets-api": "^1.2.2",
+ "@talend/design-system": "^8.1.3",
+ "@talend/design-tokens": "^2.9.0",
"@talend/icons": "^7.1.0",
+ "@talend/locales-tui-components": "^11.4.5",
+ "@talend/locales-tui-containers": "^9.1.3",
+ "@talend/locales-tui-forms": "^10.2.4",
"@talend/react-cmf": "^8.1.0",
"@talend/react-cmf-router": "^6.1.0",
"@talend/react-components": "^12.1.0",
diff --git a/packages/playground/webpack.config.dev.js b/packages/playground/webpack.config.dev.js
index 080650d90fa..93942c7d875 100644
--- a/packages/playground/webpack.config.dev.js
+++ b/packages/playground/webpack.config.dev.js
@@ -30,7 +30,6 @@ const PKGS = [
'@talend/assets-api',
'@talend/design-tokens',
'@talend/design-system',
- '@talend/design-tokens',
'@talend/react-bootstrap',
'@talend/react-components',
'@talend/react-containers',
diff --git a/packages/stepper/package.json b/packages/stepper/package.json
index e2870006eec..e8c2d948921 100644
--- a/packages/stepper/package.json
+++ b/packages/stepper/package.json
@@ -34,6 +34,7 @@
},
"dependencies": {
"@talend/design-system": "^8.1.3",
+ "@talend/design-tokens": "^2.9.0",
"@talend/react-components": "^12.1.0",
"classnames": "^2.3.2",
"invariant": "^2.2.4",
diff --git a/packages/storybook-cmf/package.json b/packages/storybook-cmf/package.json
index 9df9a30f1ad..ed1e1847bc3 100644
--- a/packages/storybook-cmf/package.json
+++ b/packages/storybook-cmf/package.json
@@ -39,7 +39,7 @@
"prop-types": "^15.8.1"
},
"peerDependencies": {
- "@talend/react-cmf": "^8.0.0",
+ "@talend/react-cmf": "^8.1.0",
"react": ">= 16.14.0",
"react-dom": ">= 16.14.0",
"react-redux": "^7.2.9",
diff --git a/packages/storybook-docs/package.json b/packages/storybook-docs/package.json
index d9607c5c69b..b2e72e9c23c 100644
--- a/packages/storybook-docs/package.json
+++ b/packages/storybook-docs/package.json
@@ -44,8 +44,8 @@
"@talend/scripts-config-storybook-lib": "^5.1.0",
"@talend/scripts-config-typescript": "^11.1.0",
"@types/node": "^6.14.13",
- "@types/react": "^17.0.70",
- "@types/react-dom": "^17.0.23",
+ "@types/react": "^18.2.37",
+ "@types/react-dom": "^18.2.15",
"css-loader": "^4.3.0",
"mini-css-extract-plugin": "^2.7.6",
"postcss-loader": "^7.3.3",
diff --git a/packages/storybook-docs/src/components/FigmaContext.ts b/packages/storybook-docs/src/components/FigmaContext.ts
index 6b722678d34..eb363647dbd 100644
--- a/packages/storybook-docs/src/components/FigmaContext.ts
+++ b/packages/storybook-docs/src/components/FigmaContext.ts
@@ -3,10 +3,16 @@ import * as Figma from 'figma-js';
const token = process.env.STORYBOOK_FIGMA_ACCESS_TOKEN;
-export default createContext({
+interface FigmaClient extends ReturnType {
+ isConfigured: boolean;
+}
+
+export const FigmaContext = createContext({
// eslint-disable-next-line new-cap
...Figma.Client({
personalAccessToken: token,
}),
isConfigured: !!token,
});
+
+export default FigmaContext;
diff --git a/packages/storybook-docs/src/components/Trial/Trial.stories.tsx b/packages/storybook-docs/src/components/Trial/Trial.stories.tsx
index 3ab5c25ffc5..febc0bdcc41 100644
--- a/packages/storybook-docs/src/components/Trial/Trial.stories.tsx
+++ b/packages/storybook-docs/src/components/Trial/Trial.stories.tsx
@@ -2,9 +2,11 @@ import { Trial } from './Trial';
import { Meta, StoryFn } from '@storybook/react';
-export default {
+const meta: Meta = {
component: Trial,
-} as Meta;
+};
+
+export default meta;
export const Story: StoryFn = () => {
return Trial component;
diff --git a/packages/storybook-one/.storybook/main.js b/packages/storybook-one/.storybook/main.js
index b1bcc023b84..bb3f6bf3391 100644
--- a/packages/storybook-one/.storybook/main.js
+++ b/packages/storybook-one/.storybook/main.js
@@ -12,8 +12,8 @@ const STORIES = [
titlePrefix: 'Design System',
directory: `${rootPath}/../design-system/src`,
},
- `${rootPath}/../components/**/*.stories.@(js|tsx)`,
- `${rootPath}/../forms/**/*.stories.@(js|tsx)`,
+ `${rootPath}/../components/src/**/*.stories.@(js|tsx)`,
+ `${rootPath}/../forms/src/**/*.stories.@(js|tsx)`,
`${rootPath}/../dataviz/src/**/*.stories.@(js|tsx)`,
`${rootPath}/../icons/stories/**/*.stories.@(js|tsx)`,
`${rootPath}/../faceted-search/stories/**/*.stories.@(js|tsx)`,
diff --git a/packages/storybook-one/package.json b/packages/storybook-one/package.json
index 5ce60ce18a2..1bac8ffd2e9 100644
--- a/packages/storybook-one/package.json
+++ b/packages/storybook-one/package.json
@@ -28,6 +28,7 @@
"@talend/react-components": "^12.1.0",
"@talend/react-forms": "^12.0.0",
"@talend/react-dataviz": "^4.1.0",
+ "lodash": "^4.17.21",
"pkg-dir": "^7.0.0",
"react-hook-form": "^7.48.2"
},
@@ -43,7 +44,6 @@
"@storybook/addons": "^7.5.3",
"@storybook/core-events": "^7.5.3",
"@storybook/preset-scss": "^1.0.3",
- "@storybook/react-webpack5": "^7.5.3",
"@storybook/testing-library": "^0.2.2",
"@storybook/testing-react": "^2.0.1",
"@storybook/theming": "^7.5.3",
@@ -55,6 +55,7 @@
"@talend/locales-tui-faceted-search": "^11.3.0",
"@talend/locales-tui-forms": "^10.2.4",
"@talend/scripts-config-babel": "^13.1.0",
+ "@talend/scripts-config-react-webpack": "^16.2.0",
"@talend/scripts-config-storybook-lib": "^5.1.0",
"@talend/scripts-config-typescript": "^11.1.0",
"@talend/scripts-core": "^16.1.0",
diff --git a/packages/theme/package.json b/packages/theme/package.json
index e08e535ec10..bfb830eaf92 100644
--- a/packages/theme/package.json
+++ b/packages/theme/package.json
@@ -28,11 +28,12 @@
},
"dependencies": {
"@talend/bootstrap-sass": "^3.5.0",
- "@talend/design-tokens": "^2.9.0",
- "@talend/icons": "^7.1.0"
+ "@talend/design-tokens": "^2.9.0"
},
"devDependencies": {
- "@talend/icons": "^7.1.0",
+ "@talend/eslint-config": "^12.2.0",
+ "@talend/eslint-plugin": "^1.0.1",
+ "@talend/scripts-config-stylelint": "^4.0.0",
"@talend/scripts-core": "^16.1.0",
"copy-webpack-plugin": "^10.2.4",
"css-minimizer-webpack-plugin": "^4.2.2",
diff --git a/packages/theme/webpack.config.js b/packages/theme/webpack.config.js
index ccf1f08de1c..2ffb9d6c2da 100644
--- a/packages/theme/webpack.config.js
+++ b/packages/theme/webpack.config.js
@@ -25,7 +25,7 @@ module.exports = (env, argv) => {
test: /\.woff(2)?(\?[a-z0-9=&.]+)?$/,
use: [
{
- loader: 'file-loader',
+ loader: require.resolve('file-loader'),
options: {
outputPath: 'fonts',
name: '[name].[ext]',
@@ -38,17 +38,17 @@ module.exports = (env, argv) => {
test: /bootstrap\.scss$/,
use: [
{
- loader: isDev ? 'style-loader' : MiniCssExtractPlugin.loader,
+ loader: isDev ? require.resolve('style-loader') : MiniCssExtractPlugin.loader,
},
{
- loader: 'css-loader',
+ loader: require.resolve('css-loader'),
options: {
importLoaders: 3,
sourceMap: true,
},
},
{
- loader: 'postcss-loader',
+ loader: require.resolve('postcss-loader'),
options: {
postcssOptions: {
plugins: [postcssPresetEnv({ browsers: 'last 2 versions' })],
@@ -57,7 +57,7 @@ module.exports = (env, argv) => {
},
},
{
- loader: 'sass-loader',
+ loader: require.resolve('sass-loader'),
options: {
sourceMap: true,
},
diff --git a/packages/utils/package.json b/packages/utils/package.json
index 0e6e00ae128..decae8027f5 100644
--- a/packages/utils/package.json
+++ b/packages/utils/package.json
@@ -20,7 +20,14 @@
"extends": "talend-scripts extends"
},
"devDependencies": {
+ "@talend/eslint-config": "^12.2.0",
+ "@talend/eslint-plugin": "^1.0.1",
"@talend/scripts-core": "^16.1.0",
+ "@talend/scripts-config-jest": "^13.0.0",
+ "@talend/scripts-config-stylelint": "^4.0.0",
+ "@talend/scripts-config-typescript": "^11.1.0",
+ "@types/date-fns": "^0.0.2",
+ "@types/lodash": "^4.14.201",
"cross-env": "^7.0.3"
},
"dependencies": {
diff --git a/packages/utils/tsconfig.json b/packages/utils/tsconfig.json
index 636087290d4..03264a1df9f 100644
--- a/packages/utils/tsconfig.json
+++ b/packages/utils/tsconfig.json
@@ -1,5 +1,5 @@
{
- "extends": "../../node_modules/@talend/scripts-config-typescript/tsconfig.json",
+ "extends": "@talend/scripts-config-typescript/tsconfig.json",
"include": ["src/**/*"],
"compilerOptions": {
"declaration": true,
diff --git a/yarn.lock b/yarn.lock
index bac66d7e7de..f51487e858f 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2335,7 +2335,7 @@
"@types/set-cookie-parser" "^2.4.0"
set-cookie-parser "^2.4.6"
-"@mswjs/interceptors@^0.17.5":
+"@mswjs/interceptors@^0.17.10", "@mswjs/interceptors@^0.17.5":
version "0.17.10"
resolved "https://registry.yarnpkg.com/@mswjs/interceptors/-/interceptors-0.17.10.tgz#857b41f30e2b92345ed9a4e2b1d0a08b8b6fcad4"
integrity sha512-N8x7eSLGcmUFNWZRxT1vsHvypzIRgQYdG0rJey/rZCy6zT/30qDt8Joj7FxzGNLSwXbeZqJOMqDurp7ra4hgbw==
@@ -4283,13 +4283,6 @@
resolved "https://registry.yarnpkg.com/@types/chai/-/chai-3.5.2.tgz#c11cd2817d3a401b7ba0f5a420f35c56139b1c1e"
integrity sha512-+ZvkforUDGqwU1npZYIMPuszsInIypxL81rFAsCGDs9CRhAEWO6s3rpO+TfJk9mgUgxKNMnSVQa/npPPD4gJXw==
-"@types/cheerio@*":
- version "0.22.34"
- resolved "https://registry.yarnpkg.com/@types/cheerio/-/cheerio-0.22.34.tgz#a2becca3fff0b33697a0e8db20b77d0f8b65894f"
- integrity sha512-uoi5gQGpH5vdNrGOexnNm+19YZLdIRMF/IW8V6w1kIeoXaO1m2mVUMV4dl76tvRRKoIp9d/Z97ZYeIE4lacEsA==
- dependencies:
- "@types/node" "*"
-
"@types/classnames@^2.3.1":
version "2.3.1"
resolved "https://registry.yarnpkg.com/@types/classnames/-/classnames-2.3.1.tgz#3c2467aa0f1a93f1f021e3b9bcf938bd5dfdc0dd"
@@ -4338,6 +4331,13 @@
dependencies:
"@types/node" "*"
+"@types/cypress@^1.1.3":
+ version "1.1.3"
+ resolved "https://registry.yarnpkg.com/@types/cypress/-/cypress-1.1.3.tgz#0a700c040d53e9e12b5af98e41d4a88c39f39b6a"
+ integrity sha512-OXe0Gw8LeCflkG1oPgFpyrYWJmEKqYncBsD/J0r17r0ETx/TnIGDNLwXt/pFYSYuYTpzcq1q3g62M9DrfsBL4g==
+ dependencies:
+ cypress "*"
+
"@types/d3-array@*", "@types/d3-array@^3.0.3":
version "3.2.1"
resolved "https://registry.yarnpkg.com/@types/d3-array/-/d3-array-3.2.1.tgz#1f6658e3d2006c4fceac53fde464166859f8b8c5"
@@ -4580,14 +4580,6 @@
resolved "https://registry.yarnpkg.com/@types/emscripten/-/emscripten-1.39.10.tgz#da6e58a6171b46a41d3694f812d845d515c77e18"
integrity sha512-TB/6hBkYQJxsZHSqyeuO1Jt0AB/bW6G7rHt9g7lML7SOF6lbgcHvw/Lr+69iqN0qxgXLhWKScAon73JNnptuDw==
-"@types/enzyme@^3.10.16":
- version "3.10.16"
- resolved "https://registry.yarnpkg.com/@types/enzyme/-/enzyme-3.10.16.tgz#100c49093f694545fc903266b2eb410df08859a9"
- integrity sha512-17uMdJjSKjvdn/MhO/G2lRNPZGvJxFpvgONrsRoS1+khtJ6UcnCwC9v3gk2UqPyAkMZb6a1VYxScc/vOgkDl9w==
- dependencies:
- "@types/cheerio" "*"
- "@types/react" "^16"
-
"@types/escodegen@^0.0.6":
version "0.0.6"
resolved "https://registry.yarnpkg.com/@types/escodegen/-/escodegen-0.0.6.tgz#5230a9ce796e042cda6f086dbf19f22ea330659c"
@@ -4752,7 +4744,7 @@
"@types/jest" "*"
axe-core "^3.5.5"
-"@types/jest@*", "@types/jest@^29.5.8":
+"@types/jest@*", "@types/jest@^29.5.5", "@types/jest@^29.5.8":
version "29.5.8"
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.8.tgz#ed5c256fe2bc7c38b1915ee5ef1ff24a3427e120"
integrity sha512-fXEFTxMV2Co8ZF5aYFJv+YeA08RTYJfhtN5c9JSv/mFEMe+xxjufCb+PHL+bJcMs/ebPUsBu+UNTEz+ydXrR6g==
@@ -4926,7 +4918,7 @@
resolved "https://registry.yarnpkg.com/@types/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#ee1bd8c9f7a01b3445786aad0ef23aba5f511a44"
integrity sha512-nj39q0wAIdhwn7DGUyT9irmsKK1tV0bd5WFEhgpqNTMFZ8cE+jieuTphCW0tfdm47S2zVT5mr09B28b1chmQMA==
-"@types/prop-types@*", "@types/prop-types@^15.7.10":
+"@types/prop-types@*", "@types/prop-types@^15.7.10", "@types/prop-types@^15.7.5":
version "15.7.10"
resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.7.10.tgz#892afc9332c4d62a5ea7e897fe48ed2085bbb08a"
integrity sha512-mxSnDQxPqsZxmeShFH+uwQ4kO4gcJcGahjjMFeLbKE95IAZiiZyiEepGZjtXJ7hN/yfu0bu9xN2ajcU0JcxX6A==
@@ -4946,7 +4938,7 @@
resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.7.tgz#50ae4353eaaddc04044279812f52c8c65857dbcb"
integrity sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==
-"@types/react-dom@<18.0.0", "@types/react-dom@^17.0.23", "@types/react-dom@^18.2.15", "@types/react-dom@^18.2.7":
+"@types/react-dom@<18.0.0", "@types/react-dom@^18.2.15", "@types/react-dom@^18.2.7":
version "18.2.15"
resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.2.15.tgz#921af67f9ee023ac37ea84b1bc0cc40b898ea522"
integrity sha512-HWMdW+7r7MR5+PZqJF6YFNSCtjz1T0dsvo/f1BV6HkV+6erD/nA7wd9NM00KVG83zf2nJ7uATPO9ttdIPvi3gg==
@@ -4984,7 +4976,7 @@
dependencies:
"@types/react" "*"
-"@types/react@*", "@types/react@>=16", "@types/react@>=16.9.11", "@types/react@^16", "@types/react@^17.0.70", "@types/react@^18.2.37", "@types/react@^18.2.7":
+"@types/react@*", "@types/react@>=16", "@types/react@>=16.9.11", "@types/react@^18.2.37", "@types/react@^18.2.7":
version "18.2.37"
resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.37.tgz#0f03af69e463c0f19a356c2660dbca5d19c44cae"
integrity sha512-RGAYMi2bhRgEXT3f4B92WTohopH6bIXw05FuGlmJEnv/omEn190+QYEIYxIAuIBdKgboYYdVved2p1AxZVQnaw==
@@ -7937,7 +7929,7 @@ cubic2quad@^1.2.1:
resolved "https://registry.yarnpkg.com/cubic2quad/-/cubic2quad-1.2.1.tgz#2442260b72c02ee4b6a2fe998fcc1c4073622286"
integrity sha512-wT5Y7mO8abrV16gnssKdmIhIbA9wSkeMzhh27jAguKrV82i24wER0vL5TGhUJ9dbJNDcigoRZ0IAHFEEEI4THQ==
-cypress@^12.17.4:
+cypress@*, cypress@^12.17.4:
version "12.17.4"
resolved "https://registry.yarnpkg.com/cypress/-/cypress-12.17.4.tgz#b4dadf41673058493fa0d2362faa3da1f6ae2e6c"
integrity sha512-gAN8Pmns9MA5eCDFSDJXWKUpaL3IDd89N9TtIupjYnzLSmlpVr+ZR+vb4U/qaMp+lB6tBvAmt7504c3Z4RU5KQ==
@@ -10592,7 +10584,7 @@ graphlib@^2.1.8:
dependencies:
lodash "^4.17.15"
-"graphql@^15.0.0 || ^16.0.0":
+"graphql@^15.0.0 || ^16.0.0", graphql@^16.8.1:
version "16.8.1"
resolved "https://registry.yarnpkg.com/graphql/-/graphql-16.8.1.tgz#1930a965bef1170603702acdb68aedd3f3cf6f07"
integrity sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw==
@@ -11562,7 +11554,7 @@ is-negative-zero@^2.0.2:
resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150"
integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==
-is-node-process@^1.0.1:
+is-node-process@^1.0.1, is-node-process@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/is-node-process/-/is-node-process-1.2.0.tgz#ea02a1b90ddb3934a19aea414e88edef7e11d134"
integrity sha512-Vg4o6/fqPxIjtxgUH5QLJhwZ7gW5diGCVlXpuUfELC62CuxM1iHcRe51f2W1FDy04Ai4KJkagKjx3XaqyfRKXw==
@@ -13991,6 +13983,31 @@ msw@^0.49.3:
type-fest "^2.19.0"
yargs "^17.3.1"
+msw@^1.3.2:
+ version "1.3.2"
+ resolved "https://registry.yarnpkg.com/msw/-/msw-1.3.2.tgz#35e0271293e893fc3c55116e90aad5d955c66899"
+ integrity sha512-wKLhFPR+NitYTkQl5047pia0reNGgf0P6a1eTnA5aNlripmiz0sabMvvHcicE8kQ3/gZcI0YiPFWmYfowfm3lA==
+ dependencies:
+ "@mswjs/cookies" "^0.2.2"
+ "@mswjs/interceptors" "^0.17.10"
+ "@open-draft/until" "^1.0.3"
+ "@types/cookie" "^0.4.1"
+ "@types/js-levenshtein" "^1.1.1"
+ chalk "^4.1.1"
+ chokidar "^3.4.2"
+ cookie "^0.4.2"
+ graphql "^16.8.1"
+ headers-polyfill "3.2.5"
+ inquirer "^8.2.0"
+ is-node-process "^1.2.0"
+ js-levenshtein "^1.1.6"
+ node-fetch "^2.6.7"
+ outvariant "^1.4.0"
+ path-to-regexp "^6.2.0"
+ strict-event-emitter "^0.4.3"
+ type-fest "^2.19.0"
+ yargs "^17.3.1"
+
multicast-dns@^7.2.5:
version "7.2.5"
resolved "https://registry.yarnpkg.com/multicast-dns/-/multicast-dns-7.2.5.tgz#77eb46057f4d7adbd16d9290fa7299f6fa64cced"
@@ -14509,7 +14526,7 @@ outdent@^0.5.0:
resolved "https://registry.yarnpkg.com/outdent/-/outdent-0.5.0.tgz#9e10982fdc41492bb473ad13840d22f9655be2ff"
integrity sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q==
-outvariant@^1.2.1, outvariant@^1.3.0:
+outvariant@^1.2.1, outvariant@^1.3.0, outvariant@^1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/outvariant/-/outvariant-1.4.0.tgz#e742e4bda77692da3eca698ef5bfac62d9fba06e"
integrity sha512-AlWY719RF02ujitly7Kk/0QlV+pXGFDHrHf9O2OKqyqgBieaPOIeuSkL8sRK6j2WK+/ZAURq2kZsY0d8JapUiw==
@@ -19675,7 +19692,7 @@ webpack-virtual-modules@^0.5.0:
resolved "https://registry.yarnpkg.com/webpack-virtual-modules/-/webpack-virtual-modules-0.5.0.tgz#362f14738a56dae107937ab98ea7062e8bdd3b6c"
integrity sha512-kyDivFZ7ZM0BVOUteVbDFhlRt7Ah/CSPwJdi8hBpkK7QLumUqdLtVfm/PX/hkcnrvr0i77fO5+TjZ94Pe+C9iw==
-webpack@5, webpack@^5.89.0:
+webpack@5, webpack@^5.88.2, webpack@^5.89.0:
version "5.89.0"
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.89.0.tgz#56b8bf9a34356e93a6625770006490bf3a7f32dc"
integrity sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw==