mirror of
https://github.com/supabase/supabase.git
synced 2026-05-08 07:50:20 +08:00
* docs: ui library password auth vue * docs: ui library password auth nuxt * Fix a pnpm-lock conflict. * Adjust paths * Fix import path * Rebuild * docs: remove shadcn-vue package * Fix the pnpm-lock. --------- Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com> Co-authored-by: Terry Sutton <saltcod@gmail.com>
15 lines
379 B
TypeScript
15 lines
379 B
TypeScript
import { blocks as originBlocks } from './registry/index'
|
|
|
|
const blocks = originBlocks.map((item) => {
|
|
const newItem = { ...item }
|
|
newItem.files = newItem.files?.map((file: any) => {
|
|
if (file.path.startsWith('registry/')) {
|
|
return { ...file, path: `node_modules/@supabase/vue-blocks/${file.path}` }
|
|
}
|
|
return file
|
|
})
|
|
return newItem
|
|
})
|
|
|
|
export { blocks }
|