Skip to content

chore: Migrate to oxfmt#2221

Open
iwoplaza wants to merge 2 commits intomainfrom
chore/oxfmt
Open

chore: Migrate to oxfmt#2221
iwoplaza wants to merge 2 commits intomainfrom
chore/oxfmt

Conversation

@iwoplaza
Copy link
Collaborator

No description provided.

@github-actions
Copy link

github-actions bot commented Feb 25, 2026

pkg.pr.new

packages
Ready to be installed by your favorite package manager ⬇️

https://pkg.pr.new/software-mansion/TypeGPU/typegpu@47b71b2f342e32aee7bef37b9c199e70f5895c13
https://pkg.pr.new/software-mansion/TypeGPU/@typegpu/noise@47b71b2f342e32aee7bef37b9c199e70f5895c13
https://pkg.pr.new/software-mansion/TypeGPU/unplugin-typegpu@47b71b2f342e32aee7bef37b9c199e70f5895c13

benchmark
view benchmark

commit
view commit

@github-actions
Copy link

github-actions bot commented Feb 25, 2026

📊 Bundle Size Comparison

🟢 Decreased ➖ Unchanged 🔴 Increased ❔ Unknown
0 345 0 0

👀 Notable results

Static test results:

No major changes.

Dynamic test results:

No major changes.

📋 All results

