1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-08-29 16:47:56 +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",
}

View File

@@ -7,7 +7,7 @@
* Yes, this would be so much nicer with next.js.
*/
import * as fs from "fs/promises";
import globModule from "glob";
import glob from "glob";
import * as path from "path";
import { createElement, createElement as h, Fragment } from 'react';
import { renderToStaticMarkup } from "react-dom/server";
@@ -15,14 +15,11 @@ import rehypeHighlight from "rehype-highlight";
import rehypeParse from 'rehype-parse';
import rehypeReact from 'rehype-react';
import { unified } from 'unified';
import { promisify } from "util";
// Our components
import Recipe from "./components/Recipe.js";
import { noChildren } from "./components/support.js";
import { DataExport, WithExport } from "./components/WithExport.js";
const glob = promisify(globModule);
(async () => {
const base = "build/illuaminate";