Passing Lerna’s torch to Nrwl
github.com
@evocateur,
@nrwl_io
Which monorepo tool is right for a Node.js backend?
medium.com
@JMichaelShlomo,
@goldbergyoni
Compares Nx, Turborepo, Lerna and workspaces (npm, yarn, pnpm) w.r.t. four layers:
- Layer 1: Plain old folders to stay on top of your code
- Layer 2: Tasks and pipeline to build your code efficiently
- Layer 3: Hoist your dependencies to boost npm installation
- Layer 4: Link your packages for immediate feedback
Four tools to efficiently manage your JavaScript monorepo
betterprogramming.pub
@joze,
@BttrProgramming
Covers:
- Yarn, npm, and pnpm
- Rush stack
- Turborepo
- Nx
Add 70+ refactorings for JavaScript to Visual Studio Code
marketplace.visualstudio.com
Sponsor
Refactor and modernize your legacy code. With the P42 JavaScript Assistant.
Meet Retool—The Fastest Way To Build Internal Tools
retool.com
Sponsor
Most internal tools are made of the same building blocks: tables, drop-downs, buttons, text inputs, etc. Rather than building a tool from scratch, Retool gives you a point, click, drag & drop interface that makes it simple to build internal UIs fast. But you're never limited by what's available out-of-the-box - you can customize anywhere using JavaScript. Join companies like Amazon, Doordash, and Brex and start building your internal tools in Retool.
Node.js 18.1.0: initial CLI test runner
nodejs.org
@targos89,
@nodejs
Node.js 18.0.0 let us define tests via module 'node:test' . One downside was that we could only run tests by directly executing a test module. That limited us to running one test module at a time. This version adds the flag --test to the node binary that lets us run multiple test modules:
node --test test1.js test2.mjs # single files
node --test test/ # all modules inside directory test/
node --test some-dir/ # elsewhere: module basenames must end with '_test' etc.
The Node.js documentation has more information.
ESLint v8.15.0 released
eslint.org
github/mdjermanovic,
@geteslint
New feature: The no-underscore-dangle rule has the new option enforceInClassFields . If it is true , the names of public and private fields can’t start or end with underscores.
The triple dot syntax (... ) in JavaScript: rest vs. spread
2ality.com
@2ality
In JavaScript, the same syntax – triple dots ( ... ) – is used for two different mechanisms:
- Rest syntax is for receiving data.
- Spreading is for sending data.
This blog post examines how these mechanisms work and why they are not operators.
|