Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: Patch 7.0.22 #23100

Merged
merged 9 commits into from
Jun 17, 2023
19 changes: 0 additions & 19 deletions .github/workflows/check-release-tasks.yml

This file was deleted.

14 changes: 9 additions & 5 deletions .github/workflows/prepare-patch-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
prepare-patch-pull-request:
name: Prepare patch pull request
runs-on: ubuntu-latest
environment: release
defaults:
run:
working-directory: scripts
Expand All @@ -27,6 +28,7 @@ jobs:
uses: actions/checkout@v3
with:
ref: main
token: ${{ secrets.GH_TOKEN }}

- name: Setup Node.js
uses: actions/setup-node@v3
Expand Down Expand Up @@ -54,7 +56,7 @@ jobs:
id: check-frozen
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn release:is-pr-frozen
run: yarn release:is-pr-frozen --patch

- name: Cancel when frozen
if: steps.check-frozen.outputs.frozen == 'true' && github.event_name != 'workflow_dispatch'
Expand Down Expand Up @@ -136,13 +138,14 @@ jobs:
if PR_STATE=$(gh pr view --json state --jq .state 2>/dev/null) && [[ -n "$PR_STATE" && "$PR_STATE" == *"OPEN"* ]]; then
gh pr edit \
--repo "${{github.repository }}" \
--title "Bump version on \`main\`: patch from ${{ steps.versions.outputs.current }} to ${{ steps.versions.outputs.next }}" \
--title "Release: Patch ${{ steps.versions.outputs.next }}" \
--body "${{ steps.description.outputs.description }}"
else
gh pr create \
--repo "${{github.repository }}" \
--title "Bump version on \`main\`: patch from ${{ steps.versions.outputs.current }} to ${{ steps.versions.outputs.next }}" \
--title "Release: Patch ${{ steps.versions.outputs.next }}" \
--base latest-release \
--label "maintenance"
--head version-patch-from-${{ steps.versions.outputs.current }} \
--body "${{ steps.description.outputs.description }}"
fi
Expand All @@ -155,13 +158,14 @@ jobs:
if PR_STATE=$(gh pr view --json state --jq .state 2>/dev/null) && [[ -n "$PR_STATE" && "$PR_STATE" == *"OPEN"* ]]; then
gh pr edit \
--repo "${{github.repository }}"\
--title "Merge patches to \`main\`" \
--title "Release: Merge patches to \`main\` (without version bump)" \
--body "${{ steps.description.outputs.description }}"
else
gh pr create \
--repo "${{github.repository }}"\
--title "Merge patches to \`main\`" \
--title "Release: Merge patches to \`main\` (without version bump)" \
--base latest-release \
--label "build" \
--head version-patch-from-${{ steps.versions.outputs.current }} \
--body "${{ steps.description.outputs.description }}"
fi
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/prepare-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
prepare-prerelease-pull-request:
name: Prepare prerelease pull request
runs-on: ubuntu-latest
environment: release
defaults:
run:
working-directory: scripts
Expand All @@ -48,6 +49,7 @@ jobs:
# this needs to be set to a high enough number that it will contain the last version tag
# as of May 2023, the whole repo had 55K commits
fetch-depth: 10000
token: ${{ secrets.GH_TOKEN }}

- name: Setup Node.js
uses: actions/setup-node@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,11 @@ jobs:

# tags are needed to get list of patches to label as picked
- name: Fetch git tags
if: github.ref_name == 'main-release'
if: github.ref_name == 'latest-release'
run: git fetch --tags origin

- name: Label patch PRs as picked
if: github.ref_name == 'main-release'
if: github.ref_name == 'latest-release'
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn release:label-patches
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 7.0.22

