mirror of
https://github.com/chakra-ui/chakra-ui.git
synced 2026-09-14 16:43:45 +08:00
16 lines
314 B
TypeScript
16 lines
314 B
TypeScript
/**
|
|
* Write the packages to `.codesandbox/ci.json`
|
|
*/
|
|
|
|
import editJson from "edit-json-file"
|
|
import shell from "shelljs"
|
|
|
|
const ciJson = editJson(".codesandbox/ci.json")
|
|
|
|
const packages = shell
|
|
.ls("-d", "packages/*")
|
|
.filter((p) => !p.endsWith("test-utils"))
|
|
|
|
ciJson.set("packages", packages)
|
|
ciJson.save()
|