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

chore: temp update publish-next.yml #382

Merged
merged 2 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
5 changes: 4 additions & 1 deletion configs/src/publish.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ function _getTags(values) {
function publish() {
const { values } = _parseFlags(argv)
const release = _getTags(values)
const onlyNpmPackages = packages.filter(
(pkg) => pkg === 'react' || pkg === 'styled-system',
)

packages.forEach(async (pkg) => {
onlyNpmPackages.forEach(async (pkg) => {
const workspacePath = resolve(import.meta.dir, '..', '..', 'packages', pkg)
const packageJsonPath = resolve(workspacePath, 'package.json')
const rawFile = file(packageJsonPath)
Expand Down
2 changes: 1 addition & 1 deletion docs/app/preset/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export default defineConfig({
...cerberusConfig,

include: [
'./node_modules/@cerberus/react/src/**/*.{ts,tsx}',
'./node_modules/@cerberus/react/src/**/*.{ts,tsx,js,jsx}',
'./app/**/*.{ts,tsx}', // <- Make sure this path is to your project
],
exclude: [],
Expand Down