Files
Viper_VSCode/packages/vipeye/package.json
T
TermiNexus d2f66811fb
Validation / Typecheck (push) Has been cancelled
Validation / Style (push) Has been cancelled
Validation / Test macos-latest (push) Has been cancelled
Validation / Test ubuntu-latest (push) Has been cancelled
Validation / Test windows-latest (push) Has been cancelled
Validation / Build (push) Has been cancelled
Validation / Required (push) Has been cancelled
refactor(vipeye-internal): str/bytes 下标统一返回 char(与 *s 解引用一致)
`s[i]` 原返回 t.CChar,而 `*s` 返回 char,同一 i8 元素出现两种显示。现把 str/bytes
的下标通路(普通下标 + TypeSet 下标)统一改为内置 char 对象,二者本就可隐式互转。
迭代(for ch in s)与 Iterable 实参推断仍保持 t.CChar,待确认是否一并统一。

回归用例:viperUnaryPointer.test.ts 中 fmt[0] 断言改为 char。
版本号提升至 1.1.421 并更新 CHANGELOG。
2026-09-22 21:26:16 +08:00

69 lines
1.9 KiB
JSON

{
"name": "vipeye",
"displayName": "Vipeye",
"description": "Type checker for the Viper language",
"version": "1.1.421",
"license": "MIT",
"author": {
"name": "TermiNexus"
},
"publisher": "terminexus",
"engines": {
"node": ">=14.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/TermiNexus/Viper_VSCode",
"directory": "packages/vipeye"
},
"scripts": {
"build": "rspack build -c rspack.config.js --mode production",
"clean": "shx rm -rf ./dist ./out README.md LICENSE.txt",
"prepack": "npm run clean && shx cp ../../README.md . && shx cp ../../LICENSE.txt . && npm run build",
"webpack": "rspack build -c rspack.config.js --mode development"
},
"optionalDependencies": {
"fsevents": "~2.3.3"
},
"devDependencies": {
"@rspack/cli": "^2.0.5",
"@rspack/core": "^2.0.5",
"@types/node": "^25.9.2",
"copy-webpack-plugin": "^14.0.0",
"esbuild-loader": "^4.5.0",
"shx": "^0.4.0",
"ts-loader": "^9.5.4",
"typescript": "~6.0.3",
"webpack": "^5.104.1"
},
"files": [
"/dist",
"LICENSE.txt"
],
"main": "index.js",
"bin": {
"vipeye": "index.js",
"vipeye-langserver": "langserver.index.js"
},
"contributes": {
"configuration": {
"title": "Vipeye",
"properties": {
"viper.analysis.dialect": {
"type": "string",
"enum": [
"python",
"viper"
],
"default": "viper",
"description": "Language dialect for analysis. 'viper' enables Viper-specific semantic short-circuits.",
"scope": "resource"
}
}
}
},
"overrides": {
"tar": "7.5.11"
}
}