Kaynağa Gözat

chore(admin-ui): Update all dependencies except Clarity

Clarity will be updated once v1.0.0 is released - currently in beta.
Michael Bromley 7 yıl önce
ebeveyn
işleme
d8fcce67ff

+ 3 - 0
admin-ui/angular.json

@@ -146,5 +146,8 @@
       "spec": false,
       "changeDetection": "OnPush"
     }
+  },
+  "cli": {
+    "packageManager": "yarn"
   }
 }

+ 41 - 43
admin-ui/package.json

@@ -12,63 +12,61 @@
   },
   "private": true,
   "dependencies": {
-    "@angular/animations": "^7.0.0",
-    "@angular/common": "^7.0.0",
-    "@angular/compiler": "^7.0.0",
-    "@angular/core": "^7.0.0",
-    "@angular/forms": "^7.0.0",
-    "@angular/http": "^7.0.0",
-    "@angular/platform-browser": "^7.0.0",
-    "@angular/platform-browser-dynamic": "^7.0.0",
-    "@angular/router": "^7.0.0",
+    "@angular/animations": "^7.0.4",
+    "@angular/common": "^7.0.4",
+    "@angular/compiler": "^7.0.4",
+    "@angular/core": "^7.0.4",
+    "@angular/forms": "^7.0.4",
+    "@angular/http": "^7.0.4",
+    "@angular/platform-browser": "^7.0.4",
+    "@angular/platform-browser-dynamic": "^7.0.4",
+    "@angular/router": "^7.0.4",
     "@clr/angular": "^0.13.3",
     "@clr/icons": "^0.13.3",
     "@clr/ui": "^0.13.3",
-    "@ng-select/ng-select": "^2.5.0",
-    "@ngx-translate/core": "^10.0.2",
-    "@ngx-translate/http-loader": "^3.0.1",
-    "@webcomponents/custom-elements": "1.0.0",
-    "apollo-angular": "^1.2.0",
-    "apollo-cache-inmemory": "^1.2.7",
-    "apollo-client": "^2.3.8",
-    "apollo-link": "^1.2.2",
-    "apollo-link-context": "^1.0.8",
-    "apollo-link-state": "^0.4.1",
-    "apollo-upload-client": "^8.1.0",
+    "@ng-select/ng-select": "^2.12.1",
+    "@ngx-translate/core": "^11.0.1",
+    "@ngx-translate/http-loader": "^4.0.0",
+    "@webcomponents/custom-elements": "^1.2.1",
+    "apollo-angular": "^1.5.0",
+    "apollo-cache-inmemory": "^1.3.10",
+    "apollo-client": "^2.4.6",
+    "apollo-link": "^1.2.4",
+    "apollo-link-context": "^1.0.10",
+    "apollo-link-state": "^0.4.2",
+    "apollo-upload-client": "^9.1.0",
     "core-js": "^2.5.4",
-    "graphql": "^0.13.2",
-    "graphql-tag": "^2.9.2",
+    "graphql": "^14.0.2",
+    "graphql-tag": "^2.10.0",
     "messageformat": "^2.0.2",
-    "ngx-pagination": "^3.1.1",
-    "ngx-translate-messageformat-compiler": "^4.1.3",
+    "ngx-pagination": "^3.2.1",
+    "ngx-translate-messageformat-compiler": "^4.4.0",
     "rxjs": "^6.3.3",
-    "rxjs-compat": "^6.2.1",
+    "rxjs-compat": "^6.3.3",
     "trix": "^1.0.0",
     "zone.js": "^0.8.26"
   },
   "devDependencies": {
-    "@angular-devkit/build-angular": "~0.7.5",
-    "@angular/cli": "^7.0.2",
-    "@angular/compiler-cli": "^7.0.0",
-    "@angular/language-service": "^7.0.0",
+    "@angular-devkit/build-angular": "~0.10.6",
+    "@angular/cli": "^7.0.6",
+    "@angular/compiler-cli": "^7.0.4",
+    "@angular/language-service": "^7.0.4",
     "@biesbjerg/ngx-translate-extract": "^2.3.4",
-    "@types/jasmine": "~2.8.6",
-    "@types/jasminewd2": "~2.0.3",
-    "@types/node": "~8.9.4",
-    "apollo": "1.7.1",
-    "codelyzer": "~4.2.1",
-    "graphql-tools": "^3.1.1",
-    "jasmine-core": "~2.99.1",
+    "@types/jasmine": "~3.3.0",
+    "@types/jasminewd2": "~2.0.6",
+    "@types/node": "~10.12.9",
+    "codelyzer": "~4.5.0",
+    "jasmine-core": "~3.3.0",
     "jasmine-spec-reporter": "~4.2.1",
-    "karma": "~1.7.1",
+    "karma": "~3.1.1",
     "karma-chrome-launcher": "~2.2.0",
-    "karma-coverage-istanbul-reporter": "~2.0.0",
-    "karma-jasmine": "~1.1.1",
-    "karma-jasmine-html-reporter": "^0.2.2",
-    "protractor": "~5.3.0",
-    "puppeteer": "^1.5.0",
+    "karma-coverage-istanbul-reporter": "~2.0.4",
+    "karma-jasmine": "~2.0.1",
+    "karma-jasmine-html-reporter": "^1.4.0",
+    "protractor": "~5.4.1",
+    "puppeteer": "^1.10.0",
     "rimraf": "^2.6.2",
     "tslint": "^5.11.0",
-    "typescript": "~3.1.3"
+    "typescript": "~3.1.6"
   }
 }

+ 0 - 17
admin-ui/src/karma.conf.js

@@ -35,22 +35,5 @@ module.exports = function (config) {
             }
         },
         singleRun: false,
-        // TODO: this whole "webpack" section is a hack to get around this issue with
-        // the graphql-js lib: https://github.com/aws-amplify/amplify-js/issues/686#issuecomment-387710340
-        // also: https://github.com/graphql/graphql-js/issues/1272
-        // Once v14.0.0 is out it may be possible to remove it. Check that the apollo codegen
-        // script still works (may need to upgrade apollo package too at that point)
-        webpack: {
-            module: {
-                rules: [
-                    ...config.buildWebpack.webpackConfig.module.rules,
-                    {
-                      test: /\.mjs$/,
-                      include: /node_modules/,
-                      type: "javascript/auto",
-                    }
-                ]
-            }
-        }
     });
 };

+ 0 - 5
admin-ui/src/polyfills.ts

@@ -82,8 +82,3 @@ import '@clr/icons/shapes/media-shapes';
 import '@clr/icons/shapes/technology-shapes';
 import '@clr/icons/shapes/travel-shapes';
 import '@webcomponents/custom-elements/custom-elements.min.js';
-// TODO: remove this shim once the newer version of graphql-js is released (14.0.0)
-// and check that the codegen still works (may need to upgrade apollo package).
-// See: https://github.com/graphql/graphql-js/issues/1344
-// and: https://github.com/kripken/emscripten/issues/6653
-(window as any).process = {};

Dosya farkı çok büyük olduğundan ihmal edildi
+ 427 - 485
admin-ui/yarn.lock


Bu fark içinde çok fazla dosya değişikliği olduğu için bazı dosyalar gösterilmiyor