Giter Site home page Giter Site logo

npm install missing /dist about calcite-web HOT 5 CLOSED

esri avatar esri commented on August 31, 2024
npm install missing /dist

from calcite-web.

Comments (5)

ungoldman avatar ungoldman commented on August 31, 2024

This might be because of the gitignore. @paulcpederson want to try deleting it as part of branch build push tag release process?

from calcite-web.

paulcpederson avatar paulcpederson commented on August 31, 2024

The release includes a dist. You must npm install from a specific version. Good 👀

#146 makes that more explicit in the README, I just hadn't updated the install docs since I built the new release process. Thanks! 👍

from calcite-web.

ungoldman avatar ungoldman commented on August 31, 2024

Yeah true, because of the way we're handling dist files they won't be in master, so you need to install the version explicitly like so:

npm install Esri/[email protected]

You know @paulcpederson now that npm supports private modules we could actually put this up on npm and not have to install privately through github.

from calcite-web.

paulcpederson avatar paulcpederson commented on August 31, 2024

@ngoldman yeah I looked into that. That would force everybody that wants to use it to also have an npm private account. So nik, me, you, pat, cassidy, long, justin, etc... Hundreds of people all need a private account.

I think our hacky "GitHub access as module security" scheme will work for now. Hopefully when npm launches their organization support we can register calcite-web as an organization repo and that could be a way forward.

As long as we explicitly state that you must install @ a specific tag, I think it makes sense to force users to use a release. In your package.json when you install from a GitHub repo you don't get a version field. This way, people's projects must be locked down to a version and people won't have unintentional version updates in their project. If you just install Esri/calcite-web and we release breaking changes, when they npm install their project might break.

from calcite-web.

ungoldman avatar ungoldman commented on August 31, 2024

I see their evil strategy now. No org accounts.

from calcite-web.

Related Issues (20)

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.