From 12e13adb29fd7d1fc58f72946442682536a8a9e5 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Wed, 6 Sep 2023 20:16:59 +0200 Subject: [PATCH] [core] Fix yarn docs:create-playground script It wouldn't create the file in the right folder. --- docs/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/package.json b/docs/package.json index 4f6c92c7eff23f..c95bc28997e411 100644 --- a/docs/package.json +++ b/docs/package.json @@ -13,7 +13,7 @@ "export": "rimraf docs/export && next export --threads=3 -o export && yarn build-sw", "icons": "rimraf --glob public/static/icons/* && node ./scripts/buildIcons.js", "start": "next start", - "create-playground": "cpy --cwd=./scripts/ playground.template.tsx ../pages/playground --rename=index.tsx", + "create-playground": "cpy --cwd=scripts playground.template.tsx ../../pages/playground --rename=index.tsx", "typescript": "tsc -p tsconfig.json && tsc -p scripts/tsconfig.json", "typescript:transpile": "echo 'Use `yarn docs:typescript:formatted'` instead && exit 1", "typescript:transpile:dev": "echo 'Use `yarn docs:typescript'` instead && exit 1",