-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
56 lines (56 loc) · 2.22 KB
/
Copy pathpackage.json
File metadata and controls
56 lines (56 loc) · 2.22 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
{
"name": "obsidian-fluidity",
"version": "0.1.0",
"description": "Finishes the links the completer starts with fluent lowercasing in prose, and section-aware alias links.",
"type": "module",
"license": "MIT",
"author": "Ara Adkins",
"scripts": {
"typecheck": "tsc",
"lint": "eslint . --max-warnings 0",
"bundle": "node esbuild.config.mjs production",
"bundle:watch": "node esbuild.config.mjs",
"build": "npm run typecheck && npm run bundle",
"test:unit": "node --import tsx --test \"test/unit/**/*.test.ts\"",
"test:integration": "node --import tsx --test \"test/integration/**/*.test.ts\"",
"test": "npm run test:unit && npm run test:integration",
"version": "node version-bump.mjs && git add manifest.json versions.json"
},
"//overrides": [
"Every @codemirror/* package is an esbuild `external`: Obsidian supplies one",
"copy of each at runtime, at the versions it pins as peer dependencies. Some",
"transitive dependents ask for newer, and npm would satisfy that by nesting a",
"second copy — which type-checks the plugin against APIs that will not be",
"there. Forcing the tree flat keeps the types honest about what ships."
],
"overrides": {
"@codemirror/state": "6.5.0",
"@codemirror/view": "6.38.6"
},
"//dependencies": [
"monkey-around is the one runtime dependency, and it is bundled. Fluidity",
"works by wrapping a method on Obsidian's built-in link suggester, and this",
"is the ecosystem's standard way to do that: it composes with other plugins",
"wrapping the same method, and it returns an uninstaller that restores the",
"original — which is what makes `plugin.register()` able to undo the patch",
"cleanly when the plugin is disabled. It is ~70 lines with no dependencies",
"of its own."
],
"dependencies": {
"monkey-around": "^3.0.0"
},
"devDependencies": {
"@codemirror/state": "6.5.0",
"@codemirror/view": "6.38.6",
"@eslint/js": "^9.18.0",
"@types/node": "^22.10.0",
"esbuild": "^0.25.0",
"eslint": "^9.18.0",
"eslint-plugin-obsidianmd": "^0.4.1",
"globals": "^16.0.0",
"obsidian": "^1.13.0",
"tsx": "^4.19.0",
"typescript": "^5.8.3",
"typescript-eslint": "^8.20.0"
}
}