forked from Nedian0Brien/SynapseNote
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (112 loc) · 7.64 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (112 loc) · 7.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "synapsenote",
"license": "GPL-3.0-or-later",
"private": true,
"type": "module",
"packageManager": "bun@1.3.13",
"engines": {
"bun": ">=1.3.13",
"node": ">=24"
},
"workspaces": [
"packages/*",
"docs"
],
"scripts": {
"knip": "turbo run build --filter=@nedian0brien/synapsenote-server --filter=@nedian0brien/synapsenote-core --output-logs=errors-only && knip",
"notices": "bun scripts/generate-third-party-notices.mjs",
"schema:dump": "bun packages/core/scripts/dump-schema.ts",
"build": "turbo run build",
"build:desktop": "turbo run build:desktop",
"build:desktop:dir": "turbo run build:desktop:dir",
"build:desktop:local": "bun run --filter @nedian0brien/synapsenote-desktop build:dir:local",
"install:desktop:local": "bun run --filter @nedian0brien/synapsenote-desktop install:local",
"check:desktop": "bunx biome check packages/desktop package.json biome.jsonc --error-on-warnings && oxlint --max-warnings 0 packages/desktop && turbo run typecheck test --filter=@nedian0brien/synapsenote-desktop",
"check:desktop:local": "bunx biome check packages/desktop package.json biome.jsonc --error-on-warnings && oxlint --max-warnings 0 packages/desktop && bun test packages/desktop/tests/unit/local-desktop-workflow.test.ts && bun run --filter @nedian0brien/synapsenote-desktop typecheck",
"check:database:interaction": "bun run --cwd packages/app test:dom src/lib/database-record-open-command.dom.test.tsx src/lib/database-navigation-boundary.test.ts src/lib/database-read-model.dom.test.tsx src/lib/use-database-refresh-scheduler.dom.test.tsx src/lib/database-mutations/database-mutation-gateway.test.ts src/editor/extensions/JsxComponentView.production.dom.test.tsx && bun run --cwd packages/app test:dom src/editor/components/DatabaseView.dom.test.tsx --test-name-pattern \"maps inline|inert stable slot|single table view|toolbar filters|last verified|same inline grid|empty inline source|record creation\"",
"check:database:inventory": "node packages/app/scripts/database-feature-inventory.mjs",
"check:database:capabilities": "bun test packages/app/src/lib/database-capability-matrix.test.ts packages/app/src/lib/database-navigation-boundary.test.ts",
"check:database:focused": "bun run --cwd packages/app test:dom src/components/database-tests/DatabaseOpen.dom.test.tsx src/components/database-tests/DatabaseOverlay.dom.test.tsx src/components/database-tests/DatabaseCell.dom.test.tsx src/components/database-tests/DatabaseProperty.dom.test.tsx src/components/database-tests/DatabaseSettings.dom.test.tsx src/components/database-tests/DatabaseContinuity.dom.test.tsx src/components/database-tests/DatabaseKeyboard.dom.test.tsx src/components/DatabaseTableEmptyCell.dom.test.tsx",
"check:desktop:database": "bun run check:database:focused && bun run check:database:interaction && bun run check:desktop:local && OK_DESKTOP_E2E_SMOKE=1 OK_DESKTOP_DATABASE_SMOKE=1 bunx playwright test --config packages/desktop/playwright.config.ts packages/desktop/tests/smoke/database-open-page.e2e.ts",
"check:database:regression": "bun run --filter @nedian0brien/synapsenote-server benchmark:database:query && bun run --filter @nedian0brien/synapsenote-server benchmark:database:lifecycle && bun run --filter @nedian0brien/synapsenote-server benchmark:database:resources && bun run --cwd packages/app test:dom src/components/DatabaseTable.performance.dom.test.tsx && bun run --filter @nedian0brien/synapsenote-app size",
"test:file": "bun scripts/test-file.ts",
"check:domain": "bun scripts/check-domain.ts",
"check:package": "bun scripts/check-package.ts",
"check:changed": "bun scripts/check-changed.ts",
"check:pr": "bun scripts/check-changed.ts --pr",
"measure:test-feedback": "bun scripts/test-feedback/collect-baseline.ts",
"measure:first-failure": "bun scripts/test-feedback/measure-first-failure.ts",
"measure:pr-gate": "bun scripts/test-feedback/measure-pr-gate.ts",
"measure:server-shards": "bun scripts/test-feedback/measure-server-shards.ts",
"measure:operations": "bun scripts/test-feedback/aggregate-operations.ts",
"check:fast": "bun run typecheck",
"check:doc-links": "bun run --cwd docs validate-link",
"check:drift": "bash scripts/check-husky-prepare-guard.sh && bash scripts/check-knip-clean.sh && bash scripts/check-notices-clean.sh && bash scripts/check-schema-snapshot-clean.sh && bash scripts/check-i18n-drift.sh && bash scripts/check-no-major-changeset.sh && bun test scripts/",
"typecheck": "turbo run typecheck",
"test": "turbo run test",
"lint": "bun lint:biome && bun lint:oxlint",
"lint:biome": "biome check packages docs *.json *.jsonc *.ts --error-on-warnings",
"lint:oxlint": "oxlint --max-warnings 0 .",
"format": "bun run lint:biome --write --unsafe",
"check:repository": "bun run lint && turbo run build typecheck test --concurrency=4 --summarize",
"check": "bun run check:repository",
"check:full:parallel": "bash scripts/check-husky-prepare-guard.sh && bash scripts/check-knip-clean.sh && bash scripts/check-notices-clean.sh && bash scripts/check-schema-snapshot-clean.sh && bash scripts/check-i18n-drift.sh && bash scripts/check-no-major-changeset.sh && bun run lint && bun run check:doc-links && bun test scripts/ && bun test --cwd .github/scripts && turbo run build typecheck test test:dom test:integration test:conversion test:perf:regression:unit test:health:unit test:health test:e2e test:visual test:perf test:a11y --concurrency=4 --output-logs=errors-only",
"tier1": "bun run check",
"tier2": "bun run tier1 && turbo run test:perf:regression:unit test:health:unit test:health test:e2e",
"tier3": "STRESS_FIDELITY=1 bun run tier2",
"measure:fuzz": "cd packages/app && bun run measure:fuzz",
"measure:stress": "cd packages/app && bun run measure:stress",
"prepare": "bash scripts/husky-prepare.sh",
"changeset": "changeset",
"version": "changeset version",
"release": "changeset publish"
},
"lint-staged": {
"packages/**/*.{ts,tsx,js,jsx,json,md}": [
"biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --error-on-warnings"
],
"docs/**/*.{ts,tsx,js,jsx,json,md}": [
"biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --error-on-warnings"
],
"{package.json,turbo.json,tsconfig.json,biome.jsonc}": [
"biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --error-on-warnings"
]
},
"devDependencies": {
"@biomejs/biome": "^2.4.15",
"@changesets/cli": "^2.29.7",
"bun-types": "^1.3.13",
"husky": "^9.1.7",
"knip": "^6.14.1",
"lint-staged": "^16.4.0",
"oxlint": "^1.66.0",
"oxlint-plugin-eslint": "^1.66.0",
"oxlint-tsgolint": "^0.23.0",
"turbo": "^2.10.5"
},
"overrides": {
"mdast-util-mdx-jsx": "3.2.0",
"@protobufjs/utf8": "1.1.2",
"basic-ftp": "5.3.1",
"fast-uri": "3.1.3",
"form-data": "4.0.6",
"protobufjs": "7.6.5",
"tar": "7.5.20",
"tmp": "0.2.7",
"undici": "7.28.0",
"vite": "8.1.5",
"ws": "8.21.1"
},
"puppeteer": {
"skipDownload": true
},
"patchedDependencies": {
"@handlewithcare/remark-prosemirror@0.1.5": "patches/@handlewithcare%2Fremark-prosemirror@0.1.5.patch",
"y-prosemirror@1.3.7": "patches/y-prosemirror@1.3.7.patch",
"@tiptap/y-tiptap@3.0.3": "patches/@tiptap%2Fy-tiptap@3.0.3.patch",
"y-indexeddb@9.0.12": "patches/y-indexeddb@9.0.12.patch",
"react-medium-image-zoom@5.4.3": "patches/react-medium-image-zoom@5.4.3.patch",
"@tiptap/extension-drag-handle@3.22.3": "patches/@tiptap%2Fextension-drag-handle@3.22.3.patch",
"@pierre/trees@1.0.0-beta.4": "patches/@pierre%2Ftrees@1.0.0-beta.4.patch"
}
}