Forráskód Böngészése

Upgrade to Angular 9 / Clarity 3 - STARTED

Richard Knight 4 éve
szülő
commit
ca708bb3d3
8 módosított fájl, 7332 hozzáadás és 7412 törlés
  1. 8 6
      angular.json
  2. 7251 7340
      package-lock.json
  3. 32 32
      package.json
  4. 0 12
      src/tsconfig.app.json
  5. 0 19
      src/tsconfig.spec.json
  6. 14 0
      tsconfig.app.json
  7. 9 3
      tsconfig.json
  8. 18 0
      tsconfig.spec.json

+ 8 - 6
angular.json

@@ -14,7 +14,7 @@
             "outputPath": "dist",
             "index": "src/index.html",
             "main": "src/main.ts",
-            "tsConfig": "src/tsconfig.app.json",
+            "tsConfig": "tsconfig.app.json",
             "polyfills": "src/polyfills.ts",
             "assets": [
               "src/assets",
@@ -71,7 +71,7 @@
             "main": "src/test.ts",
             "karmaConfig": "./karma.conf.js",
             "polyfills": "src/polyfills.ts",
-            "tsConfig": "src/tsconfig.spec.json",
+            "tsConfig": "tsconfig.spec.json",
             "scripts": [],
             "styles": [
               "src/styles.scss"
@@ -86,8 +86,8 @@
           "builder": "@angular-devkit/build-angular:tslint",
           "options": {
             "tsConfig": [
-              "src/tsconfig.app.json",
-              "src/tsconfig.spec.json"
+              "tsconfig.app.json",
+              "tsconfig.spec.json"
             ],
             "exclude": [
               "**/node_modules/**"
@@ -131,5 +131,7 @@
     "@schematics/angular:directive": {
       "prefix": "app"
     }
-  }
-}
+  },
+  "cli": {
+    "analytics": "6d79e612-e589-4250-8a13-bad19c564053"
+  }}

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 7251 - 7340
package-lock.json


+ 32 - 32
package.json

@@ -12,47 +12,47 @@
   },
   "private": true,
   "dependencies": {
-    "@angular/animations": "^8.2.14",
-    "@angular/common": "^8.2.14",
-    "@angular/compiler": "^8.2.14",
-    "@angular/core": "^8.2.14",
-    "@angular/forms": "^8.2.14",
-    "@angular/platform-browser": "^8.2.14",
-    "@angular/platform-browser-dynamic": "^8.2.14",
-    "@angular/router": "^8.2.14",
-    "@clr/angular": "^2.3.9",
-    "@clr/icons": "^2.3.9",
-    "@clr/ui": "^2.3.9",
+    "@angular/animations": "^9.1.11",
+    "@angular/common": "^9.1.11",
+    "@angular/compiler": "^9.1.11",
+    "@angular/core": "^9.1.11",
+    "@angular/forms": "^9.1.11",
+    "@angular/platform-browser": "^9.1.11",
+    "@angular/platform-browser-dynamic": "^9.1.11",
+    "@angular/router": "^9.1.11",
+    "@clr/angular": "^3.1.4",
+    "@clr/icons": "^3.1.4",
+    "@clr/ui": "^3.1.4",
     "@webcomponents/custom-elements": "^1.4.1",
     "angular-super-validator": "^2.0.0",
-    "json-formatter-js": "^2.2.1",
+    "json-formatter-js": "^2.3.4",
     "lodash": "^4.17.15",
-    "ramda": "^0.26.1",
-    "rxjs": "^6.5.4",
-    "typescript": "^3.5.3",
+    "ramda": "^0.27.0",
+    "rxjs": "^6.5.5",
+    "typescript": "^3.8.3",
     "zone.js": "^0.10.3"
   },
   "devDependencies": {
-    "@angular-devkit/build-angular": "^0.803.26",
-    "@angular/cli": "^8.3.26",
-    "@angular/compiler-cli": "^8.2.14",
-    "@angular/language-service": "^8.2.14",
-    "@types/jasmine": "^3.5.10",
+    "@angular-devkit/build-angular": "^0.901.9",
+    "@angular/cli": "^9.1.9",
+    "@angular/compiler-cli": "^9.1.11",
+    "@angular/language-service": "^9.1.11",
+    "@types/jasmine": "^3.5.11",
     "@types/jasminewd2": "~2.0.8",
-    "@types/lodash": "^4.14.149",
-    "@types/node": "^12.12.34",
+    "@types/lodash": "^4.14.156",
+    "@types/node": "^14.0.13",
     "codelyzer": "^5.2.2",
     "jasmine-core": "~3.5.0",
-    "jasmine-spec-reporter": "~4.2.1",
-    "karma": "^4.4.1",
+    "jasmine-spec-reporter": "~5.0.2",
+    "karma": "^5.1.0",
     "karma-chrome-launcher": "~3.1.0",
-    "karma-coverage-istanbul-reporter": "^2.1.1",
-    "karma-jasmine": "~2.0.1",
-    "karma-jasmine-html-reporter": "^1.5.3",
-    "node-sass": "^4.13.1",
-    "protractor": "^5.4.3",
-    "rxjs-tslint": "^0.1.7",
-    "ts-node": "^8.8.1",
-    "tslint": "~5.20.1"
+    "karma-coverage-istanbul-reporter": "^3.0.3",
+    "karma-jasmine": "~3.3.1",
+    "karma-jasmine-html-reporter": "^1.5.4",
+    "node-sass": "^4.14.1",
+    "protractor": "^7.0.0",
+    "rxjs-tslint": "^0.1.8",
+    "ts-node": "^8.10.2",
+    "tslint": "~6.1.2"
   }
 }

