Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added multilang support for parsing comments #3

Merged
merged 7 commits into from
Nov 28, 2024
Merged

Conversation

VictorDoyle
Copy link
Owner

Main branch only contained TS/JS support for lang parsing. Now the npx generate-docs is able to scrape and build dynamic documentation on a wider list of supported languages:

  • php
  • java
  • typescript
  • javascript
  • python
  • c++

I've also added a workflow github check for size before/after PRs

@VictorDoyle VictorDoyle linked an issue Nov 28, 2024 that may be closed by this pull request
Copy link

📊 Project Size Analysis

Overall Changes

💻 Codebase

  • Before: 354KB
  • After: 403KB
  • Change: +49KB

📦 Packages

  • Before: 680MB
  • After: 385MB
  • Change: -309379802B

Top 10 Size Changes (Codebase)

Package/File Size Before Size After Change
pkg_sizes_before.txt 0B 19KB +19KB
.github/workflows/size-check.yml 0B 6KB +6KB
dist/parsers/javaParser.js 0B 3KB +3KB
src/parsers/javaParser.ts 0B 3KB +3KB
dist/parsers/typescriptParser.js 0B 3KB +3KB
src/parsers/typescriptParser.ts 0B 2KB +2KB
dist/parsers/pythonParser.js 0B 2KB +2KB
dist/parsers/cppParser.js 0B 2KB +2KB
src/parsers/pythonParser.ts 0B 2KB +2KB
src/parsers/cppParser.ts 0B 2KB +2KB

Top 10 Size Changes (Packages)

Package/File Size Before Size After Change
node_modules/tree-sitter-cpp 0B 30MB +30MB
node_modules/tree-sitter-python 0B 4MB +4MB
node_modules/tree-sitter-java 0B 3MB +3MB
node_modules/tree-sitter-php 0B 3MB +3MB
node_modules/nan 0B 1MB +1MB
node_modules/tree-sitter 0B 981KB +981KB
node_modules/readable-stream 0B 137KB +137KB
node_modules/buffer 0B 84KB +84KB
node_modules/tar-fs 0B 71KB +71KB
node_modules/bl 0B 70KB +70KB

@VictorDoyle VictorDoyle merged commit 1ff0875 into main Nov 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dynamic Lang Parser
1 participant