Open JamieMagee opened 2 years ago
@gattjoe this is ready for review
@JamieMagee I'm going to have to stare at this a bit to determine the implications. I've only ever set it up according to the documentation; however, the documentation doesn't say whether or not what you suggest is not possible, its fairly ambiguous.
I'll take a look this week at it.
I understand where you are coming from, but the layout suggested in your link is specifically for the tutorial:
The home directory of a build or release task extension should look like the following example after you complete the steps in this tutorial
The important parts are the files
property in vss-extension.json
and execution
in task.json
The directory structure and hierarchy is pretty free-form, but the standard that defines it is called Open Packaging Conventions^1. There's some more documentation on it here. .vsix
files are zip files so you can open them up and check the contents.
I updated the target paths for vss-extension.json
and task.json
. I think I'll tackle #25 after this, as the .vsix
is 27MB with node_modules
but only ~100KB if it's bundled 😬
@JamieMagee thanks for the link to the vsix package documentation, reading now.
hmm this is failing tests. I think I have to change a few things in index.ts since it relies on task.json. They used to be in the same directory, so it wasn't an issue before. I have to think about what the execution environment is going to look like from an agent perspective.
Overall, the biggest problem I have is that I have to literally publish a "BETA" version of the extension privately to KNOW if it will work in the wild. I have a different version of the agent published privately, and I'm happy to set up a pipeline in my ADO organization against a fork so you can iterate with it. If you have your own ADO organization, I can share the extension with you to install.
This PR includes:
package.json
,package-lock.json
,.eslintrc.json
, andtask.json
to the root of the repositorybuildAndReleaseTask
tosrc
build
task as an npm scriptbuild
to the GitHub Actiondist
folder, instead of alongside the TypeScript sourceSigned-off-by: Jamie Magee jamie.magee@gmail.com