Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9b2a964
Adjust release GitHub workflow for v7
yannbf Feb 13, 2026
18271ba
pin discord bot version
yannbf Feb 13, 2026
d58caaf
add missing env
yannbf Feb 13, 2026
86f18c4
Final publish.yml adjustments
valentinpalkovic Feb 16, 2026
14a4e25
Update yarn version
valentinpalkovic Feb 16, 2026
8753741
Update Node version
valentinpalkovic Feb 16, 2026
419ce44
Try out exact path to action.yml
valentinpalkovic Feb 16, 2026
d515ff7
Remove experimental exact path resolultion
valentinpalkovic Feb 16, 2026
d8548aa
Try fetch depth
valentinpalkovic Feb 16, 2026
915d6aa
Try another setting
valentinpalkovic Feb 16, 2026
bb3d2f1
Delete file
valentinpalkovic Feb 16, 2026
d816dc1
Re-add yml file
valentinpalkovic Feb 16, 2026
5517c82
Update lock files
valentinpalkovic Feb 16, 2026
6794f13
Use jiti instead of esbuild-register
valentinpalkovic Feb 16, 2026
d3bab8e
Use jiti instead of esbuild-register
valentinpalkovic Feb 16, 2026
4a3c87b
Revert "Use jiti instead of esbuild-register"
yannbf Feb 17, 2026
8bcbf42
Revert "Use jiti instead of esbuild-register"
yannbf Feb 17, 2026
e022eec
downgrade back to node 18
yannbf Feb 17, 2026
a9ac2fb
fix building and publishing
yannbf Feb 17, 2026
dcd83bc
pin version of compodoc
yannbf Feb 17, 2026
86b8635
Revert "fix building and publishing"
yannbf Feb 17, 2026
e0cc719
remove setting latest npm cli on install action
yannbf Feb 17, 2026
f51b9ec
Set resolution for angular sandbox
valentinpalkovic Feb 17, 2026
01a6887
add publish md
yannbf Feb 17, 2026
21d8d01
Bump deferred version
yannbf Feb 17, 2026
001c7d6
temporarily add --dry-run to publish flow
yannbf Feb 17, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/actions/setup-node-and-install/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: "Setup Node.js and Install Dependencies"
description: "Sets up Node.js, caches dependencies, and installs packages for Storybook"

inputs:
install-code-deps:
description: "Whether to install code dependencies in addition to script dependencies"
required: false
default: "false"

runs:
using: "composite"
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"

- name: Cache dependencies
uses: actions/cache@v4
with:
path: |
~/.yarn/berry/cache
key: yarn-v1-${{ hashFiles('scripts/yarn.lock') }}-${{ hashFiles('code/yarn.lock') }}
restore-keys: |
yarn-v1-${{ hashFiles('scripts/yarn.lock') }}-${{ hashFiles('code/yarn.lock') }}
yarn-v1-${{ hashFiles('scripts/yarn.lock') }}
yarn-v1

- name: Install script dependencies
shell: bash
working-directory: scripts
run: yarn install

- name: Install code dependencies
if: inputs.install-code-deps == 'true'
shell: bash
working-directory: code
run: yarn install
14 changes: 14 additions & 0 deletions .github/workflows/publish.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Releasing previous major release

## Preparation

1. `git checkout v7`
2. set node version to `18.20.2`
3. `git pull`
4. `git checkout -b hotfix/v<next-patch-release-version>`
5. Apply necessary hotfixes
6. `yarn release:version --deferred --release-type patch --verbose && git add . && git commit -m "Bump deferred version"`
7. Trigger canary release via dispatching the workflow for `publish-canary`
8. Test the canary release
9. Merge `hotfix/v<next-patch-release-version>` into `v7`
10. Observe the `publish-normal` job
278 changes: 155 additions & 123 deletions .github/workflows/publish.yml

Large diffs are not rendered by default.

893 changes: 0 additions & 893 deletions .yarn/releases/yarn-4.0.0.cjs

This file was deleted.

942 changes: 942 additions & 0 deletions .yarn/releases/yarn-4.10.3.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ nodeLinker: node-modules

npmPublishAccess: public

yarnPath: .yarn/releases/yarn-4.0.0.cjs
yarnPath: .yarn/releases/yarn-4.10.3.cjs
942 changes: 942 additions & 0 deletions code/.yarn/releases/yarn-4.10.3.cjs

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions code/.yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,29 @@ compressionLevel: 0

enableGlobalCache: true

installStatePath: ../.yarn/code-install-state.gz

logFilters:
- code: YN0005
level: discard
- code: YN0076
level: discard
- level: discard
pattern: '@workspace:addons/storyshots-*/'
pattern: "@workspace:addons/storyshots-*/"

nodeLinker: node-modules

npmRegistryServer: 'https://registry.yarnpkg.com'
npmRegistryServer: "https://registry.yarnpkg.com"

plugins:
- path: ../.yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: '@yarnpkg/plugin-typescript'
spec: "@yarnpkg/plugin-typescript"
- path: ../.yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: '@yarnpkg/plugin-interactive-tools'
spec: "@yarnpkg/plugin-interactive-tools"
- path: ../.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: '@yarnpkg/plugin-workspace-tools'
spec: "@yarnpkg/plugin-workspace-tools"

unsafeHttpWhitelist:
- localhost

yarnPath: ../.yarn/releases/yarn-4.0.0.cjs
installStatePath: '../.yarn/code-install-state.gz'
yarnPath: .yarn/releases/yarn-4.10.3.cjs
2 changes: 1 addition & 1 deletion code/lib/cli/src/generators/ANGULAR/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const generator: Generator<{ projectName: string }> = async (
},
'angular',
{
...(useCompodoc && { extraPackages: ['@compodoc/compodoc', '@storybook/addon-docs'] }),
...(useCompodoc && { extraPackages: ['@compodoc/compodoc@1.1.23', '@storybook/addon-docs'] }),
addScripts: false,
componentsDestinationPath: root ? `${root}/src/stories` : undefined,
storybookConfigFolder: storybookFolder,
Expand Down
1 change: 0 additions & 1 deletion code/lib/cli/src/sandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ export const sandbox = async (
const borderColor = isOutdated ? '#FC521F' : '#F1618C';

const downloadType = !isOutdated && init ? 'after-storybook' : 'before-storybook';
const branch = isPrerelease ? 'next' : 'main';

const messages = {
welcome: `Creating a Storybook ${chalk.bold(currentVersion)} sandbox..`,
Expand Down
5 changes: 3 additions & 2 deletions code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@
"built": false
}
},
"packageManager": "yarn@4.0.0",
"packageManager": "yarn@4.10.3",
"engines": {
"node": ">=18.0.0"
},
Expand Down Expand Up @@ -329,5 +329,6 @@
"Dependency Upgrades"
]
]
}
},
"deferredNextVersion": "7.6.22"
}
Loading