chore(ui,icons,ui-preset,toolbox): Move design system packages to monorepo (#5470)

This commit is contained in:
Kasper Fabricius Kristensen
2023-11-07 22:17:44 +01:00
committed by GitHub
parent 71853eafdd
commit e4ce2f4e07
722 changed files with 30300 additions and 186 deletions
@@ -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,
})