Skip to content

Commit eadc9d3

Browse files
committed
Fixed two of the templates to include tsconfig.json and Node.js types
(cherry picked from commit 9e88d6f)
1 parent e2c0a3a commit eadc9d3

File tree

14 files changed

+8624
-1
lines changed

14 files changed

+8624
-1
lines changed

Nodejs/Product/Nodejs/ProjectTemplates/TypeScriptExpressApp/ExpressApp.njsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
<TypeScriptCompile Include="app.ts" />
3535
<TypeScriptCompile Include="routes\index.ts" />
3636
<TypeScriptCompile Include="routes\user.ts" />
37+
<Content Include="tsconfig.json">
3738
<Content Include="package.json" />
3839
<Content Include="public\stylesheets\main.css" />
3940
<Content Include="README.md" />

Nodejs/Product/Nodejs/ProjectTemplates/TypeScriptExpressApp/ExpressApp.vstemplate

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@
3131
<ProjectItem>layout.pug</ProjectItem>
3232
<ProjectItem>error.pug</ProjectItem>
3333
</Folder>
34+
<Folder Name="node_modules">
35+
<Folder Name="@types">
36+
<ProjectItem TargetFileName="package.json">node.package.json</ProjectItem>
37+
<ProjectItem TargetFileName="LICENSE">node.LICENSE</ProjectItem>
38+
<ProjectItem TargetFileName="index.d.ts">node.index.d.ts</ProjectItem>
39+
<ProjectItem TargetFileName="README.md">node.README.md</ProjectItem>
40+
</Folder>
41+
</Folder>
42+
<ProjectItem>tsconfig.json</ProjectItem>
3443
<ProjectItem OpenInEditor="true">app.ts</ProjectItem>
3544
<ProjectItem ReplaceParameters="true">package.json</ProjectItem>
3645
<ProjectItem ReplaceParameters="true">README.md</ProjectItem>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) Microsoft Corporation. All rights reserved.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Installation
2+
> `npm install --save @types/node`
3+
4+
# Summary
5+
This package contains type definitions for Node.js (http://nodejs.org/).
6+
7+
# Details
8+
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node/v6
9+
10+
Additional Details
11+
* Last updated: Thu, 24 Aug 2017 17:15:34 GMT
12+
* Dependencies: events, net, stream, child_process, tls, http, readline, crypto
13+
* Global values: Buffer, NodeJS, SlowBuffer, ___dirname, ___filename, clearImmediate, clearInterval, clearTimeout, console, exports, global, module, process, require, setImmediate, setInterval, setTimeout
14+
15+
# Credits
16+
These definitions were written by Microsoft TypeScript <http://typescriptlang.org>, DefinitelyTyped <https://github.com/DefinitelyTyped/DefinitelyTyped>, Wilco Bakker <https://github.com/WilcoBakker>.

0 commit comments

Comments
 (0)