abse/gameboy-advance

A tscircuit package created by abse.

Version
0.0.45
License
unset
Stars
0

checks/check-fabrication-export.ts

PCBPCB preview for checks/check-fabrication-export.ts
SchematicSchematic preview for checks/check-fabrication-export.ts
import {readFileSync,writeFileSync} from 'node:fs'
import {prepareFabricationOrientation} from './fabrication-orientation'
const path='dist/index/circuit.json';const c=JSON.parse(readFileSync(path,'utf8'))
const prepared=await prepareFabricationOrientation(c,'dist/index')
writeFileSync(path,JSON.stringify(prepared))
console.log('Strict JLCPCB placement export passed')