Click to reveal the results table (344 entries).
Test tsdown
dataImportEverything.ts 82.25 kB (➖)
dataImportOneDirect.ts 22.03 kB (➖)
dataImportOneStar.ts 22.03 kB (➖)
functionWithUseGpu.ts 282 B (➖)
functionWithoutUseGpu.ts 24 B (➖)
importEntireLibrary.ts 263.66 kB (➖)
stdImportEverything.ts 96.06 kB (➖)
stdImportOneDirect.ts 44.01 kB (➖)
stdImportOneStar.ts 44.01 kB (➖)
tgpuImportEverything.ts 241.93 kB (➖)
tgpuImportOne.ts 241.95 kB (➖)
MissingBindGroupsError from typegpu.ts 1.29 kB (➖)
MissingLinksError from typegpu.ts 208 B (➖)
MissingSlotValueError from typegpu.ts 153 B (➖)
MissingVertexBuffersError from typegpu.ts 1.29 kB (➖)
NotUniformError from typegpu.ts 1.25 kB (➖)
ResolutionError from typegpu.ts 1.48 kB (➖)
Void from typegpudata.ts 676 B (➖)
abs from typegpustd.ts 61.32 kB (➖)
acos from typegpustd.ts 61.32 kB (➖)
acosh from typegpustd.ts 61.32 kB (➖)
add from typegpustd.ts 44.01 kB (➖)
align from typegpudata.ts 23.70 kB (➖)
alignmentOf from typegpudata.ts 19.26 kB (➖)
allEq from typegpustd.ts 46.54 kB (➖)
all from typegpustd.ts 46.54 kB (➖)
and from typegpustd.ts 46.53 kB (➖)
any from typegpustd.ts 46.54 kB (➖)
arrayLength from typegpustd.ts 12.13 kB (➖)
arrayOf from typegpudata.ts 23.91 kB (➖)
asin from typegpustd.ts 61.32 kB (➖)
asinh from typegpustd.ts 61.32 kB (➖)
atan2 from typegpustd.ts 61.32 kB (➖)
atan from typegpustd.ts 61.32 kB (➖)
atanh from typegpustd.ts 61.32 kB (➖)
atomicAdd from typegpustd.ts 13.51 kB (➖)
atomicAnd from typegpustd.ts 13.51 kB (➖)
atomicLoad from typegpustd.ts 13.50 kB (➖)
atomicMax from typegpustd.ts 13.51 kB (➖)
atomicMin from typegpustd.ts 13.51 kB (➖)
atomicOr from typegpustd.ts 13.51 kB (➖)
atomicStore from typegpustd.ts 13.50 kB (➖)
atomicSub from typegpustd.ts 13.51 kB (➖)
atomicXor from typegpustd.ts 13.51 kB (➖)
atomic from typegpudata.ts 715 B (➖)
bitcastU32toF32 from typegpustd.ts 41.40 kB (➖)
bitcastU32toI32 from typegpustd.ts 41.41 kB (➖)
bool from typegpudata.ts 10.70 kB (➖)
builtin from typegpudata.ts 26.26 kB (➖)
ceil from typegpustd.ts 61.32 kB (➖)
clamp from typegpustd.ts 61.32 kB (➖)
common from typegpu.ts 36.24 kB (➖)
comparisonSampler from typegpudata.ts 695 B (➖)
cos from typegpustd.ts 61.32 kB (➖)
cosh from typegpustd.ts 61.32 kB (➖)
countLeadingZeros from typegpustd.ts 61.32 kB (➖)
countOneBits from typegpustd.ts 61.32 kB (➖)
countTrailingZeros from typegpustd.ts 61.32 kB (➖)
cross from typegpustd.ts 61.32 kB (➖)
d from typegpu.ts 82.23 kB (➖)
deepEqual from typegpudata.ts 2.72 kB (➖)
degrees from typegpustd.ts 61.32 kB (➖)
determinant from typegpustd.ts 61.32 kB (➖)
disarrayOf from typegpudata.ts 12.65 kB (➖)
discard from typegpustd.ts 11.89 kB (➖)
distance from typegpustd.ts 61.32 kB (➖)
div from typegpustd.ts 44.01 kB (➖)
dot4I8Packed from typegpustd.ts 61.32 kB (➖)
dot4U8Packed from typegpustd.ts 61.32 kB (➖)
dot from typegpustd.ts 61.31 kB (➖)
dpdxCoarse from typegpustd.ts 12.75 kB (➖)
dpdxFine from typegpustd.ts 12.75 kB (➖)
dpdx from typegpustd.ts 12.74 kB (➖)
dpdyCoarse from typegpustd.ts 12.75 kB (➖)
dpdyFine from typegpustd.ts 12.75 kB (➖)
dpdy from typegpustd.ts 12.75 kB (➖)
eq from typegpustd.ts 46.54 kB (➖)
exp2 from typegpustd.ts 61.32 kB (➖)
exp from typegpustd.ts 61.32 kB (➖)
extensionEnabled from typegpustd.ts 12.21 kB (➖)
extractBits from typegpustd.ts 61.32 kB (➖)
f16 from typegpudata.ts 10.70 kB (➖)
f32 from typegpudata.ts 10.70 kB (➖)
faceForward from typegpustd.ts 61.32 kB (➖)
firstLeadingBit from typegpustd.ts 61.32 kB (➖)
firstTrailingBit from typegpustd.ts 61.32 kB (➖)
float16 from typegpudata.ts 18.22 kB (➖)
float16x2 from typegpudata.ts 18.22 kB (➖)
float16x4 from typegpudata.ts 18.22 kB (➖)
float32 from typegpudata.ts 18.22 kB (➖)
float32x2 from typegpudata.ts 18.22 kB (➖)
float32x3 from typegpudata.ts 18.22 kB (➖)
float32x4 from typegpudata.ts 18.22 kB (➖)
floor from typegpustd.ts 61.32 kB (➖)
fma from typegpustd.ts 61.32 kB (➖)
formatToWGSLType from typegpudata.ts 18.21 kB (➖)
fract from typegpustd.ts 61.32 kB (➖)
frexp from typegpustd.ts 61.32 kB (➖)
fwidthCoarse from typegpustd.ts 12.75 kB (➖)
fwidthFine from typegpustd.ts 12.75 kB (➖)
fwidth from typegpustd.ts 12.75 kB (➖)
ge from typegpustd.ts 46.54 kB (➖)
getLongestContiguousPrefix from typegpudata.ts 22.05 kB (➖)
gt from typegpustd.ts 46.54 kB (➖)
i32 from typegpudata.ts 10.70 kB (➖)
identity2 from typegpustd.ts 24.64 kB (➖)
identity3 from typegpustd.ts 24.64 kB (➖)
identity4 from typegpustd.ts 24.64 kB (➖)
insertBits from typegpustd.ts 61.32 kB (➖)
interpolate from typegpudata.ts 23.71 kB (➖)
invariant from typegpudata.ts 24.08 kB (➖)
inverseSqrt from typegpustd.ts 61.32 kB (➖)
isAccessor from typegpu.ts 72 B (➖)
isAlignAttrib from typegpudata.ts 697 B (➖)
isAtomic from typegpudata.ts 697 B (➖)
isBufferShorthand from typegpu.ts 1.70 kB (➖)
isBuffer from typegpu.ts 86.33 kB (➖)
isBuiltinAttrib from typegpudata.ts 699 B (➖)
isBuiltin from typegpudata.ts 21.98 kB (➖)
isCloseTo from typegpustd.ts 46.54 kB (➖)
isComparisonSampler from typegpu.ts 57.76 kB (➖)
isContiguous from typegpudata.ts 22.04 kB (➖)
isData from typegpudata.ts 2.33 kB (➖)
isDecorated from typegpudata.ts 700 B (➖)
isDisarray from typegpudata.ts 1.63 kB (➖)
isInterpolateAttrib from typegpudata.ts 703 B (➖)
isLazy from typegpu.ts 68 B (➖)
isLocationAttrib from typegpudata.ts 700 B (➖)
isLooseData from typegpudata.ts 1.68 kB (➖)
isLooseDecorated from typegpudata.ts 1.64 kB (➖)
isMutableAccessor from typegpu.ts 80 B (➖)
isPackedData from typegpudata.ts 18.28 kB (➖)
isPtr from typegpudata.ts 694 B (➖)
isSampler from typegpu.ts 57.75 kB (➖)
isSizeAttrib from typegpudata.ts 696 B (➖)
isSlot from typegpu.ts 68 B (➖)
isTexture from typegpu.ts 57.75 kB (➖)
isTgpuComputeFn from typegpu.ts 76 B (➖)
isTgpuFn from typegpu.ts 707 B (➖)
isTgpuFragmentFn from typegpu.ts 77 B (➖)
isTgpuVertexFn from typegpu.ts 75 B (➖)
isUnstruct from typegpudata.ts 1.63 kB (➖)
isUsableAsRender from typegpu.ts 62 B (➖)
isUsableAsSampled from typegpu.ts 63 B (➖)
isUsableAsStorage from typegpu.ts 63 B (➖)
isUsableAsUniform from typegpu.ts 57.74 kB (➖)
isUsableAsVertex from typegpu.ts 86.32 kB (➖)
isVariable from typegpu.ts 59.54 kB (➖)
isWgslArray from typegpudata.ts 696 B (➖)
isWgslData from typegpudata.ts 1.25 kB (➖)
isWgslStruct from typegpudata.ts 697 B (➖)
ldexp from typegpustd.ts 61.32 kB (➖)
le from typegpustd.ts 46.54 kB (➖)
length from typegpustd.ts 61.31 kB (➖)
location from typegpudata.ts 23.71 kB (➖)
log2 from typegpustd.ts 61.32 kB (➖)
log from typegpustd.ts 61.32 kB (➖)
lt from typegpustd.ts 46.54 kB (➖)
mat2x2f from typegpudata.ts 24.63 kB (➖)
mat3x3f from typegpudata.ts 24.63 kB (➖)
mat4x4f from typegpudata.ts 24.63 kB (➖)
matToArray from typegpudata.ts 24.77 kB (➖)
max from typegpustd.ts 61.32 kB (➖)
memoryLayoutOf from typegpudata.ts 39.24 kB (➖)
min from typegpustd.ts 61.32 kB (➖)
mix from typegpustd.ts 61.32 kB (➖)
mod from typegpustd.ts 44.01 kB (➖)
modf from typegpustd.ts 61.32 kB (➖)
mul from typegpustd.ts 44.01 kB (➖)
ne from typegpustd.ts 46.54 kB (➖)
neg from typegpustd.ts 44.01 kB (➖)
normalize from typegpustd.ts 61.32 kB (➖)
not from typegpustd.ts 46.53 kB (➖)
or from typegpustd.ts 46.53 kB (➖)
pack2x16float from typegpustd.ts 33.24 kB (➖)
pack4x8unorm from typegpustd.ts 33.24 kB (➖)
packedFormats from typegpudata.ts 18.24 kB (➖)
pow from typegpustd.ts 61.32 kB (➖)
ptrFn from typegpudata.ts 801 B (➖)
ptrHandle from typegpudata.ts 793 B (➖)
ptrPrivate from typegpudata.ts 800 B (➖)
ptrStorage from typegpudata.ts 798 B (➖)
ptrUniform from typegpudata.ts 794 B (➖)
ptrWorkgroup from typegpudata.ts 802 B (➖)
quantizeToF16 from typegpustd.ts 61.32 kB (➖)
radians from typegpustd.ts 61.32 kB (➖)
ref from typegpudata.ts 4.10 kB (➖)
reflect from typegpustd.ts 61.32 kB (➖)
refract from typegpustd.ts 61.32 kB (➖)
reverseBits from typegpustd.ts 61.32 kB (➖)
rotateX4 from typegpustd.ts 44.77 kB (➖)
rotateY4 from typegpustd.ts 44.77 kB (➖)
rotateZ4 from typegpustd.ts 44.77 kB (➖)
rotationX4 from typegpustd.ts 24.64 kB (➖)
rotationY4 from typegpustd.ts 24.64 kB (➖)
rotationZ4 from typegpustd.ts 24.64 kB (➖)
round from typegpustd.ts 61.32 kB (➖)
sampler from typegpudata.ts 684 B (➖)
saturate from typegpustd.ts 61.32 kB (➖)
scale4 from typegpustd.ts 44.77 kB (➖)
scaling4 from typegpustd.ts 24.64 kB (➖)
select from typegpustd.ts 46.54 kB (➖)
sign from typegpustd.ts 61.32 kB (➖)
sin from typegpustd.ts 61.32 kB (➖)
sinh from typegpustd.ts 61.32 kB (➖)
sint16 from typegpudata.ts 18.22 kB (➖)
sint16x2 from typegpudata.ts 18.22 kB (➖)
sint16x4 from typegpudata.ts 18.22 kB (➖)
sint32 from typegpudata.ts 18.22 kB (➖)
sint32x2 from typegpudata.ts 18.22 kB (➖)
sint32x3 from typegpudata.ts 18.22 kB (➖)
sint32x4 from typegpudata.ts 18.22 kB (➖)
sint8 from typegpudata.ts 18.22 kB (➖)
sint8x2 from typegpudata.ts 18.22 kB (➖)
sint8x4 from typegpudata.ts 18.22 kB (➖)
sizeOf from typegpudata.ts 22.03 kB (➖)
size from typegpudata.ts 23.70 kB (➖)
smoothstep from typegpustd.ts 61.32 kB (➖)
snorm16 from typegpudata.ts 18.22 kB (➖)
snorm16x2 from typegpudata.ts 18.22 kB (➖)
snorm16x4 from typegpudata.ts 18.22 kB (➖)
snorm8 from typegpudata.ts 18.22 kB (➖)
snorm8x2 from typegpudata.ts 18.22 kB (➖)
snorm8x4 from typegpudata.ts 18.22 kB (➖)
sqrt from typegpustd.ts 61.32 kB (➖)
std from typegpu.ts 96.06 kB (➖)
step from typegpustd.ts 61.32 kB (➖)
storageBarrier from typegpustd.ts 13.51 kB (➖)
struct from typegpudata.ts 3.32 kB (➖)
sub from typegpustd.ts 44.01 kB (➖)
subgroupAdd from typegpustd.ts 21.30 kB (➖)
subgroupAll from typegpustd.ts 21.30 kB (➖)
subgroupAnd from typegpustd.ts 21.30 kB (➖)
subgroupAny from typegpustd.ts 21.30 kB (➖)
subgroupBallot from typegpustd.ts 21.30 kB (➖)
subgroupBroadcastFirst from typegpustd.ts 21.30 kB (➖)
subgroupBroadcast from typegpustd.ts 21.30 kB (➖)
subgroupElect from typegpustd.ts 21.30 kB (➖)
subgroupExclusiveAdd from typegpustd.ts 21.30 kB (➖)
subgroupExclusiveMul from typegpustd.ts 21.30 kB (➖)
subgroupInclusiveAdd from typegpustd.ts 21.30 kB (➖)
subgroupInclusiveMul from typegpustd.ts 21.30 kB (➖)
subgroupMax from typegpustd.ts 21.30 kB (➖)
subgroupMin from typegpustd.ts 21.30 kB (➖)
subgroupMul from typegpustd.ts 21.30 kB (➖)
subgroupOr from typegpustd.ts 21.30 kB (➖)
subgroupShuffleDown from typegpustd.ts 21.30 kB (➖)
subgroupShuffleUp from typegpustd.ts 21.30 kB (➖)
subgroupShuffleXor from typegpustd.ts 21.30 kB (➖)
subgroupShuffle from typegpustd.ts 21.30 kB (➖)
subgroupXor from typegpustd.ts 21.30 kB (➖)
tan from typegpustd.ts 61.32 kB (➖)
tanh from typegpustd.ts 61.32 kB (➖)
texture1d from typegpudata.ts 11.15 kB (➖)
texture2dArray from typegpudata.ts 11.17 kB (➖)
texture2d from typegpudata.ts 11.15 kB (➖)
texture3d from typegpudata.ts 11.15 kB (➖)
textureBarrier from typegpustd.ts 13.50 kB (➖)
textureCubeArray from typegpudata.ts 11.17 kB (➖)
textureCube from typegpudata.ts 11.16 kB (➖)
textureDepth2dArray from typegpudata.ts 11.16 kB (➖)
textureDepth2d from typegpudata.ts 11.14 kB (➖)
textureDepthCubeArray from typegpudata.ts 11.16 kB (➖)
textureDepthCube from typegpudata.ts 11.14 kB (➖)
textureDepthMultisampled2d from typegpudata.ts 11.16 kB (➖)
textureDimensions from typegpustd.ts 22.68 kB (➖)
textureExternal from typegpudata.ts 815 B (➖)
textureGather from typegpustd.ts 22.68 kB (➖)
textureLoad from typegpustd.ts 22.69 kB (➖)
textureMultisampled2d from typegpudata.ts 11.17 kB (➖)
textureSampleBaseClampToEdge from typegpustd.ts 22.69 kB (➖)
textureSampleBias from typegpustd.ts 22.69 kB (➖)
textureSampleCompareLevel from typegpustd.ts 22.69 kB (➖)
textureSampleCompare from typegpustd.ts 22.69 kB (➖)
textureSampleLevel from typegpustd.ts 22.69 kB (➖)
textureSample from typegpustd.ts 22.69 kB (➖)
textureStorage1d from typegpudata.ts 979 B (➖)
textureStorage2dArray from typegpudata.ts 997 B (➖)
textureStorage2d from typegpudata.ts 979 B (➖)
textureStorage3d from typegpudata.ts 979 B (➖)
textureStore from typegpustd.ts 22.69 kB (➖)
tgpu.accessor from typegpu.ts 59.50 kB (➖)
tgpu.bindGroupLayout from typegpu.ts 66.64 kB (➖)
tgpu.comptime from typegpu.ts 11.99 kB (➖)
tgpu.computeFn from typegpu.ts 33.01 kB (➖)
tgpu.const from typegpu.ts 58.61 kB (➖)
tgpu.fn from typegpu.ts 33.66 kB (➖)
tgpu.fragmentFn from typegpu.ts 33.17 kB (➖)
tgpu.initFromDevice from typegpu.ts 233.23 kB (➖)
tgpu.init from typegpu.ts 233.74 kB (➖)
tgpu.lazy from typegpu.ts 1.16 kB (➖)
tgpu.mutableAccessor from typegpu.ts 59.51 kB (➖)
tgpu.privateVar from typegpu.ts 59.54 kB (➖)
tgpu.resolveWithContext from typegpu.ts 172.59 kB (➖)
tgpu.resolve from typegpu.ts 172.65 kB (➖)
tgpu.slot from typegpu.ts 1.59 kB (➖)
tgpu.unroll from typegpu.ts 2.53 kB (➖)
tgpu.vertexFn from typegpu.ts 33.14 kB (➖)
tgpu.vertexLayout from typegpu.ts 24.04 kB (➖)
tgpu.workgroupVar from typegpu.ts 59.54 kB (➖)
tgpu from typegpu.ts 241.94 kB (➖)
translate4 from typegpustd.ts 44.77 kB (➖)
translation4 from typegpustd.ts 24.64 kB (➖)
transpose from typegpustd.ts 61.32 kB (➖)
trunc from typegpustd.ts 61.32 kB (➖)
u16 from typegpudata.ts 10.72 kB (➖)
u32 from typegpudata.ts 10.70 kB (➖)
uint16 from typegpudata.ts 18.22 kB (➖)
uint16x2 from typegpudata.ts 18.22 kB (➖)
uint16x4 from typegpudata.ts 18.22 kB (➖)
uint32 from typegpudata.ts 18.22 kB (➖)
uint32x2 from typegpudata.ts 18.22 kB (➖)
uint32x3 from typegpudata.ts 18.22 kB (➖)
uint32x4 from typegpudata.ts 18.22 kB (➖)
uint8 from typegpudata.ts 18.21 kB (➖)
uint8x2 from typegpudata.ts 18.22 kB (➖)
uint8x4 from typegpudata.ts 18.22 kB (➖)
unorm10 10 10 2 from typegpudata.ts 18.22 kB (➖)
unorm16 from typegpudata.ts 18.22 kB (➖)
unorm16x2 from typegpudata.ts 18.22 kB (➖)
unorm16x4 from typegpudata.ts 18.22 kB (➖)
unorm8 from typegpudata.ts 18.22 kB (➖)
unorm8x2 from typegpudata.ts 18.22 kB (➖)
unorm8x4 bgra from typegpudata.ts 18.22 kB (➖)
unorm8x4 from typegpudata.ts 18.22 kB (➖)
unpack2x16float from typegpustd.ts 33.24 kB (➖)
unpack4x8unorm from typegpustd.ts 33.24 kB (➖)
unstruct from typegpudata.ts 1.59 kB (➖)
vec2b from typegpudata.ts 16.73 kB (➖)
vec2f from typegpudata.ts 16.73 kB (➖)
vec2h from typegpudata.ts 16.73 kB (➖)
vec2i from typegpudata.ts 16.73 kB (➖)
vec2u from typegpudata.ts 16.73 kB (➖)
vec3b from typegpudata.ts 16.73 kB (➖)
vec3f from typegpudata.ts 16.73 kB (➖)
vec3h from typegpudata.ts 16.73 kB (➖)
vec3i from typegpudata.ts 16.73 kB (➖)
vec3u from typegpudata.ts 16.73 kB (➖)
vec4b from typegpudata.ts 16.73 kB (➖)
vec4f from typegpudata.ts 16.73 kB (➖)
vec4h from typegpudata.ts 16.73 kB (➖)
vec4i from typegpudata.ts 16.73 kB (➖)
vec4u from typegpudata.ts 16.73 kB (➖)
workgroupBarrier from typegpustd.ts 13.51 kB (➖)

