Skip to content

Commit

Permalink
Update package.json (#487)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
paulgagnon-pega and tumms2021389 authored Jun 20, 2024
1 parent c70bce0 commit 8fd8161
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 32 deletions.
32 changes: 4 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"_internal-check-node-version": "node scripts/check-node-version",
"_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",
"_internal-install-sdk": "echo \"installing...\" && npm install --loglevel notice",
"_internal-test-functional": "npm run test:functional:local:sdk-r --prefix node_modules/@pega/dx-component-builder-sdk"
"_internal-test-functional": "npm run test:functional:local:sdk-r --prefix node_modules/@pega/dx-component-builder-sdk",
"_internal-build-jest-assets": "dx-component-builder-sdk buildJestAssets"
},
"dependencies": {
"@date-io/dayjs": "^1.3.13",
Expand All @@ -65,7 +66,6 @@
"@storybook/react-webpack5": "^7.6.7",
"@tinymce/tinymce-react": "^4.3.2",
"@types/styled-components": "^5.1.34",
"@unicef/material-ui-currency-textfield": "^0.8.6",
"dayjs": "^1.11.10",
"downloadjs": "^1.4.7",
"fast-deep-equal": "^3.1.3",
Expand Down Expand Up @@ -93,7 +93,7 @@
"@pega/cspell-config": "^0.7.1",
"@pega/dx-component-builder-sdk": "~0.24.1",
"@pega/eslint-config": "^0.7.1",
"@pega/pcore-pconnect-typedefs": "~2.1.1",
"@pega/pcore-pconnect-typedefs": "~3.0.0",
"@pega/prettier-config": "^0.6.0",
"@pega/react-sdk-overrides": "~0.24.1",
"@pega/stylelint-config": "^0.7.1",
Expand Down
2 changes: 1 addition & 1 deletion src/samples/Embedded/EmbeddedTopLevel/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ export default function EmbeddedTopLevel() {
getSdkConfig().then(sdkConfig => {
let mashupCaseType = sdkConfig.serverConfig.appMashupCaseType;
if (!mashupCaseType) {
const caseTypes = PCore.getEnvironmentInfo().environmentInfoObject.pyCaseTypeList;
const caseTypes = (PCore.getEnvironmentInfo() as any).environmentInfoObject.pyCaseTypeList;
mashupCaseType = caseTypes[0].pyWorkTypeImplementationClassName;
}

Expand Down

0 comments on commit 8fd8161

Please sign in to comment.