chore(ui,icons,ui-preset,toolbox): Move design system packages to monorepo (#5470)
This commit is contained in:
committed by
GitHub
parent
71853eafdd
commit
e4ce2f4e07
@@ -0,0 +1,16 @@
|
||||
import dotenv from "dotenv"
|
||||
import { resolve } from "path"
|
||||
import Figma from "./figma"
|
||||
|
||||
dotenv.config({ path: resolve(process.cwd(), ".env") })
|
||||
|
||||
const accessToken = process.env.FIGMA_TOKEN || ""
|
||||
|
||||
if (!accessToken) {
|
||||
throw new Error("FIGMA_TOKEN is not defined")
|
||||
}
|
||||
|
||||
export const client = new Figma({
|
||||
accessToken: accessToken,
|
||||
maxRetries: 3,
|
||||
})
|
||||
Reference in New Issue
Block a user