From 10022b2723f5653019101e88294d5e8316001d83 Mon Sep 17 00:00:00 2001 From: Chris Thoburn Date: Fri, 1 Mar 2024 19:01:00 -0800 Subject: [PATCH] fix: keep core-type peer-deps (#9243) --- packages/adapter/package.json | 3 ++- packages/debug/package.json | 3 ++- release/core/publish/steps/generate-tarballs.ts | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/adapter/package.json b/packages/adapter/package.json index fc914a02adf..993fd91b094 100644 --- a/packages/adapter/package.json +++ b/packages/adapter/package.json @@ -50,7 +50,8 @@ "@ember-data/legacy-compat": "workspace:5.4.0-alpha.27", "@ember-data/store": "workspace:5.4.0-alpha.27", "@ember/string": "^3.1.1", - "ember-inflector": "^4.0.2" + "ember-inflector": "^4.0.2", + "@warp-drive/core-types": "workspace:0.0.0-alpha.13" }, "dependenciesMeta": { "@ember-data/private-build-infra": { diff --git a/packages/debug/package.json b/packages/debug/package.json index 56c76a8aa46..dc48dad679a 100644 --- a/packages/debug/package.json +++ b/packages/debug/package.json @@ -19,7 +19,8 @@ }, "peerDependencies": { "@ember-data/store": "workspace:5.4.0-alpha.27", - "@ember/string": "^3.1.1" + "@ember/string": "^3.1.1", + "@warp-drive/core-types": "workspace:0.0.0-alpha.13" }, "dependenciesMeta": { "@ember-data/private-build-infra": { diff --git a/release/core/publish/steps/generate-tarballs.ts b/release/core/publish/steps/generate-tarballs.ts index 19369a82f2b..1d0c877b44d 100644 --- a/release/core/publish/steps/generate-tarballs.ts +++ b/release/core/publish/steps/generate-tarballs.ts @@ -117,8 +117,8 @@ async function makeTypesPrivate(pkg: Package) { } // remove @warp-drive/core-types from dependencies and peerDependencies - delete pkg.pkgData.dependencies?.['@warp-drive/core-types']; - delete pkg.pkgData.peerDependencies?.['@warp-drive/core-types']; + pkg.pkgData.dependencies?.['@warp-drive/core-types']; + pkg.pkgData.peerDependencies?.['@warp-drive/core-types']; // deactivate build types command if (pkg.pkgData.scripts?.['build:types']) {