Skip to content

feat: update cli #72

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

Merged
merged 8 commits into from
May 23, 2024
Merged

feat: update cli #72

merged 8 commits into from
May 23, 2024

Conversation

hngngn
Copy link
Owner

@hngngn hngngn commented May 22, 2024

  • diff command
  • Faster loading when add multiple component
  • Schema update

New

{
  "$schema": "https://shadcn-solid.com/schema.json",
  "tailwind": {
    "config": "tailwind.config.cjs",
    "css": {
      "path": "src/app.css",
      "variable": true
    },
    "color": "slate",
    "prefix": ""
  },
  "alias": {
    "component": "@/components",
    "cn": "@/libs/cn"
  }
}

Old

{
  "$schema": "https://shadcn-solid.com/schema.json",
  "tailwind": {
    "config": "tailwind.config.cjs",
    "css": "src/app.css",
    "baseColor": "slate",
    "cssVariables": true,
    "prefix": ""
  },
  "aliases": {
    "components": "@/components",
    "utils": "@/libs/cn"
  }
}

fix(cli): wrong logic in `config`

feat(cli): update schema
Copy link

vercel bot commented May 22, 2024

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

Name Status Preview Comments Updated (UTC)
shadcn-solid ❌ Failed (Inspect) May 23, 2024 5:21pm

ci: beta release
Copy link
Contributor

A new prerelease is available for testing:

@hngngn hngngn merged commit 661774a into main May 23, 2024
2 of 3 checks passed
@hngngn hngngn deleted the update-cli branch July 10, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant