Skip to content

Commit

Permalink
Merge pull request #26 from vivid-planet/fix-missing-schema-copy
Browse files Browse the repository at this point in the history
fix missing copy of schema.gql from api to admin
  • Loading branch information
raphaelblum authored Jan 25, 2024
2 parents 17c0318 + 27be6c2 commit beaec7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions copy-schema-files.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ const fs = require("fs");

(async () => {
await Promise.all([
fs.promises.copyFile("packages/api/schema.gql", "packages/admin/schema.gql"),

fs.promises.copyFile("demo/api/block-meta.json", "demo/admin/block-meta.json"),
fs.promises.copyFile("demo/api/block-meta.json", "demo/site/block-meta.json"),
fs.promises.copyFile("demo/api/schema.gql", "demo/admin/schema.gql"),
Expand Down

0 comments on commit beaec7d

Please sign in to comment.