- CLI: Prebundle boxen to resolve a ESM/CJS incompatibility - [#23080](https://github.com/storybookjs/storybook/pull/23080), thanks [@ndelangen](https://github.com/ndelangen)!
- Core: Fix core-common to use node-fetch - [#23077](https://github.com/storybookjs/storybook/pull/23077), thanks [@ndelangen](https://github.com/ndelangen)!
- Telemetry: Count onboarding stories - [#23092](https://github.com/storybookjs/storybook/pull/23092), thanks [@shilman](https://github.com/shilman)!

## 7.0.21

- Angular: Fix 16.1 compatibility - [#23064](https://github.com/storybookjs/storybook/pull/23064), thanks [@ndelangen](https://github.com/ndelangen)!
Expand Down
20 changes: 10 additions & 10 deletions code/addons/a11y/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-a11y",
"version": "7.0.21",
"version": "7.0.22",
"description": "Test component compliance with web accessibility standards",
"keywords": [
"a11y",
Expand Down Expand Up @@ -63,16 +63,16 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addon-highlight": "7.0.21",
"@storybook/channels": "7.0.21",
"@storybook/client-logger": "7.0.21",
"@storybook/components": "7.0.21",
"@storybook/core-events": "7.0.21",
"@storybook/addon-highlight": "7.0.22",
"@storybook/channels": "7.0.22",
"@storybook/client-logger": "7.0.22",
"@storybook/components": "7.0.22",
"@storybook/core-events": "7.0.22",
"@storybook/global": "^5.0.0",
"@storybook/manager-api": "7.0.21",
"@storybook/preview-api": "7.0.21",
"@storybook/theming": "7.0.21",
"@storybook/types": "7.0.21",
"@storybook/manager-api": "7.0.22",
"@storybook/preview-api": "7.0.22",
"@storybook/theming": "7.0.22",
"@storybook/types": "7.0.22",
"axe-core": "^4.2.0",
"lodash": "^4.17.21",
"react-resize-detector": "^7.1.2"
Expand Down
16 changes: 8 additions & 8 deletions code/addons/actions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-actions",
"version": "7.0.21",
"version": "7.0.22",
"description": "Get UI feedback when an action is performed on an interactive element",
"keywords": [
"storybook",
Expand Down Expand Up @@ -80,14 +80,14 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.21",
"@storybook/components": "7.0.21",
"@storybook/core-events": "7.0.21",
"@storybook/client-logger": "7.0.22",
"@storybook/components": "7.0.22",
"@storybook/core-events": "7.0.22",
"@storybook/global": "^5.0.0",
"@storybook/manager-api": "7.0.21",
"@storybook/preview-api": "7.0.21",
"@storybook/theming": "7.0.21",
"@storybook/types": "7.0.21",
"@storybook/manager-api": "7.0.22",
"@storybook/preview-api": "7.0.22",
"@storybook/theming": "7.0.22",
"@storybook/types": "7.0.22",
"dequal": "^2.0.2",
"lodash": "^4.17.21",
"polished": "^4.2.2",
Expand Down
16 changes: 8 additions & 8 deletions code/addons/backgrounds/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-backgrounds",
"version": "7.0.21",
"version": "7.0.22",
"description": "Switch backgrounds to view components in different settings",
"keywords": [
"addon",
Expand Down Expand Up @@ -76,14 +76,14 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/client-logger": "7.0.21",
"@storybook/components": "7.0.21",
"@storybook/core-events": "7.0.21",
"@storybook/client-logger": "7.0.22",
"@storybook/components": "7.0.22",
"@storybook/core-events": "7.0.22",
"@storybook/global": "^5.0.0",
"@storybook/manager-api": "7.0.21",
"@storybook/preview-api": "7.0.21",
"@storybook/theming": "7.0.21",
"@storybook/types": "7.0.21",
"@storybook/manager-api": "7.0.22",
"@storybook/preview-api": "7.0.22",
"@storybook/theming": "7.0.22",
"@storybook/types": "7.0.22",
"memoizerific": "^1.11.3",
"ts-dedent": "^2.0.0"
},
Expand Down
20 changes: 10 additions & 10 deletions code/addons/controls/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-controls",
"version": "7.0.21",
"version": "7.0.22",
"description": "Interact with component inputs dynamically in the Storybook UI",
"keywords": [
"addon",
Expand Down Expand Up @@ -68,15 +68,15 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/blocks": "7.0.21",
"@storybook/client-logger": "7.0.21",
"@storybook/components": "7.0.21",
"@storybook/core-common": "7.0.21",
"@storybook/manager-api": "7.0.21",
"@storybook/node-logger": "7.0.21",
"@storybook/preview-api": "7.0.21",
"@storybook/theming": "7.0.21",
"@storybook/types": "7.0.21",
"@storybook/blocks": "7.0.22",
"@storybook/client-logger": "7.0.22",
"@storybook/components": "7.0.22",
"@storybook/core-common": "7.0.22",
"@storybook/manager-api": "7.0.22",
"@storybook/node-logger": "7.0.22",
"@storybook/preview-api": "7.0.22",
"@storybook/theming": "7.0.22",
"@storybook/types": "7.0.22",
"lodash": "^4.17.21",
"ts-dedent": "^2.0.0"
},
Expand Down
24 changes: 12 additions & 12 deletions code/addons/docs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-docs",
"version": "7.0.21",
"version": "7.0.22",
"description": "Document component usage and properties in Markdown",
"keywords": [
"addon",
Expand Down Expand Up @@ -101,19 +101,19 @@
"@babel/plugin-transform-react-jsx": "^7.19.0",
"@jest/transform": "^29.3.1",
"@mdx-js/react": "^2.1.5",
"@storybook/blocks": "7.0.21",
"@storybook/client-logger": "7.0.21",
"@storybook/components": "7.0.21",
"@storybook/csf-plugin": "7.0.21",
"@storybook/csf-tools": "7.0.21",
"@storybook/blocks": "7.0.22",
"@storybook/client-logger": "7.0.22",
"@storybook/components": "7.0.22",
"@storybook/csf-plugin": "7.0.22",
"@storybook/csf-tools": "7.0.22",
"@storybook/global": "^5.0.0",
"@storybook/mdx2-csf": "^1.0.0",
"@storybook/node-logger": "7.0.21",
"@storybook/postinstall": "7.0.21",
"@storybook/preview-api": "7.0.21",
"@storybook/react-dom-shim": "7.0.21",
"@storybook/theming": "7.0.21",
"@storybook/types": "7.0.21",
"@storybook/node-logger": "7.0.22",
"@storybook/postinstall": "7.0.22",
"@storybook/preview-api": "7.0.22",
"@storybook/react-dom-shim": "7.0.22",
"@storybook/theming": "7.0.22",
"@storybook/types": "7.0.22",
"fs-extra": "^11.1.0",
"remark-external-links": "^8.0.0",
"remark-slug": "^6.0.0",
Expand Down
30 changes: 15 additions & 15 deletions code/addons/essentials/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-essentials",
"version": "7.0.21",
"version": "7.0.22",
"description": "Curated addons to bring out the best of Storybook",
"keywords": [
"addon",
Expand Down Expand Up @@ -119,23 +119,23 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/addon-actions": "7.0.21",
"@storybook/addon-backgrounds": "7.0.21",
"@storybook/addon-controls": "7.0.21",
"@storybook/addon-docs": "7.0.21",
"@storybook/addon-highlight": "7.0.21",
"@storybook/addon-measure": "7.0.21",
"@storybook/addon-outline": "7.0.21",
"@storybook/addon-toolbars": "7.0.21",
"@storybook/addon-viewport": "7.0.21",
"@storybook/core-common": "7.0.21",
"@storybook/manager-api": "7.0.21",
"@storybook/node-logger": "7.0.21",
"@storybook/preview-api": "7.0.21",
"@storybook/addon-actions": "7.0.22",
"@storybook/addon-backgrounds": "7.0.22",
"@storybook/addon-controls": "7.0.22",
"@storybook/addon-docs": "7.0.22",
"@storybook/addon-highlight": "7.0.22",
"@storybook/addon-measure": "7.0.22",
"@storybook/addon-outline": "7.0.22",
"@storybook/addon-toolbars": "7.0.22",
"@storybook/addon-viewport": "7.0.22",
"@storybook/core-common": "7.0.22",
"@storybook/manager-api": "7.0.22",
"@storybook/node-logger": "7.0.22",
"@storybook/preview-api": "7.0.22",
"ts-dedent": "^2.0.0"
},
"devDependencies": {
"@storybook/vue": "7.0.21",
"@storybook/vue": "7.0.22",
"typescript": "^4.9.3"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions code/addons/gfm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-mdx-gfm",
"version": "7.0.21",
"version": "7.0.22",
"description": "GitHub Flavored Markdown in Storybook",
"keywords": [
"addon",
Expand Down Expand Up @@ -51,7 +51,7 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/node-logger": "7.0.21",
"@storybook/node-logger": "7.0.22",
"remark-gfm": "^3.0.1",
"ts-dedent": "^2.0.0"
},
Expand Down
6 changes: 3 additions & 3 deletions code/addons/highlight/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@storybook/addon-highlight",
"version": "7.0.21",
"version": "7.0.22",
"description": "Highlight DOM nodes within your stories",
"keywords": [
"storybook-addons",
Expand Down Expand Up @@ -61,9 +61,9 @@
"prep": "../../../scripts/prepare/bundle.ts"
},
"dependencies": {
"@storybook/core-events": "7.0.21",
"@storybook/core-events": "7.0.22",
"@storybook/global": "^5.0.0",
"@storybook/preview-api": "7.0.21"
"@storybook/preview-api": "7.0.22"
},
"devDependencies": {
"@types/webpack-env": "^1.16.0",
Expand Down
Loading