From 5763841195d09ecbb723db91587b32832f3b7bdb Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Mon, 19 Jun 2023 12:36:22 +0200 Subject: [PATCH] test canary version of sb testing-library --- code/addons/interactions/package.json | 2 +- code/lib/cli/src/generators/baseGenerator.ts | 2 +- code/package.json | 2 +- code/yarn.lock | 16 +++++++--------- scripts/package.json | 2 +- scripts/tasks/sandbox-parts.ts | 4 ++-- scripts/yarn.lock | 14 ++++++-------- 7 files changed, 19 insertions(+), 23 deletions(-) diff --git a/code/addons/interactions/package.json b/code/addons/interactions/package.json index 6e5292f49ab9..ca55d240c240 100644 --- a/code/addons/interactions/package.json +++ b/code/addons/interactions/package.json @@ -89,7 +89,7 @@ "devDependencies": { "@devtools-ds/object-inspector": "^1.1.2", "@storybook/jest": "future", - "@storybook/testing-library": "0.1.1--canary.958fe40.0", + "@storybook/testing-library": "0.2.0--canary.43.6cfe2cc.0", "@types/node": "^16.0.0", "formik": "^2.2.9", "typescript": "~4.9.3" diff --git a/code/lib/cli/src/generators/baseGenerator.ts b/code/lib/cli/src/generators/baseGenerator.ts index 76fd8231a6c3..a69fb1fe3948 100644 --- a/code/lib/cli/src/generators/baseGenerator.ts +++ b/code/lib/cli/src/generators/baseGenerator.ts @@ -246,7 +246,7 @@ export async function baseGenerator( addons.push('@storybook/addon-interactions'); addonPackages.push( '@storybook/addon-interactions', - '@storybook/testing-library@0.1.1--canary.958fe40.0' + '@storybook/testing-library@0.2.0-future.1' ); } diff --git a/code/package.json b/code/package.json index babe3f7dd3cf..2f315866c534 100644 --- a/code/package.json +++ b/code/package.json @@ -184,7 +184,7 @@ "@storybook/svelte": "workspace:*", "@storybook/svelte-webpack5": "workspace:*", "@storybook/telemetry": "workspace:*", - "@storybook/testing-library": "0.1.1--canary.958fe40.0", + "@storybook/testing-library": "0.2.0--canary.43.6cfe2cc.0", "@storybook/theming": "workspace:*", "@storybook/types": "workspace:*", "@storybook/vue": "workspace:*", diff --git a/code/yarn.lock b/code/yarn.lock index 81c89fc41e17..54aac9d7cc48 100644 --- a/code/yarn.lock +++ b/code/yarn.lock @@ -5321,7 +5321,7 @@ __metadata: "@storybook/jest": future "@storybook/manager-api": 7.1.0-alpha.36 "@storybook/preview-api": 7.1.0-alpha.36 - "@storybook/testing-library": 0.1.1--canary.958fe40.0 + "@storybook/testing-library": 0.2.0--canary.43.6cfe2cc.0 "@storybook/theming": 7.1.0-alpha.36 "@storybook/types": 7.1.0-alpha.36 "@types/node": ^16.0.0 @@ -6077,7 +6077,7 @@ __metadata: languageName: unknown linkType: soft -"@storybook/client-logger@npm:7.1.0-alpha.29, @storybook/client-logger@npm:future": +"@storybook/client-logger@npm:7.1.0-alpha.29": version: 7.1.0-alpha.29 resolution: "@storybook/client-logger@npm:7.1.0-alpha.29" dependencies: @@ -7216,7 +7216,7 @@ __metadata: "@storybook/svelte": "workspace:*" "@storybook/svelte-webpack5": "workspace:*" "@storybook/telemetry": "workspace:*" - "@storybook/testing-library": 0.1.1--canary.958fe40.0 + "@storybook/testing-library": 0.2.0--canary.43.6cfe2cc.0 "@storybook/theming": "workspace:*" "@storybook/types": "workspace:*" "@storybook/vue": "workspace:*" @@ -7485,16 +7485,14 @@ __metadata: languageName: unknown linkType: soft -"@storybook/testing-library@npm:0.1.1--canary.958fe40.0": - version: 0.1.1--canary.958fe40.0 - resolution: "@storybook/testing-library@npm:0.1.1--canary.958fe40.0" +"@storybook/testing-library@npm:0.2.0--canary.43.6cfe2cc.0": + version: 0.2.0--canary.43.6cfe2cc.0 + resolution: "@storybook/testing-library@npm:0.2.0--canary.43.6cfe2cc.0" dependencies: - "@storybook/client-logger": future - "@storybook/instrumenter": future "@testing-library/dom": ^9.3.1 "@testing-library/user-event": ^14.4.3 ts-dedent: ^2.2.0 - checksum: 49daf6346c0372b0daed589547558153ec43fe26b440c98bb3f987cd178a0771b84596ef4357dfe3f270f54f8f540d31bdcd145cc485a6d5293508b61b462875 + checksum: da91b04fc75dba53e76f4443f398baf70d6e66a144d9005a8220c22dba3fae1370f335ff3a60f531791b6afa03fbe9bca2ed935224aa7d0997ae83a7fc6b4e6a languageName: node linkType: hard diff --git a/scripts/package.json b/scripts/package.json index 3f9cf030f8c8..834c03ec326d 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -72,7 +72,7 @@ "@storybook/eslint-config-storybook": "^3.1.2", "@storybook/jest": "future", "@storybook/linter-config": "^3.1.2", - "@storybook/testing-library": "0.1.1--canary.958fe40.0", + "@storybook/testing-library": "0.2.0--canary.43.6cfe2cc.0", "@swc/core": "^1.3.23", "@testing-library/dom": "^9.3.0", "@testing-library/jest-dom": "^5.11.9", diff --git a/scripts/tasks/sandbox-parts.ts b/scripts/tasks/sandbox-parts.ts index 58fe4402e475..88524777aad2 100644 --- a/scripts/tasks/sandbox-parts.ts +++ b/scripts/tasks/sandbox-parts.ts @@ -353,8 +353,8 @@ async function addExtraDependencies({ // web-components doesn't install '@storybook/testing-library' by default const extraDeps = [ '@storybook/jest@future', - '@storybook/testing-library@0.1.1--canary.958fe40.0', - '@storybook/test-runner@future', + '@storybook/testing-library@0.2.0--canary.43.6cfe2cc.0', + '@storybook/test-runner@next', ]; if (debug) logger.log('🎁 Adding extra deps', extraDeps); if (!dryRun) { diff --git a/scripts/yarn.lock b/scripts/yarn.lock index 799cea76ffe2..b35e8d7abb15 100644 --- a/scripts/yarn.lock +++ b/scripts/yarn.lock @@ -2803,7 +2803,7 @@ __metadata: languageName: node linkType: hard -"@storybook/client-logger@npm:7.1.0-alpha.29, @storybook/client-logger@npm:future": +"@storybook/client-logger@npm:7.1.0-alpha.29": version: 7.1.0-alpha.29 resolution: "@storybook/client-logger@npm:7.1.0-alpha.29" dependencies: @@ -2960,7 +2960,7 @@ __metadata: "@storybook/eslint-config-storybook": ^3.1.2 "@storybook/jest": future "@storybook/linter-config": ^3.1.2 - "@storybook/testing-library": 0.1.1--canary.958fe40.0 + "@storybook/testing-library": 0.2.0--canary.43.6cfe2cc.0 "@swc/core": ^1.3.23 "@testing-library/dom": ^9.3.0 "@testing-library/jest-dom": ^5.11.9 @@ -3080,16 +3080,14 @@ __metadata: languageName: unknown linkType: soft -"@storybook/testing-library@npm:0.1.1--canary.958fe40.0": - version: 0.1.1--canary.958fe40.0 - resolution: "@storybook/testing-library@npm:0.1.1--canary.958fe40.0" +"@storybook/testing-library@npm:0.2.0--canary.43.6cfe2cc.0": + version: 0.2.0--canary.43.6cfe2cc.0 + resolution: "@storybook/testing-library@npm:0.2.0--canary.43.6cfe2cc.0" dependencies: - "@storybook/client-logger": future - "@storybook/instrumenter": future "@testing-library/dom": ^9.3.1 "@testing-library/user-event": ^14.4.3 ts-dedent: ^2.2.0 - checksum: 49daf6346c0372b0daed589547558153ec43fe26b440c98bb3f987cd178a0771b84596ef4357dfe3f270f54f8f540d31bdcd145cc485a6d5293508b61b462875 + checksum: da91b04fc75dba53e76f4443f398baf70d6e66a144d9005a8220c22dba3fae1370f335ff3a60f531791b6afa03fbe9bca2ed935224aa7d0997ae83a7fc6b4e6a languageName: node linkType: hard