File tree Expand file tree Collapse file tree 4 files changed +1291
-1785
lines changed Expand file tree Collapse file tree 4 files changed +1291
-1785
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ interface NextInjectedProps extends UIViewInjectedProps {
77
88export class Nest extends React . Component < NextInjectedProps , any > {
99 uiCanExit = ( ) => {
10- return new Promise ( resolve => {
10+ return new Promise < void > ( ( resolve ) => {
1111 setTimeout ( ( ) => {
1212 resolve ( ) ;
1313 } , 1000 ) ;
Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ var config = {
2929 } ,
3030 ] ,
3131 } ,
32+ devServer : {
33+ static : {
34+ directory : './examples/typescript' ,
35+ } ,
36+ } ,
3237} ;
3338
3439module . exports = config ;
Original file line number Diff line number Diff line change 1010 "test" : " jest" ,
1111 "test:debug" : " node --inspect ./node_modules/.bin/jest --runInBand --watch" ,
1212 "test:downstream" : " npm run build && test_downstream_projects" ,
13- "start" : " cross-env NODE_ENV=development webpack-dev-server --host 0.0.0.0 --port 8000 --config ./examples/typescript/webpack.config.js --history-api-fallback --content-base examples/typescript " ,
13+ "start" : " cross-env NODE_ENV=development webpack-dev-server --host 0.0.0.0 --port 8000 --config ./examples/typescript/webpack.config.js --history-api-fallback" ,
1414 "clean" : " shx rm -rf _bundles lib lib-esm build _doc" ,
1515 "compile" : " npm run clean && tsc && tsc -m es6 --outDir lib-esm" ,
1616 "bundle" : " cross-env NODE_ENV=production webpack" ,
7474 "ts-jest" : " ^27.0.4" ,
7575 "ts-loader" : " ^9.2.3" ,
7676 "ts-node" : " ^10.1.0" ,
77- "tsconfig-paths-webpack-plugin" : " ^3.3 .0" ,
77+ "tsconfig-paths-webpack-plugin" : " ^4.2 .0" ,
7878 "typescript" : " ^4.3.5" ,
79- "webpack" : " ^5.46.0 " ,
80- "webpack-cli" : " ^4.7.2 " ,
81- "webpack-dev-server" : " ^3.9.0 "
79+ "webpack" : " ^5.101.3 " ,
80+ "webpack-cli" : " ^6.0.1 " ,
81+ "webpack-dev-server" : " ^5.2.2 "
8282 },
8383 "jest" : {
8484 "setupFiles" : [
You can’t perform that action at this time.
0 commit comments