From 5723a739de3bb5be049b861bc3977765e4f613e8 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Wed, 16 Feb 2022 16:02:02 -0700 Subject: [PATCH] Update deps --- package-lock.json | 32 ++++++++++++++++---------------- package.json | 15 ++++++++------- 2 files changed, 24 insertions(+), 23 deletions(-) diff --git a/package-lock.json b/package-lock.json index c2f01ac0b..41128eec3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,9 +19,9 @@ "@angular/platform-browser": "^12.2.12", "@angular/platform-browser-dynamic": "^12.2.12", "@angular/router": "^12.2.12", - "@ghsc/disagg-d3": "^0.3.0", + "@ghsc/disagg-d3": "^0.5.0", "@ghsc/nshmp-template": "^12.0.1", - "@ghsc/nshmp-utils": "^3.2.0", + "@ghsc/nshmp-utils": "^4.0.1", "@mapbox/mapbox-gl-geocoder": "^4.7.4", "@ngrx/effects": "^12.5.1", "@ngrx/router-store": "^12.5.1", @@ -2704,11 +2704,11 @@ } }, "node_modules/@ghsc/disagg-d3": { - "version": "0.3.0", - "resolved": "https://code.usgs.gov/api/v4/projects/4335/packages/npm/@ghsc/disagg-d3/-/@ghsc/disagg-d3-0.3.0.tgz", - "integrity": "sha1-UOnRoQuH1xIGytsCUJL+l1VO/oU=", + "version": "0.5.0", + "resolved": "https://code.usgs.gov/api/v4/projects/4335/packages/npm/@ghsc/disagg-d3/-/@ghsc/disagg-d3-0.5.0.tgz", + "integrity": "sha1-ubuOcusYmVkcU3/eAhNiPiPBVI8=", "dependencies": { - "@ghsc/nshmp-utils": "^3.0.3", + "@ghsc/nshmp-utils": "^4.0.3", "d3": "^3.5.17" } }, @@ -2725,9 +2725,9 @@ } }, "node_modules/@ghsc/nshmp-utils": { - "version": "3.2.0", - "resolved": "https://code.usgs.gov/api/v4/projects/1414/packages/npm/@ghsc/nshmp-utils/-/@ghsc/nshmp-utils-3.2.0.tgz", - "integrity": "sha1-shvd43ZCH4+Dr8kOLM3CRuP2krY=", + "version": "4.0.3", + "resolved": "https://code.usgs.gov/api/v4/projects/1414/packages/npm/@ghsc/nshmp-utils/-/@ghsc/nshmp-utils-4.0.3.tgz", + "integrity": "sha1-jnoLpvst5DJVjmwkG8ReMtoOb/c=", "dependencies": { "@mapbox/geojson-extent": "^1.0.0", "change-case": "^4.1.2", @@ -31937,11 +31937,11 @@ } }, "@ghsc/disagg-d3": { - "version": "0.3.0", - "resolved": "https://code.usgs.gov/api/v4/projects/4335/packages/npm/@ghsc/disagg-d3/-/@ghsc/disagg-d3-0.3.0.tgz", - "integrity": "sha1-UOnRoQuH1xIGytsCUJL+l1VO/oU=", + "version": "0.5.0", + "resolved": "https://code.usgs.gov/api/v4/projects/4335/packages/npm/@ghsc/disagg-d3/-/@ghsc/disagg-d3-0.5.0.tgz", + "integrity": "sha1-ubuOcusYmVkcU3/eAhNiPiPBVI8=", "requires": { - "@ghsc/nshmp-utils": "^3.0.3", + "@ghsc/nshmp-utils": "^4.0.3", "d3": "^3.5.17" } }, @@ -31954,9 +31954,9 @@ } }, "@ghsc/nshmp-utils": { - "version": "3.2.0", - "resolved": "https://code.usgs.gov/api/v4/projects/1414/packages/npm/@ghsc/nshmp-utils/-/@ghsc/nshmp-utils-3.2.0.tgz", - "integrity": "sha1-shvd43ZCH4+Dr8kOLM3CRuP2krY=", + "version": "4.0.3", + "resolved": "https://code.usgs.gov/api/v4/projects/1414/packages/npm/@ghsc/nshmp-utils/-/@ghsc/nshmp-utils-4.0.3.tgz", + "integrity": "sha1-jnoLpvst5DJVjmwkG8ReMtoOb/c=", "requires": { "@mapbox/geojson-extent": "^1.0.0", "change-case": "^4.1.2", diff --git a/package.json b/package.json index 15fd8ff57..7c667b232 100644 --- a/package.json +++ b/package.json @@ -2,17 +2,18 @@ "name": "nshmp-apps", "version": "0.0.0", "scripts": { - "build": "ng build nshmp-apps-prod", - "build:prod": "ng build nshmp-apps-prod --configuration production", + "build": "npm run plotly && ng build nshmp-apps-prod", + "build:prod": "npm run plotly && ng build nshmp-apps-prod --configuration production", "e2e": "ng e2e nshmp-apps", "gts:fix": "gts fix", "http-server": "http-server -a localhost -p 4200 -c-1 dist/nshmp-apps/", "lint": "ng lint", - "lint:fix": "ng lint --fix", + "fix": "ng lint --fix", "ng": "ng", - "postinstall": "env bash scripts/check-plotly.sh", + "plotly": "env bash scripts/check-plotly.sh", + "postinstall": "npm run plotly", "pre-commit": "pretty-quick --staged", - "start": "ng serve nshmp-apps", + "start": "npm run plotly && ng serve nshmp-apps", "start:prod": "ng serve nshmp-apps --configuration production", "test": "ng test nshmp-apps" }, @@ -28,9 +29,9 @@ "@angular/platform-browser": "^12.2.12", "@angular/platform-browser-dynamic": "^12.2.12", "@angular/router": "^12.2.12", - "@ghsc/disagg-d3": "^0.3.0", + "@ghsc/disagg-d3": "^0.5.0", "@ghsc/nshmp-template": "^12.0.1", - "@ghsc/nshmp-utils": "^3.2.0", + "@ghsc/nshmp-utils": "^4.0.1", "@mapbox/mapbox-gl-geocoder": "^4.7.4", "@ngrx/effects": "^12.5.1", "@ngrx/router-store": "^12.5.1", -- GitLab