From 7224bd5bd26cb3e69ab398cda736885c60d3332e Mon Sep 17 00:00:00 2001 From: JounQin Date: Thu, 11 Jan 2024 18:18:29 +0800 Subject: [PATCH] ci: try custom install command for CodeSandbox CI --- .codesandbox/ci.json | 1 + package.json | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.codesandbox/ci.json b/.codesandbox/ci.json index 7224be6..cebcfbd 100644 --- a/.codesandbox/ci.json +++ b/.codesandbox/ci.json @@ -1,5 +1,6 @@ { "node": "18", + "installCommand": "codesandbox:install", "packages": [ "packages/*" ], diff --git a/package.json b/package.json index a66288f..e084042 100644 --- a/package.json +++ b/package.json @@ -15,15 +15,16 @@ "build:r": "r -f es2015", "build:ts": "tsc -b", "clean": "rimraf --glob 'packages/*/{lib,*.tsbuildinfo}'", + "codesandbox:install": "yarn --ignore-engines", "lint": "yarn build && concurrently -r 'yarn:lint:*'", "lint:es": "eslint . --cache -f friendly", "lint:tsc": "tsc --noEmit", "prepare": "patch-package && simple-git-hooks", "release": "run-s build release:only", "release:only": "changeset publish", - "version": "changeset version && yarn --no-immutable", "test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest", - "typecov": "type-coverage" + "typecov": "type-coverage", + "version": "changeset version && yarn --no-immutable" }, "devDependencies": { "@1stg/common-config": "^10.0.0",