Git Product home page Git Product logo

buildtools.typescript.fromreferences's People

Contributors

gitter-badger avatar micahzoltu avatar passle-chris avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

buildtools.typescript.fromreferences's Issues

Add support for TypeScriptOutDir.

The Visual Studio TypeScript compiler can optionally compile TypeScript files (.d.ts, .js.map, .js) to a directory other than the originating typescript file. When the user sets that up, this build task should look for the files there.

For first pass, assume that TypeScriptOutDir is the same for all configurations. Adding configuration detection/support is likely to prove difficult.

Make sure this works with .ts files that are in a folder rather than in the root of the project.

Build fails when generated files can't be found.

Are all of the generated files truly necessary? Is it acceptable to continue the build even if say the .js.map file is missing? It seems like for some files there is no reason to break the build on them being missing.

Skip *.d.ts files

If I use DefinitelyTyped librairies that only bring *.d.ts files in my project, the task fails since it looks for *.d.d.ts files.

*.d.ts files should be skipped by the task.

As an exemple, add the Nuget package jquery.TypeScript.DefinitelyTyped to a project and try referencing this project from an other and use the Zolto.BuildTools.TypeScript.FromReferences package on this project. It fails saying that the jquery.d.d.ts file is not found.

Add Support for Customizing the libraries Directory.

Currently, the build task will always copy to $(ProjectDir)libraries. This may not match the users desired build structure.

The task should provide an easy way for users to customize the target directory of the copied files.

MSBuild fails because typings file is missing

When using MSBuilds to deploy projects the build fails because it cannot find the required typings file.

packages\Zoltu.BuildTools.TypeScript.FromReferencesTask.2.0.5.0\build\Zoltu.BuildTools.TypeScript.FromReferencesTask.targets (9, 3)
Could not find file 'D:\VNextAgent\_work\4\s\Logistics Portal\Common Projects\Jdn.LogisticsPortal.Utilities\Scripts\utils.d.ts'.
Process 'msbuild.exe' exited with code '1'.

This is because the file is not added to source control (TFS in this case). However when adding the file to source control, visual studio fails to compile because there are duplicate declarations (once in your .ts and once in your .d.ts files).

Renaming to .ts.source causes compilation issue

I setup the project and was succesfully able to generate .ts.source and update the .map respectively.

The problem is that import tsmodels = require("models/commonModels"); doesnt work. It doesnt recognize models/commonModels.ts.source. When i create a models/CommonModels.ts manually, it compiles.

Note that I am using TypeScript 1.4

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.