Skip to content

Commit

Permalink
fix: keep core-type peer-deps (#9243)
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired authored Mar 2, 2024
1 parent 524e8e8 commit 10022b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
3 changes: 2 additions & 1 deletion packages/adapter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
3 changes: 2 additions & 1 deletion packages/debug/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions release/core/publish/steps/generate-tarballs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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']) {
Expand Down

0 comments on commit 10022b2

Please sign in to comment.