File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77eslint.config.mjs
88vitest.config.mjs
99tests /
10+ scripts /
1011AGENTS.md
12+ DEVELOPMENT.md
13+ PLAN.md
1114RELEASE.md
1215* .vsix
1316node_modules /
17+ package-lock.json
18+ images /icon.svg
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ export default [
5656 } ,
5757 } ,
5858 {
59- // Test files configuration
59+ // Test files use CommonJS (require) for source modules; vitest globals are injected
6060 files : [ 'tests/**/*.js' , '**/*.test.js' ] ,
6161 languageOptions : {
6262 globals : {
Original file line number Diff line number Diff line change 7878 }
7979 },
8080 "scripts" : {
81- "vscode:prepublish" : " echo 'No build step required'" ,
81+ "vscode:prepublish" : " npm run ci" ,
82+ "ci" : " npm run test && npm run lint && npm run format:check" ,
83+ "test" : " vitest run" ,
8284 "lint" : " eslint src/ tests/" ,
8385 "lint:fix" : " eslint src/ tests/ --fix" ,
8486 "format" : " prettier --write \" src/**/*.js\" \" tests/**/*.js\" " ,
8587 "format:check" : " prettier --check \" src/**/*.js\" \" tests/**/*.js\" " ,
86- "test" : " vitest run" ,
87- "ci" : " npm run test && npm run lint && npm run format:check" ,
88+ "package" : " npx @vscode/vsce package --no-dependencies" ,
8889 "prepare" : " husky"
8990 },
9091 "devDependencies" : {
91- "@eslint/js" : " ^9.0.0 " ,
92- "eslint" : " ^9.0.0 " ,
93- "eslint-config-prettier" : " ^10.0.0 " ,
94- "globals" : " ^15.0.0 " ,
95- "husky" : " ^9.1.7 " ,
96- "lint-staged" : " ^16.3.2 " ,
97- "prettier" : " ^3.0.0 " ,
98- "vitest" : " ^3.2.4 "
92+ "@eslint/js" : " latest " ,
93+ "eslint" : " latest " ,
94+ "eslint-config-prettier" : " latest " ,
95+ "globals" : " latest " ,
96+ "husky" : " latest " ,
97+ "lint-staged" : " latest " ,
98+ "prettier" : " latest " ,
99+ "vitest" : " latest "
99100 },
100101 "lint-staged" : {
101102 "*.{js,mjs}" : [
You can’t perform that action at this time.
0 commit comments