Skip to content

Commit b6c2e0d

Browse files
authored
Merge pull request #28264 from storybookjs/version-patch-from-8.1.10
Release: Patch 8.1.11
2 parents 3fda293 + c05eb82 commit b6c2e0d

File tree

17 files changed

+1080
-2599
lines changed

17 files changed

+1080
-2599
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 8.1.11
2+
3+
- Telemetry: Detect Node version - [#28299](https://github.com/storybookjs/storybook/pull/28299), thanks @yannbf!
4+
- Test: Upgrade deps of @storybook/test - [#27862](https://github.com/storybookjs/storybook/pull/27862), thanks @kasperpeulen!
5+
16
## 8.1.10
27

38
- Addon-interactions: Fix deprecation warnings - [#28250](https://github.com/storybookjs/storybook/pull/28250), thanks @shilman!

code/.yarn/patches/@vitest-expect-npm-1.3.1-973071a540.patch renamed to code/.yarn/patches/@vitest-expect-npm-1.6.0-0e382f8212.patch

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

code/lib/telemetry/src/storybook-metadata.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ export const computeStorybookMetadata = async ({
104104

105105
try {
106106
const packageManagerType = await detect({ cwd: getProjectRoot() });
107-
const packageManagerVerson = await getNpmVersion(packageManagerType);
107+
const packageManagerVersion = await getNpmVersion(packageManagerType);
108108

109109
metadata.packageManager = {
110110
type: packageManagerType,
111-
version: packageManagerVerson,
111+
version: packageManagerVersion,
112112
};
113113
// Better be safe than sorry, some codebases/paths might end up breaking with something like "spawn pnpm ENOENT"
114114
// so we just set the package manager if the detection is successful

code/lib/telemetry/src/telemetry.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ const globalContext = {
4646
inCI: Boolean(process.env.CI),
4747
isTTY: process.stdout.isTTY,
4848
platform: getOperatingSystem(),
49+
nodeVersion: process.versions.node,
4950
} as Record<string, any>;
5051

5152
const prepareRequest = async (data: TelemetryData, context: Record<string, any>, options: any) => {

code/lib/test/package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323
"exports": {
2424
".": {
2525
"types": "./dist/index.d.ts",
26-
"node": "./dist/index.js",
26+
"import": "./dist/index.mjs",
2727
"require": "./dist/index.js",
28-
"import": "./dist/index.mjs"
28+
"node": "./dist/index.js",
29+
"default": "./dist/index.mjs"
2930
},
3031
"./package.json": "./package.json"
3132
},
@@ -47,11 +48,11 @@
4748
"@storybook/core-events": "workspace:*",
4849
"@storybook/instrumenter": "workspace:*",
4950
"@storybook/preview-api": "workspace:*",
50-
"@testing-library/dom": "^9.3.4",
51-
"@testing-library/jest-dom": "^6.4.2",
52-
"@testing-library/user-event": "^14.5.2",
53-
"@vitest/expect": "1.3.1",
54-
"@vitest/spy": "^1.3.1",
51+
"@testing-library/dom": "10.1.0",
52+
"@testing-library/jest-dom": "6.4.5",
53+
"@testing-library/user-event": "14.5.2",
54+
"@vitest/expect": "1.6.0",
55+
"@vitest/spy": "1.6.0",
5556
"util": "^0.12.4"
5657
},
5758
"devDependencies": {

code/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,8 @@
8080
"resolutions": {
8181
"@playwright/test": "1.36.0",
8282
"@storybook/theming": "workspace:*",
83-
"@testing-library/jest-dom/aria-query": "5.1.3",
8483
"@types/node": "^18.0.0",
85-
"@vitest/expect": "patch:@vitest/expect@npm%3A1.3.1#~/.yarn/patches/@vitest-expect-npm-1.3.1-973071a540.patch",
84+
"@vitest/expect": "patch:@vitest/expect@npm%3A1.6.0#~/.yarn/patches/@vitest-expect-npm-1.6.0-0e382f8212.patch",
8685
"esbuild": "^0.20.1",
8786
"playwright": "1.36.0",
8887
"playwright-core": "1.36.0",
@@ -176,7 +175,7 @@
176175
"@storybook/web-components-vite": "workspace:*",
177176
"@storybook/web-components-webpack5": "workspace:*",
178177
"@testing-library/dom": "^7.29.4",
179-
"@testing-library/jest-dom": "6.1.4",
178+
"@testing-library/jest-dom": "6.4.5",
180179
"@testing-library/react": "^14.0.0",
181180
"@testing-library/user-event": "^14.4.3",
182181
"@types/express": "^4.17.11",
@@ -299,5 +298,6 @@
299298
"Dependency Upgrades"
300299
]
301300
]
302-
}
301+
},
302+
"deferredNextVersion": "8.1.11"
303303
}

0 commit comments

Comments
 (0)