chore: avoid using multiple out/ directories#2373
Closed
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR consolidates the TypeScript compilation output directories from multiple local out/ directories to a centralized out/ directory at the repository root. The ansible-language-server build output is now placed in out/als/ instead of packages/ansible-language-server/out/server/, and the packaged tarball artifact is now generated in out/ship/.
- Changed TypeScript output directory from
./out/serverto../../out/als - Updated all path references across build configurations, debug configurations, CI workflows, and package definitions
- Removed local
out/directory files and updated exclusion patterns
Reviewed changes
Copilot reviewed 10 out of 14 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
packages/ansible-language-server/tsconfig.json |
Updated outDir to ../../out/als and removed "out" from exclude list |
packages/ansible-language-server/package.json |
Updated file paths, main entry point, and types declaration to reference out/als |
packages/ansible-language-server/out/test-als/package.json |
Removed obsolete test package file from old output directory |
packages/ansible-language-server/out/.gitignore |
Removed obsolete gitignore file from old output directory |
packages/ansible-language-server/bin/ansible-language-server |
Updated require path to reference out/als |
packages/ansible-language-server/Taskfile.yml |
Updated build sources and package output to use centralized out/ship/ directory |
packages/ansible-language-server/.vscodeignore |
Updated VSCode packaging exclusion pattern for out/als |
packages/ansible-language-server/.vscode/launch.json |
Updated debugger configuration name and outFiles path |
Taskfile.yml |
Updated generates path for out/als |
.vscodeignore |
Updated VSCode packaging exclusion pattern at root level |
.vscode/launch.json |
Updated debugger configuration name and outFiles path at root level |
.gitignore |
Added entries for content creator template resources (unrelated to main PR purpose) |
.github/workflows/ci.yaml |
Updated artifact upload path to out/ship/ |
.c8rc.json |
Updated code coverage exclusion path to out/als |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.