Skip to content

Commit

Permalink
Downgrade to Next.js 13, bump React
Browse files Browse the repository at this point in the history
  • Loading branch information
exogen committed Apr 29, 2024
1 parent a726238 commit f375de7
Show file tree
Hide file tree
Showing 79 changed files with 1,575 additions and 1,573 deletions.
9 changes: 7 additions & 2 deletions config/models.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import path from "path";
import { globby } from "globby";
import orderBy from "lodash.orderby";

Expand Down Expand Up @@ -38,17 +39,21 @@ const vehicleModels = [
"vehicle_air_hapc",
];

const T2_SKINS_PATH = process.env.T2_SKINS_PATH || "../t2-skins";

export async function getSkinConfig() {
const [defaultSkins, customSkins, customWeaponSkins] = await Promise.all([
Promise.all(
models.map((name) => globby(`./public/textures/*.${name}.png`))
),
Promise.all(
models.map((name) => globby(`../t2-skins/docs/skins/*.${name}.png`))
models.map((name) =>
globby(path.join(T2_SKINS_PATH, `docs/skins/*.${name}.png`))
)
),
Promise.all(
weaponModels.map((name) =>
globby(`../t2-skins/docs/skins/*/weapon_${name}.png`)
globby(path.join(T2_SKINS_PATH, `docs/skins/*/weapon_${name}.png`))
)
),
]);
Expand Down
2 changes: 1 addition & 1 deletion docs/404.html

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/_next/static/3T3Mx5jzHUS6RNOKKCRI8/_buildManifest.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/_next/static/6cFIfslB0OcrcjYJ_TYw1/_buildManifest.js

This file was deleted.

2 changes: 2 additions & 0 deletions docs/_next/static/chunks/1bfc9850-501065bfd85e066f.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions docs/_next/static/chunks/1bfc9850-6b316c8ef06e5170.js

This file was deleted.

2 changes: 2 additions & 0 deletions docs/_next/static/chunks/250.a985869c089b2fd3.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/_next/static/chunks/250.a985869c089b2fd3.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions docs/_next/static/chunks/31664189-69d752d1129a4958.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions docs/_next/static/chunks/31664189-69d752d1129a4958.js.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions docs/_next/static/chunks/31664189-7261674e93dbb0a6.js

This file was deleted.

1 change: 0 additions & 1 deletion docs/_next/static/chunks/31664189-7261674e93dbb0a6.js.map

This file was deleted.

Loading

0 comments on commit f375de7

Please sign in to comment.