The Juno Emulator for local development just got a big upskill
New ARM Docker image - your Mac will thank you
Swapped the good old replica for PocketIC - faster & smoother UX
No more docker-compose clutter
The emulator is now configured in a juno.config
file aka you can delete your docker-compose.yml
file!
import {defineConfig} from '@junobuild/config';
export default defineConfig({
satellite: {
id: 'fmkjf-bqaaa-aaaal-acpza-cai',
source: 'out',
},
emulator: {
runner: {
type: "docker",
name: "my-custom-container-name"
},
skylab: {
ports: {
console: 5888
}
}
}
});
Cherry on top?
This lays the foundation for supporting more (or different) runners in the future.
Have fun and let me know if anything acts weird!