hunk.code_window: import electronPath from 'electron';
   import * as esbuild from 'esbuild';
   import { config, electronDir } from './common.mjs';
   // this means we don't spawn electron windows, mainly for testing
   const watchMode = process.argv.includes('--watch');
   /** Messages on stderr that match any of the contained patterns will be stripped from output */
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit: import { config } from './common.mjs';
  
hunk.file_path: apps/electron/scripts/dev.mjs
hunk.type: replace
file: {
    "name": "@types/affine__env",
    "private": true,
    "types": "./__all.d.ts",
    "type": "module",
    "dependencies": {
      "@affine/env": "workspace:*",
      "@toeverything/infra": "workspace:*"
    },
    "version": "0.8.0-canary.23"
  }
  