Skip to content

Commit

Permalink
[core] Fix rsc build step in CI (mui#38019)
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert authored Jul 18, 2023
1 parent e4dc06a commit 5bedd50
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,10 @@ jobs:
name: '`yarn proptypes` changes committed?'
command: git diff --exit-code
- run:
name: '`yarn rsc:build` changes committed?'
name: 'Write "use client" directive'
command: yarn rsc:build
- run:
name: '`yarn rsc:build` changes detected, "use client" missing from exports'
command: git diff --exit-code
- run:
name: Generate the documentation
Expand Down
1 change: 1 addition & 0 deletions packages/mui-joy/src/Skeleton/Skeleton.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import * as React from 'react';
import clsx from 'clsx';
import PropTypes from 'prop-types';
Expand Down
1 change: 1 addition & 0 deletions packages/mui-joy/src/Skeleton/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { default } from './Skeleton';
export * from './skeletonClasses';
export { default as skeletonClasses } from './skeletonClasses';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
import * as React from 'react';
import clsx from 'clsx';
import PropTypes from 'prop-types';
Expand Down
1 change: 1 addition & 0 deletions packages/mui-joy/src/ToggleButtonGroup/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
'use client';
export { default } from './ToggleButtonGroup';
export * from './toggleButtonGroupClasses';
export { default as toggleButtonGroupClasses } from './toggleButtonGroupClasses';
Expand Down

0 comments on commit 5bedd50

Please sign in to comment.