Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
STRWEB-61 Lock enhanced-resolve to ~5.10.0 (#81)
Platform complete is currently failing due to an issue with enhanced-resolve v5.11.0 (thank you @zburke for pointing to it): webpack/enhanced-resolve#362 This PR locks `enhanced-resolve` to "~5.10.0" it also upgrades `ts-loader` to make sure a single version of enhanced-resolve is used in the dependency tree. Errors from https://jenkins-aws.indexdata.com/job/Automation/job/build-platform-complete-snapshot/13912/consoleText look like ``` "WARNING" in ": "./node_modules/@folio/stripes-core/src/components/ModuleTranslator/ModuleTranslator.js" "29:14-33" ": "export 'originalModules' (imported as 'originalModules') was "not found"": " in '../../ModulesContext' (possible exports: "ModulesContext, default, useModules"": ")" @ ./node_modules/@folio/stripes-core/src/components/ModuleTranslator/index.js 1:0-45 1:0-45 @ ./node_modules/@folio/stripes-core/src/components/index.js 12:0-65 12:0-65 @ ./node_modules/@folio/stripes-core/index.js 28:0-107 28:0-107 28:0-107 28:0-107 28:0-107 @ ./node_modules/@folio/stripes-ui/src/index.js 1:0-43 2:0-4 "WARNING" in ": "./node_modules/@folio/stripes-core/src/components/ModuleTranslator/ModuleTranslator.js" "30:17-39" ": "export 'originalModules' (imported as 'originalModules') was "not found"": " in '../../ModulesContext' (possible exports: "ModulesContext, default, useModules"": ")" @ ./node_modules/@folio/stripes-core/src/components/ModuleTranslator/index.js 1:0-45 1:0-45 @ ./node_modules/@folio/stripes-core/src/components/index.js 12:0-65 12:0-65 @ ./node_modules/@folio/stripes-core/index.js 28:0-107 28:0-107 28:0-107 28:0-107 28:0-107 @ ./node_modules/@folio/stripes-ui/src/index.js 1:0-43 2:0-4 "WARNING" in ": "./node_modules/@folio/stripes-core/src/components/ModuleTranslator/ModuleTranslator.js" "31:19-43" ": "export 'originalModules' (imported as 'originalModules') was "not found"": " in '../../ModulesContext' (possible exports: "ModulesContext, default, useModules"": ")" @ ./node_modules/@folio/stripes-core/src/components/ModuleTranslator/index.js 1:0-45 1:0-45 @ ./node_modules/@folio/stripes-core/src/components/index.js 12:0-65 12:0-65 @ ./node_modules/@folio/stripes-core/index.js 28:0-107 28:0-107 28:0-107 28:0-107 28:0-107 @ ./node_modules/@folio/stripes-ui/src/index.js 1:0-43 2:0-4 "WARNING" in ": "./node_modules/@folio/stripes-core/src/components/ModuleTranslator/ModuleTranslator.js" "32:18-41" ": "export 'originalModules' (imported as 'originalModules') was "not found"": " in '../../ModulesContext' (possible exports: "ModulesContext, default, useModules"": ")" @ ./node_modules/@folio/stripes-core/src/components/ModuleTranslator/index.js 1:0-45 1:0-45 @ ./node_modules/@folio/stripes-core/src/components/index.js 12:0-65 12:0-65 @ ./node_modules/@folio/stripes-core/index.js 28:0-107 28:0-107 28:0-107 28:0-107 28:0-107 @ ./node_modules/@folio/stripes-ui/src/index.js 1:0-43 2:0-4 "ERROR" in ": "./node_modules/@folio/stripes-core/src/App.js" "20:0-62" ": "Module "not found"": ": "Error"": ": Can't resolve 'stripes-config' in '/home/jenkins/workspace/Automation/build-platform-complete-snapshot/node_modules/@folio/stripes-core/src'" @ ./node_modules/@folio/stripes-core/src/init.js 5:0-24 8:28-31 @ ./node_modules/@folio/stripes-core/index.js 35:0-45 35:0-45 @ ./node_modules/@folio/stripes-ui/src/index.js 1:0-43 2:0-4 ... ``` Fixes STRWEB-61
- Loading branch information