Repository navigation
Migrate to NodeJS 24 - #1051
Open
bishopbm1 wants to merge 10 commits into
Open
Migrate to NodeJS 24#1051bishopbm1 wants to merge 10 commits into
bishopbm1 wants to merge 10 commits into
Conversation
…of the Node 24/Rsbuild toolchain swap. No behaviour change; all 308 unit tests pass on the existing build.
…workspaces in place of gulp, browserify, mocha and lerna. All 310 unit tests pass and the build output keeps its existing layout.
…eplacing legacy context, propTypes, react-hotkeys and the history package. Also fixes the UI failing to load ("process is not defined") since the Rsbuild switch; all 327 unit tests pass and the build loads cleanly in a browser.
…sh, moment and more) and replace noty, moxios, deep-diff and brace, under a new .npmrc with a 14-day release cooldown and install scripts disabled. Production dependencies now have no npm audit findings and all 343 unit tests pass.
… with yaml behind a parity-tested adapter, and lint with ESLint 10. Adds unit tests for every untested package (791 tests, 81% line coverage) and Playwright specs that pass against the docker stack.
…ws opened as changed and autosaved on open, and orquesta's with-items shorthand was flagged; moving tasks is now a layout change that doesn't block Run. Also titles the designer page after its workflow and boxes the login form, with unit and Playwright regression tests.
…and npm run build instead of the removed lerna, and the package is noarch.
…: the router decodes the hash pathname again.
Feature/nodejs24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
st2web on Node 24 LTS with a current toolchain and dependencies
Moves st2web off its 2019-era toolchain (Node 20.8, gulp + browserify + babel, lerna/yarn,
mocha, zombie, React 16) onto Node 24 LTS, with every dependency on a current release. Also
fixes a set of workflow designer bugs, and builds as a noarch RPM. Per-change detail is in
CHANGELOG.rst.What changed
(the build output keeps its existing layout, and
config.jsstays a static file editable onthe server). Rstest replaces mocha, and ESLint 10 replaces ESLint 6 with babel-eslint. Flow
types,
@connectdecorators, lerna, bower, Vagrant and the gulp tasks are removed.propTypes,UNSAFE_lifecycles,react-hotkeysand thehistorypackage are replaced. The router keepsits Redux-driven design, with a small hash history that decodes the address the way
historydid.
yaml(replacing the unmaintainedyaml-ast-parser, behind an adapter with parity tests), lodash, moment, prismjs and others.npm auditfindings..npmrc):documented);
engine-strict.react-test-renderer;StackStorm.
made Save look missing and Run look disabled;
rewrote it on open;
with: <expr>shorthand was reported asmust be object;<pack.action> - Workflow Designer, with*for unsavededits);
style.from) had kept itsstyles from ever applying.
make rpmworks again with the new toolchain, and the RPM isnoarch. Debianpackaging and
.circleciare untouched.Testing
rules, packs, triggers, inquiry and the workflow designer: toolbar layout, layout change vs
edit, and the title.
nodejs:24module stream, installed overst2web-3.9.0withdnf, and checked in the browser.