Skip to content

Commit 8b7edc2

Browse files
authored
W-23817526: chore(dev-deps): bump react-template-b2e and b2x to 11.53.1 (#886)
* chore(dev-deps): bump @salesforce/ui-bundle-template-app-react-template-b2e and b2x to 11.53.1 * fix: add _ps_ placeholder for permissionsets dir to stay under Windows path limit --------- Co-authored-by: Scott Mo <2723259+scottmo@users.noreply.github.com>
1 parent 1b44c56 commit 8b7edc2

5 files changed

Lines changed: 23 additions & 11 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@
2727
"@salesforce/prettier-config": "^0.0.4",
2828
"@salesforce/ui-bundle-template-app-angular-template-b2e": "^11.49.3",
2929
"@salesforce/ui-bundle-template-app-angular-template-b2x": "^11.49.2",
30-
"@salesforce/ui-bundle-template-app-react-template-b2e": "^10.24.0",
31-
"@salesforce/ui-bundle-template-app-react-template-b2x": "^10.12.2",
30+
"@salesforce/ui-bundle-template-app-react-template-b2e": "^11.53.1",
31+
"@salesforce/ui-bundle-template-app-react-template-b2x": "^11.53.1",
3232
"@salesforce/ui-bundle-template-base-angular-app": "^11.49.3",
3333
"@salesforce/ui-bundle-template-base-react-app": "^10.24.0",
3434
"@salesforce/ui-bundle-template-base-web-app": "^10.24.0",

src/utils/template-placeholders.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ export default [
3232
parent: '_m_',
3333
replacement: 'uiBundles',
3434
},
35+
{
36+
key: 'PERMISSIONSETS_PLACEHOLDER',
37+
placeholder: '_ps_',
38+
dirInNpm: 'permissionsets',
39+
parent: '_m_',
40+
replacement: 'permissionsets',
41+
},
3542
{
3643
key: 'DIGITAL_EXPERIENCE_CONFIGS_PLACEHOLDER',
3744
placeholder: '_dc_',

src/utils/uiBundleTemplateUtils.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,8 @@ export const PACKAGE_DIR_PLACEHOLDER = '_p_';
132132
export const MAIN_DEFAULT_PLACEHOLDER = '_m_';
133133
/** Replaced with literal "main/default". */
134134
export const UI_BUNDLES_PLACEHOLDER = '_w_';
135+
/** Replaced with literal "permissionsets". */
136+
export const PERMISSIONSETS_PLACEHOLDER = '_ps_';
135137
/** Replaced with the app folder name. */
136138
export const APP_PLACEHOLDER = '_a_';
137139
/** Replaced with project name (alphanumeric) for the UI bundle folder. */
@@ -167,6 +169,7 @@ export const PLACEHOLDER_KEYS = [
167169
'PACKAGE_DIR_PLACEHOLDER',
168170
'MAIN_DEFAULT_PLACEHOLDER',
169171
'UI_BUNDLES_PLACEHOLDER',
172+
'PERMISSIONSETS_PLACEHOLDER',
170173
'APP_PLACEHOLDER',
171174
'DIGITAL_EXPERIENCE_CONFIGS_PLACEHOLDER',
172175
'DIGITAL_EXPERIENCES_PLACEHOLDER',

test/utils/windowsPathLength.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import {
1414
PACKAGE_DIR_PLACEHOLDER,
1515
MAIN_DEFAULT_PLACEHOLDER,
1616
UI_BUNDLES_PLACEHOLDER,
17+
PERMISSIONSETS_PLACEHOLDER,
1718
APP_PLACEHOLDER,
1819
DIGITAL_EXPERIENCE_CONFIGS_PLACEHOLDER,
1920
DIGITAL_EXPERIENCES_PLACEHOLDER,
@@ -41,6 +42,7 @@ const UI_BUNDLE_PLACEHOLDERS: Record<(typeof PLACEHOLDER_KEYS)[number], string>
4142
PACKAGE_DIR_PLACEHOLDER,
4243
MAIN_DEFAULT_PLACEHOLDER,
4344
UI_BUNDLES_PLACEHOLDER,
45+
PERMISSIONSETS_PLACEHOLDER,
4446
APP_PLACEHOLDER,
4547
DIGITAL_EXPERIENCE_CONFIGS_PLACEHOLDER,
4648
DIGITAL_EXPERIENCES_PLACEHOLDER,

yarn.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -800,15 +800,15 @@
800800
resolved "https://registry.npmjs.org/@salesforce/ui-bundle-template-app-angular-template-b2x/-/ui-bundle-template-app-angular-template-b2x-11.49.2.tgz#c05e68c041bf4eab9fe3c6b1ea7d540a1b219f5b"
801801
integrity sha512-krweIcRvZl2vDbX5pyqEAqfwA9oOzuGMZYCbofAdc4iNnhbbEFStw90+ljMAdqW88FwLrcBl025XAuN1nrPBPQ==
802802

803-
"@salesforce/ui-bundle-template-app-react-template-b2e@^10.24.0":
804-
version "10.24.0"
805-
resolved "https://registry.npmjs.org/@salesforce/ui-bundle-template-app-react-template-b2e/-/ui-bundle-template-app-react-template-b2e-10.24.0.tgz#a8d0c227a7f902fccf17eb72c2f811fe4e73c003"
806-
integrity sha512-3uG08RI/WbZBMNKSsmHZGL7mx01LvbztvO7z8POD1NOO5+Z6u8BMaMKyAb2JgfrMbIyhYLuawGN5ntuaTULyjg==
807-
808-
"@salesforce/ui-bundle-template-app-react-template-b2x@^10.12.2":
809-
version "10.12.2"
810-
resolved "https://registry.npmjs.org/@salesforce/ui-bundle-template-app-react-template-b2x/-/ui-bundle-template-app-react-template-b2x-10.12.2.tgz#4a556ee70b5fda5d18f64843ff852f773beed9bb"
811-
integrity sha512-/phrIV1TzcIf/TgliLq/+OHcF0qUXMSeJX4W3zH+EpYm9p8vTLbUIffQJp184teCZVle2/u1g1cJrM4bIWNMqg==
803+
"@salesforce/ui-bundle-template-app-react-template-b2e@^11.53.1":
804+
version "11.53.1"
805+
resolved "https://registry.npmjs.org/@salesforce/ui-bundle-template-app-react-template-b2e/-/ui-bundle-template-app-react-template-b2e-11.53.1.tgz#2b6c4b9beed1ea482df35be333b5b29938f15044"
806+
integrity sha512-hkzC9I3416egMsT8okEcrhZ2C1VI8fWG3tWRGIDqHKtSYEjMrj35Y8fO1bt7CxD7bCEvSW88NyT7472PDjW6wA==
807+
808+
"@salesforce/ui-bundle-template-app-react-template-b2x@^11.53.1":
809+
version "11.53.1"
810+
resolved "https://registry.npmjs.org/@salesforce/ui-bundle-template-app-react-template-b2x/-/ui-bundle-template-app-react-template-b2x-11.53.1.tgz#e96e9b38be62052a93a79a5cfa7c54a13b03f0cc"
811+
integrity sha512-wFuUeHt7NL0nOuILwTuW6wOutUdAoxAI+FuW6uFL431LMDwIL8hNZxBNBecIK/v2WUmIh816W3QeIMYrjbwK6g==
812812

813813
"@salesforce/ui-bundle-template-base-angular-app@^11.49.3":
814814
version "11.49.3"

0 commit comments

Comments
 (0)