From 11c396a188e030ac8f3d8c52c822b2e9db90a303 Mon Sep 17 00:00:00 2001 From: "Kent C. Dodds" Date: Tue, 2 Jul 2024 09:40:04 -0600 Subject: [PATCH] add post-set-to-playground.js --- epicshop/post-set-playground.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 epicshop/post-set-playground.js diff --git a/epicshop/post-set-playground.js b/epicshop/post-set-playground.js new file mode 100644 index 0000000..3655369 --- /dev/null +++ b/epicshop/post-set-playground.js @@ -0,0 +1,7 @@ +import fs from 'node:fs' +import path from 'node:path' + +fs.writeFileSync( + path.join(process.env.EPICSHOP_PLAYGROUND_DEST_DIR, 'tsconfig.json'), + JSON.stringify({ extends: '../tsconfig' }, null, 2), +)