Skip to content

Commit

Permalink
chore: add csb app ci
Browse files Browse the repository at this point in the history
  • Loading branch information
segunadebayo committed Apr 13, 2022
1 parent c64a99a commit adf9113
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 2 deletions.
38 changes: 38 additions & 0 deletions .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"node": "14",
"sandboxes": [
"/examples/next-ts",
"/examples/vue-ts",
"/examples/solid-ts"
],
"packages": [
"packages/utilities/number",
"packages/utilities/core",
"packages/utilities/rect",
"packages/utilities/dom",
"packages/utilities/popper",
"packages/types",
"packages/core",
"packages/machines/tooltip",
"packages/machines/toggle",
"packages/machines/toast",
"packages/machines/tags-input",
"packages/machines/tabs",
"packages/machines/splitter",
"packages/machines/slider",
"packages/machines/rating",
"packages/machines/range-slider",
"packages/machines/popover",
"packages/machines/pin-input",
"packages/machines/number-input",
"packages/machines/menu",
"packages/machines/editable",
"packages/machines/dialog",
"packages/machines/combobox",
"packages/machines/accordion",
"packages/frameworks/vue",
"packages/frameworks/svelte",
"packages/frameworks/solid",
"packages/frameworks/react"
]
}
4 changes: 2 additions & 2 deletions scripts/play.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ const patch = {

async function main() {
const pkgs = await getWorkspacePkgs()
for (const { pkg } of pkgs) {
for (const { pkg, dir } of pkgs) {
if (pkg.name === "@zag-js/scripts") continue
Object.assign(pkg, patch)
fs.writeFileSync(`${pkg.dir}/package.json`, JSON.stringify(pkg, null, 2))
fs.writeFileSync(`${dir}/package.json`, JSON.stringify(pkg, null, 2))
}
}

Expand Down

0 comments on commit adf9113

Please sign in to comment.