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

Clean up and restructure files #7

Merged
merged 5 commits into from
Aug 23, 2022

Conversation

Drarig29
Copy link
Contributor

Azure DevOps tasks need a specific structure. Having it different complicates a lot of things.

The node_modules must be included at the same level as the task.json file, in a subfolder for the task (that I called datadog-ci).

Compiled *.js files must me at the same level as the task.json file, so we can't have a dist folder. When unit testing, we'll also need the compiled *.js files to be at the same level as the *.ts files (proper unit testing will be added in a subsequent PR).

@Drarig29 Drarig29 requested review from a team as code owners August 19, 2022 16:51
"test": "jest"
"lint": "eslint **/*.ts",
"test": "jest",
"prepackage": "yarn install --production",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We must use yarn install --production not only to reduce the VSIX file from 55mb to 25mb but also because without this, we have an fsevents binary file and uploading the file fails because of a wrong MIME type (microsoft/tfs-cli#414).

Copy link
Contributor

@lefebvree lefebvree left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Drarig29 Drarig29 merged commit c635b44 into main Aug 23, 2022
@Drarig29 Drarig29 deleted the corentin.girard/clean-up-and-restructure branch August 23, 2022 11:26
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.

3 participants