mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-07-09 06:55:07 +00:00
chore(cli): add deprecation notice (#4988)
* feat(cli): add deprecation message * chore: changesets
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { existsSync, promises as fs } from "fs"
|
||||
import path from "path"
|
||||
import { DEPRECATED_MESSAGE } from "@/src/deprecated"
|
||||
import {
|
||||
DEFAULT_COMPONENTS,
|
||||
DEFAULT_TAILWIND_CONFIG,
|
||||
@@ -55,6 +56,8 @@ export const init = new Command()
|
||||
)
|
||||
.action(async (opts) => {
|
||||
try {
|
||||
console.log(DEPRECATED_MESSAGE)
|
||||
|
||||
const options = initOptionsSchema.parse(opts)
|
||||
const cwd = path.resolve(options.cwd)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user