Skip to content

Commit

Permalink
Merge pull request #27230 from storybookjs/version-patch-from-8.1.2
Browse files Browse the repository at this point in the history
Release: Patch 8.1.3
  • Loading branch information
valentinpalkovic committed May 23, 2024
2 parents 487b028 + 3789286 commit c2d0f83
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 24 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 8.1.3

- Angular: Support v18 - [#27237](https://github.com/storybookjs/storybook/pull/27237), thanks @valentinpalkovic!
- Telemetry: Add test packages - [#27226](https://github.com/storybookjs/storybook/pull/27226), thanks @shilman!

## 8.1.2

- Angular: Fix filtering of workspace config styles - [#27108](https://github.com/storybookjs/storybook/pull/27108), thanks @valentinpalkovic!
Expand Down
22 changes: 11 additions & 11 deletions code/frameworks/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,17 +87,17 @@
"zone.js": "^0.14.2"
},
"peerDependencies": {
"@angular-devkit/architect": ">=0.1500.0 < 0.1800.0",
"@angular-devkit/build-angular": ">=15.0.0 < 18.0.0",
"@angular-devkit/core": ">=15.0.0 < 18.0.0",
"@angular/cli": ">=15.0.0 < 18.0.0",
"@angular/common": ">=15.0.0 < 18.0.0",
"@angular/compiler": ">=15.0.0 < 18.0.0",
"@angular/compiler-cli": ">=15.0.0 < 18.0.0",
"@angular/core": ">=15.0.0 < 18.0.0",
"@angular/forms": ">=15.0.0 < 18.0.0",
"@angular/platform-browser": ">=15.0.0 < 18.0.0",
"@angular/platform-browser-dynamic": ">=15.0.0 < 18.0.0",
"@angular-devkit/architect": ">=0.1500.0 < 0.1900.0",
"@angular-devkit/build-angular": ">=15.0.0 < 19.0.0",
"@angular-devkit/core": ">=15.0.0 < 19.0.0",
"@angular/cli": ">=15.0.0 < 19.0.0",
"@angular/common": ">=15.0.0 < 19.0.0",
"@angular/compiler": ">=15.0.0 < 19.0.0",
"@angular/compiler-cli": ">=15.0.0 < 19.0.0",
"@angular/core": ">=15.0.0 < 19.0.0",
"@angular/forms": ">=15.0.0 < 19.0.0",
"@angular/platform-browser": ">=15.0.0 < 19.0.0",
"@angular/platform-browser-dynamic": ">=15.0.0 < 19.0.0",
"rxjs": "^6.0.0 || ^7.4.0",
"typescript": "^4.0.0 || ^5.0.0",
"zone.js": ">= 0.11.1 < 1.0.0"
Expand Down
28 changes: 28 additions & 0 deletions code/lib/telemetry/src/storybook-metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,34 @@ export const computeStorybookMetadata = async ({
};
}

const testPackages = [
'playwright',
'vitest',
'jest',
'cypress',
'nightwatch',
'webdriver',
'@web/test-runner',
'puppeteer',
'karma',
'jasmine',
'chai',
'testing-library',
'@ngneat/spectator',
'wdio',
'msw',
'miragejs',
'sinon',
];
const testPackageDeps = Object.keys(allDependencies).filter((dep) =>
testPackages.find((pkg) => dep.includes(pkg))
);
metadata.testPackages = Object.fromEntries(
await Promise.all(
testPackageDeps.map(async (dep) => [dep, (await getActualPackageVersion(dep))?.version])
)
);

const monorepoType = getMonorepoType();
if (monorepoType) {
metadata.monorepo = monorepoType;
Expand Down
1 change: 1 addition & 0 deletions code/lib/telemetry/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export type StorybookMetadata = {
packageName: string;
version: string;
};
testPackages?: Record<string, string | undefined>;
hasStorybookEslint?: boolean;
hasStaticDirs?: boolean;
hasCustomWebpack?: boolean;
Expand Down
3 changes: 2 additions & 1 deletion code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,5 +299,6 @@
"Dependency Upgrades"
]
]
}
},
"deferredNextVersion": "8.1.3"
}
22 changes: 11 additions & 11 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5537,17 +5537,17 @@ __metadata:
webpack: "npm:5"
zone.js: "npm:^0.14.2"
peerDependencies:
"@angular-devkit/architect": ">=0.1500.0 < 0.1800.0"
"@angular-devkit/build-angular": ">=15.0.0 < 18.0.0"
"@angular-devkit/core": ">=15.0.0 < 18.0.0"
"@angular/cli": ">=15.0.0 < 18.0.0"
"@angular/common": ">=15.0.0 < 18.0.0"
"@angular/compiler": ">=15.0.0 < 18.0.0"
"@angular/compiler-cli": ">=15.0.0 < 18.0.0"
"@angular/core": ">=15.0.0 < 18.0.0"
"@angular/forms": ">=15.0.0 < 18.0.0"
"@angular/platform-browser": ">=15.0.0 < 18.0.0"
"@angular/platform-browser-dynamic": ">=15.0.0 < 18.0.0"
"@angular-devkit/architect": ">=0.1500.0 < 0.1900.0"
"@angular-devkit/build-angular": ">=15.0.0 < 19.0.0"
"@angular-devkit/core": ">=15.0.0 < 19.0.0"
"@angular/cli": ">=15.0.0 < 19.0.0"
"@angular/common": ">=15.0.0 < 19.0.0"
"@angular/compiler": ">=15.0.0 < 19.0.0"
"@angular/compiler-cli": ">=15.0.0 < 19.0.0"
"@angular/core": ">=15.0.0 < 19.0.0"
"@angular/forms": ">=15.0.0 < 19.0.0"
"@angular/platform-browser": ">=15.0.0 < 19.0.0"
"@angular/platform-browser-dynamic": ">=15.0.0 < 19.0.0"
rxjs: ^6.0.0 || ^7.4.0
typescript: ^4.0.0 || ^5.0.0
zone.js: ">= 0.11.1 < 1.0.0"
Expand Down
1 change: 1 addition & 0 deletions docs/configure/telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Specifically, we track the following information in our telemetry events:
- Builder (e.g., Webpack5, Vite).
- Meta framework (e.g., [Next](https://nextjs.org/), [Gatsby](https://www.gatsbyjs.com/), [CRA](https://create-react-app.dev/)).
- [Addons](https://storybook.js.org/integrations) (e.g., [Essentials](../essentials/index.md), [Accessibility](https://storybook.js.org/addons/@storybook/addon-a11y/)).
- Testing tools (e.g. [Jest](https://jestjs.io/), [Vitest](https://vitest.dev/), [Playwright](https://playwright.dev/)).
- Package manager information (e.g., `npm`, `yarn`).
- Monorepo information (e.g., [NX](https://nx.dev/), [Turborepo](https://turborepo.org/)).
- In-app events (e.g., [Storybook guided tour](https://github.com/storybookjs/addon-onboarding)).
Expand Down
2 changes: 1 addition & 1 deletion docs/versions/latest.json
Original file line number Diff line number Diff line change
@@ -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!"}}
{"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 comments on commit c2d0f83

Please sign in to comment.