If you wish to run a comparison for other, slower bundlers, run the 'Tree-shake test' from the GitHub Actions menu.

@iwoplaza iwoplaza force-pushed the chore/oxfmt branch 8 times, most recently from bf4a3b7 to 0a92414 Compare February 25, 2026 14:33
@iwoplaza iwoplaza marked this pull request as ready for review February 25, 2026 14:35
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the repo’s formatting workflow from Deno formatting to oxfmt, updating ignore directives/config and reformatting a large portion of the codebase to the new style.

Changes:

  • Added .oxfmtrc.json and updated in-code ignore directives to // oxfmt-ignore.
  • Reformatted TypeScript/JavaScript/JSON/HTML/CSS across packages and docs to match oxfmt output.
  • Removed Deno formatting setup from editor/CI bits (VSCode settings, GitHub workflows) as part of the migration.

Reviewed changes

Copilot reviewed 292 out of 609 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/typegpu-noise/src/perlin-3d/algorithm.ts oxfmt reformat
packages/typegpu-noise/src/perlin-2d/static-cache.ts oxfmt reformat
packages/typegpu-noise/src/perlin-2d/algorithm.ts oxfmt reformat
packages/typegpu-noise/src/generator.ts oxfmt reformat
packages/typegpu-noise/package.json package.json formatting/ordering updates
packages/typegpu-noise/README.md markdown formatting update
packages/typegpu-geometry/src/lines/joins/round.ts oxfmt reformat
packages/typegpu-geometry/src/lines/joins/miter.ts oxfmt reformat
packages/typegpu-geometry/src/lines/joins/common.ts oxfmt reformat
packages/typegpu-geometry/src/lines/indices.ts migrate ignore comments to oxfmt
packages/typegpu-geometry/src/lines/caps/triangle.ts oxfmt reformat
packages/typegpu-geometry/src/lines/caps/swallowtail.ts oxfmt reformat
packages/typegpu-geometry/src/lines/caps/square.ts oxfmt reformat
packages/typegpu-geometry/src/lines/caps/round.ts oxfmt reformat
packages/typegpu-geometry/src/lines/caps/common.ts oxfmt reformat
packages/typegpu-geometry/src/lines/caps/butt.ts oxfmt reformat
packages/typegpu-geometry/src/lines/caps/arrow.ts oxfmt reformat
packages/typegpu-geometry/src/circle.ts oxfmt reformat
packages/typegpu-geometry/package.json package.json formatting/ordering updates
packages/typegpu-concurrent-scan/src/concurrentScan.ts oxfmt reformat
packages/typegpu-concurrent-scan/src/compute/shared.ts oxfmt reformat
packages/typegpu-concurrent-scan/src/compute/scan.ts oxfmt reformat
packages/typegpu-concurrent-scan/package.json package.json formatting/ordering updates
packages/typegpu-concurrent-scan/README.md markdown formatting update
packages/typegpu-color/src/ycbcr.ts oxfmt reformat
packages/typegpu-color/src/srgb.ts oxfmt reformat
packages/typegpu-color/src/hsv.ts oxfmt reformat
packages/typegpu-color/package.json package.json formatting/ordering updates
packages/tinyest/src/nodes.ts oxfmt reformat
packages/tinyest/package.json package.json formatting/ordering updates
packages/tinyest-for-wgsl/tests/parsers.test.ts oxfmt reformat
packages/tgpu-gen/tests/structs.test.ts oxfmt reformat
packages/tgpu-gen/tests/outputPathCompiler.test.ts oxfmt reformat
packages/tgpu-gen/tests/bindGroupLayouts.test.ts oxfmt reformat
packages/tgpu-gen/package.json package.json formatting/ordering updates
packages/tgpu-gen/outputPathCompiler.mjs oxfmt reformat
packages/tgpu-dev-cli/tgpu-dev-cli.mjs oxfmt reformat
packages/tgpu-dev-cli/progress.mjs oxfmt reformat
packages/tgpu-dev-cli/prepack.mjs oxfmt reformat
packages/tgpu-dev-cli/package.json package.json formatting/ordering updates
packages/tgpu-dev-cli/icons.mjs oxfmt reformat
packages/tgpu-dev-cli/changes.mjs oxfmt reformat
packages/eslint-plugin/tests/integerDivision.test.ts oxfmt reformat
packages/eslint-plugin/src/configs.ts oxfmt reformat
packages/eslint-plugin/package.json package.json formatting/ordering updates
oxlint.config.ts oxfmt reformat
apps/typegpu-docs/vitest.config.mts oxfmt reformat
apps/typegpu-docs/tests/examples.test.browser.ts oxfmt reformat
apps/typegpu-docs/src/utils/useHydrated.ts oxfmt reformat
apps/typegpu-docs/src/utils/useEvent.ts oxfmt reformat
apps/typegpu-docs/src/utils/examples/sandboxModules.ts oxfmt reformat
apps/typegpu-docs/src/utils/examples/exampleViewStateAtoms.ts oxfmt reformat
apps/typegpu-docs/src/utils/examples/exampleRunner.ts oxfmt reformat
apps/typegpu-docs/src/utils/examples/currentSnackbarAtom.ts oxfmt reformat
apps/typegpu-docs/src/pages/benchmark/test-suites/compiled-write.ts oxfmt reformat
apps/typegpu-docs/src/pages/benchmark/suites.ts oxfmt reformat
apps/typegpu-docs/src/pages/benchmark/parameter-set.ts oxfmt reformat
apps/typegpu-docs/src/pages/benchmark/modules.ts oxfmt reformat
apps/typegpu-docs/src/pages/benchmark/atom-with-url.ts oxfmt reformat
apps/typegpu-docs/src/fonts/font-face.css oxfmt reformat
apps/typegpu-docs/src/examples/threejs/varyings/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/threejs/test-reused-functions/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/threejs/test-reused-functions/cubes.ts oxfmt reformat
apps/typegpu-docs/src/examples/threejs/test-mismatched-types/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/threejs/simple/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/threejs/compute-particles-snow/entities.ts oxfmt reformat
apps/typegpu-docs/src/examples/threejs/compute-cloth/triNoise.ts oxfmt reformat
apps/typegpu-docs/src/examples/tests/uniformity/prngs.ts oxfmt reformat
apps/typegpu-docs/src/examples/tests/uniformity/lcg.ts oxfmt reformat
apps/typegpu-docs/src/examples/tests/uniformity/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/tests/tgsl-parsing-test/pointers.ts oxfmt reformat
apps/typegpu-docs/src/examples/tests/tgsl-parsing-test/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/tests/texture-test/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/tests/prefix-scan/functions.ts oxfmt reformat
apps/typegpu-docs/src/examples/tests/copy-error/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/tests/copy-error/index.html html formatting update
apps/typegpu-docs/src/examples/simulation/stable-fluid/render.ts oxfmt reformat
apps/typegpu-docs/src/examples/simulation/gravity/schemas.ts oxfmt reformat
apps/typegpu-docs/src/examples/simulation/gravity/render.ts oxfmt reformat
apps/typegpu-docs/src/examples/simulation/gravity/presets.ts oxfmt reformat
apps/typegpu-docs/src/examples/simulation/gravity/helpers.ts oxfmt reformat
apps/typegpu-docs/src/examples/simulation/game-of-life/shaders/tiled-compute.ts oxfmt reformat + ignore directive update
apps/typegpu-docs/src/examples/simulation/game-of-life/shaders/naive-compute.ts oxfmt reformat
apps/typegpu-docs/src/examples/simulation/game-of-life/shaders/common.ts oxfmt reformat
apps/typegpu-docs/src/examples/simulation/game-of-life/shaders/bitpacked-compute.ts oxfmt reformat + ignore directive update
apps/typegpu-docs/src/examples/simulation/game-of-life/input.ts oxfmt reformat
apps/typegpu-docs/src/examples/simulation/confetti/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/simulation/boids/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/simple/vaporrave/sphere.ts oxfmt reformat
apps/typegpu-docs/src/examples/simple/vaporrave/meta.json json formatting update
apps/typegpu-docs/src/examples/simple/vaporrave/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/simple/vaporrave/helpers.ts oxfmt reformat
apps/typegpu-docs/src/examples/simple/vaporrave/floor.ts oxfmt reformat
apps/typegpu-docs/src/examples/simple/triangle/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/simple/triangle-next/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/simple/stencil/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/simple/square/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/simple/ripple-cube/sdf-scene.ts oxfmt reformat
apps/typegpu-docs/src/examples/simple/ripple-cube/pbr.ts oxfmt reformat
apps/typegpu-docs/src/examples/simple/gradient-tiles/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/xor-dev-runner/index.html html formatting update
apps/typegpu-docs/src/examples/rendering/xor-dev-centrifuge-2/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/xor-dev-centrifuge-2/index.html html formatting update
apps/typegpu-docs/src/examples/rendering/ray-marching/meta.json json formatting update
apps/typegpu-docs/src/examples/rendering/point-light-shadow/types.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/point-light-shadow/scene.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/point-light-shadow/point-light.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/point-light-shadow/camera.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/point-light-shadow/box-geometry.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/phong-reflection/load-model.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/phong-reflection/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/perlin-noise/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/jelly-switch/utils.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/jelly-switch/switch.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/jelly-switch/camera.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/jelly-slider/utils.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/jelly-slider/numbers.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/jelly-slider/index.html html formatting update
apps/typegpu-docs/src/examples/rendering/jelly-slider/events.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/jelly-slider/camera.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/disco/utils.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/disco/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/clouds/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/caustics/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/3d-fish/tgsl-helpers.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/3d-fish/schemas.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/3d-fish/render.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/3d-fish/load-model.ts oxfmt reformat
apps/typegpu-docs/src/examples/rendering/3d-fish/index.html html formatting update
apps/typegpu-docs/src/examples/rendering/3d-fish/compute.ts oxfmt reformat
apps/typegpu-docs/src/examples/image-processing/chroma-keying/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/image-processing/camera-thresholding/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/image-processing/blur/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/image-processing/background-segmentation/shaders.ts oxfmt reformat
apps/typegpu-docs/src/examples/image-processing/background-segmentation/index.html html formatting update
apps/typegpu-docs/src/examples/geometry/circles/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/common/defineControls.ts oxfmt reformat
apps/typegpu-docs/src/examples/algorithms/probability/types.ts oxfmt reformat
apps/typegpu-docs/src/examples/algorithms/probability/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/algorithms/probability/index.html html formatting update
apps/typegpu-docs/src/examples/algorithms/mnist-inference/meta.json json formatting update
apps/typegpu-docs/src/examples/algorithms/mnist-inference/index.html html/css formatting update
apps/typegpu-docs/src/examples/algorithms/mnist-inference/helpers.ts oxfmt reformat
apps/typegpu-docs/src/examples/algorithms/matrix-next/types.ts oxfmt reformat
apps/typegpu-docs/src/examples/algorithms/matrix-next/index.html html formatting update
apps/typegpu-docs/src/examples/algorithms/matrix-next/computeSimple.ts oxfmt reformat
apps/typegpu-docs/src/examples/algorithms/matrix-next/computeCpu.ts oxfmt reformat
apps/typegpu-docs/src/examples/algorithms/matrix-multiplication/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/algorithms/jump-flood-distance/visualization.ts oxfmt reformat
apps/typegpu-docs/src/examples/algorithms/jump-flood-distance/types.ts oxfmt reformat
apps/typegpu-docs/src/examples/algorithms/concurrent-chart/index.ts oxfmt reformat
apps/typegpu-docs/src/examples/algorithms/concurrent-chart/index.html html/css formatting update
apps/typegpu-docs/src/examples/algorithms/concurrent-chart/calculator.ts oxfmt reformat
apps/typegpu-docs/src/content/docs/tutorials/triangle-to-boids/code/step9-webgpu.ts oxfmt reformat
apps/typegpu-docs/src/content/docs/tutorials/triangle-to-boids/code/step9-typegpu.ts oxfmt reformat
apps/typegpu-docs/src/content/docs/tutorials/triangle-to-boids/code/step8-typegpu.ts oxfmt reformat
apps/typegpu-docs/src/content/docs/tutorials/triangle-to-boids/code/step7-typegpu.ts oxfmt reformat
apps/typegpu-docs/src/content/docs/tutorials/triangle-to-boids/code/step6-typegpu.ts oxfmt reformat
apps/typegpu-docs/src/content/docs/tutorials/triangle-to-boids/code/step5-webgpu.ts oxfmt reformat
apps/typegpu-docs/src/content/docs/tutorials/triangle-to-boids/code/step5-typegpu.ts oxfmt reformat
apps/typegpu-docs/src/content/docs/tutorials/triangle-to-boids/code/step4-webgpu.ts oxfmt reformat
apps/typegpu-docs/src/content/docs/tutorials/triangle-to-boids/code/step4-typegpu.ts oxfmt reformat
apps/typegpu-docs/src/content/docs/tutorials/triangle-to-boids/code/step3-typegpu.ts oxfmt reformat
apps/typegpu-docs/src/content/docs/tutorials/triangle-to-boids/code/step2-webgpu.ts oxfmt reformat
apps/typegpu-docs/src/content/docs/tutorials/triangle-to-boids/code/step2-typegpu.ts oxfmt reformat
apps/typegpu-docs/src/content/docs/tutorials/triangle-to-boids/code/step1side-typegpu.ts oxfmt reformat
apps/typegpu-docs/src/components/translator/lib/wgslTool.ts oxfmt reformat
apps/typegpu-docs/src/components/translator/lib/useAutoCompile.ts oxfmt reformat
apps/typegpu-docs/src/components/translator/lib/translatorStore.ts oxfmt reformat
apps/typegpu-docs/src/components/translator/lib/tgslExecutor.ts oxfmt reformat
apps/typegpu-docs/src/components/translator/lib/rolldown.ts oxfmt reformat
apps/typegpu-docs/src/components/translator/lib/editorConfig.ts oxfmt reformat
apps/typegpu-docs/src/components/translator/lib/constants.ts oxfmt reformat
apps/typegpu-docs/src/components/translator/TranslatorApp.tsx oxfmt reformat (JSX)
apps/typegpu-docs/src/components/stackblitz/stackBlitzIndex.ts oxfmt reformat
apps/typegpu-docs/src/components/design/VectorSlider.tsx oxfmt reformat (JSX)
apps/typegpu-docs/src/components/design/Toggle.tsx oxfmt reformat (JSX)
apps/typegpu-docs/src/components/design/TextArea.tsx oxfmt reformat (JSX)
apps/typegpu-docs/src/components/design/Snackbar.tsx oxfmt reformat (JSX)
apps/typegpu-docs/src/components/design/Slider.tsx oxfmt reformat (JSX)
apps/typegpu-docs/src/components/design/Select.tsx oxfmt reformat (JSX)
apps/typegpu-docs/src/components/design/DeleteIcon.tsx oxfmt reformat (JSX)
apps/typegpu-docs/src/components/design/ColorPicker.tsx oxfmt reformat (JSX)
apps/typegpu-docs/src/components/design/Button.tsx oxfmt reformat (JSX)
apps/typegpu-docs/src/components/FpsCounter.tsx oxfmt reformat (JSX)
apps/typegpu-docs/src/components/ExamplePage.tsx oxfmt reformat (JSX)
apps/typegpu-docs/src/components/ExampleNotFound.tsx oxfmt reformat (JSX)
apps/typegpu-docs/src/components/ExampleLink.tsx oxfmt reformat (JSX)
apps/typegpu-docs/src/components/ExampleCard.tsx oxfmt reformat (JSX)
apps/typegpu-docs/src/components/CodeEditor.tsx oxfmt reformat (imports/JSX)
apps/typegpu-docs/scripts/transform-overloads.ts oxfmt reformat
apps/typegpu-docs/package.json dependency ordering/formatting update
apps/typegpu-docs/astro.config.mjs oxfmt reformat
apps/treeshake-test/runTests.ts oxfmt reformat
apps/treeshake-test/resultsTable.ts oxfmt reformat
apps/treeshake-test/package.json package.json formatting/ordering updates
apps/treeshake-test/generateTests.ts oxfmt reformat
apps/treeshake-test/compareResults.ts oxfmt reformat
apps/treeshake-test/bundleWith.ts oxfmt reformat
apps/infra-benchmarks/src/discriminated-union.ts oxfmt reformat
apps/infra-benchmarks/package.json package.json formatting update
apps/bun-example/package.json package.json dependency ordering update
.vscode/settings.json removed Deno/run-on-save formatting config
.vscode/extensions.json removed extension recommendations
.oxfmtrc.json added oxfmt configuration
.github/workflows/pkg-pr.yml removed Deno setup step
.github/workflows/ci.yml removed Deno setup step

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -3,20 +3,5 @@
"[astro]": {
"editor.defaultFormatter": "astro-build.astro-vscode"
},
Copy link

