Skip to content

Commit

Permalink
Migrate to more TypeScript and update lib.md/lib.html.
Browse files Browse the repository at this point in the history
  • Loading branch information
LambdAurora committed May 27, 2024
1 parent eca955f commit cc8f040
Show file tree
Hide file tree
Showing 78 changed files with 481 additions and 394 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- name: "Build with Deno"
run: |
./build.sh
deno task build
- uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
deno-version: v1.x
- name: "Build with Deno"
run: |
./build.sh
deno task build
- name: "Deploy README"
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@

Welcome to the data branch of the OptiFine Alternatives list.
This branch hosts the build tools and all the list's data.

To build the web page and the final README, use `deno task build`.
2 changes: 1 addition & 1 deletion alternatives/animatica.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Animatica",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/block-entity-extended-rendering.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

export default new Mod(
"Block Entity Extended Rendering",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/camera-utils.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Camera Utils",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/canvas.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Canvas Renderer",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/chime.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Chime",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/cit-resewn.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"CIT Resewn",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/clear-skies.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

export default new Mod(
"Clear Skies",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/clearview.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

export default new Mod(
"ClearView",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/colormatic.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

export default new Mod(
"Colormatic",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/connected_block_textures.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

export default new Mod(
"Connected Block Textures",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/continuity.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Continuity",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/cullleaves.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const HOST_ID = "cull-leaves";

Expand Down
2 changes: 1 addition & 1 deletion alternatives/cullparticles.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const HOST_ID = "cull-particles-fabric";

Expand Down
2 changes: 1 addition & 1 deletion alternatives/custom-entity-models.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

export default new Mod(
"Custom Entity Models (CEM)",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/custom-fog.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Custom Fog",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/custom-splash-screen.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Custom Splash Screen",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/customgui.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

export default new Mod(
"Custom GUI",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/dark-loading-screen.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Dark Loading Screen",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/dynamic-fps.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Dynamic FPS",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/ebe.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Enhanced Block Entities",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/entity-model-features.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const NAMESPACE = "entity-model-features";

Expand Down
2 changes: 1 addition & 1 deletion alternatives/entity-texture-features.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const NAMESPACE = "entitytexturefeatures";

Expand Down
2 changes: 1 addition & 1 deletion alternatives/entityculling.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"EntityCulling",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/fabricskyboxes.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"FabricSkyboxes",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/fabrishot.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

export default new Mod(
"Fabrishot",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/fog-control.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Fog Control",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/fps-reducer.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"FPS Reducer",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/iris.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Iris",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/jmx.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"JMX",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/jsonem.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"JsonEM (Json Entity Models)",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/krypton.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Krypton",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/lambdabettergrass.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"LambdaBetterGrass",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/lambdynamiclights.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"LambDynamicLights",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/lazydfu.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"LazyDFU",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/lithium.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Lithium",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/logical_zoom.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const NAMESPACE = "logical-zoom";

Expand Down
2 changes: 1 addition & 1 deletion alternatives/mbp.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

export default new Mod(
"More Block Predicates",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/moremcmeta.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"MoreMcmeta",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/no-telemetry.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"No Telemetry",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/nofog.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"NoFog",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/okzoomer.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const NAMESPACE = "ok-zoomer";

Expand Down
2 changes: 1 addition & 1 deletion alternatives/optigui.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"OptiGUI",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/phosphor.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

export default new Mod(
"Phosphor",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/polytone.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Polytone",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/quick-spyglasser.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

export default new Mod(
"Quick Spyglasser",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/quilt-loading-screen.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Quilt Loading Screen",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/raised-clouds.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Raised Clouds",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/resolution-control-plus.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"ResolutionControl+",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/resolution-control.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

export default new Mod(
"Resolution Control",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/soaring-clouds.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

export default new Mod(
"Soaring Clouds",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/sodium.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Sodium",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/splash.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

export default new Mod(
"Splash",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/starlight.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Starlight",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/transparent.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Transparent",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/varied-mob-textures.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

export default new Mod(
"Varied Mob Textures",
Expand Down
2 changes: 1 addition & 1 deletion alternatives/zoomify.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Mod from "../build_src/mod.mjs";
import Mod from "../build_src/mod.ts";

const mod = new Mod(
"Zoomify",
Expand Down
Loading

0 comments on commit cc8f040

Please sign in to comment.