@pega/custom-dx-components 0.25.45 → 0.25.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +33 -27
- package/src/tasks/build-jest-assets/index.js +4 -4
- package/src/tasks/bundle/builder/index.js +15 -15
- package/src/tasks/create/index.js +19 -33
- package/src/tasks/create/templates/Constellation/Field/Boolean/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/Date/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/DateTime/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/Decimal/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/Decimal-Currency/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/Decimal-Percentage/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/Icon-Button-URL/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/Integer/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/Picklist/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/Picklist-Autocomplete/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/Picklist-RadioButtons/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/Text/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/Text-Email/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/Text-Input/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/Text-Paragraph/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/Text-Phone/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/Text-URL/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Field/TimeofDay/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Template/DETAILS/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Template/DETAILS-region/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Template/FORM/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Template/FORM-region/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Template/PAGE/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Template/PAGE/demo.stories.tsx.mustache +1 -0
- package/src/tasks/create/templates/Constellation/Widget/CASE/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Widget/PAGE/config.json.mustache +0 -1
- package/src/tasks/create/templates/Constellation/Widget/PAGE-CASE/config.json.mustache +0 -1
- package/src/tasks/create/templates/Launchpad/Field/Icon-Button-URL/config.json.mustache +0 -1
- package/src/tasks/create/templates/Launchpad/Widget/CASE/config.json.mustache +0 -1
- package/src/tasks/create/templates/Launchpad/Widget/PAGE/config.json.mustache +0 -1
- package/src/tasks/create/templates/Launchpad/Widget/PAGE-CASE/config.json.mustache +0 -1
- package/src/tasks/create-all/index.js +22 -35
- package/src/tasks/delete-pub/helper.js +5 -5
- package/src/tasks/delete-pub/index.js +22 -9
- package/src/tasks/export-archive/index.js +36 -23
- package/src/tasks/init/index.js +62 -59
- package/src/tasks/init/template/package.json.mustache +2 -1
- package/src/tasks/init/template/tasks.config.json +3 -1
- package/src/tasks/list-pub/helper.js +6 -3
- package/src/tasks/list-pub/index.js +22 -13
- package/src/tasks/publish-archive/helper.js +2 -2
- package/src/tasks/publish-archive/index.js +16 -7
- package/src/tasks/show-status/index.js +1 -1
- package/src/tasks/validator/index.js +0 -2
- package/src/util.js +508 -473
- package/tests/assets/library/components/create/Pega_DXIL_MyTestText/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyBoolean/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyCurrency/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDate/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDateTime/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDecimal/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyDetails/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyEmail/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyForm/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyInteger/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPage/demo.stories.tsx +1 -0
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPageWidget/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyParagraph/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPercentage/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPhone/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyPicklist/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MySearchbox/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyText/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTextInput/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/config.json +0 -1
- package/tests/assets/library/components/createAll/Constellation/Pega_DXIL_MyURL/config.json +0 -1
- package/tests/assets/original/components/create/Pega_DXIL_MyTestText/config.json +0 -1
- package/tests/assets/original/components/create/shared/PConnProps.d.ts +46 -0
- package/tests/assets/original/components/create/shared/create-nonce.ts +5 -0
- package/tests/assets/original/components/create/shared/suggestions-handler.ts +9 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyBoolean/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCaseWidget/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyCurrency/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDate/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDateTime/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDecimal/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyDetails/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyEmail/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyForm/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyIconButtonURL/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyInteger/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPage/demo.stories.tsx +1 -0
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageCaseWidget/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPageWidget/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyParagraph/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPercentage/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPhone/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyPicklist/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyRadiobuttons/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MySearchbox/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyText/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTextInput/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTimeOfDay/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnDetails/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyTwoColumnForm/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/Pega_DXIL_MyURL/config.json +0 -1
- package/tests/assets/original/components/createAll/Constellation/shared/PConnProps.d.ts +46 -0
- package/tests/assets/original/components/createAll/Constellation/shared/create-nonce.ts +5 -0
- package/tests/assets/original/components/createAll/Constellation/shared/suggestions-handler.ts +9 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyBoolean/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCaseWidget/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyCurrency/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDate/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDateTime/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDecimal/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyDetails/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyEmail/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyForm/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyIconButtonURL/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyInteger/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPage/demo.stories.tsx +1 -0
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageCaseWidget/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPageWidget/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyParagraph/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPercentage/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPhone/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyPicklist/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyRadiobuttons/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MySearchbox/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyText/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTextInput/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTimeOfDay/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnDetails/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyTwoColumnForm/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/Pega_DXIL_MyURL/config.json +0 -1
- package/tests/assets/original/components/createAll/Launchpad/shared/PConnProps.d.ts +46 -0
- package/tests/assets/original/components/createAll/Launchpad/shared/create-nonce.ts +5 -0
- package/tests/assets/original/components/createAll/Launchpad/shared/suggestions-handler.ts +9 -0
- package/tests/functional/localCreateAllListDeleteAll.test.js +1 -1
- package/tests/functional/localCreateBuildAllDeleteAll.test.js +3 -3
- package/tests/functional/localCreateBuildDelete.test.js +1 -1
- package/tests/functional/localCreateListDelete.test.js +1 -1
- package/tests/functional/localCreatePublishAllDeleteAll.test.js +3 -3
- package/tests/functional/localCreatePublishDelete.test.js +1 -1
- package/tests/functional/localCreateRenameDelete.test.js +1 -1
- package/tests/functional/localLibCreateLibBuildLibDeleteLib.test.js +3 -3
- package/tests/functional/localLibCreateLibBuildLibListPubDeleteLib.test.js +3 -3
- package/tests/functional/localLibCreateLibExportImportLib.test.js +1 -1
- package/tests/functional/localLibCreateLibExportLib.test.js +1 -1
- package/tests/functional/localLibCreateLibListDeleteLib.test.js +1 -1
- package/tests/functional/localLibCreateLibListMoveDeleteLib.test.js +1 -1
- package/tests/functional/localLibCreateLibListSwitchDeleteLib.test.js +1 -1
- package/tests/functional/localLibCreateLibStatusDeleteLib.test.js +1 -1
- package/tests/functional/localLibCreateLibStoreRestoreDeleteLib.test.js +1 -1
- package/tests/functional/localLibCreateLibValidateDeleteLib.test.js +3 -3
- package/tests/functional/localLibCreateLibVersionDeleteLib.test.js +1 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import {PConnect } from '@pega/pcore-pconnect-typedefs';
|
|
2
|
+
|
|
3
|
+
// PConnProps.d.ts
|
|
4
|
+
// This gives us a place to have each component (which is most DX Components) that is
|
|
5
|
+
// expected to have a getPConnect extend its props (from BaseProps)
|
|
6
|
+
// such that every component will be expected to have a getPConnect() function
|
|
7
|
+
// that returns a PConnect object. (new/better way of doing .propTypes).
|
|
8
|
+
// This PConnProps can be extended to include other props that we know are in every component
|
|
9
|
+
export interface PConnProps {
|
|
10
|
+
// getPConnect should exist for every C11n component. (add @ts-ignore in special cases where it isn't)
|
|
11
|
+
getPConnect: () => typeof PConnect;
|
|
12
|
+
|
|
13
|
+
// Allow any/all other key/value pairs in the BaseProps for now
|
|
14
|
+
// TODO: refine which other props are always expected for various component
|
|
15
|
+
// types and consider further interface "subclassing". For example, we may
|
|
16
|
+
// want to create a "BasePropsForm" that gives guidance on required, readonly, etc.
|
|
17
|
+
// and any other props that every Form component expects.
|
|
18
|
+
// For example, see the PConnFieldProps below.
|
|
19
|
+
// NOTE: if you uncomment the line below, the PConnProps type will allow
|
|
20
|
+
// otherwise undefined types to appear. This can be helpful for debugging
|
|
21
|
+
// or when adding new components whose types aren't yet known.
|
|
22
|
+
// [key: string]: any;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
// PConnFieldProps extends PConnProps to bring in the common properties that are
|
|
27
|
+
// associated with most field components (ex: Dropdown, TextInput, etc.) in the
|
|
28
|
+
// components/field directory
|
|
29
|
+
export interface PConnFieldProps extends PConnProps {
|
|
30
|
+
label: string,
|
|
31
|
+
required: boolean,
|
|
32
|
+
disabled: boolean,
|
|
33
|
+
value: any,
|
|
34
|
+
validatemessage: string,
|
|
35
|
+
status?: string,
|
|
36
|
+
onChange?: any,
|
|
37
|
+
onBlur?: any,
|
|
38
|
+
readOnly: boolean,
|
|
39
|
+
testId: string,
|
|
40
|
+
helperText: string,
|
|
41
|
+
displayMode?: string,
|
|
42
|
+
hideLabel: boolean,
|
|
43
|
+
placeholder?: string,
|
|
44
|
+
fieldMetadata?: any,
|
|
45
|
+
additionalProps?: any
|
|
46
|
+
}
|
|
@@ -74,7 +74,7 @@ describe(`createAll list deleteAll local: ${serverDir} - ${compType}` , () => {
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
it('npm run createAll Local', async () => {
|
|
77
|
-
const script = `npm run createAll "My" 0.0.1 DXIL
|
|
77
|
+
const script = `npm run createAll "My" 0.0.1 DXIL Pega Jest --prefix ../../..`;
|
|
78
78
|
|
|
79
79
|
const { stdout, stderr } = await exec(script);
|
|
80
80
|
// console.log(stdout);
|
|
@@ -75,7 +75,7 @@ describe(`create buildAll deleteAll local: ${serverDir} - ${compType}`, () => {
|
|
|
75
75
|
it('npm run create Local text', async () => {
|
|
76
76
|
const fileName = 'MyTestText';
|
|
77
77
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
78
|
-
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL "
|
|
78
|
+
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL "My Test Text Description" Pega --prefix ../../..`;
|
|
79
79
|
|
|
80
80
|
const { stdout, stderr } = await exec(script);
|
|
81
81
|
// console.log(stdout);
|
|
@@ -107,7 +107,7 @@ describe(`create buildAll deleteAll local: ${serverDir} - ${compType}`, () => {
|
|
|
107
107
|
it('npm run create Local page', async () => {
|
|
108
108
|
const fileName = 'MyTestPage';
|
|
109
109
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
110
|
-
const script = `npm run create Widget PAGE ${fileName} "My Test Page" 0.0.1 DXIL "
|
|
110
|
+
const script = `npm run create Widget PAGE ${fileName} "My Test Page" 0.0.1 DXIL "My Test Page Description" Pega --prefix ../../..`;
|
|
111
111
|
|
|
112
112
|
const { stdout, stderr } = await exec(script);
|
|
113
113
|
// console.log(stdout);
|
|
@@ -139,7 +139,7 @@ describe(`create buildAll deleteAll local: ${serverDir} - ${compType}`, () => {
|
|
|
139
139
|
it('npm run create Local details', async () => {
|
|
140
140
|
const fileName = 'MyTestDetails';
|
|
141
141
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
142
|
-
const script = `npm run create Template DETAILS ${fileName} "My Test Details" 0.0.1 DXIL "
|
|
142
|
+
const script = `npm run create Template DETAILS ${fileName} "My Test Details" 0.0.1 DXIL "My Test Details Description" Pega --prefix ../../..`;
|
|
143
143
|
|
|
144
144
|
const { stdout, stderr } = await exec(script);
|
|
145
145
|
// console.log(stdout);
|
|
@@ -76,7 +76,7 @@ describe(`create library delete Library: ${serverDir} - ${compType}`, () => {
|
|
|
76
76
|
it('npm run create Local', async () => {
|
|
77
77
|
const fileName = 'MyTestText';
|
|
78
78
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
79
|
-
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL "
|
|
79
|
+
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL "My Test Text Description" Pega --prefix ../../..`;
|
|
80
80
|
|
|
81
81
|
const { stdout, stderr } = await exec(script);
|
|
82
82
|
// console.log(stdout);
|
|
@@ -75,7 +75,7 @@ describe(`create list delete: ${serverDir} - ${compType}`, () => {
|
|
|
75
75
|
it('npm run create Local', async () => {
|
|
76
76
|
const fileName = 'MyTestText';
|
|
77
77
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
78
|
-
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL "
|
|
78
|
+
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL "My Test Text Description" Pega --prefix ../../..`;
|
|
79
79
|
|
|
80
80
|
const { stdout, stderr } = await exec(script);
|
|
81
81
|
// console.log(stdout);
|
|
@@ -74,7 +74,7 @@ describe(`create publish deleteAll local: ${serverDir} - ${compType}`, () => {
|
|
|
74
74
|
it('npm run create Local text', async () => {
|
|
75
75
|
const fileName = 'MyTestText';
|
|
76
76
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
77
|
-
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL "
|
|
77
|
+
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL "My Test Text Description" Pega --prefix ../../..`;
|
|
78
78
|
|
|
79
79
|
const { stdout, stderr } = await exec(script);
|
|
80
80
|
// console.log(stdout);
|
|
@@ -106,7 +106,7 @@ describe(`create publish deleteAll local: ${serverDir} - ${compType}`, () => {
|
|
|
106
106
|
it('npm run create Local page', async () => {
|
|
107
107
|
const fileName = 'MyTestPage';
|
|
108
108
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
109
|
-
const script = `npm run create Widget PAGE ${fileName} "My Test Page" 0.0.1 DXIL "
|
|
109
|
+
const script = `npm run create Widget PAGE ${fileName} "My Test Page" 0.0.1 DXIL "My Test Page Description" Pega --prefix ../../..`;
|
|
110
110
|
|
|
111
111
|
const { stdout, stderr } = await exec(script);
|
|
112
112
|
// console.log(stdout);
|
|
@@ -138,7 +138,7 @@ describe(`create publish deleteAll local: ${serverDir} - ${compType}`, () => {
|
|
|
138
138
|
it('npm run create Local details', async () => {
|
|
139
139
|
const fileName = 'MyTestDetails';
|
|
140
140
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
141
|
-
const script = `npm run create Template DETAILS ${fileName} "My Test Details" 0.0.1 DXIL "
|
|
141
|
+
const script = `npm run create Template DETAILS ${fileName} "My Test Details" 0.0.1 DXIL "My Test Details Description" Pega --prefix ../../..`;
|
|
142
142
|
|
|
143
143
|
const { stdout, stderr } = await exec(script);
|
|
144
144
|
// console.log(stdout);
|
|
@@ -75,7 +75,7 @@ describe(`create publish delete local: ${serverDir} - ${compType}`, () => {
|
|
|
75
75
|
it('npm run create Local', async () => {
|
|
76
76
|
const fileName = 'MyTestText';
|
|
77
77
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
78
|
-
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL "
|
|
78
|
+
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL "My Test Text Description" Pega --prefix ../../..`;
|
|
79
79
|
|
|
80
80
|
const { stdout, stderr } = await exec(script);
|
|
81
81
|
// console.log(stdout);
|
|
@@ -74,7 +74,7 @@ describe(`create rename delete local: ${serverDir} - ${compType}`, () => {
|
|
|
74
74
|
it('npm run create Local', async () => {
|
|
75
75
|
const fileName = 'MyTestText';
|
|
76
76
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
77
|
-
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL "
|
|
77
|
+
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL "My Test Text Description" Pega --prefix ../../..`;
|
|
78
78
|
|
|
79
79
|
const { stdout, stderr } = await exec(script);
|
|
80
80
|
// console.log(stdout);
|
|
@@ -104,7 +104,7 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
|
|
|
104
104
|
it('npm run create Local text', async () => {
|
|
105
105
|
const fileName = 'MyTestText';
|
|
106
106
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
107
|
-
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL
|
|
107
|
+
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL "My Test Text Description" Pega --prefix ../../..`;
|
|
108
108
|
|
|
109
109
|
const { stdout, stderr } = await exec(script);
|
|
110
110
|
// console.log(stdout);
|
|
@@ -136,7 +136,7 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
|
|
|
136
136
|
it('npm run create Local page', async () => {
|
|
137
137
|
const fileName = 'MyTestPage';
|
|
138
138
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
139
|
-
const script = `npm run create Widget PAGE ${fileName} "My Test Page" 0.0.1 DXIL "
|
|
139
|
+
const script = `npm run create Widget PAGE ${fileName} "My Test Page" 0.0.1 DXIL "My Test Page Description" Pega --prefix ../../..`;
|
|
140
140
|
|
|
141
141
|
const { stdout, stderr } = await exec(script);
|
|
142
142
|
// console.log(stdout);
|
|
@@ -168,7 +168,7 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
|
|
|
168
168
|
it('npm run create Local details', async () => {
|
|
169
169
|
const fileName = 'MyTestDetails';
|
|
170
170
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
171
|
-
const script = `npm run create Template DETAILS ${fileName} "My Test Details" 0.0.1 DXIL "
|
|
171
|
+
const script = `npm run create Template DETAILS ${fileName} "My Test Details" 0.0.1 DXIL "My Test Details Description" Pega --prefix ../../..`;
|
|
172
172
|
|
|
173
173
|
const { stdout, stderr } = await exec(script);
|
|
174
174
|
// console.log(stdout);
|
|
@@ -93,7 +93,7 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
|
|
|
93
93
|
it('npm run create Local text', async () => {
|
|
94
94
|
const fileName = 'MyTestText';
|
|
95
95
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
96
|
-
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL "
|
|
96
|
+
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL "My Test Text Description" Pega --prefix ../../..`;
|
|
97
97
|
|
|
98
98
|
const { stdout, stderr } = await exec(script);
|
|
99
99
|
// console.log(stdout);
|
|
@@ -125,7 +125,7 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
|
|
|
125
125
|
it('npm run create Local page', async () => {
|
|
126
126
|
const fileName = 'MyTestPage';
|
|
127
127
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
128
|
-
const script = `npm run create Widget PAGE ${fileName} "My Test Page" 0.0.1 DXIL "
|
|
128
|
+
const script = `npm run create Widget PAGE ${fileName} "My Test Page" 0.0.1 DXIL "My Test Page Description" Pega --prefix ../../..`;
|
|
129
129
|
|
|
130
130
|
const { stdout, stderr } = await exec(script);
|
|
131
131
|
// console.log(stdout);
|
|
@@ -157,7 +157,7 @@ describe(`createLib create buildLib deleteLib deletePublishedLib: ${serverDir} -
|
|
|
157
157
|
it('npm run create Local details', async () => {
|
|
158
158
|
const fileName = 'MyTestDetails';
|
|
159
159
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
160
|
-
const script = `npm run create Template DETAILS ${fileName} "My Test Details" 0.0.1 DXIL "
|
|
160
|
+
const script = `npm run create Template DETAILS ${fileName} "My Test Details" 0.0.1 DXIL "My Test Details Description" Pega --prefix ../../..`;
|
|
161
161
|
|
|
162
162
|
const { stdout, stderr } = await exec(script);
|
|
163
163
|
// console.log(stdout);
|
|
@@ -95,7 +95,7 @@ describe(`createLib createAll exportStore importStore deleteLib: ${serverDir} -
|
|
|
95
95
|
}, 30000);
|
|
96
96
|
|
|
97
97
|
it('npm run createAll', async () => {
|
|
98
|
-
const script = `npm run createAll "My" 0.0.1 DXIL
|
|
98
|
+
const script = `npm run createAll "My" 0.0.1 DXIL Pega Jest --prefix ../../..`;
|
|
99
99
|
|
|
100
100
|
const { stdout, stderr } = await exec(script);
|
|
101
101
|
// console.log(stdout);
|
|
@@ -95,7 +95,7 @@ describe(`createLib createAll exportStore deleteLib: ${serverDir} - ${compType}`
|
|
|
95
95
|
}, 30000);
|
|
96
96
|
|
|
97
97
|
it('npm run createAll', async () => {
|
|
98
|
-
const script = `npm run createAll "My" 0.0.1 DXIL
|
|
98
|
+
const script = `npm run createAll "My" 0.0.1 DXIL Pega Jest --prefix ../../..`;
|
|
99
99
|
|
|
100
100
|
const { stdout, stderr } = await exec(script);
|
|
101
101
|
// console.log(stdout);
|
|
@@ -108,7 +108,7 @@ describe(`createLib createAll list deleteVersion deleteLib: ${serverDir} - ${com
|
|
|
108
108
|
}, 30000);
|
|
109
109
|
|
|
110
110
|
it('npm run createAll', async () => {
|
|
111
|
-
const script = `npm run createAll "My" 0.0.1 DXIL
|
|
111
|
+
const script = `npm run createAll "My" 0.0.1 DXIL Pega Jest --prefix ../../..`;
|
|
112
112
|
|
|
113
113
|
const { stdout, stderr } = await exec(script);
|
|
114
114
|
// console.log(stdout);
|
|
@@ -93,7 +93,7 @@ describe(`createLib createAll list createVersion switchVersion move deleteLib: $
|
|
|
93
93
|
}, 60000);
|
|
94
94
|
|
|
95
95
|
it('npm run createAll', async () => {
|
|
96
|
-
const script = `npm run createAll "My" 0.0.1 DXIL
|
|
96
|
+
const script = `npm run createAll "My" 0.0.1 DXIL Pega Jest --prefix ../../..`;
|
|
97
97
|
|
|
98
98
|
const { stdout, stderr } = await exec(script);
|
|
99
99
|
// console.log(stdout);
|
|
@@ -90,7 +90,7 @@ describe(`createLib createAll list createLib switchLb and deleteLib: ${serverDir
|
|
|
90
90
|
}, 30000);
|
|
91
91
|
|
|
92
92
|
it('npm run createAll', async () => {
|
|
93
|
-
const script = `npm run createAll "My" 0.0.1 DXIL
|
|
93
|
+
const script = `npm run createAll "My" 0.0.1 DXIL Pega Jest --prefix ../../..`;
|
|
94
94
|
|
|
95
95
|
const { stdout, stderr } = await exec(script);
|
|
96
96
|
// console.log(stdout);
|
|
@@ -94,7 +94,7 @@ describe(`createLib showStatus and deleteLib: ${serverDir} - ${compType}` , () =
|
|
|
94
94
|
}, 30000);
|
|
95
95
|
|
|
96
96
|
it('npm run createAll', async () => {
|
|
97
|
-
const script = `npm run createAll "My" 0.0.1 DXIL
|
|
97
|
+
const script = `npm run createAll "My" 0.0.1 DXIL Pega Jest --prefix ../../..`;
|
|
98
98
|
|
|
99
99
|
const { stdout, stderr } = await exec(script);
|
|
100
100
|
// console.log(stdout);
|
|
@@ -95,7 +95,7 @@ describe(`createLib createAll list createLibVersion(with copy) switchLibe list d
|
|
|
95
95
|
}, 30000);
|
|
96
96
|
|
|
97
97
|
it('npm run createAll', async () => {
|
|
98
|
-
const script = `npm run createAll "My" 0.0.1 DXIL
|
|
98
|
+
const script = `npm run createAll "My" 0.0.1 DXIL Pega Jest --prefix ../../..`;
|
|
99
99
|
|
|
100
100
|
const { stdout, stderr } = await exec(script);
|
|
101
101
|
// console.log(stdout);
|
|
@@ -93,7 +93,7 @@ describe(`createLib create validate deleteLib: ${serverDir} - ${compType}` , ()
|
|
|
93
93
|
it('npm run create Local text', async () => {
|
|
94
94
|
const fileName = 'MyTestText';
|
|
95
95
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
96
|
-
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL "
|
|
96
|
+
const script = `npm run create Field Text ${fileName} "My Test Text" 0.0.1 DXIL "My Test Text Description" Pega --prefix ../../..`;
|
|
97
97
|
|
|
98
98
|
const { stdout, stderr } = await exec(script);
|
|
99
99
|
// console.log(stdout);
|
|
@@ -125,7 +125,7 @@ describe(`createLib create validate deleteLib: ${serverDir} - ${compType}` , ()
|
|
|
125
125
|
it('npm run create Local page', async () => {
|
|
126
126
|
const fileName = 'MyTestPage';
|
|
127
127
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
128
|
-
const script = `npm run create Widget PAGE ${fileName} "My Test Page" 0.0.1 DXIL "
|
|
128
|
+
const script = `npm run create Widget PAGE ${fileName} "My Test Page" 0.0.1 DXIL "My Test Page Description" Pega --prefix ../../..`;
|
|
129
129
|
|
|
130
130
|
const { stdout, stderr } = await exec(script);
|
|
131
131
|
// console.log(stdout);
|
|
@@ -157,7 +157,7 @@ describe(`createLib create validate deleteLib: ${serverDir} - ${compType}` , ()
|
|
|
157
157
|
it('npm run create Local details', async () => {
|
|
158
158
|
const fileName = 'MyTestDetails';
|
|
159
159
|
const newFileName = `Pega_DXIL_${fileName}`;
|
|
160
|
-
const script = `npm run create Template DETAILS ${fileName} "My Test Details" 0.0.1 DXIL "
|
|
160
|
+
const script = `npm run create Template DETAILS ${fileName} "My Test Details" 0.0.1 DXIL "My Test Details Description" Pega --prefix ../../..`;
|
|
161
161
|
|
|
162
162
|
const { stdout, stderr } = await exec(script);
|
|
163
163
|
// console.log(stdout);
|
|
@@ -95,7 +95,7 @@ describe(`createLib createAll list createLibVersion(with copy) switchLibe list d
|
|
|
95
95
|
}, 30000);
|
|
96
96
|
|
|
97
97
|
it('npm run createAll', async () => {
|
|
98
|
-
const script = `npm run createAll "My" 0.0.1 DXIL
|
|
98
|
+
const script = `npm run createAll "My" 0.0.1 DXIL Pega Jest --prefix ../../..`;
|
|
99
99
|
|
|
100
100
|
const { stdout, stderr } = await exec(script);
|
|
101
101
|
// console.log(stdout);
|