Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workspace dependencies are lost in conversion, package-lock.json is invalid #106

Open
terion-name opened this issue Jun 29, 2024 · 0 comments

Comments

@terion-name
Copy link

Issue description:

Using workspaces, synp -w -s yarn.lockwill produce lockfile without dependencies of subprojects, see package apps/app below:

{
  "name": "app-bundle",
  "lockfileVersion": 2,
  "requires": true,
  "packages": {
    "": {
      "name": "app-bundle",
      "workspaces": [
        "apps/*",
        "packages/*"
      ],
      "devDependencies": {
        "@repo/eslint-config": "*",
        "cross-var": "^1.1.0",
        "dotenv-cli": "^7.4.2",
        "eslint": "^8.57.0",
        "prettier": "^3.2.5",
        "prettier-plugin-svelte": "^3.2.2",
        "turbo": "latest",
        "vitepress": "^1.2.3"
      }
    },
    "apps/app": {
      "version": "0.0.1",
      "dev": true
    },
    ....

Are you reporting a conversion error? Please include a link to yarn.lock / package-lock.json:

https://gist.github.com/terion-name/f1f47479b83509f2fbde5619887fb6ad

@terion-name terion-name changed the title workspace dependencies are lost in conversion workspace dependencies are lost in conversion, package-lock.json is invalid Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant