Giter VIP home page Giter VIP logo

Comments (10)

jasongrout avatar jasongrout commented on May 18, 2024

Sure, that would be great to have a top-level npm command that builds and then builds the extension subpackage. Submit a PR!

from jupyterlab.

ellisonbg avatar ellisonbg commented on May 18, 2024

I have no idea how to get npm to do that and am going offline until next
Wed starting tomorrow after our JupyterLab meeting ;-)

On Thu, Jun 9, 2016 at 6:43 PM, Jason Grout [email protected]
wrote:

Sure, that would be great to have a top-level npm command that builds and
then builds the extension subpackage. Submit a PR!


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#27 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AABr0M5RE6Yty1jSPJB8gw2OEnHvOPa0ks5qKMFPgaJpZM4Iygmb
.

Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
[email protected] and [email protected]

from jupyterlab.

jasongrout avatar jasongrout commented on May 18, 2024

Workflow A: have npm run build build the jupyterlab code, then install it into the extension, then update the extension bundle. It would be great to have an npm run watch or something that could do this automatically when a file changed too.

Workflow B: have an npm run watch in the jupyterlab directory, so you first go into the jupyterlab directory and run npm run watch, then as you make changes to the jupyterlab ts source, and run npm run build, the extension updates itself.

from jupyterlab.

Carreau avatar Carreau commented on May 18, 2024

Ping @ian-r-rose , @fperez

from jupyterlab.

fperez avatar fperez commented on May 18, 2024

While having a run watch open is probably a good idea for dev work (and should be documented :), would it also help to have a git hook like we have for j/notebook?

from jupyterlab.

Carreau avatar Carreau commented on May 18, 2024

Sidenote,

npm install run post_install and prepublish which end up running all the test ....etc which seem undesirable.

from jupyterlab.

jasongrout avatar jasongrout commented on May 18, 2024

@Carreau - this is a problem with npm. See npm/npm#3059 (and npm/npm#8402, and finally npm/npm#10074, which is still open).

from jupyterlab.

jasongrout avatar jasongrout commented on May 18, 2024

This issue I think is fixed with #75 (when it is merged...)

from jupyterlab.

jasongrout avatar jasongrout commented on May 18, 2024

Fixed by #75.

from jupyterlab.

Carreau avatar Carreau commented on May 18, 2024

Thanks ! And yes I was 1/2 aware it was a npm issue.

from jupyterlab.

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.