From 8531bae4ab0771923d8bf823f395ad8389a2195b Mon Sep 17 00:00:00 2001 From: vcua-mobify Date: Wed, 10 May 2023 16:21:49 -0700 Subject: [PATCH 1/2] Move typescript to dev and peer dependency --- packages/internal-lib-build/package.json | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/packages/internal-lib-build/package.json b/packages/internal-lib-build/package.json index 761eed4cd9..fc574a6acb 100644 --- a/packages/internal-lib-build/package.json +++ b/packages/internal-lib-build/package.json @@ -66,11 +66,19 @@ "regenerator-runtime": "^0.13.11", "replace-in-file": "^6.3.5", "rimraf": "2.7.1", - "shelljs": "^0.8.5", - "typescript": "4.8.3" + "shelljs": "^0.8.5" }, "devDependencies": { - "npm-packlist": "^4.0.0" + "npm-packlist": "^4.0.0", + "typescript": "4.8.3" + }, + "peerDependencies": { + "typescript": "4.8.3" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } }, "scripts": { "lint": "npm run lint:js", From 75dc363078fd91bdb8c79f18431defd23709331a Mon Sep 17 00:00:00 2001 From: vcua-mobify Date: Wed, 10 May 2023 16:24:22 -0700 Subject: [PATCH 2/2] Update package lock file --- packages/internal-lib-build/package-lock.json | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/packages/internal-lib-build/package-lock.json b/packages/internal-lib-build/package-lock.json index 97405f55a6..2fa1c8e4eb 100644 --- a/packages/internal-lib-build/package-lock.json +++ b/packages/internal-lib-build/package-lock.json @@ -51,18 +51,26 @@ "regenerator-runtime": "^0.13.11", "replace-in-file": "^6.3.5", "rimraf": "2.7.1", - "shelljs": "^0.8.5", - "typescript": "4.8.3" + "shelljs": "^0.8.5" }, "bin": { "internal-lib-build": "bin/internal-lib-build.js" }, "devDependencies": { - "npm-packlist": "^4.0.0" + "npm-packlist": "^4.0.0", + "typescript": "4.8.3" }, "engines": { "node": "^14.0.0 || ^16.0.0", "npm": "^6.14.4 || ^7.0.0 || ^8.0.0" + }, + "peerDependencies": { + "typescript": "4.8.3" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } } }, "node_modules/@ampproject/remapping": {