From b5a0ad3d4fb8b02ccddfd53af92648f931c0934a Mon Sep 17 00:00:00 2001 From: "@casey_baggz_omni" Date: Wed, 14 Aug 2024 12:59:26 -0500 Subject: [PATCH 1/2] chore: temp update publish-next.yml --- .github/workflows/publish-next.yml | 9 +++++---- configs/src/publish.mjs | 5 ++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish-next.yml b/.github/workflows/publish-next.yml index 2379aa82..c33aa7d9 100644 --- a/.github/workflows/publish-next.yml +++ b/.github/workflows/publish-next.yml @@ -1,9 +1,10 @@ name: 🚀 Publish Next Version -on: - push: - branches: - - main +on: [merge_group, pull_request] +# on: +# push: +# branches: +# - main env: CI: true diff --git a/configs/src/publish.mjs b/configs/src/publish.mjs index 0ce59f68..addd882b 100644 --- a/configs/src/publish.mjs +++ b/configs/src/publish.mjs @@ -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) From 4e6d0cf4d37991dc71765ac4a04bc4d000bb5fb5 Mon Sep 17 00:00:00 2001 From: "@casey_baggz_omni" Date: Wed, 14 Aug 2024 13:02:40 -0500 Subject: [PATCH 2/2] chore: Update publish-next.yml and overview.mdx --- .github/workflows/publish-next.yml | 9 ++++----- docs/app/preset/overview.mdx | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/publish-next.yml b/.github/workflows/publish-next.yml index c33aa7d9..2379aa82 100644 --- a/.github/workflows/publish-next.yml +++ b/.github/workflows/publish-next.yml @@ -1,10 +1,9 @@ name: 🚀 Publish Next Version -on: [merge_group, pull_request] -# on: -# push: -# branches: -# - main +on: + push: + branches: + - main env: CI: true diff --git a/docs/app/preset/overview.mdx b/docs/app/preset/overview.mdx index 719f3a85..24eae725 100644 --- a/docs/app/preset/overview.mdx +++ b/docs/app/preset/overview.mdx @@ -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: [],