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

refactor(BREAKING): rm config.eject & automatic import of built-in pr… #2694

Open
wants to merge 13 commits into
base: main
Choose a base branch
from

Conversation

astahmer
Copy link
Collaborator

…esets

Closes #

📝 Description

  • BREAKING: The built-in presets @pandacss/preset-base and @pandacss/preset-panda are no longer automatically
    included, if you are not using presets or eject in your config you can add them manually as shown below:
// panda.config.ts
import { defineConfig } from '@pandacss/dev'

export default defineConfig({
+  presets: ['@pandacss/preset-base', '@pandacss/preset-panda'],
})

This allows you to control more explicitely which presets are included in your project.

  • BREAKING: The config.eject option has been removed. Simply remove it from your config and the result will be the
    same.
// panda.config.ts
import { defineConfig } from '@pandacss/dev'

export default defineConfig({
-  eject: true,
})

💣 Is this a breaking change (Yes/No):

yes

Copy link

vercel bot commented Jun 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
panda-docs ✅ Ready (Inspect) Visit Preview Aug 17, 2024 8:01pm
panda-playground ✅ Ready (Inspect) Visit Preview Aug 17, 2024 8:01pm
panda-studio ✅ Ready (Inspect) Visit Preview Aug 17, 2024 8:01pm

Copy link

changeset-bot bot commented Jun 24, 2024

🦋 Changeset detected

Latest commit: b771a65

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 19 packages
Name Type
@pandacss/config Minor
@pandacss/types Minor
@pandacss/node Minor
@pandacss/dev Minor
@pandacss/parser Minor
@pandacss/studio Minor
@pandacss/core Minor
@pandacss/generator Minor
@pandacss/logger Minor
@pandacss/preset-atlaskit Minor
@pandacss/preset-base Minor
@pandacss/preset-open-props Minor
@pandacss/preset-panda Minor
@pandacss/token-dictionary Minor
@pandacss/astro-plugin-studio Minor
@pandacss/postcss Minor
@pandacss/extractor Minor
@pandacss/is-valid-prop Minor
@pandacss/shared Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants