From 97b3f682896ff232131ff65fc8b97bdfcefc35d3 Mon Sep 17 00:00:00 2001 From: Jesse Rosenberger Date: Mon, 29 Jul 2019 22:35:49 +0300 Subject: [PATCH] Follow-up on follow-up 293e28d300 with more `package-lock.json` changes. When I first generated this change by running `npm install`, I'd done it after running `npm run clean`, which I periodically do when changing branches. One of the things which the `npm run clean` command does is wipe the `node_modules` directory, which leaves `npm install` in a position of reinstalling it from scratch, rather than leveraging any of the existing cached metadata which exists within that `node_modules` tree. While the first invocation of `npm install` did generate the delta in 293e28d300, a follow-up invocation (without a `npm run clean`; running `npm install` twice in a row) did generate the additional changes contained within this commit, which must be getting introduced into the `node_modules` tree after Lerna does its hoisting (but after `npm` has written its first pass at `package-lock.json`). This is admittedly a bit annoying. cc @glasser Ref: https://github.com/apollographql/apollo-server/commit/293e28d300b#commitcomment-34486618 --- package-lock.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/package-lock.json b/package-lock.json index b24e930dcea..ca699f1e78f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -417,6 +417,28 @@ } } }, + "@hapi/accept": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/@hapi/accept/-/accept-3.2.2.tgz", + "integrity": "sha512-UtXlTT59srtMr7ZRBzK2CvyWqFwlf78hPt9jEXqkwfbwiwRH1PRv/qkS8lgr5ZyoG6kfpU3xTgt2X91Yfe/6Yg==", + "requires": { + "@hapi/boom": "7.x.x", + "@hapi/hoek": "6.x.x" + } + }, + "@hapi/boom": { + "version": "7.4.2", + "resolved": "https://registry.npmjs.org/@hapi/boom/-/boom-7.4.2.tgz", + "integrity": "sha512-T2CYcTI0AqSvC6YC7keu/fh9LVSMzfoMLharBnPbOwmc+Cexj9joIc5yNDKunaxYq9LPuOwMS0f2B3S1tFQUNw==", + "requires": { + "@hapi/hoek": "6.x.x" + } + }, + "@hapi/hoek": { + "version": "6.2.4", + "resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-6.2.4.tgz", + "integrity": "sha512-HOJ20Kc93DkDVvjwHyHawPwPkX44sIrbXazAUDiUXaY2R9JwQGo2PhFfnQtdrsIe4igjG2fPgMra7NYw7qhy0A==" + }, "@jest/console": { "version": "24.7.1", "resolved": "https://registry.npmjs.org/@jest/console/-/console-24.7.1.tgz", @@ -3811,6 +3833,8 @@ "version": "file:packages/apollo-server-hapi", "requires": { "@apollographql/graphql-playground-html": "1.6.24", + "@hapi/accept": "^3.2.2", + "@hapi/boom": "^7.4.2", "apollo-server-core": "file:packages/apollo-server-core", "apollo-server-types": "file:packages/apollo-server-types", "graphql-subscriptions": "^1.0.0",