Skip to content

Commit

Permalink
Merge branch 'next' into replace-aside
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaun Evening authored Nov 7, 2023
2 parents 6279536 + 063d79a commit be0dd8d
Show file tree
Hide file tree
Showing 13 changed files with 196 additions and 2,569 deletions.
2 changes: 1 addition & 1 deletion MAINTAINERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This document outlines some of the processes that the maintainers should adhere
| maintenance | Issue, or pull request related to Storybook's internal maintenance |
| mdx | Issue, bug, or pull request related to MDX and Storybook |
| medium | Issue or pull request that involves a significant amount of work within Storybook |
| monorepos | Issue, bug, or pull request related to Storybook and monorepos (e.g., [lerna](https://lerna.js.org/) ) |
| monorepos | Issue, bug, or pull request related to Storybook and monorepos |
| mui | Issue, bug, or pull request that affects Storybook and [Material-UI](https://material-ui.com/) |
| multiframework | Issue, bug, or pull request that affects multiple supported frameworks (e.g., React, Vue) |
| needs more info | Issue, or bug that requires additional context from the author |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ Looking for a first issue to tackle?

### Development scripts

Storybook is organized as a monorepo using [Lerna](https://lerna.js.org/). Useful scripts include:
Storybook is organized as a monorepo. Useful scripts include:

#### `yarn start`

Expand Down
6 changes: 0 additions & 6 deletions code/lerna.json

This file was deleted.

73 changes: 0 additions & 73 deletions code/lib/cli/scripts/generate-sb-packages-versions.js

This file was deleted.

6 changes: 1 addition & 5 deletions code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"scripts": {
"await-serve-storybooks": "wait-on http://localhost:8001",
"build": "NODE_ENV=production node ../scripts/build-package.js",
"build": "NODE_ENV=production ts-node --swc --esm ../scripts/build-package.ts",
"changelog": "pr-log --sloppy --cherry-pick",
"changelog:next": "pr-log --sloppy --since-prerelease",
"check": "NODE_ENV=production node ../scripts/check-package.js",
Expand All @@ -43,9 +43,6 @@
"lint:package": "sort-package-json",
"local-registry": "ts-node --swc --project=../scripts/tsconfig.json ../scripts/run-registry.ts",
"publish-sandboxes": "ts-node --swc ../scripts/sandbox/publish.ts",
"publish:debug": "npm run publish:latest -- --npm-tag=debug --no-push",
"publish:latest": "lerna publish --exact --concurrency 1 --force-publish",
"publish:next": "npm run publish:latest -- --npm-tag=next",
"storybook:blocks": "STORYBOOK_BLOCKS_ONLY=true yarn storybook:ui",
"storybook:blocks:build": "STORYBOOK_BLOCKS_ONLY=true yarn storybook:ui:build",
"storybook:blocks:chromatic": "STORYBOOK_BLOCKS_ONLY=true yarn storybook:ui:chromatic --project-token=${CHROMATIC_TOKEN_STORYBOOK_BLOCKS:-MISSING_PROJECT_TOKEN}",
Expand Down Expand Up @@ -243,7 +240,6 @@
"jest-os-detection": "^1.3.1",
"jest-serializer-html": "^7.1.0",
"jest-watch-typeahead": "^2.2.1",
"lerna": "^6.4.0",
"lint-staged": "^13.2.2",
"lodash": "^4.17.21",
"node-gyp": "^9.3.1",
Expand Down
1 change: 0 additions & 1 deletion code/ui/blocks/src/components/Preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ const ChildrenContainer = styled.div<PreviewProps & { layout: Layout }>(
layout === 'centered' || layout === 'padded'
? {
padding: '30px 20px',
margin: -10,
'& .innerZoomElementWrapper > *': {
width: 'auto',
border: '10px solid transparent!important',
Expand Down
5 changes: 2 additions & 3 deletions code/ui/manager/src/components/sidebar/Brand.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,9 @@ export const StorybookLogoStyled = styled(StorybookLogo)(({ theme }) => ({
}));

export const Img = styled.img({
width: 'auto',
height: 'auto',
display: 'block',
maxWidth: '100%',
maxWidth: '150px',
maxHeight: '100px',
});

export const LogoLink = styled.a(({ theme }) => ({
Expand Down
Loading

0 comments on commit be0dd8d

Please sign in to comment.