Skip to content

Commit

Permalink
🔧(front) configure lib-common config
Browse files Browse the repository at this point in the history
the @types/jest package was missing in the lib-common package. Also, the
DOM lib must be adde in the tsc-packages.json configuration file
  • Loading branch information
lunika committed Aug 22, 2023
1 parent 8b23f9c commit e48c494
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
10 changes: 6 additions & 4 deletions src/frontend/packages/lib_common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"peerDependencies": {
"@openfun/cunningham-react": "*",
"grommet": "*",
"styled-components": "*",
"react": "*",
"react-dom": "*"
"react-dom": "*",
"styled-components": "*"
},
"devDependencies": {
"@babel/core": "7.22.10",
Expand All @@ -33,9 +33,10 @@
"@babel/preset-env": "7.22.10",
"@babel/preset-typescript": "7.22.5",
"@formatjs/cli": "6.1.3",
"@types/styled-components": "5.1.26",
"@types/jest": "29.5.3",
"@types/react": "*",
"@types/react-dom": "*",
"@types/styled-components": "5.1.26",
"cross-env": "7.0.3",
"eslint": "*",
"eslint-config-marsha": "*",
Expand All @@ -45,5 +46,6 @@
"react-dom": "*",
"styled-components": "*",
"typescript": "*"
}
},
"dependencies": {}
}
3 changes: 2 additions & 1 deletion src/frontend/packages/marsha-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
},
"devDependencies": {
"eslint": "*",
"eslint-config-marsha": "*"
"eslint-config-marsha": "*",
"@testing-library/jest-dom": "*"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"extends": "./tsc-base.json",
"compilerOptions": {
"jsx": "react-jsx",
"lib": ["ES2015"],
"lib": ["ES2015", "DOM"],
"module": "esnext",
"target": "es6"
}
Expand Down

0 comments on commit e48c494

Please sign in to comment.