+ 0 - 12
src/tsconfig.app.json

@@ -1,12 +0,0 @@
-{
-  "extends": "../tsconfig.json",
-  "compilerOptions": {
-    "outDir": "../out-tsc/app",
-    "baseUrl": "./",
-    "types": []
-  },
-  "exclude": [
-    "test.ts",
-    "**/*.spec.ts"
-  ]
-}

+ 0 - 19
src/tsconfig.spec.json

@@ -1,19 +0,0 @@
-{
-  "extends": "../tsconfig.json",
-  "compilerOptions": {
-    "outDir": "../out-tsc/spec",
-    "baseUrl": "./",
-    "types": [
-      "jasmine",
-      "node"
-    ]
-  },
-  "files": [
-    "test.ts",
-    "polyfills.ts"
-  ],
-  "include": [
-    "**/*.spec.ts",
-    "**/*.d.ts"
-  ]
-}

+ 14 - 0
tsconfig.app.json

@@ -0,0 +1,14 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "outDir": "./out-tsc/app",
+    "types": []
+  },
+  "files": [
+    "src/main.ts",
+    "src/polyfills.ts"
+  ],
+  "include": [
+    "src/**/*.d.ts"
+  ]
+}

+ 9 - 3
tsconfig.json

@@ -16,6 +16,7 @@
       "esnext",
       "dom"
     ],
+    "module": "esnext",
     "baseUrl": "./src/",
     "paths": {
       "@directives/*": [
@@ -27,8 +28,13 @@
       "@mock/*": [
         "app/_mock/*"
       ]
-    },
-    "module": "esnext"
-  }
+    }
+  },
+	"angularCompilerOptions": {
+		"enableIvy": true,
+		"fullTemplateTypeCheck": false,
+		"strictInjectionParameters": true,
+		"strictTemplates": false
+	}
 }
 

+ 18 - 0
tsconfig.spec.json

@@ -0,0 +1,18 @@
+{
+  "extends": "./tsconfig.json",
+  "compilerOptions": {
+    "outDir": "./out-tsc/spec",
+    "types": [
+      "jasmine",
+      "node"
+    ]
+  },
+  "files": [
+    "src/test.ts",
+    "src/polyfills.ts"
+  ],
+  "include": [
+    "src/**/*.spec.ts",
+    "src/**/*.d.ts"
+  ]
+}