From a6a524568f5c2bcd86a07e39e675cdb03279a051 Mon Sep 17 00:00:00 2001 From: Dan Wahlin Date: Sun, 29 Aug 2021 21:22:24 -0700 Subject: [PATCH] Remove unneeded packages (they are used in a separate branch) --- package-lock.json | 268 ---------------------------------------------- package.json | 3 - src/index.tsx | 6 -- 3 files changed, 277 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4f88ec3..d445bc9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,9 +13,6 @@ "@fluentui/react-icons-mdl2": "^1.2.1", "@fluidframework/azure-client": "^0.46.0", "@fluidframework/test-runtime-utils": "0.46.0", - "@microsoft/mgt-element": "^2.2.1", - "@microsoft/mgt-msal2-provider": "^2.2.1", - "@microsoft/mgt-react": "^2.2.1", "cross-env": "^7.0.3", "fluid-framework": "^0.46.0", "react": "^17.0.2", @@ -36,28 +33,6 @@ "typescript": "~4.4.2" } }, - "node_modules/@azure/msal-browser": { - "version": "2.16.1", - "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-2.16.1.tgz", - "integrity": "sha512-PcYi4seUGdtu30mOIdwk4FvbOdHFQ+fKAptEqV0tcsrvor0Hox/R0Xr0GEiBMfKkJbagLOYX7ORPRCYhZrWeqw==", - "dependencies": { - "@azure/msal-common": "^4.5.1" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/@azure/msal-common": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-4.5.1.tgz", - "integrity": "sha512-/i5dXM+QAtO+6atYd5oHGBAx48EGSISkXNXViheliOQe+SIFMDo3gSq3lL54W0suOSAsVPws3XnTaIHlla0PIQ==", - "dependencies": { - "debug": "^4.1.1" - }, - "engines": { - "node": ">=0.8.0" - } - }, "node_modules/@babel/code-frame": { "version": "7.14.5", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", @@ -3912,75 +3887,6 @@ "resolved": "https://registry.npmjs.org/@microsoft/load-themed-styles/-/load-themed-styles-1.10.204.tgz", "integrity": "sha512-Kc1DSDehWxOScTVB3Xlo+GsFmY3/wQ41uWMU2bdKksl/PaOkCsUquOcXpXsBZXg1GEvQm705aJpGD7yh+vB4QQ==" }, - "node_modules/@microsoft/mgt-components": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@microsoft/mgt-components/-/mgt-components-2.2.1.tgz", - "integrity": "sha512-AdRyST6pyqEv7dVZTHrpcr4GuxjKJBQf+w4AkPJVXqtr/a4YbNcmOBHtGGFtPAjSx+CpGCMGBeZeTXgxTrdDKw==", - "dependencies": { - "@microsoft/mgt-element": "2.2.1", - "@microsoft/microsoft-graph-client": "^2.2.1", - "@microsoft/microsoft-graph-types": "^1.36.0", - "@microsoft/microsoft-graph-types-beta": "^0.7.0-preview", - "office-ui-fabric-core": "11.0.0" - } - }, - "node_modules/@microsoft/mgt-element": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@microsoft/mgt-element/-/mgt-element-2.2.1.tgz", - "integrity": "sha512-s8qkRYFTXI/veOyhHjyjs5LKU1O8sl8ZznKkZAywVl4gdbIpyNy+oTXPR1yst3E5We5z8mGj48Z2bndxabupMQ==", - "dependencies": { - "@microsoft/microsoft-graph-client": "^2.2.1", - "idb": "6.0.0", - "lit-element": "^2.4.0" - } - }, - "node_modules/@microsoft/mgt-msal2-provider": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@microsoft/mgt-msal2-provider/-/mgt-msal2-provider-2.2.1.tgz", - "integrity": "sha512-UhJf0nA/eMGyyLJEhsFZwKkSwNTeYVzS3SiUFJxLG09JA/bMHFvzmsX8XxpnvRi/52O/6cywHCxVyIKFF7cKTg==", - "dependencies": { - "@azure/msal-browser": "^2.14.1", - "@microsoft/mgt-element": "2.2.1", - "@microsoft/microsoft-graph-client": "^2.2.1" - } - }, - "node_modules/@microsoft/mgt-react": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@microsoft/mgt-react/-/mgt-react-2.2.1.tgz", - "integrity": "sha512-XP0gTQcLKPkNlrtlSvOOxmWxxKxLz0zWd0aPiqXUCqbvKuXeYJ/q51bCsD4T4Dt2FQRa02agvgEQkeFoi3pHWA==", - "dependencies": { - "@microsoft/mgt-components": "2.2.1", - "@microsoft/mgt-element": "2.2.1", - "@microsoft/microsoft-graph-types": "^1.36.0", - "@microsoft/microsoft-graph-types-beta": "^0.7.0-preview", - "wc-react": "^0.5.0" - } - }, - "node_modules/@microsoft/microsoft-graph-client": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@microsoft/microsoft-graph-client/-/microsoft-graph-client-2.2.1.tgz", - "integrity": "sha512-fbDN3UJ+jtSP9llAejqmslMcv498YuIrS3OS/Luivb8OSjdUESZKdP0gcUunnuNIayePVT0/bGYSJTzAIptJQQ==", - "dependencies": { - "@babel/runtime": "^7.4.4", - "msal": "^1.4.4", - "tslib": "^1.9.3" - } - }, - "node_modules/@microsoft/microsoft-graph-client/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/@microsoft/microsoft-graph-types": { - "version": "1.41.0", - "resolved": "https://registry.npmjs.org/@microsoft/microsoft-graph-types/-/microsoft-graph-types-1.41.0.tgz", - "integrity": "sha512-GNGqnN3k4wo6zlxszBUdrzEXMQMeTRXRO2OP3h63LNbqRrRHUe6WY2EbGwL7gUhap7pOoyziZ+eG5YUvUNdBSA==" - }, - "node_modules/@microsoft/microsoft-graph-types-beta": { - "version": "0.7.0-preview", - "resolved": "https://registry.npmjs.org/@microsoft/microsoft-graph-types-beta/-/microsoft-graph-types-beta-0.7.0-preview.tgz", - "integrity": "sha512-yGsFq91LoLelDv4EMABnd4PeMZAsMKm5FieRf2OejOMlXEcemky8oQyIzo90SvH2xq62+PJgn41l/6NxerFY/w==" - }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -12736,11 +12642,6 @@ "node": ">= 6" } }, - "node_modules/idb": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/idb/-/idb-6.0.0.tgz", - "integrity": "sha512-+M367poGtpzAylX4pwcrZIa7cFQLfNkAOlMMLN2kw/2jGfJP6h+TB/unQNSVYwNtP8XqkLYrfuiVnxLQNP1tjA==" - }, "node_modules/identity-obj-proxy": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/identity-obj-proxy/-/identity-obj-proxy-3.0.0.tgz", @@ -15808,19 +15709,6 @@ "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", "dev": true }, - "node_modules/lit-element": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-2.5.1.tgz", - "integrity": "sha512-ogu7PiJTA33bEK0xGu1dmaX5vhcRjBXCFexPja0e7P7jqLhTpNKYRPmE+GmiCaRVAbiQKGkUgkh/i6+bh++dPQ==", - "dependencies": { - "lit-html": "^1.1.1" - } - }, - "node_modules/lit-html": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-1.4.1.tgz", - "integrity": "sha512-B9btcSgPYb1q4oSOb/PrOT6Z/H+r6xuNzfH4lFli/AWhYwdtrgQkQWBbIc6mdnf6E2IL3gDXdkkqNktpU0OZQA==" - }, "node_modules/load-json-file": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", @@ -16659,22 +16547,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, - "node_modules/msal": { - "version": "1.4.12", - "resolved": "https://registry.npmjs.org/msal/-/msal-1.4.12.tgz", - "integrity": "sha512-gjupwQ6nvNL6mZkl5NIXyUmZhTiEMRu5giNdgHMh8l5EPOnV2Xj6nukY1NIxFacSTkEYUSDB47Pej9GxDYf+1w==", - "dependencies": { - "tslib": "^1.9.3" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/msal/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, "node_modules/multicast-dns": { "version": "6.2.3", "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-6.2.3.tgz", @@ -17364,11 +17236,6 @@ "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", "dev": true }, - "node_modules/office-ui-fabric-core": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/office-ui-fabric-core/-/office-ui-fabric-core-11.0.0.tgz", - "integrity": "sha512-K6+KGnBXXjfSxxZpp+4oDXVLgUc//7OnXrn8F08VoJnGhEz27WUf4ZuMa32SjGoqirWlb4JlKkXbOpC9cis6dQ==" - }, "node_modules/on-finished": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", @@ -24782,11 +24649,6 @@ "minimalistic-assert": "^1.0.0" } }, - "node_modules/wc-react": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/wc-react/-/wc-react-0.5.0.tgz", - "integrity": "sha512-3c4KzBArlfCqCYqY8hoJAIvxmzpWvoQqsOmy9OiwbnopSTE270i3R+LVD7NjE00UJkjXq7kmhobnx0qhi/eOrA==" - }, "node_modules/webidl-conversions": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", @@ -26547,22 +26409,6 @@ } }, "dependencies": { - "@azure/msal-browser": { - "version": "2.16.1", - "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-2.16.1.tgz", - "integrity": "sha512-PcYi4seUGdtu30mOIdwk4FvbOdHFQ+fKAptEqV0tcsrvor0Hox/R0Xr0GEiBMfKkJbagLOYX7ORPRCYhZrWeqw==", - "requires": { - "@azure/msal-common": "^4.5.1" - } - }, - "@azure/msal-common": { - "version": "4.5.1", - "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-4.5.1.tgz", - "integrity": "sha512-/i5dXM+QAtO+6atYd5oHGBAx48EGSISkXNXViheliOQe+SIFMDo3gSq3lL54W0suOSAsVPws3XnTaIHlla0PIQ==", - "requires": { - "debug": "^4.1.1" - } - }, "@babel/code-frame": { "version": "7.14.5", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.14.5.tgz", @@ -29687,77 +29533,6 @@ "resolved": "https://registry.npmjs.org/@microsoft/load-themed-styles/-/load-themed-styles-1.10.204.tgz", "integrity": "sha512-Kc1DSDehWxOScTVB3Xlo+GsFmY3/wQ41uWMU2bdKksl/PaOkCsUquOcXpXsBZXg1GEvQm705aJpGD7yh+vB4QQ==" }, - "@microsoft/mgt-components": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@microsoft/mgt-components/-/mgt-components-2.2.1.tgz", - "integrity": "sha512-AdRyST6pyqEv7dVZTHrpcr4GuxjKJBQf+w4AkPJVXqtr/a4YbNcmOBHtGGFtPAjSx+CpGCMGBeZeTXgxTrdDKw==", - "requires": { - "@microsoft/mgt-element": "2.2.1", - "@microsoft/microsoft-graph-client": "^2.2.1", - "@microsoft/microsoft-graph-types": "^1.36.0", - "@microsoft/microsoft-graph-types-beta": "^0.7.0-preview", - "office-ui-fabric-core": "11.0.0" - } - }, - "@microsoft/mgt-element": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@microsoft/mgt-element/-/mgt-element-2.2.1.tgz", - "integrity": "sha512-s8qkRYFTXI/veOyhHjyjs5LKU1O8sl8ZznKkZAywVl4gdbIpyNy+oTXPR1yst3E5We5z8mGj48Z2bndxabupMQ==", - "requires": { - "@microsoft/microsoft-graph-client": "^2.2.1", - "idb": "6.0.0", - "lit-element": "^2.4.0" - } - }, - "@microsoft/mgt-msal2-provider": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@microsoft/mgt-msal2-provider/-/mgt-msal2-provider-2.2.1.tgz", - "integrity": "sha512-UhJf0nA/eMGyyLJEhsFZwKkSwNTeYVzS3SiUFJxLG09JA/bMHFvzmsX8XxpnvRi/52O/6cywHCxVyIKFF7cKTg==", - "requires": { - "@azure/msal-browser": "^2.14.1", - "@microsoft/mgt-element": "2.2.1", - "@microsoft/microsoft-graph-client": "^2.2.1" - } - }, - "@microsoft/mgt-react": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@microsoft/mgt-react/-/mgt-react-2.2.1.tgz", - "integrity": "sha512-XP0gTQcLKPkNlrtlSvOOxmWxxKxLz0zWd0aPiqXUCqbvKuXeYJ/q51bCsD4T4Dt2FQRa02agvgEQkeFoi3pHWA==", - "requires": { - "@microsoft/mgt-components": "2.2.1", - "@microsoft/mgt-element": "2.2.1", - "@microsoft/microsoft-graph-types": "^1.36.0", - "@microsoft/microsoft-graph-types-beta": "^0.7.0-preview", - "wc-react": "^0.5.0" - } - }, - "@microsoft/microsoft-graph-client": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@microsoft/microsoft-graph-client/-/microsoft-graph-client-2.2.1.tgz", - "integrity": "sha512-fbDN3UJ+jtSP9llAejqmslMcv498YuIrS3OS/Luivb8OSjdUESZKdP0gcUunnuNIayePVT0/bGYSJTzAIptJQQ==", - "requires": { - "@babel/runtime": "^7.4.4", - "msal": "^1.4.4", - "tslib": "^1.9.3" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } - } - }, - "@microsoft/microsoft-graph-types": { - "version": "1.41.0", - "resolved": "https://registry.npmjs.org/@microsoft/microsoft-graph-types/-/microsoft-graph-types-1.41.0.tgz", - "integrity": "sha512-GNGqnN3k4wo6zlxszBUdrzEXMQMeTRXRO2OP3h63LNbqRrRHUe6WY2EbGwL7gUhap7pOoyziZ+eG5YUvUNdBSA==" - }, - "@microsoft/microsoft-graph-types-beta": { - "version": "0.7.0-preview", - "resolved": "https://registry.npmjs.org/@microsoft/microsoft-graph-types-beta/-/microsoft-graph-types-beta-0.7.0-preview.tgz", - "integrity": "sha512-yGsFq91LoLelDv4EMABnd4PeMZAsMKm5FieRf2OejOMlXEcemky8oQyIzo90SvH2xq62+PJgn41l/6NxerFY/w==" - }, "@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -36811,11 +36586,6 @@ "postcss": "^7.0.14" } }, - "idb": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/idb/-/idb-6.0.0.tgz", - "integrity": "sha512-+M367poGtpzAylX4pwcrZIa7cFQLfNkAOlMMLN2kw/2jGfJP6h+TB/unQNSVYwNtP8XqkLYrfuiVnxLQNP1tjA==" - }, "identity-obj-proxy": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/identity-obj-proxy/-/identity-obj-proxy-3.0.0.tgz", @@ -39300,19 +39070,6 @@ "integrity": "sha1-HADHQ7QzzQpOgHWPe2SldEDZ/wA=", "dev": true }, - "lit-element": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-2.5.1.tgz", - "integrity": "sha512-ogu7PiJTA33bEK0xGu1dmaX5vhcRjBXCFexPja0e7P7jqLhTpNKYRPmE+GmiCaRVAbiQKGkUgkh/i6+bh++dPQ==", - "requires": { - "lit-html": "^1.1.1" - } - }, - "lit-html": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-1.4.1.tgz", - "integrity": "sha512-B9btcSgPYb1q4oSOb/PrOT6Z/H+r6xuNzfH4lFli/AWhYwdtrgQkQWBbIc6mdnf6E2IL3gDXdkkqNktpU0OZQA==" - }, "load-json-file": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", @@ -40019,21 +39776,6 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, - "msal": { - "version": "1.4.12", - "resolved": "https://registry.npmjs.org/msal/-/msal-1.4.12.tgz", - "integrity": "sha512-gjupwQ6nvNL6mZkl5NIXyUmZhTiEMRu5giNdgHMh8l5EPOnV2Xj6nukY1NIxFacSTkEYUSDB47Pej9GxDYf+1w==", - "requires": { - "tslib": "^1.9.3" - }, - "dependencies": { - "tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - } - } - }, "multicast-dns": { "version": "6.2.3", "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-6.2.3.tgz", @@ -40599,11 +40341,6 @@ "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==", "dev": true }, - "office-ui-fabric-core": { - "version": "11.0.0", - "resolved": "https://registry.npmjs.org/office-ui-fabric-core/-/office-ui-fabric-core-11.0.0.tgz", - "integrity": "sha512-K6+KGnBXXjfSxxZpp+4oDXVLgUc//7OnXrn8F08VoJnGhEz27WUf4ZuMa32SjGoqirWlb4JlKkXbOpC9cis6dQ==" - }, "on-finished": { "version": "2.3.0", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", @@ -46708,11 +46445,6 @@ "minimalistic-assert": "^1.0.0" } }, - "wc-react": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/wc-react/-/wc-react-0.5.0.tgz", - "integrity": "sha512-3c4KzBArlfCqCYqY8hoJAIvxmzpWvoQqsOmy9OiwbnopSTE270i3R+LVD7NjE00UJkjXq7kmhobnx0qhi/eOrA==" - }, "webidl-conversions": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", diff --git a/package.json b/package.json index 210db90..734777b 100644 --- a/package.json +++ b/package.json @@ -45,9 +45,6 @@ "fluid-framework": "^0.46.0", "@fluidframework/azure-client": "^0.46.0", "@fluidframework/test-runtime-utils": "0.46.0", - "@microsoft/mgt-element": "^2.2.1", - "@microsoft/mgt-msal2-provider": "^2.2.1", - "@microsoft/mgt-react": "^2.2.1", "cross-env": "^7.0.3", "react": "^17.0.2", "react-dom": "^17.0.2", diff --git a/src/index.tsx b/src/index.tsx index 2e28c09..fd0c2f3 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -11,14 +11,8 @@ import "./view/index.css"; import "./view/App.css"; import { themeNameToTheme } from './view/Themes'; import { Navbar } from './Navbar'; -import { Providers } from '@microsoft/mgt-element'; -import { Msal2Provider } from '@microsoft/mgt-msal2-provider'; import { getFluidContainer } from "./Utils"; -Providers.globalProvider = new Msal2Provider({ - clientId: '26fa7fdf-ae13-4db0-84f8-8249376812dc' -}); - export async function start() { initializeIcons();