File tree Expand file tree Collapse file tree 7 files changed +74
-30
lines changed Expand file tree Collapse file tree 7 files changed +74
-30
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 7
7
</PropertyGroup >
8
8
<ItemGroup >
9
9
<!-- New Meta Package has SpaServices in It -->
10
- <PackageReference Include =" Microsoft.AspNetCore.All" Version =" 2.1.0-rc1-final " />
10
+ <PackageReference Include =" Microsoft.AspNetCore.All" Version =" 2.1.0" />
11
11
<PackageReference Include =" NETStandard.Library" Version =" 2.0.3" />
12
- <PackageReference Include =" Microsoft.EntityFrameworkCore" Version =" 2.1.0-rc1-final " />
13
- <PackageReference Include =" Microsoft.EntityFrameworkCore.Sqlite" Version =" 2.1.0-rc1-final " />
12
+ <PackageReference Include =" Microsoft.EntityFrameworkCore" Version =" 2.1.0" />
13
+ <PackageReference Include =" Microsoft.EntityFrameworkCore.Sqlite" Version =" 2.1.0" />
14
14
<PackageReference Include =" Swashbuckle.AspNetCore" Version =" 2.4.0" />
15
15
</ItemGroup >
16
16
<ItemGroup >
17
17
<DotNetCliToolReference Include =" Microsoft.DotNet.Watcher.Tools" Version =" 2.0.0" />
18
- </ItemGroup >
18
+ </ItemGroup >
19
19
<ItemGroup >
20
20
<!-- Files not to show in IDE -->
21
21
<None Remove =" yarn.lock" />
Original file line number Diff line number Diff line change 11
11
]
12
12
},
13
13
"files" : [
14
+ " polyfills.ts"
14
15
],
15
16
"include" : [
16
17
" **/*.spec.ts" ,
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " ./node_modules/@angular/cli/lib/config/schema.json" ,
3
+ "version" : 1 ,
4
+ "newProjectRoot" : " projects" ,
5
+ "projects" : {
6
+ "AspnetCore-Angular-Universal" : {
7
+ "root" : " " ,
8
+ "sourceRoot" : " src" ,
9
+ "projectType" : " application" ,
10
+ "architect" : {
11
+ "build" : {
12
+ "builder" : " @angular-devkit/build-angular:browser" ,
13
+ "options" : {
14
+ "outputPath" : " dist/" ,
15
+ "index" : " ClientApp/index.html" ,
16
+ "main" : " ClientApp/main.ts" ,
17
+ "tsConfig" : " ClientApp/tsconfig.app.json" ,
18
+ "assets" : [],
19
+ "styles" : [],
20
+ "scripts" : []
21
+ },
22
+ "configurations" : {}
23
+ },
24
+ "serve" : {
25
+ "builder" : " @angular-devkit/build-angular:dev-server" ,
26
+ "options" : {
27
+ "browserTarget" : " AspnetCore-Angular-Universal:build"
28
+ },
29
+ "configurations" : {}
30
+ },
31
+ "extract-i18n" : {
32
+ "builder" : " @angular-devkit/build-angular:extract-i18n" ,
33
+ "options" : {
34
+ "browserTarget" : " AspnetCore-Angular-Universal:build"
35
+ }
36
+ },
37
+ "lint" : {
38
+ "builder" : " @angular-devkit/build-angular:tslint" ,
39
+ "options" : {
40
+ "tsConfig" : [
41
+ " ClientApp/tsconfig.app.json" ,
42
+ " ClientApp/tsconfig.spec.json"
43
+ ],
44
+ "exclude" : []
45
+ }
46
+ }
47
+ }
48
+ },
49
+ "AspnetCore-Angular-Universal-e2e" : {
50
+ "root" : " " ,
51
+ "sourceRoot" : " " ,
52
+ "projectType" : " application"
53
+ }
54
+ },
55
+ "defaultProject" : " AspnetCore-Angular-Universal" ,
56
+ "schematics" : {
57
+ "@schematics/angular:component" : {
58
+ "spec" : false ,
59
+ "styleext" : " scss"
60
+ },
61
+ "@schematics/angular:directive" : {}
62
+ }
63
+ }
Original file line number Diff line number Diff line change 2
2
"name" : " angular4-aspnetcore-universal" ,
3
3
"version" : " 1.0.0-rc3" ,
4
4
"scripts" : {
5
+ "clean:install" : " npm run clean && rimraf ./node_modules ./bin ./obj ./package-lock.json && dotnet restore && npm i" ,
5
6
"lint" : " tslint -p tsconfig.json" ,
6
7
"test" : " npm run build:vendor && karma start ClientApp/test/karma.conf.js" ,
7
8
"test:watch" : " npm run test -- --auto-watch --no-single-run" ,
90
91
"tslint" : " ^5.10.0" ,
91
92
"uglifyjs-webpack-plugin" : " ^1.2.5" ,
92
93
"webpack-bundle-analyzer" : " ^2.13.1" ,
93
- "webpack-cli" : " ^2.1.4"
94
+ "webpack-cli" : " ^2.1.4" ,
95
+ "@angular-devkit/build-angular" : " ~0.6.6"
94
96
}
95
97
}
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ const merge = require('webpack-merge');
14
14
const AngularCompilerPlugin = require ( '@ngtools/webpack' ) . AngularCompilerPlugin ;
15
15
const CheckerPlugin = require ( 'awesome-typescript-loader' ) . CheckerPlugin ;
16
16
const BundleAnalyzerPlugin = require ( 'webpack-bundle-analyzer' ) . BundleAnalyzerPlugin ;
17
+ const UglifyJsPlugin = require ( 'uglifyjs-webpack-plugin' ) ;
17
18
18
19
const { sharedModuleRules } = require ( './webpack.additions' ) ;
19
20
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ const path = require('path');
2
2
const webpack = require ( 'webpack' ) ;
3
3
const ExtractTextPlugin = require ( 'extract-text-webpack-plugin' ) ;
4
4
const merge = require ( 'webpack-merge' ) ;
5
+ const UglifyJsPlugin = require ( 'uglifyjs-webpack-plugin' ) ;
5
6
const treeShakableModules = [
6
7
'@angular/animations' ,
7
8
'@angular/common' ,
@@ -24,6 +25,7 @@ const nonTreeShakableModules = [
24
25
'event-source-polyfill' ,
25
26
// 'jquery',
26
27
] ;
28
+
27
29
const allModules = treeShakableModules . concat ( nonTreeShakableModules ) ;
28
30
29
31
module . exports = ( env ) => {
You can’t perform that action at this time.
0 commit comments