Skip to content

Commit d3be5c5

Browse files
Verify types for Mvc4 sample during build
1 parent c5fa12d commit d3be5c5

File tree

3 files changed

+69
-0
lines changed

3 files changed

+69
-0
lines changed

build.proj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ of patent rights can be found in the PATENTS file in the same directory.
5656
WorkingDirectory="src/React.Core/Resources/babel-legacy"
5757
Command="npm install"
5858
/>
59+
<Exec
60+
WorkingDirectory="src/React.Sample.Mvc4"
61+
Command="npm install"
62+
/>
5963
<Exec
6064
WorkingDirectory="src/React.Sample.Webpack.CoreMvc"
6165
Command="npm install"
@@ -100,6 +104,7 @@ of patent rights can be found in the PATENTS file in the same directory.
100104
<Exec WorkingDirectory="src/React.Core/Resources/babel-legacy" Command="node_modules/.bin/webpack" />
101105
<MSBuild Projects="$(SolutionFile)" Targets="Rebuild" Properties="Configuration=Release;Platform=Any CPU;NoWarn=1607,7035,1701;Version=$(VersionString)" />
102106
<Exec WorkingDirectory="src/React.Sample.Webpack.CoreMvc" Command="node_modules/.bin/webpack" />
107+
<Exec WorkingDirectory="src/React.Sample.Mvc4" Command="node_modules/.bin/tsc" />
103108
</Target>
104109

105110
<Target Name="Test" DependsOnTargets="Build">

src/React.Sample.Mvc4/package-lock.json

Lines changed: 61 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/React.Sample.Mvc4/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
"version": "1.0.0",
44
"main": "index.js",
55
"license": "MIT",
6+
"scripts": {
7+
"lint:ts": "tsc"
8+
},
69
"devDependencies": {
710
"@types/react": "16.8.19",
811
"@types/react-dom": "16.8.4",

0 commit comments

Comments
 (0)