Skip to content

Commit c2d0f83

Browse files
Merge pull request #27230 from storybookjs/version-patch-from-8.1.2
Release: Patch 8.1.3
2 parents 487b028 + 3789286 commit c2d0f83

File tree

8 files changed

+60
-24
lines changed

8 files changed

+60
-24
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 8.1.3
2+
3+
- Angular: Support v18 - [#27237](https://github.com/storybookjs/storybook/pull/27237), thanks @valentinpalkovic!
4+
- Telemetry: Add test packages - [#27226](https://github.com/storybookjs/storybook/pull/27226), thanks @shilman!
5+
16
## 8.1.2
27

38
- Angular: Fix filtering of workspace config styles - [#27108](https://github.com/storybookjs/storybook/pull/27108), thanks @valentinpalkovic!

code/frameworks/angular/package.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,17 @@
8787
"zone.js": "^0.14.2"
8888
},
8989
"peerDependencies": {
90-
"@angular-devkit/architect": ">=0.1500.0 < 0.1800.0",
91-
"@angular-devkit/build-angular": ">=15.0.0 < 18.0.0",
92-
"@angular-devkit/core": ">=15.0.0 < 18.0.0",
93-
"@angular/cli": ">=15.0.0 < 18.0.0",
94-
"@angular/common": ">=15.0.0 < 18.0.0",
95-
"@angular/compiler": ">=15.0.0 < 18.0.0",
96-
"@angular/compiler-cli": ">=15.0.0 < 18.0.0",
97-
"@angular/core": ">=15.0.0 < 18.0.0",
98-
"@angular/forms": ">=15.0.0 < 18.0.0",
99-
"@angular/platform-browser": ">=15.0.0 < 18.0.0",
100-
"@angular/platform-browser-dynamic": ">=15.0.0 < 18.0.0",
90+
"@angular-devkit/architect": ">=0.1500.0 < 0.1900.0",
91+
"@angular-devkit/build-angular": ">=15.0.0 < 19.0.0",
92+
"@angular-devkit/core": ">=15.0.0 < 19.0.0",
93+
"@angular/cli": ">=15.0.0 < 19.0.0",
94+
"@angular/common": ">=15.0.0 < 19.0.0",
95+
"@angular/compiler": ">=15.0.0 < 19.0.0",
96+
"@angular/compiler-cli": ">=15.0.0 < 19.0.0",
97+
"@angular/core": ">=15.0.0 < 19.0.0",
98+
"@angular/forms": ">=15.0.0 < 19.0.0",
99+
"@angular/platform-browser": ">=15.0.0 < 19.0.0",
100+
"@angular/platform-browser-dynamic": ">=15.0.0 < 19.0.0",
101101
"rxjs": "^6.0.0 || ^7.4.0",
102102
"typescript": "^4.0.0 || ^5.0.0",
103103
"zone.js": ">= 0.11.1 < 1.0.0"

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

+28
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,34 @@ export const computeStorybookMetadata = async ({
6969
};
7070
}
7171

72+
const testPackages = [
73+
'playwright',
74+
'vitest',
75+
'jest',
76+
'cypress',
77+
'nightwatch',
78+
'webdriver',
79+
'@web/test-runner',
80+
'puppeteer',
81+
'karma',
82+
'jasmine',
83+
'chai',
84+
'testing-library',
85+
'@ngneat/spectator',
86+
'wdio',
87+
'msw',
88+
'miragejs',
89+
'sinon',
90+
];
91+
const testPackageDeps = Object.keys(allDependencies).filter((dep) =>
92+
testPackages.find((pkg) => dep.includes(pkg))
93+
);
94+
metadata.testPackages = Object.fromEntries(
95+
await Promise.all(
96+
testPackageDeps.map(async (dep) => [dep, (await getActualPackageVersion(dep))?.version])
97+
)
98+
);
99+
72100
const monorepoType = getMonorepoType();
73101
if (monorepoType) {
74102
metadata.monorepo = monorepoType;

code/lib/telemetry/src/types.ts

+1
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export type StorybookMetadata = {
5454
packageName: string;
5555
version: string;
5656
};
57+
testPackages?: Record<string, string | undefined>;
5758
hasStorybookEslint?: boolean;
5859
hasStaticDirs?: boolean;
5960
hasCustomWebpack?: boolean;

code/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -299,5 +299,6 @@
299299
"Dependency Upgrades"
300300
]
301301
]
302-
}
302+
},
303+
"deferredNextVersion": "8.1.3"
303304
}

