Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
Update contrib guide to get VSS SDK via NPM, minor UI tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
willsmythe committed Jan 7, 2017
1 parent d9a7802 commit a92a8c4
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 31 deletions.
19 changes: 0 additions & 19 deletions contributions-guide/bower.json

This file was deleted.

23 changes: 17 additions & 6 deletions contributions-guide/context.html
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
<html>
<head>
<title>Web Context</title>
<script src="bower_components/vss-web-extension-sdk/lib/VSS.SDK.js"></script>
<script src="node_modules/vss-web-extension-sdk/lib/VSS.SDK.js"></script>
<style>
h2 {
font-weight: 400;
}

pre {
font-size: 14px;
line-height: 1.3em;
}

</style>
</head>

<body style="padding-left: 20px; padding-top: 20px; overflow-y: auto; background-color: #ddd">
<body style="padding-left: 20px; padding-top: 20px; overflow-y: auto; background-color: #eee">

<h3>Web Context</h3>
<pre id="context-display" style=""></pre>
<h2>Web Context</h2>
<pre id="context-display"></pre>

<div id="configuration" style="display:none">
<h3>Configuration</h3>
<pre id="configuration-display" style=""></pre>
<h2>Configuration</h2>
<pre id="configuration-display"></pre>
</div>
<script type="text/javascript">
VSS.init({explicitNotifyLoaded: true, usePlatformScripts: true, usePlatformStyles: true })
Expand Down
2 changes: 1 addition & 1 deletion contributions-guide/contextForm.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<title>Contribution context form</title>

<script src="bower_components/vss-web-extension-sdk/lib/VSS.SDK.min.js"></script>
<script src="node_modules/vss-web-extension-sdk/lib/VSS.SDK.min.js"></script>

<script type="text/javascript">
VSS.init({
Expand Down
2 changes: 1 addition & 1 deletion contributions-guide/details.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
This extension is designed to help extension developers discover the various components of Visual Studio Team Services that can be targeted by contributions from third party extensions, as well as the context data that is available at each target.

[Learn more](https://www.visualstudio.com/integrate/extensions/reference/targets/overview) about the supported extensibility targets.
[Learn more](https://www.visualstudio.com/docs/integrate/extensions/reference/targets/overview) about the supported extensibility targets.

## See where you can extend

Expand Down
2 changes: 1 addition & 1 deletion contributions-guide/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<body>
<div>Users will never see this page.</div>

<script src="bower_components/vss-web-extension-sdk/lib/VSS.SDK.min.js"></script>
<script src="node_modules/vss-web-extension-sdk/lib/VSS.SDK.min.js"></script>

<script src="scripts/main.js"></script>
<script>
Expand Down
13 changes: 13 additions & 0 deletions contributions-guide/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "contributions-guide",
"version": "1.0.0",
"description": "See available places to contribute new capabilities to Team Services.",
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vsts-extension-samples/tree/master/contributions-guide"
},
"author": "Microsoft",
"dependencies": {
"vss-web-extension-sdk": "^2.109.0"
}
}
6 changes: 3 additions & 3 deletions contributions-guide/vss-extension.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"manifestVersion": 1,
"id": "samples-contributions-guide",
"version": "0.1.32",
"version": "0.1.33",
"name": "Contributions Guide",
"description": "Building an extension for Visual Studio Team Services? See the places where you can extend and enhance the user's web experience with an extension ---- right from within the web experience.",
"publisher": "ms-samples",
"public": false,
"public": true,
"categories": [
"Developer samples"
],
Expand Down Expand Up @@ -53,7 +53,7 @@
"addressable": true
},
{
"path": "bower_components/vss-web-extension-sdk/lib",
"path": "node_modules/vss-web-extension-sdk/lib",
"addressable": true
}
],
Expand Down

0 comments on commit a92a8c4

Please sign in to comment.