{
  "name": "@affine/monorepo",
  "version": "0.27.0",
  "private": true,
  "author": "toeverything",
  "license": "MIT",
  "workspaces": [
    ".",
    "blocksuite/**/*",
    "packages/*/*",
    "packages/frontend/apps/*",
    "tools/*",
    "docs/reference",
    "tools/@types/*",
    "tests/*"
  ],
  "engines": {
    "node": ">=22.12.0 <23.0.0"
  },
  "scripts": {
    "affine": "r affine.ts",
    "af": "r affine.ts",
    "dev": "yarn affine dev",
    "build": "yarn affine build",
    "lint:format": "oxfmt --check .",
    "lint:format:fix": "oxfmt --write .",
    "lint:ox": "oxlint --deny-warnings",
    "lint:ox:fix": "yarn lint:ox --fix",
    "lint": "yarn lint:ox && yarn lint:format",
    "lint:fix": "yarn lint:ox:fix && yarn lint:format:fix",
    "test": "vitest --run",
    "test:ui": "vitest --ui",
    "test:coverage": "vitest run --coverage",
    "typecheck": "tsc -b tsconfig.json --verbose",
    "postinstall": "yarn affine init && yarn husky"
  },
  "lint-staged": {
    "*": "oxfmt --write --no-error-on-unmatched-pattern",
    "*.{ts,tsx,mjs,js,jsx}": [
      "oxlint --fix --no-error-on-unmatched-pattern"
    ],
    "*.toml": [
      "taplo format"
    ],
    "*.rs": [
      "cargo fmt --"
    ]
  },
  "dependenciesMeta": {
    "@apollo/protobufjs": {
      "built": false
    },
    "@prisma/client": {
      "built": true
    },
    "@prisma/engines": {
      "built": true
    },
    "@scarf/scarf": {
      "built": false
    },
    "@sentry/cli": {
      "built": true
    },
    "@swc/core": {
      "built": false
    },
    "core-js": {
      "built": false
    },
    "electron": {
      "built": true
    },
    "electron-winstaller": {
      "built": true
    },
    "esbuild": {
      "built": true
    },
    "msgpackr-extract": {
      "built": false
    },
    "msw": {
      "built": false
    },
    "prisma": {
      "built": false
    },
    "protobufjs": {
      "built": false
    },
    "unrs-resolver": {
      "built": false
    }
  },
  "devDependencies": {
    "@affine-tools/cli": "workspace:*",
    "@capacitor/cli": "^8.4.2",
    "@faker-js/faker": "^10.1.0",
    "@istanbuljs/schema": "^0.1.3",
    "@playwright/test": "=1.58.2",
    "@taplo/cli": "^0.7.0",
    "@toeverything/infra": "workspace:*",
    "@types/node": "^22.0.0",
    "@typescript/native": "npm:typescript@7.0.2",
    "@vanilla-extract/vite-plugin": "^5.0.0",
    "@vitest/browser": "^4.1.10",
    "@vitest/coverage-istanbul": "^4.1.10",
    "@vitest/ui": "^4.1.10",
    "electron": "^39.0.0",
    "eslint": "9.39.2",
    "eslint-plugin-import-x": "^4.16.1",
    "eslint-plugin-lit": "^2.2.1",
    "eslint-plugin-react": "^7.37.5",
    "eslint-plugin-react-hooks": "^7.0.1",
    "eslint-plugin-simple-import-sort": "^12.1.1",
    "eslint-plugin-sonarjs": "^4.0.2",
    "happy-dom": "^20.0.0",
    "husky": "^9.1.7",
    "lint-staged": "^16.0.0",
    "msw": "^2.13.2",
    "oxfmt": "0.63.0",
    "oxlint": "1.78.0",
    "oxlint-tsgolint": "7.0.2001",
    "semver": "^7.7.3",
    "typescript": "npm:@typescript/typescript6@6.0.2",
    "unplugin-swc": "^1.5.9",
    "vite": "^7.3.5",
    "vitest": "^4.1.10"
  },
  "packageManager": "yarn@4.18.0",
  "resolutions": {
    "array-buffer-byte-length": "npm:@nolyfill/array-buffer-byte-length@^1",
    "array-includes": "npm:@nolyfill/array-includes@^1",
    "array.prototype.flat": "npm:@nolyfill/array.prototype.flat@^1",
    "array.prototype.flatmap": "npm:@nolyfill/array.prototype.flatmap@^1",
    "array.prototype.tosorted": "npm:@nolyfill/array.prototype.tosorted@^1",
    "arraybuffer.prototype.slice": "npm:@nolyfill/arraybuffer.prototype.slice@^1",
    "asynciterator.prototype": "npm:@nolyfill/asynciterator.prototype@^1",
    "available-typed-arrays": "npm:@nolyfill/available-typed-arrays@^1",
    "deep-equal": "npm:@nolyfill/deep-equal@^1",
    "define-properties": "npm:@nolyfill/define-properties@^1",
    "es-iterator-helpers": "npm:@nolyfill/es-iterator-helpers@^1",
    "es-set-tostringtag": "npm:@nolyfill/es-set-tostringtag@^1",
    "function-bind": "npm:@nolyfill/function-bind@^1",
    "function.prototype.name": "npm:@nolyfill/function.prototype.name@^1",
    "get-symbol-description": "npm:@nolyfill/get-symbol-description@^1",
    "globalthis": "npm:@nolyfill/globalthis@^1",
    "gopd": "npm:@nolyfill/gopd@^1",
    "has": "npm:@nolyfill/has@^1",
    "has-property-descriptors": "npm:@nolyfill/has-property-descriptors@^1",
    "has-proto": "npm:@nolyfill/has-proto@^1",
    "has-symbols": "npm:@nolyfill/has-symbols@^1",
    "has-tostringtag": "npm:@nolyfill/has-tostringtag@^1",
    "is-arguments": "npm:@nolyfill/is-arguments@^1",
    "is-array-buffer": "npm:@nolyfill/is-array-buffer@^1",
    "is-date-object": "npm:@nolyfill/is-date-object@^1",
    "is-generator-function": "npm:@nolyfill/is-generator-function@^1",
    "is-regex": "npm:@nolyfill/is-regex@^1",
    "is-shared-array-buffer": "npm:@nolyfill/is-shared-array-buffer@^1",
    "is-string": "npm:@nolyfill/is-string@^1",
    "is-symbol": "npm:@nolyfill/is-symbol@^1",
    "is-weakref": "npm:@nolyfill/is-weakref@^1",
    "iterator.prototype": "npm:@nolyfill/iterator.prototype@^1",
    "json-stable-stringify": "npm:@nolyfill/json-stable-stringify@^1",
    "jsonify": "npm:@nolyfill/jsonify@^1",
    "object-is": "npm:@nolyfill/object-is@^1",
    "object-keys": "npm:@nolyfill/object-keys@^1",
    "object.assign": "npm:@nolyfill/object.assign@^1",
    "object.entries": "npm:@nolyfill/object.entries@^1",
    "object.fromentries": "npm:@nolyfill/object.fromentries@^1",
    "object.hasown": "npm:@nolyfill/object.hasown@^1",
    "object.values": "npm:@nolyfill/object.values@^1",
    "on-headers": "npm:on-headers@^1.1.0",
    "reflect.getprototypeof": "npm:@nolyfill/reflect.getprototypeof@^1",
    "regexp.prototype.flags": "npm:@nolyfill/regexp.prototype.flags@^1",
    "safe-array-concat": "npm:@nolyfill/safe-array-concat@^1",
    "safe-regex-test": "npm:@nolyfill/safe-regex-test@^1",
    "side-channel": "npm:@nolyfill/side-channel@^1",
    "string.prototype.matchall": "npm:@nolyfill/string.prototype.matchall@^1",
    "string.prototype.trim": "npm:@nolyfill/string.prototype.trim@^1",
    "string.prototype.trimend": "npm:@nolyfill/string.prototype.trimend@^1",
    "string.prototype.trimstart": "npm:@nolyfill/string.prototype.trimstart@^1",
    "typed-array-buffer": "npm:@nolyfill/typed-array-buffer@^1",
    "typed-array-byte-length": "npm:@nolyfill/typed-array-byte-length@^1",
    "typed-array-byte-offset": "npm:@nolyfill/typed-array-byte-offset@^1",
    "typed-array-length": "npm:@nolyfill/typed-array-length@^1",
    "unbox-primitive": "npm:@nolyfill/unbox-primitive@^1",
    "which-boxed-primitive": "npm:@nolyfill/which-boxed-primitive@^1",
    "which-typed-array": "npm:@nolyfill/which-typed-array@^1",
    "array-flatten": "npm:@nolyfill/array-flatten@^1",
    "array.prototype.findlast": "npm:@nolyfill/array.prototype.findlast@^1",
    "hasown": "npm:@nolyfill/hasown@^1",
    "internal-slot": "npm:@nolyfill/internal-slot@^1",
    "is-core-module": "npm:@nolyfill/is-core-module@^1",
    "is-typed-array": "npm:@nolyfill/is-typed-array@^1",
    "isarray": "npm:@nolyfill/isarray@^1",
    "safe-buffer": "npm:@nolyfill/safe-buffer@^1",
    "safer-buffer": "npm:@nolyfill/safer-buffer@^1",
    "set-function-length": "npm:@nolyfill/set-function-length@^1",
    "string.prototype.repeat": "npm:@nolyfill/string.prototype.repeat@^1",
    "typedarray": "npm:@nolyfill/typedarray@^1",
    "macos-alias": "npm:@napi-rs/macos-alias@0.0.4",
    "fs-xattr": "npm:@napi-rs/xattr@latest",
    "@opentelemetry/core": "^2.10.0",
    "ioredis": "^5.11.1",
    "js-yaml@npm:^3.13.1": "^3.15.1",
    "js-yaml@npm:^3.14.1": "^3.15.1",
    "js-yaml@npm:^4.1.0": "^5.0.0",
    "js-yaml@npm:4.1.1": "^5.0.0",
    "js-yaml@npm:5.2.1": "^5.2.3",
    "multer": "^2.2.0",
    "protobufjs": "^7.6.4",
    "tar": "^7.5.21",
    "tmp": "^0.2.7",
    "ws@npm:^8.18.0": "^8.21.0",
    "ws@npm:^8.18.3": "^8.21.0",
    "ws@npm:^8.19.0": "^8.21.0",
    "ws@npm:8.20.1": "^8.21.0",
    "ws@npm:~8.17.1": "^8.21.0",
    "@magic-works/i18n-codegen": "patch:@magic-works/i18n-codegen@npm%3A0.6.1#~/.yarn/patches/@magic-works-i18n-codegen-virtual-25e53a17d6.patch",
    "decode-named-character-reference@npm:^1.0.0": "patch:decode-named-character-reference@npm%3A1.0.2#~/.yarn/patches/decode-named-character-reference-npm-1.0.2-db17a755fd.patch",
    "@atlaskit/pragmatic-drag-and-drop": "patch:@atlaskit/pragmatic-drag-and-drop@npm%3A1.4.0#~/.yarn/patches/@atlaskit-pragmatic-drag-and-drop-npm-1.4.0-75c45f52d3.patch",
    "yjs": "patch:yjs@npm%3A13.6.21#~/.yarn/patches/yjs-npm-13.6.21-c9f1f3397c.patch"
  }
}