code/yarn.lock

+11-11
Original file line numberDiff line numberDiff line change
@@ -5537,17 +5537,17 @@ __metadata:
55375537
webpack: "npm:5"
55385538
zone.js: "npm:^0.14.2"
55395539
peerDependencies:
5540-
"@angular-devkit/architect": ">=0.1500.0 < 0.1800.0"
5541-
"@angular-devkit/build-angular": ">=15.0.0 < 18.0.0"
5542-
"@angular-devkit/core": ">=15.0.0 < 18.0.0"
5543-
"@angular/cli": ">=15.0.0 < 18.0.0"
5544-
"@angular/common": ">=15.0.0 < 18.0.0"
5545-
"@angular/compiler": ">=15.0.0 < 18.0.0"
5546-
"@angular/compiler-cli": ">=15.0.0 < 18.0.0"
5547-
"@angular/core": ">=15.0.0 < 18.0.0"
5548-
"@angular/forms": ">=15.0.0 < 18.0.0"
5549-
"@angular/platform-browser": ">=15.0.0 < 18.0.0"
5550-
"@angular/platform-browser-dynamic": ">=15.0.0 < 18.0.0"
5540+
"@angular-devkit/architect": ">=0.1500.0 < 0.1900.0"
5541+
"@angular-devkit/build-angular": ">=15.0.0 < 19.0.0"
5542+
"@angular-devkit/core": ">=15.0.0 < 19.0.0"
5543+
"@angular/cli": ">=15.0.0 < 19.0.0"
5544+
"@angular/common": ">=15.0.0 < 19.0.0"
5545+
"@angular/compiler": ">=15.0.0 < 19.0.0"
5546+
"@angular/compiler-cli": ">=15.0.0 < 19.0.0"
5547+
"@angular/core": ">=15.0.0 < 19.0.0"
5548+
"@angular/forms": ">=15.0.0 < 19.0.0"
5549+
"@angular/platform-browser": ">=15.0.0 < 19.0.0"
5550+
"@angular/platform-browser-dynamic": ">=15.0.0 < 19.0.0"
55515551
rxjs: ^6.0.0 || ^7.4.0
55525552
typescript: ^4.0.0 || ^5.0.0
55535553
zone.js: ">= 0.11.1 < 1.0.0"

docs/configure/telemetry.md

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ Specifically, we track the following information in our telemetry events:
3535
- Builder (e.g., Webpack5, Vite).
3636
- Meta framework (e.g., [Next](https://nextjs.org/), [Gatsby](https://www.gatsbyjs.com/), [CRA](https://create-react-app.dev/)).
3737
- [Addons](https://storybook.js.org/integrations) (e.g., [Essentials](../essentials/index.md), [Accessibility](https://storybook.js.org/addons/@storybook/addon-a11y/)).
38+
- Testing tools (e.g. [Jest](https://jestjs.io/), [Vitest](https://vitest.dev/), [Playwright](https://playwright.dev/)).
3839
- Package manager information (e.g., `npm`, `yarn`).
3940
- Monorepo information (e.g., [NX](https://nx.dev/), [Turborepo](https://turborepo.org/)).
4041
- In-app events (e.g., [Storybook guided tour](https://github.com/storybookjs/addon-onboarding)).

docs/versions/latest.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"version":"8.1.2","info":{"plain":"- Angular: Fix filtering of workspace config styles - [#27108](https://github.com/storybookjs/storybook/pull/27108), thanks @valentinpalkovic!\n- Next.js: Avoid interfering with the svgr loader - [#27198](https://github.com/storybookjs/storybook/pull/27198), thanks @seanparmelee!"}}
1+
{"version":"8.1.3","info":{"plain":"- Angular: Support v18 - [#27237](https://github.com/storybookjs/storybook/pull/27237), thanks @valentinpalkovic!\n- Telemetry: Add test packages - [#27226](https://github.com/storybookjs/storybook/pull/27226), thanks @shilman!"}}

0 commit comments

Comments
 (0)