Copilot AI Feb 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As part of the migration away from deno fmt, the workspace no longer pins a formatter for TypeScript/JavaScript (and removes the previous run-on-save formatting hook). If the repo expects contributors to use oxfmt, consider adding an explicit VS Code formatter configuration (or extension recommendation) for TS/JS so local formatting doesn’t drift and create noisy diffs.

Suggested change
},
},
"[typescript]": {
"editor.defaultFormatter": "oxc.oxc-vscode",
"editor.formatOnSave": true
},
"[javascript]": {
"editor.defaultFormatter": "oxc.oxc-vscode",
"editor.formatOnSave": true
},
"[typescriptreact]": {
"editor.defaultFormatter": "oxc.oxc-vscode",
"editor.formatOnSave": true
},
"[javascriptreact]": {
"editor.defaultFormatter": "oxc.oxc-vscode",
"editor.formatOnSave": true
},

Copilot uses AI. Check for mistakes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess, but CI will fail anyway and there is always nr fix

Copy link
Contributor

@aleksanderkatan aleksanderkatan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ofc, I didn't see every change, but I checked all folders for files worth checking, and I scanned files with huge +/- discrepancies, and everything looks great!
Let's go!

@@ -3,20 +3,5 @@
"[astro]": {
"editor.defaultFormatter": "astro-build.astro-vscode"
},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess, but CI will fail anyway and there is always nr fix

