1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-20 08:27:38 +00:00

Bump dependency versions

Mostly in prep for 1.19.4.

 - Update to Loom 1.1.

   - Simplifies our handling of remapped configurations a little.
   - Removes the need for a fake fabric.mod.json in the API jar.

   For reasons I don't quite understand, this required us to bump the
   Fabric API version. Otherwise interfaces are not injected.

 - Update to Rollup 3.0.

 - Do NOT update NullAway: It now correctly checks @Nullable fields in
   inherited classes. This is good, but also a pain as Minecraft is a
   little over-eager in where it puts @Nullable.
This commit is contained in:
Jonathan Coates
2023-03-14 18:41:31 +00:00
parent 04fed62dad
commit a74089d8ae
21 changed files with 638 additions and 866 deletions

View File

@@ -3,7 +3,7 @@ import path from "path";
import typescript from "@rollup/plugin-typescript";
import url from '@rollup/plugin-url';
import { terser } from "rollup-plugin-terser";
import terser from "@rollup/plugin-terser";
const input = "src";
const requirejs = readFileSync("../../node_modules/requirejs/require.js");
@@ -25,7 +25,10 @@ export default {
});
`,
format: "amd",
preferConst: true,
generatedCode: {
preset: "es2015",
constBindings: true,
},
amd: {
define: "require",
}