Skip to content
Permalink
Browse files

Convert 2.2 app to Typescript, Add vanilla react-ts app

  • Loading branch information...
tarwn committed Feb 10, 2019
1 parent 83918d1 commit 93e7b48e6b360c90e6fdd321d944c647b6239821
Showing with 32,296 additions and 8,107 deletions.
  1. +1 −0 dotnet-2.0/BlogExample.Web.Tests/BlogExample.Web.Tests.csproj
  2. +21 −11 dotnet-2.0/BlogExample.Web/tsconfig.json
  3. +4 −1 dotnet-2.2/BlogExample.Web.Tests/BlogExample.Web.Tests.csproj
  4. +14,092 −8,076 dotnet-2.2/BlogExample.Web/ClientApp/package-lock.json
  5. +16 −10 dotnet-2.2/BlogExample.Web/ClientApp/package.json
  6. 0 dotnet-2.2/BlogExample.Web/ClientApp/src/{App.test.js → App.test.tsx}
  7. 0 dotnet-2.2/BlogExample.Web/ClientApp/src/{App.js → App.tsx}
  8. +7 −3 dotnet-2.2/BlogExample.Web/ClientApp/src/components/{Counter.js → Counter.tsx}
  9. +15 −3 dotnet-2.2/BlogExample.Web/ClientApp/src/components/{FetchData.js → FetchData.tsx}
  10. 0 dotnet-2.2/BlogExample.Web/ClientApp/src/components/{Home.js → Home.tsx}
  11. 0 dotnet-2.2/BlogExample.Web/ClientApp/src/components/{Layout.js → Layout.tsx}
  12. +6 −2 dotnet-2.2/BlogExample.Web/ClientApp/src/components/{NavMenu.js → NavMenu.tsx}
  13. +1 −1 dotnet-2.2/BlogExample.Web/ClientApp/src/{index.js → index.tsx}
  14. +1 −0 dotnet-2.2/BlogExample.Web/ClientApp/src/react-app-env.d.ts
  15. +27 −0 dotnet-2.2/BlogExample.Web/ClientApp/tsconfig.json
  16. +23 −0 vanilla-react-app/.gitignore
  17. +44 −0 vanilla-react-app/README.md
  18. +17,681 −0 vanilla-react-app/package-lock.json
  19. +30 −0 vanilla-react-app/package.json
  20. BIN vanilla-react-app/public/favicon.ico
  21. +41 −0 vanilla-react-app/public/index.html
  22. +15 −0 vanilla-react-app/public/manifest.json
  23. +32 −0 vanilla-react-app/src/App.css
  24. +9 −0 vanilla-react-app/src/App.test.tsx
  25. +28 −0 vanilla-react-app/src/App.tsx
  26. +14 −0 vanilla-react-app/src/index.css
  27. +12 −0 vanilla-react-app/src/index.tsx
  28. +7 −0 vanilla-react-app/src/logo.svg
  29. +1 −0 vanilla-react-app/src/react-app-env.d.ts
  30. +143 −0 vanilla-react-app/src/serviceWorker.ts
  31. +25 −0 vanilla-react-app/tsconfig.json
@@ -6,6 +6,7 @@

<ItemGroup>
<PackageReference Include="Nunit" Version="3.11.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.12.0" />
</ItemGroup>

<ItemGroup>
@@ -1,17 +1,27 @@
{
"compilerOptions": {
"baseUrl": ".",
"module": "es2015",
"moduleResolution": "node",
"target": "es5",
"jsx": "react",
"sourceMap": true,
"skipDefaultLibCheck": true,
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"types": ["webpack-env"]
"forceConsistentCasingInFileNames": true,
"module": "esnext",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": true,
"jsx": "preserve",
"noImplicitAny": true
},
"exclude": [
"bin",
"node_modules"
]
"include": [
"src"
],
"compileOnSave": true
}
@@ -1,11 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netcoreapp2.2</TargetFramework>
<IsTestProject>true</IsTestProject>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.2.0" />
<PackageReference Include="Nunit" Version="3.11.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.12.0" />
</ItemGroup>

<ItemGroup>
Oops, something went wrong.

0 comments on commit 93e7b48

Please sign in to comment.
You can’t perform that action at this time.