view package.json @ 40:96e86650043b

Fix issues with files opened in multiple panes. The previous code was problematic since it opened files at the top for no obvious reason. Now we always restore any saved state if we have it, and if not we restore the current state from another pane if we find the same file is already open.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 20 Sep 2023 17:18:47 -0700
parents a371a2001e95
children 712761e7625b
line wrap: on
line source

{
	"name": "obsidian-remember-file-state",
	"version": "1.0.7",
	"description": "Plugin for Obsidian that remembers cursor position, selection, scrolling, and more for each file",
	"main": "main.js",
	"scripts": {
		"dev": "node esbuild.config.mjs",
		"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
		"dogfood": "node esbuild.config.mjs dogfood",
		"version": "node version-bump.mjs"
	},
	"keywords": [],
	"author": "Ludovic Chabant",
	"license": "MIT",
	"devDependencies": {
		"@codemirror/history": "^0.19.0",
		"@codemirror/state": "^0.19.6",
		"@codemirror/view": "^0.19.36",
		"@types/node": "^16.11.6",
		"@typescript-eslint/eslint-plugin": "^5.2.0",
		"@typescript-eslint/parser": "^5.2.0",
		"builtin-modules": "^3.2.0",
		"esbuild": "0.13.12",
		"monkey-around": "^2.2.0",
		"obsidian": "latest",
		"tslib": "2.3.1",
		"typescript": "4.4.4"
	},
	"dependencies": {}
}