remove config for shims

Change-Id: I49af258ef26fe9a614f4c04e10e11160ad0c06db
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/337093
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: James Butters <jbutters@instructure.com>
Build-Review: James Butters <jbutters@instructure.com>
QA-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
Product-Review: Aaron Shafovaloff <ashafovaloff@instructure.com>
This commit is contained in:
Aaron Shafovaloff 2024-01-09 05:04:50 -07:00
parent 6ba43dd509
commit 61f45c20ca
3 changed files with 1 additions and 16 deletions

View File

@ -37,7 +37,7 @@ module.exports = {
'crypto-es': '<rootDir>/packages/canvas-rce/src/rce/__mocks__/_mockCryptoEs.ts',
},
roots: ['<rootDir>/ui', 'gems/plugins', 'public/javascripts'],
moduleDirectories: ['ui/shims', 'public/javascripts', 'node_modules'],
moduleDirectories: ['public/javascripts', 'node_modules'],
reporters: [
'default',
[

View File

@ -166,7 +166,6 @@ module.exports = {
},
extensions: ['.mjs', '.js', '.jsx', '.ts', '.tsx'],
modules: [
path.join(canvasDir, 'ui/shims'),
path.join(canvasDir, 'public/javascripts'),
path.join(canvasDir, 'gems/plugins'),
path.join(canvasDir, 'spec/coffeescripts'),

View File

@ -51,20 +51,6 @@ module.exports = [
specifier: 'bare',
},
{
rule: 'Let shims do whatever they need to',
source: 'ui/shims/*',
target: '**',
specifier: 'any',
},
{
rule: 'Let everyone consume shims',
source: '**',
target: 'ui/shims/*',
specifier: 'bare',
},
{
rule: 'Let everyone consume legacy public/javascripts/',
source: '**',