Skip to content

Conversation

@alexander-akait
Copy link
Member

Summary

We don't need gulp and extra outdated deps to make this simple things

What kind of change does this PR introduce?

build

Did you add tests for your changes?

Existing

Does this PR introduce a breaking change?

No

If relevant, what needs to be documented once your changes are merged or what have you already documented?

Nothing

@valscion
Copy link
Member

Thanks for taking the time to modernize the scripts and setup. They've fallen a bit behind.

@alexander-akait
Copy link
Member Author

@valscion Yeah, WIP on removing outdated and unnecessary deps too

@valscion
Copy link
Member

I've now merged the prettier PR so all the other PRs you've worked on have conflicts now. Feel free to ping me (or convert the PRs first to draft and then to ready-to-review and ping me) once you want me to take a look at these.

@alexander-akait
Copy link
Member Author

@valscion Ready for merge

Copy link
Member

@valscion valscion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good — We can merge this and continue cleanup or then do the cleanup in this PR and merge. Either way works for me.

Comment on lines -27 to -32
gulp.task("clean", gulp.parallel(cleanNodeScripts, cleanViewerScripts));
gulp.task(
"build",
gulp.series("clean", compileNodeScripts, compileViewerScripts),
);
gulp.task("watch", gulp.series("build", watch));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Watching used to clean first before building — doesn't look like the same is happening now. Might not be a problem, though.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We do the same build:analyzer (and other) run clean, watch:analyzer just pass --watch, so we clean these things like we have before


const isDev = opts.env === "dev";
const isDev = (process.env.NODE_ENV || "production") === "development";
const needAnalyze = process.env.ANALYZE || false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this process.env.ANALYZE used somewhere? It doesn't seem like it has been used in the past and I didn't spot any code changes here which would put it to use. So is this value always false now?

We can get rid of the if (needAnalyze) block altogether if that serves no real purpose anymore.

I don't think I ever used the -a flag which used to be present in the gulpfile.js myself...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I put this in future to analyze own viewer code, may be useful

@alexander-akait
Copy link
Member Author

@valscion let's merge this and continue in other PRs for better history

@valscion valscion merged commit da94d7b into main Jan 22, 2026
5 checks passed
@alexander-akait alexander-akait deleted the no-gulp branch January 23, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants