Open eldjh3 opened 6 months ago
The workspace dependencies on nice-dag-core from the vue3/react packages are not resolved in the published packages. For example, at https://www.npmjs.com/package/@ebay/nice-dag-vue3?activeTab=code the dependencies appear as follows:
nice-dag-core
vue3/react
"dependencies": { "vite-plugin-dts": "^1.6.6", "vue": "^3.2.38", "@ebay/nice-dag-core": "workspace:^" <-- Here }
If I run pnpm pack on a local working copy of the git repo, it gets resolved as expected.
pnpm pack
"dependencies": { "vite-plugin-dts": "^1.6.6", "vue": "^3.2.38", "@ebay/nice-dag-core": "^1.0.33" }
The published versions fail when you try and install them as dependencies in a project as they are expecting to find a @ebay/nice-dag-core workspace.
@ebay/nice-dag-core
@ebay/nice-dag-vue3
@ebay/nice-dag-react
npm install @ebay/nice-dag-vue3
yarn
pnpm
Looks like 1.0.21 is the first vue3 version affected and 1.0.31 for react.
1.0.21
vue3
1.0.31
react
Issue
The workspace dependencies on
nice-dag-core
from thevue3/react
packages are not resolved in the published packages. For example, at https://www.npmjs.com/package/@ebay/nice-dag-vue3?activeTab=code the dependencies appear as follows:If I run
pnpm pack
on a local working copy of the git repo, it gets resolved as expected.The published versions fail when you try and install them as dependencies in a project as they are expecting to find a
@ebay/nice-dag-core
workspace.How to Reproduce
@ebay/nice-dag-vue3
(or@ebay/nice-dag-react
) as a dependencynpm install @ebay/nice-dag-vue3
yarn
andpnpm
fail with slightly different errors.