Skip to content

Commit

Permalink
astro dev instance marked private not for publish
Browse files Browse the repository at this point in the history
  • Loading branch information
prodkt committed Nov 21, 2024
1 parent 2031f5a commit f79ccb4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
3 changes: 2 additions & 1 deletion apps/prepare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "prepare",
"name": "sparkstack-astro",
"version": "1.0.0",
"private": true,
"description": "",
"type": "module",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
"sync:templates": "./scripts/sync-templates.sh \"templates/*\"",
"check": "turbo lint typecheck format:check",
"release": "changeset version",
"pub:beta": "cd packages/shadcn && pnpm pub:beta",
"pub:release": "cd packages/shadcn && pnpm pub:release",
"pub:beta": "cd packages/sparkstack && pnpm pub:beta",
"pub:release": "cd packages/sparkstack && pnpm pub:release",
"test": "turbo run test --force",
"check:origin:": "git remote show origin"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/deprecated.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import chalk from "chalk"

export const DEPRECATED_MESSAGE = chalk.yellow(
`\nNote: The shadcn-ui CLI is going to be deprecated soon. Please use ${chalk.bold(
`\nNote: The sparkstack-ui CLI is going to be deprecated soon. Please use ${chalk.bold(
"npx sparkstack"
)} instead.\n`
)
2 changes: 1 addition & 1 deletion packages/cli/src/utils/get-project-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export async function getProjectConfig(cwd: string): Promise<Config | null> {
const isTsx = await isTypeScriptProject(cwd)

const config: RawConfig = {
$schema: "https://ui.shadcn.com/schema.json",
$schema: "https://sparkstack.prodkt.cloud/schema.json",
rsc: ["next-app", "next-app-src"].includes(projectType),
tsx: isTsx,
style: "new-york",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/utils/transformers/transform-css-vars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ export function splitClassName(className: string): (string | null)[] {
return parts
}

const PREFIXES = ["bg-", "text-", "border-", "ring-offset-", "ring-"]
const PREFIXES = ["bg-", "text-", "border-", "ring-offset-", "ring-", "shadow-", "text-shadow-"]

export function applyColorMapping(
input: string,
Expand Down

0 comments on commit f79ccb4

Please sign in to comment.