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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
1 {
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
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
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
4 "description": "Plugin for Obsidian that remembers cursor position, selection, scrolling, and more for each file",
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
5 "main": "main.js",
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
6 "scripts": {
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
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
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
11 },
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
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
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
14 "license": "MIT",
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
15 "devDependencies": {
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
16 "@codemirror/history": "^0.19.0",
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
17 "@codemirror/state": "^0.19.6",
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
18 "@codemirror/view": "^0.19.36",
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
19 "@types/node": "^16.11.6",
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
20 "@typescript-eslint/eslint-plugin": "^5.2.0",
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
21 "@typescript-eslint/parser": "^5.2.0",
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
22 "builtin-modules": "^3.2.0",
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
23 "esbuild": "0.13.12",
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
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
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
26 "tslib": "2.3.1",
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
27 "typescript": "4.4.4"
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
28 },
3
f669172572a6 Update version
Ludovic Chabant <ludovic@chabant.com>
parents: 0
diff changeset
29 "dependencies": {}
0
7975d7c73f8a Initial commit
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
30 }