Skip to content

Commit 8fd8161

Browse files
Update package.json (#487)
* Update package.json added internal build jest assets scripts and moved type defs to ~3.0.0 for now (this is what DXCB is built to) --------- Co-authored-by: Siva Rama Krishna <[email protected]>
1 parent c70bce0 commit 8fd8161

File tree

3 files changed

+8
-32
lines changed

3 files changed

+8
-32
lines changed

package-lock.json

Lines changed: 4 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
"_internal-check-node-version": "node scripts/check-node-version",
5050
"_internal-copy-index": "shx cp dist/index.html dist/simpleportal.html && shx cp dist/index.html dist/portal.html && shx cp dist/index.html dist/fullportal.html && shx cp dist/index.html dist/embedded.html",
5151
"_internal-install-sdk": "echo \"installing...\" && npm install --loglevel notice",
52-
"_internal-test-functional": "npm run test:functional:local:sdk-r --prefix node_modules/@pega/dx-component-builder-sdk"
52+
"_internal-test-functional": "npm run test:functional:local:sdk-r --prefix node_modules/@pega/dx-component-builder-sdk",
53+
"_internal-build-jest-assets": "dx-component-builder-sdk buildJestAssets"
5354
},
5455
"dependencies": {
5556
"@date-io/dayjs": "^1.3.13",
@@ -65,7 +66,6 @@
6566
"@storybook/react-webpack5": "^7.6.7",
6667
"@tinymce/tinymce-react": "^4.3.2",
6768
"@types/styled-components": "^5.1.34",
68-
"@unicef/material-ui-currency-textfield": "^0.8.6",
6969
"dayjs": "^1.11.10",
7070
"downloadjs": "^1.4.7",
7171
"fast-deep-equal": "^3.1.3",
@@ -93,7 +93,7 @@
9393
"@pega/cspell-config": "^0.7.1",
9494
"@pega/dx-component-builder-sdk": "~0.24.1",
9595
"@pega/eslint-config": "^0.7.1",
96-
"@pega/pcore-pconnect-typedefs": "~2.1.1",
96+
"@pega/pcore-pconnect-typedefs": "~3.0.0",
9797
"@pega/prettier-config": "^0.6.0",
9898
"@pega/react-sdk-overrides": "~0.24.1",
9999
"@pega/stylelint-config": "^0.7.1",

src/samples/Embedded/EmbeddedTopLevel/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ export default function EmbeddedTopLevel() {
430430
getSdkConfig().then(sdkConfig => {
431431
let mashupCaseType = sdkConfig.serverConfig.appMashupCaseType;
432432
if (!mashupCaseType) {
433-
const caseTypes = PCore.getEnvironmentInfo().environmentInfoObject.pyCaseTypeList;
433+
const caseTypes = (PCore.getEnvironmentInfo() as any).environmentInfoObject.pyCaseTypeList;
434434
mashupCaseType = caseTypes[0].pyWorkTypeImplementationClassName;
435435
}
436436

0 commit comments

Comments
 (0)