Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
build: Modify the "@rollup/plugin-typescript" and "express" versions
Browse files Browse the repository at this point in the history
Modify the "@rollup/plugin-typescript" and "express" versions.
The reason for modifying the dependency version is as follows:
- "@rollup/plugin-typescript": The previously used version could not successfully build the plugin (npm run dev and npm run dev)
- "express": The previously used version of "express" after modifying "@rollup/plugin-typescript" will prevent the plugin from loading successfully in Obsidian.

See aidenlx#32.
---
修改"@rollup/plugin-typescript "和 "express "版本。
修改依赖版本的原因如下:
- "@rollup/plugin-typescript": 之前使用的版本无法成功构建插件(npm run dev 和 npm run dev)。
- "express": 修改"@rollup/plugin-typescript "后,之前使用的 "express "版本会导致插件在 Obsidian 中无法成功加载。

参见 aidenlx#32
  • Loading branch information
bcdax110 committed Jan 19, 2024
1 parent 8b20690 commit 2dafcd6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"devDependencies": {
"@release-it/bumper": "^3.0.1",
"@release-it/conventional-changelog": "^3.0.1",
"@rollup/plugin-commonjs": "^19.0.1",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.2",
"@rollup/plugin-typescript": "^8.2.3",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@types/express": "^4.17.13",
"@types/json-schema": "^7.0.8",
"@types/node": "^16.4.0",
Expand All @@ -35,7 +35,7 @@
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"express": "^4.17.1",
"express": "4.15.5",
"get-port": "^5.1.1",
"http-proxy-middleware": "^2.0.1",
"json": "^11.0.0",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"compilerOptions": {
"rootDir": "src",
"baseUrl": "src",
"outDir": "",
"inlineSourceMap": true,
Expand Down

0 comments on commit 2dafcd6

Please sign in to comment.