Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.

Commit 5a54580

Browse files
Merge pull request #292 from olasunkanmi-SE/code-base-analyzer
Code base analyzer
2 parents 189da30 + 4904aa6 commit 5a54580

175 files changed

Lines changed: 24766 additions & 3832 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true,
5+
"node": true
6+
},
7+
"extends": [
8+
"eslint:recommended"
9+
],
10+
"parserOptions": {
11+
"ecmaVersion": 12,
12+
"sourceType": "module"
13+
},
14+
"rules": {
15+
"prefer-const": "warn",
16+
"no-var": "error",
17+
"no-unused-vars": "warn"
18+
},
19+
"ignorePatterns": [
20+
"out/**",
21+
"dist/**",
22+
"**/*.d.ts",
23+
"node_modules/**",
24+
"webviewUi/**"
25+
]
26+
}

.github/workflows/workflow.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: CI Pipeline
22

33
on:
44
pull_request:
5-
branches: [main, development]
5+
branches: [main, development, dev]
66

77
jobs:
88
build:
@@ -20,15 +20,18 @@ jobs:
2020
with:
2121
name: git-diff
2222
path: diff.txt
23-
- uses: actions/setup-node@v2
23+
24+
- name: Setup Node.js
25+
uses: actions/setup-node@v4 # Use v4 for latest features. Can also specify version this way
2426
with:
25-
node-version: "21"
27+
node-version: "20" # Use a more recent LTS version
28+
cache: 'npm' # Enable caching for npm dependencies
29+
cache-dependency-path: 'src/package-lock.json' # Where package-lock.json is
2630
- name: ci for api
2731
working-directory: ./src
2832
run: |
29-
npm i
30-
npm i typescript
33+
npm ci # Use npm ci for faster and cleaner installs based on package-lock.json
3134
npm run compile
3235
npm run format
3336
env:
34-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ node_modules
88
config.ts
99
database
1010
files
11-
webviewUi/dist
11+
webviewUi/dist/**
1212
samples
1313
patterns
1414
.codebuddy
15+
scripts
16+
lancedb
17+
dist

.prettierignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
node_modules
2+
dist
3+
out
4+
.vscode-test
5+
webviewUi/dist
6+
docs
7+
src/test

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"name": "Run Extension",
1010
"type": "extensionHost",
1111
"request": "launch",
12-
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
13-
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
12+
"args": ["--extensionDevelopmentPath=${workspaceFolder}", "--expose-gc"],
13+
"outFiles": ["${workspaceFolder}/out/**/*.js"],
1414
"preLaunchTask": "npm: watch",
1515
"sourceMaps": true,
1616
"internalConsoleOptions": "openOnSessionStart"

.vscodeignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
!package.json
1111
!node_modules/jsdom/lib/jsdom/living/xhr/xhr-sync-worker.js
12+
!node_modules/web-tree-sitter/**
13+
!node_modules/@vscode/ripgrep/**
1214

1315
# Exclude all source, config, and dev files
1416
src/**
@@ -28,3 +30,4 @@ node_modules/**
2830
tsconfig*.json
2931
yarn.lock
3032
package-lock.json
33+
out/**

DOCUMENTATION_GENERATOR_GUIDE.md

Lines changed: 0 additions & 147 deletions
This file was deleted.

0 commit comments

Comments
 (0)