Commit 4815030b authored by Robert Knight's avatar Robert Knight

Remove AngularJS packages and bundles from the client

parent ae689eee
...@@ -155,7 +155,6 @@ const cssBundles = [ ...@@ -155,7 +155,6 @@ const cssBundles = [
'./src/styles/sidebar/sidebar.scss', './src/styles/sidebar/sidebar.scss',
// Vendor // Vendor
'./src/styles/vendor/angular-csp.css',
'./src/styles/vendor/icomoon.css', './src/styles/vendor/icomoon.css',
'./node_modules/katex/dist/katex.min.css', './node_modules/katex/dist/katex.min.css',
]; ];
......
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
"@babel/preset-react": "^7.0.0", "@babel/preset-react": "^7.0.0",
"@octokit/rest": "^17.0.0", "@octokit/rest": "^17.0.0",
"@sentry/browser": "^5.6.2", "@sentry/browser": "^5.6.2",
"angular": "^1.7.5",
"angular-mocks": "^1.7.5",
"autoprefixer": "^9.4.7", "autoprefixer": "^9.4.7",
"aws-sdk": "^2.345.0", "aws-sdk": "^2.345.0",
"axe-core": "^3.4.1", "axe-core": "^3.4.1",
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
module.exports = { module.exports = {
bundles: { bundles: {
jquery: ['jquery'], jquery: ['jquery'],
angular: ['angular'],
katex: ['katex'], katex: ['katex'],
sentry: ['@sentry/browser'], sentry: ['@sentry/browser'],
showdown: ['showdown'], showdown: ['showdown'],
......
...@@ -112,14 +112,12 @@ function bootSidebarApp(doc, config) { ...@@ -112,14 +112,12 @@ function bootSidebarApp(doc, config) {
// Vendor code required by sidebar.bundle.js // Vendor code required by sidebar.bundle.js
'scripts/sentry.bundle.js', 'scripts/sentry.bundle.js',
'scripts/angular.bundle.js',
'scripts/katex.bundle.js', 'scripts/katex.bundle.js',
'scripts/showdown.bundle.js', 'scripts/showdown.bundle.js',
// The sidebar app // The sidebar app
'scripts/sidebar.bundle.js', 'scripts/sidebar.bundle.js',
'styles/angular-csp.css',
'styles/katex.min.css', 'styles/katex.min.css',
'styles/sidebar.css', 'styles/sidebar.css',
]); ]);
......
...@@ -41,12 +41,10 @@ describe('bootstrap', function () { ...@@ -41,12 +41,10 @@ describe('bootstrap', function () {
// Sidebar app // Sidebar app
'scripts/sentry.bundle.js', 'scripts/sentry.bundle.js',
'scripts/angular.bundle.js',
'scripts/katex.bundle.js', 'scripts/katex.bundle.js',
'scripts/showdown.bundle.js', 'scripts/showdown.bundle.js',
'scripts/sidebar.bundle.js', 'scripts/sidebar.bundle.js',
'styles/angular-csp.css',
'styles/katex.min.css', 'styles/katex.min.css',
'styles/sidebar.css', 'styles/sidebar.css',
]; ];
...@@ -146,12 +144,10 @@ describe('bootstrap', function () { ...@@ -146,12 +144,10 @@ describe('bootstrap', function () {
it('loads assets for the sidebar application', function () { it('loads assets for the sidebar application', function () {
runBoot(); runBoot();
const expectedAssets = [ const expectedAssets = [
'scripts/angular.bundle.1234.js',
'scripts/katex.bundle.1234.js', 'scripts/katex.bundle.1234.js',
'scripts/sentry.bundle.1234.js', 'scripts/sentry.bundle.1234.js',
'scripts/showdown.bundle.1234.js', 'scripts/showdown.bundle.1234.js',
'scripts/sidebar.bundle.1234.js', 'scripts/sidebar.bundle.1234.js',
'styles/angular-csp.1234.css',
'styles/katex.min.1234.css', 'styles/katex.min.1234.css',
'styles/sidebar.1234.css', 'styles/sidebar.1234.css',
].map(assetUrl); ].map(assetUrl);
......
...@@ -1149,16 +1149,6 @@ ancestors@0.0.3: ...@@ -1149,16 +1149,6 @@ ancestors@0.0.3:
resolved "https://registry.yarnpkg.com/ancestors/-/ancestors-0.0.3.tgz#124eb944447d68b302057047d15d077a9da5179d" resolved "https://registry.yarnpkg.com/ancestors/-/ancestors-0.0.3.tgz#124eb944447d68b302057047d15d077a9da5179d"
integrity sha1-Ek65RER9aLMCBXBH0V0Hep2lF50= integrity sha1-Ek65RER9aLMCBXBH0V0Hep2lF50=
angular-mocks@^1.7.5:
version "1.7.9"
resolved "https://registry.yarnpkg.com/angular-mocks/-/angular-mocks-1.7.9.tgz#0a3b7e28b9a493b4e3010ed2b0f69a68e9b4f79b"
integrity sha512-LQRqqiV3sZ7NTHBnNmLT0bXtE5e81t97+hkJ56oU0k3dqKv1s6F+nBWRlOVzqHWPGFOiPS8ZJVdrS8DFzHyNIA==
angular@^1.7.5:
version "1.7.9"
resolved "https://registry.yarnpkg.com/angular/-/angular-1.7.9.tgz#e52616e8701c17724c3c238cfe4f9446fd570bc4"
integrity sha512-5se7ZpcOtu0MBFlzGv5dsM1quQDoDeUTwZrWjGtTNA7O88cD8TEk5IEKCTDa3uECV9XnvKREVUr7du1ACiWGFQ==
ansi-colors@3.2.3: ansi-colors@3.2.3:
version "3.2.3" version "3.2.3"
resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.3.tgz#57d35b8686e851e2cc04c403f1c00203976a1813" resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-3.2.3.tgz#57d35b8686e851e2cc04c403f1c00203976a1813"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment