Mercurial > obsidian-remember-file-state
annotate package.json @ 28:fbaf7c7126be
Don't restore file state if we're just switching to another pane
To do this we have to track the opened file path in the new editor view
and check if it matches the last file path we knew for that view.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 14 Jul 2022 14:36:44 -0700 |
parents | 6c168de105c0 |
children | 88c1c125e621 |
rev | line source |
---|---|
0 | 1 { |
2 "name": "obsidian-remember-file-state", | |
25
6c168de105c0
Bump versions to 1.0.5, remove git stuff in script
Ludovic Chabant <ludovic@chabant.com>
parents:
19
diff
changeset
|
3 "version": "1.0.5", |
0 | 4 "description": "Plugin for Obsidian that remembers cursor position, selection, scrolling, and more for each file", |
5 "main": "main.js", | |
6 "scripts": { | |
7 "dev": "node esbuild.config.mjs", | |
19
2a9e941c96ee
Bring new build tools from the sample plugin project
Ludovic Chabant <ludovic@chabant.com>
parents:
16
diff
changeset
|
8 "build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production", |
2a9e941c96ee
Bring new build tools from the sample plugin project
Ludovic Chabant <ludovic@chabant.com>
parents:
16
diff
changeset
|
9 "dogfood": "node esbuild.config.mjs dogfood", |
25
6c168de105c0
Bump versions to 1.0.5, remove git stuff in script
Ludovic Chabant <ludovic@chabant.com>
parents:
19
diff
changeset
|
10 "version": "node version-bump.mjs" |
0 | 11 }, |
12 "keywords": [], | |
19
2a9e941c96ee
Bring new build tools from the sample plugin project
Ludovic Chabant <ludovic@chabant.com>
parents:
16
diff
changeset
|
13 "author": "Ludovic Chabant", |
0 | 14 "license": "MIT", |
15 "devDependencies": { | |
16 "@codemirror/history": "^0.19.0", | |
17 "@codemirror/state": "^0.19.6", | |
18 "@codemirror/view": "^0.19.36", | |
19 "@types/node": "^16.11.6", | |
20 "@typescript-eslint/eslint-plugin": "^5.2.0", | |
21 "@typescript-eslint/parser": "^5.2.0", | |
22 "builtin-modules": "^3.2.0", | |
23 "esbuild": "0.13.12", | |
24 "monkey-around": "^2.2.0", | |
19
2a9e941c96ee
Bring new build tools from the sample plugin project
Ludovic Chabant <ludovic@chabant.com>
parents:
16
diff
changeset
|
25 "obsidian": "latest", |
0 | 26 "tslib": "2.3.1", |
27 "typescript": "4.4.4" | |
28 }, | |
3 | 29 "dependencies": {} |
0 | 30 } |