mirror of
https://github.com/raven-pensieve/obsidian-ace-code-editor.git
synced 2026-07-22 05:48:56 +00:00
更新 package.json 和 lockfile 中的多项依赖版本: - 提升 TypeScript/ESLint 相关包(@typescript-eslint 插件/解析器) 以获得最新规则和 bug 修复。 - 升级 @types/*、react、react-dom、ace-builds、html-react-parser、 lucide-react 等运行时或类型依赖,保持与平台和第三方库的兼容。 - 升级 esbuild 与部分 node_modules 包以修复构建或安全相关问题。 为什么做这些改动: - 修复已知的 bug 和安全隐患,确保构建工具和类型定义是最新的。 - 保持与 React/第三方库的兼容,减少运行时或类型检查错误。 - 使开发依赖与社区发布版本保持同步,便于未来维护和升级。
57 lines
1.9 KiB
JSON
57 lines
1.9 KiB
JSON
{
|
|
"name": "ace-code-editor",
|
|
"version": "1.3.2",
|
|
"description": "An enhanced code editor using Ace editor, providing syntax highlighting, code folding, and other advanced editing features.",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"dev": "node scripts/esbuild.config.mjs",
|
|
"build": "tsc -noEmit -skipLibCheck && node scripts/esbuild.config.mjs production",
|
|
"build:local": "tsc -noEmit -skipLibCheck && node scripts/esbuild.config.mjs production && node scripts/copy-to-vault.mjs",
|
|
"version": "node scripts/version-bump.mjs",
|
|
"changelog:u": "conventional-changelog -p angular -i CHANGELOG.md -s -u -n ./scripts/changelog-option.js",
|
|
"changelog:all": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 -n ./scripts/changelog-option.js",
|
|
"release:pre": "npm run build && npm run version && npm run changelog:u && npm i",
|
|
"release:tag": "node scripts/release-tag.mjs",
|
|
"lint": "eslint . --ext .ts,.tsx",
|
|
"lint:fix": "eslint . --ext .ts,.tsx --fix"
|
|
},
|
|
"keywords": [
|
|
"Ace Editor",
|
|
"Code Editor",
|
|
"Obsidian Plugin"
|
|
],
|
|
"author": "RavenHogWarts",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=18.x"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.10.2",
|
|
"@types/react": "^19.2.7",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@typescript-eslint/eslint-plugin": "8.49.0",
|
|
"@typescript-eslint/parser": "^8.49.0",
|
|
"builtin-modules": "5.0.0",
|
|
"conventional-changelog-cli": "^5.0.0",
|
|
"esbuild": "0.27.1",
|
|
"eslint": "^9.39.1",
|
|
"eslint-plugin-obsidianmd": "^0.1.9",
|
|
"fs-extra": "^11.3.2",
|
|
"obsidian": "latest",
|
|
"postcss": "^8.5.6",
|
|
"postcss-nesting": "^13.0.2",
|
|
"tslib": "2.8.1",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"dependencies": {
|
|
"@types/ace": "^0.0.52",
|
|
"ace-builds": "^1.43.5",
|
|
"dotenv": "^17.2.3",
|
|
"html-react-parser": "^5.2.10",
|
|
"lucide-react": "^0.556.0",
|
|
"radix-ui": "^1.4.3",
|
|
"react": "^19.2.1",
|
|
"react-ace": "^14.0.1",
|
|
"react-dom": "^19.2.1"
|
|
}
|
|
}
|