microsoft / microsoft/azure-devops-node-api

Strip comments from JS files via `removeComments: true`

Open Beginner friendly
#667 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: NodeApi triage
Dominant language
TypeScript
Stars
502
Forks
244
Avg merge
2h 24m
Merged PRs (30d)
2

Description

The JS files in this package are full of source comments that are already mirrored in the .d.ts files. It's just adding extra weight to node_modules for no reason. Can you enable 'removeComments' in the tsconfig?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the package's tsconfig and review its compiler options, especially the requested removeComments setting. Build the package and inspect the generated JavaScript and .d.ts output; done means source comments are absent from the JavaScript while declaration output remains available.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.