JSCAD User Group
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    V2 JSCAD Packages Available!

    Scheduled Pinned Locked Moved Announcements
    3 Posts 2 Posters 739 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • z3devZ Offline
      z3dev
      last edited by

      The V2 JSCAD project just took a huge step forward, as all V2 JSCAD packages have been published to NPM.

      Successfully published:
       - @jscad/cli@2.0.0-alpha.7
       - @jscad/core@2.0.0-alpha.7
       - @jscad/amf-deserializer@2.0.0-alpha.5
       - @jscad/amf-serializer@2.0.0-alpha.6
       - @jscad/dxf-deserializer@2.0.0-alpha.5
       - @jscad/dxf-serializer@2.0.0-alpha.5
       - @jscad/io-utils@2.0.0-alpha.5
       - @jscad/io@2.0.0-alpha.6
       - @jscad/json-deserializer@2.0.0-alpha.5
       - @jscad/json-serializer@2.0.0-alpha.5
       - @jscad/obj-deserializer@2.0.0-alpha.5
       - @jscad/stl-deserializer@2.0.0-alpha.5
       - @jscad/stl-serializer@2.0.0-alpha.5
       - @jscad/svg-deserializer@2.0.0-alpha.5
       - @jscad/svg-serializer@2.0.0-alpha.6
       - @jscad/x3d-serializer@2.0.0-alpha.6
       - @jscad/modeling@2.0.0-alpha.5
       - @jscad/array-utils@2.0.0-alpha.2
       - @jscad/img-utils@2.0.0-alpha.3
       - @jscad/regl-renderer@2.0.0-alpha.7
       - @jscad/vtree@2.0.0-alpha.6
       - @jscad/web@2.0.0-alpha.9
      lerna success published 22 packages
      

      For those looking to grab these from NPM, there's some special setup required. The above packages have been published with the 'alpha' tag to NPM. These are 'alpha' releases and therefore projects need to specifically use this tag.

      From the command line:

      npm install @jscad/modeling@alpha
      

      Inside NPM packages:

      "dependencies": {
        "@jscad/modeling": "alpha"
      }
      
      1 Reply Last reply Reply Quote 1
      • BarbourSmithB Offline
        BarbourSmith
        last edited by

        These are FANTASTIC! I am already having great success using them.

        I've noticed something a little bit strange, but I'm not sure if its a bug. When I run

        npm install @jscad/modeling@alpha
        

        I get a successful install, but the dependency added to the package.json file looks like:

         "@jscad/modeling": "^2.0.0-alpha.5",
        

        Which ends up not working down the road when I run 'npm install' for the whole project.

        z3devZ 1 Reply Last reply Reply Quote 0
        • z3devZ Offline
          z3dev @BarbourSmith
          last edited by

          @BarbourSmith Thanks.

          I noticed that as well. For now, you'll have to manually switch the version to 'alpha'.

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post
          Powered by NodeBB | Contributors