<div
className='absolute right-8 bottom-8 z-40 box-border flex max-w-[min(28rem,calc(100vw-4rem))] items-center gap-4 rounded-lg bg-red-100 p-4 text-gray-500'
role='alert'
className="absolute right-8 bottom-8 z-40 box-border flex max-w-[min(28rem,calc(100vw-4rem))] items-center gap-4 rounded-lg bg-red-100 p-4 text-gray-500"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some places (components?) now use " instead of ', do we care?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's completely fine

@@ -0,0 +1,5 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"ignorePatterns": ["**/*.mdx", "**/*.md"],
Copy link
Contributor

@aleksanderkatan aleksanderkatan Feb 26, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some markdowns (like packages/typegpu-concurrent-scan/README.md) were updated despite of this, though only the ts blocks were affected, so I guess this is fine, but still not what I would expect

Now that I look at it, docs were not updated, can we try and apply oxfmt to them as well? (maybe in another PR)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There seems to be bugs in oxfmt when formatting .mdx files. Perhaps we can reproduce them and report them, but for now, I opted to disable them.

@@ -0,0 +1,5 @@
{
"$schema": "./node_modules/oxfmt/configuration_schema.json",
"ignorePatterns": ["**/*.mdx", "**/*.md"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an option to enable this in jsdoc as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure

@iwoplaza iwoplaza force-pushed the chore/oxfmt branch 6 times, most recently from 36b88a6 to ca892ad Compare February 27, 2026 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants