areve / IframeDashboardWidget

A dashboard widget to show an Iframe in TFS/VSTS.
10 stars 15 forks source link

The code no longer builds #8

Open areve opened 5 years ago

areve commented 5 years ago

The code no longer builds, I don't use the program and there are alternatives on the marketplace.

If someone can workout why the build fails I'll have a go at updating it with the latest pull request.

1>------ Rebuild All started: Project: IframeDashboardWidget, Configuration: Debug Any CPU ------
1>Build started 21/09/2018 18:20:40.
1>PreComputeCompileTypeScript:
1>  C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.8\tsc.exe  --sourcemap --target ES5 --noEmitOnError --locale en-US "C:\...\IframeDashboardWidget\IframeDashboardWidget\typings\jquery\jquery.d.ts" "C:\...\IframeDashboardWidget\IframeDashboardWidget\typings\tsd.d.ts"
1>CompileTypeScript:
1>  C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.8\tsc.exe  --sourcemap --target ES5 --noEmitOnError --locale en-US "C:\...\IframeDashboardWidget\IframeDashboardWidget\typings\jquery\jquery.d.ts" "C:\...\IframeDashboardWidget\IframeDashboardWidget\typings\tsd.d.ts"
1>C:\...\IframeDashboardWidget\IframeDashboardWidget\node_modules\vss-web-extension-sdk\typings\vss.d.ts(21866,29): error TS1005: Build:'=' expected.
1>C:\...\IframeDashboardWidget\IframeDashboardWidget\node_modules\vss-web-extension-sdk\typings\vss.d.ts(21874,21): error TS1005: Build:'=' expected.
1>C:\...\IframeDashboardWidget\IframeDashboardWidget\node_modules\vss-web-extension-sdk\typings\vss.d.ts(21874,30): error TS1005: Build:';' expected.
1>C:\...\IframeDashboardWidget\IframeDashboardWidget\node_modules\vss-web-extension-sdk\typings\vss.d.ts(21875,21): error TS1005: Build:'=' expected.
1>C:\...\IframeDashboardWidget\IframeDashboardWidget\node_modules\vss-web-extension-sdk\typings\vss.d.ts(21875,41): error TS1005: Build:';' expected.
1>C:\...\IframeDashboardWidget\IframeDashboardWidget\node_modules\vss-web-extension-sdk\typings\vss.d.ts(21876,29): error TS1005: Build:'=' expected.
1>C:\...\IframeDashboardWidget\IframeDashboardWidget\node_modules\vss-web-extension-sdk\typings\vss.d.ts(29398,21): error TS1005: Build:'=' expected.
1>C:\...\IframeDashboardWidget\IframeDashboardWidget\node_modules\vss-web-extension-sdk\typings\vss.d.ts(29398,45): error TS1005: Build:';' expected.
1>
1>Build FAILED.
1>
1>Time Elapsed 00:00:03.47
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Christ0phH commented 5 years ago

Have you validated against an untouched vss.d.ts like in https://github.com/Microsoft/vss-web-extension-sdk/tree/master/typings ?

areve commented 5 years ago

I guess dependency packages changed and now they all need updating. If I were to fix it I'd probably use "yarn" to get all the files and check in the yarn.lock file. and then probably delete the grunt update command. I've had a quick go, but I don't have time now to investigate further.

PerriNelson commented 4 years ago

Most of the code in this repo is unnecessary. There's really nothing to build the way the widget is structured. You don't need Visual Studio or Grunt for this, and you can use VSCode to edit the files and create a package.

I will give you a pull request that fixes the problems.