workbenchapp / solana-workbench

Your one-stop shop for developing on Solana
MIT License
63 stars 7 forks source link

bump build target to support biginteger and add package-lock back #303

Closed bluskript closed 1 year ago

bluskript commented 1 year ago

the main branch stopped building because the package-lock.json wasn't committed. most likely, someone in some dependency bumped a minor version which introduced BigInteger usage. this broke vite build because its transpile targets didnt support BigInteger this bumps vite to a version that has BigInteger since electron has it. i also added a package-lock.json so this no longer happens in the future.

nathanleclaire commented 1 year ago

Was able to get this working anyway by specifying a new ES target, but thanks for taking a look!

We do probably need to get a package-lock.json going at some point