Giter Club home page Giter Club logo

please-nodejs's People

Contributors

vjftw avatar

Stargazers

 avatar

Watchers

 avatar  avatar

please-nodejs's Issues

MAJOR: unable to generate/install node_modules as dependencies must always be the latest

As we're only generating a package.json and using the metadata from sub-packages, pnpm install ... tries to find and install the latest versions of packages which it can't as it has no internet-access. This is pretty major and frustrating bug as it forces you to update dependencies.


The solution to this, is to generate a package-lock.json and use npm clean-install which installs packages from the package-lock.json. Generating the package-lock.json appears non-trivial right now due to my limited experience, but i'll revisit when I get a chance. For now, I recommend just using the node_toolchain in a genrule like this to install packages and committing your package.json + package-lock.json.


I've pushed a new release (v0.0.5) as a really crappy workaround to this which is to remove the sandboxing from the nodejs_package_json node_modules subrule which will allow newer dependencies to be installed (breaking the guarantees that Please provides).

Add a `dev_cmd` for development build+serving

In order to keep development workflows fast and simple, we should remove the current _serve subrule introduce:

  • A dev_cmd used for a set of _dev_* subrules.
  • A _dev subrule which executes the dev_cmd which can be development server related. We need to make sure that users disable the automatic reload of dev servers and in favour of using plz watch --run ... instead.

`install` doesn't handle package import cycles

The install command was implemented under the expectation that NodeJS packages do not have dependency cycles. When trying to install eslint-plugin-react, we end up in a loop. We should only add new packages the queue if they haven't already been added to the queue by keeping state of all packages.

unit tests

Acceptance criteria:

  • gentest for running unit tests.

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.