Commit graph

122 commits

Author SHA1 Message Date
Damien Elmes
cc354c9f16 update to latest rules_rust + Rust 1.58 2022-01-15 14:22:21 +10:00
Damien Elmes
289ab35fe1 update rules_rust 2021-12-20 17:28:52 +10:00
Damien Elmes
ec3831ae72 update translations 2021-12-20 12:57:35 +10:00
Damien Elmes
81ecaabade update translations 2021-12-08 10:23:27 +10:00
Damien Elmes
f3aebcc786 update to Rust 1.57 + latest rules_rust 2021-12-03 20:35:52 +10:00
Damien Elmes
b64acb5151 update translations 2021-12-03 19:51:28 +10:00
Damien Elmes
fac8df43dc update translations 2021-11-24 14:44:02 +10:00
Damien Elmes
695871e66c Fix latest Rusqlite on Windows
https://github.com/bazelbuild/rules_rust/pull/1025
2021-11-19 10:44:02 +10:00
Damien Elmes
744254daa4 update Rust to 1.56.1 2021-11-18 20:44:15 +10:00
Damien Elmes
f925660b08 update translations 2021-11-15 16:03:31 +10:00
Damien Elmes
ac23757e82 update translations 2021-11-12 15:02:17 +10:00
Damien Elmes
73160fd16c updated package scripts 2021-10-28 18:46:45 +10:00
Damien Elmes
409804a717 update translations 2021-10-26 08:30:13 +10:00
Damien Elmes
beaf9153f6 drop rules_pip
Our vendored Python includes a recent pip, so we no longer need rules_pip's
dependencies for our PyQt scripts.
2021-10-16 16:54:35 +10:00
Damien Elmes
11b2f74882 update rules_python 2021-10-15 15:07:31 +10:00
Damien Elmes
215ab90be8 update translations 2021-10-13 08:44:30 +10:00
Damien Elmes
8ee0276f04 update to the latest rules_rust 2021-10-02 15:13:37 +10:00
Damien Elmes
e1e2be65e6 update translations 2021-10-01 20:48:20 +10:00
Damien Elmes
5d7eb8c425 update to latest rules_nodejs & switch to ts_project
ts_library() is deprecated and will presumably be dropped from a
future rules_nodejs, and it wasn't working with the jest tests
after updating, so we switch over to ts_project().

There are some downsides:

- It's a bit slower, as the worker mode doesn't appear to function
at the moment.
- Getting it working with a mix of source files and generated files
was quite tricky, especially as things behave differently on Windows,
and differently when editing with VS Code. Solved with a small patch
to the rules, and a wrapper script that copies everything into the
bin folder first. To keep VS Code working correctly as well, the built
files are symlinked into the source folder.
- TS libraries are not implicitly linked to node_modules, so they
can't be imported with an absolute name like "lib/proto" - we need
to use relative paths like "../lib/proto" instead. Adjusting "paths"
in tsconfig.json makes it work for TS compilation, but then it fails
at the esbuild stage. We could resolve it by wrapping the TS
libraries in a subsequent js_library() call, but that has the downside
of losing the transient dependencies, meaning they need to be listed
again.  Alternatively we might be able to solve it in the future by
adjusting esbuild, but for now the paths have been made relative to
keep things simple.

Upsides:

- Along with updates to the Svelte tooling, Svelte typing has improved.
All exports made in a Svelte file are now visible to other files that
import them, and we no longer rebuild the Svelte files when TS files
are updated, as the Svelte files do no type checking themselves, and
are just a simple transpilation. Svelte-check now works on Windows again,
and there should be no errors when editing in VS Code after you've
built the project. The only downside seems to be that cmd+clicking
on a Svelte imports jumps to the .d.ts file instead of the original now;
presumably they'll fix that in a future plugin update.
- Each subfolder now has its own tsconfig.json, and tsc can be called
directly for testing purposes (but beware it will place build products
in the source tree): ts/node_modules/.bin/tsc -b ts
- We can drop the custom esbuild_toolchain, as it's included in the
latest rules_nodejs.

Other changes:

- "image_module_support" is moved into lib/, and imported with
<reference types=...>
- Images are now imported directly from their npm package; the
extra copy step has been removed.

Windows users may need to use "bazel clean" before building this,
due to old files lying around in the build folder.
2021-10-01 12:52:53 +10:00
Damien Elmes
b2582924c3 update translations 2021-09-13 14:58:03 +10:00
Damien Elmes
4617c46067 update translations 2021-09-08 19:19:53 +10:00
Damien Elmes
e8e0f9d08c update translations 2021-09-06 18:31:36 +10:00
Damien Elmes
ff7419b153 update translations 2021-08-25 11:21:21 +10:00
Damien Elmes
e3dba889cf update translations 2021-08-22 15:32:46 +10:00
Damien Elmes
fe1cfe171f update translations 2021-08-19 20:26:43 +10:00
Damien Elmes
b5acef3520 update translations 2021-07-30 18:28:19 +10:00
Damien Elmes
bb0d14e799 update translations 2021-07-30 10:27:08 +10:00
Damien Elmes
b44349b670 update translations 2021-07-27 13:03:13 +10:00
Damien Elmes
8696cb2f85 update translations 2021-07-24 21:47:41 +10:00
Damien Elmes
7884b5fd59 update translations 2021-07-17 18:30:19 +10:00
Damien Elmes
aa7f602752 update translations 2021-07-13 16:12:29 +10:00
Damien Elmes
44690a7a64 update translations 2021-07-13 13:32:33 +10:00
Damien Elmes
50db050d4c update translations 2021-07-04 21:41:34 +10:00
Damien Elmes
e22e294885 update translations 2021-06-29 13:17:03 +10:00
Damien Elmes
309748812b update translations 2021-06-24 14:48:48 +10:00
Damien Elmes
02bf7b2ce5 update translations 2021-06-21 22:37:33 +10:00
Damien Elmes
171e2c4b46 update to latest rules_rust
- bumps rust version to 1.53
- drops support for incremental building, which is currently
disabled in stable Rust releases due to bugs. 'cargo check' can still
be used to quickly check things compile
2021-06-21 13:09:36 +10:00
Damien Elmes
bd389985cd switch to latest rules_pip
Closes #1245
2021-06-21 13:09:36 +10:00
Damien Elmes
e33db02881 update translations 2021-06-08 15:40:09 +10:00
Damien Elmes
38316e1079 update translations 2021-06-08 14:07:52 +10:00
Damien Elmes
ffd5dd29ee update translations 2021-06-04 20:08:14 +10:00
Damien Elmes
dbc681d2e5 yet another esbuild update for arm64 2021-06-01 10:11:37 +10:00
Damien Elmes
9f1061b2ae another update for esbuild arm64 2021-05-31 22:23:45 +10:00
Damien Elmes
7465949364 update esbuild-toolchain for arm64 2021-05-29 10:14:23 +10:00
Damien Elmes
656a73504d update translations 2021-05-26 14:41:39 +10:00
Damien Elmes
87cfd51cfa update rules_nodejs 2021-05-26 09:12:23 +10:00
Damien Elmes
d5dfac98ed update translations 2021-05-08 19:16:22 +10:00
Damien Elmes
ddf7c5bb89 update translations 2021-04-25 22:06:05 +10:00
Damien Elmes
56165d6374 bump rules_nodejs version 2021-04-23 11:11:47 +10:00
Damien Elmes
d54151aef7 update translations 2021-04-20 21:41:10 +10:00