Code Monkey home page Code Monkey logo

Comments (10)

zkochan avatar zkochan commented on September 28, 2024 3

added a v6 doc

from spec.

samwhite-gl avatar samwhite-gl commented on September 28, 2024 1

Tagging @zkochan since it is not clear if this issue tracker is monitored.

from spec.

zkochan avatar zkochan commented on September 28, 2024 1

It will be registry.node-modules.io/[email protected]

from spec.

DmitriyLewen avatar DmitriyLewen commented on September 28, 2024 1

Hi @RahulGautamSingh!

If you do, may I ask you to add the information that lockfileVersion is a string in v6.

Thank you in advance

from spec.

zkochan avatar zkochan commented on September 28, 2024

no, they are not documented. But v6 is almost the same as v5

from spec.

kzantow avatar kzantow commented on September 28, 2024

I've had a hard time finding out what the correct schemas are to parse. At what point did dependencies change from a simple string to a struct?

v5.4 (which is undocumented):

lockfileVersion: 5.4

dependencies:
  nanoid: 3.3.4

v6 (which is also undocumented):

lockfileVersion: '6.0'

dependencies:
  '@testing-library/jest-dom':
    specifier: ^5.16.5
    version: 5.16.5

from spec.

zkochan avatar zkochan commented on September 28, 2024

in v6

from spec.

DmitriyLewen avatar DmitriyLewen commented on September 28, 2024

Hello @zkochan
Can you clarify:
v5 has next package format: <pkg_name>/<pkg_version> (/foo/1.0.0). For non-default registry - registry.node-modules.io/foo/1.0.0

but, if i understand correctly, v6 uses <pkg_name>@<pkg_version> format (pnpm/pnpm#5810)
What would the v6 format look like for a private registry?

Best regards, Dmitriy!

from spec.

DmitriyLewen avatar DmitriyLewen commented on September 28, 2024

Thanks for the quick response!

from spec.

RahulGautamSingh avatar RahulGautamSingh commented on September 28, 2024

Will the docs be updated to mention the change in the schema of dependencies? I would like to do it in a PR(have the time) but I am not sure if I will be able to mention all the additional details, which you could.

from spec.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.