File tree Expand file tree Collapse file tree
integration-tests/plugins Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import * as wp from '@cypress/webpack-preprocessor' ;
1+ import wp from '@cypress/webpack-preprocessor' ;
22
33module . exports = ( on , config ) => {
44 const options = {
Original file line number Diff line number Diff line change 1414 "i18n" : " i18n-scripts/build-i18n.sh && node i18n-scripts/set-english-defaults.js" ,
1515 "ts-node" : " ts-node -O '{\" module\" :\" commonjs\" }'" ,
1616 "lint" : " eslint ./src ./integration-tests --fix && stylelint \" src/**/*.css\" --allow-empty-input --fix" ,
17+ "lint:tsc" : " tsc --noEmit" ,
1718 "test:e2e" : " cd ./integration-tests && cypress open --env openshift=true" ,
1819 "test:unit" : " jest --config jest.config.js" ,
1920 "test:unit:watch" : " jest --config jest.config.js --watch" ,
8990 "dependencies" : {
9091 "react-router-dom-v5-compat" : " ^6.30.0"
9192 }
92- }
93+ }
Original file line number Diff line number Diff line change 11{
22 "compilerOptions" : {
33 "baseUrl" : " ." ,
4+ "esModuleInterop" : true ,
45 "module" : " esnext" ,
56 "moduleResolution" : " node" ,
6- "target" : " es2020 " ,
7- "jsx" : " react" ,
7+ "target" : " es2021 " ,
8+ "jsx" : " react-jsx " ,
89 "allowJs" : true ,
910 "strict" : false ,
1011 "noUnusedLocals" : true ,
11- "sourceMap" : true ,
12- "plugins" : [{ "name" : " typescript-eslint-language-service" }]
12+ "skipLibCheck" : true ,
13+ "resolveJsonModule" : true ,
14+ "allowSyntheticDefaultImports" : true
1315 },
14- "include" : [
15- " src"
16- ]
16+ "include" : [" src" ],
17+ "exclude" : [" node_modules" ]
1718}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { Configuration as WebpackConfiguration } from 'webpack';
44import { Configuration as WebpackDevServerConfiguration } from 'webpack-dev-server' ;
55import * as path from 'path' ;
66import { ConsoleRemotePlugin } from '@openshift-console/dynamic-plugin-sdk-webpack' ;
7- import * as CopyWebpackPlugin from 'copy-webpack-plugin' ;
7+ import CopyWebpackPlugin from 'copy-webpack-plugin' ;
88
99interface Configuration extends WebpackConfiguration {
1010 devServer ?: WebpackDevServerConfiguration ;
You can’t perform that action at this time.
0 commit comments