Skip to content

Commit

Permalink
fix: 修复关闭期货会默认展示问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Chef5 committed Nov 14, 2024
1 parent 658244d commit a91c4ce
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 24 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,7 @@
- feat: 支持期货
- feat: 支持持仓和盈亏
- fix: 修复相关bug

## [1.0.8]

- fix: 修复相关bug
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 16 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "stock-bar",
"displayName": "Stock Bar",
"description": "股票监控,底部状态栏实时更新 A股|港股|美股|实时股票数据",
"version": "1.0.7",
"version": "1.0.8",
"publisher": "Chef",
"license": "MIT",
"keywords": [
Expand All @@ -11,11 +11,24 @@
],
"icon": "stocks.png",
"engines": {
"vscode": "^1.28.0"
"vscode": "^1.28.0",
"node": "^18.0.0"
},
"categories": [
"Other"
],
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"publish": "vsce publish",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"activationEvents": [
"*"
],
Expand All @@ -38,14 +51,7 @@
},
"stock-bar.futures": {
"type": "array",
"default": [
{
"code": "sa9999",
"alias": "",
"hold_price": 0,
"hold_number": -1
}
],
"default": [],
"description": "商品期货数组,配置需要监控的商品期货,具体配置规则请查看插件详情页"
},
"stock-bar.updateInterval": {
Expand Down Expand Up @@ -76,18 +82,6 @@
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"publish": "vsce publish",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
Expand Down

0 comments on commit a91c4ce

Please sign in to comment.