1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-10 00:31:51 +00:00
tobspr_shapez.io/gulp
Даниїл Григор'єв 9906397170
Build tools cleanup pass (#81)
* Fix tsconfig scopes affecting html.js

Since it's quite hard to use a DOM library type there, remove the type
entirely.

* Remove environment variables check

Nothing is using them anymore. It can be added back if needed later.

* Refactor Texture Packer downloading

Refactor local-config.js tasks file into a generic "environment"
category consisting of checking if Java is installed, downloading the
runnable Texture Packer if it's not yet downloaded and copying the local
configuration template; update README accordingly.

* Prepare environment only at postinstall

Remove environment.prepare task from default build pipelines, add a
postinstall script that calls the task, using environment.js as the
gulpfile to speed it up.

* Remove "docs" tasks and types generation script

Remove tasks from docs.js as they are unlikely to do anything meaningful
nowadays. Also remove the buildTypes script as it doesn't work anymore.
A better solution will be provided in the future.

* Simplify some globs

Use additional gulp.src options instead of specifying more or complex
globs.

* Extract built-temp location to a variable

Add the src/js/built-temp directory as a new variable in config.js,
replace all existing references to built-temp with this variable.
2025-06-19 04:51:34 +03:00
..
preloader Clean up SCSS stylesheets 2025-04-08 14:17:16 +03:00
atlas2json.js ES modules and config refactor 2023-03-04 00:46:55 -06:00
build_variants.js Remove unused build variants 2025-04-08 14:15:20 +03:00
buildutils.js Build tools cleanup pass (#81) 2025-06-19 04:51:34 +03:00
config.js Build tools cleanup pass (#81) 2025-06-19 04:51:34 +03:00
css.js Remove unused build pipeline code 2025-04-08 14:18:20 +03:00
environment.js Build tools cleanup pass (#81) 2025-06-19 04:51:34 +03:00
gulpfile.js Apply formatting to gulp 2024-06-20 13:00:58 +03:00
html.js Build tools cleanup pass (#81) 2025-06-19 04:51:34 +03:00
image-resources.js Build tools cleanup pass (#81) 2025-06-19 04:51:34 +03:00
js.js Remove unused build variants 2025-04-08 14:15:20 +03:00
sounds.js Build tools cleanup pass (#81) 2025-06-19 04:51:34 +03:00
standalone.js Build tools cleanup pass (#81) 2025-06-19 04:51:34 +03:00
tasks.js Build tools cleanup pass (#81) 2025-06-19 04:51:34 +03:00
translations.js Build tools cleanup pass (#81) 2025-06-19 04:51:34 +03:00
typescript.js Rewrite the Electron wrapper (#47) 2025-03-21 16:30:13 +02:00
webpack.config.js Do not compress translation files 2025-06-14 06:02:58 +03:00
webpack.production.config.js Do not compress translation files 2025-06-14 06:02:58 +03:00