@salesforce/source-deploy-retrieve 10.2.14 → 10.3.1
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.
|
@@ -3736,6 +3736,22 @@
|
|
|
3736
3736
|
"extDataTranFieldTemplates": "extdatatranfieldtemplate"
|
|
3737
3737
|
}
|
|
3738
3738
|
}
|
|
3739
|
+
},
|
|
3740
|
+
"genaiprompttemplate": {
|
|
3741
|
+
"id": "genaiprompttemplate",
|
|
3742
|
+
"name": "GenAiPromptTemplate",
|
|
3743
|
+
"suffix": "genAiPromptTemplate",
|
|
3744
|
+
"directoryName": "genAiPromptTemplates",
|
|
3745
|
+
"inFolder": false,
|
|
3746
|
+
"strictDirectoryName": false
|
|
3747
|
+
},
|
|
3748
|
+
"genaiprompttemplateactv": {
|
|
3749
|
+
"id": "genaiprompttemplateactv",
|
|
3750
|
+
"name": "GenAiPromptTemplateActv",
|
|
3751
|
+
"suffix": "genAiPromptTemplateActivation",
|
|
3752
|
+
"directoryName": "genAiPromptTemplateActivations",
|
|
3753
|
+
"inFolder": false,
|
|
3754
|
+
"strictDirectoryName": false
|
|
3739
3755
|
}
|
|
3740
3756
|
},
|
|
3741
3757
|
"suffixes": {
|
|
@@ -4148,7 +4164,9 @@
|
|
|
4148
4164
|
"externalAIModel": "externalaimodel",
|
|
4149
4165
|
"registeredExternalService": "registeredexternalservice",
|
|
4150
4166
|
"managedEventSubscription": "managedeventsubscription",
|
|
4151
|
-
"extDataTranObjectTemplate": "extdatatranobjecttemplate"
|
|
4167
|
+
"extDataTranObjectTemplate": "extdatatranobjecttemplate",
|
|
4168
|
+
"genAiPromptTemplate": "genaiprompttemplate",
|
|
4169
|
+
"genAiPromptTemplateActivation": "genaiprompttemplateactv"
|
|
4152
4170
|
},
|
|
4153
4171
|
"strictDirectoryNames": {
|
|
4154
4172
|
"experiences": "experiencebundle",
|
|
@@ -16,19 +16,16 @@ class ForceIgnore {
|
|
|
16
16
|
constructor(forceIgnorePath = '') {
|
|
17
17
|
this.DEFAULT_IGNORE = ['**/*.dup', '**/.*', '**/package2-descriptor.json', '**/package2-manifest.json'];
|
|
18
18
|
try {
|
|
19
|
-
|
|
19
|
+
const contents = (0, graceful_fs_1.readFileSync)(forceIgnorePath, 'utf-8');
|
|
20
20
|
// check if file `.forceignore` exists
|
|
21
21
|
if (contents !== undefined) {
|
|
22
22
|
// check for windows style separators (\) and warn
|
|
23
23
|
if (contents.includes('\\')) {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
void lifecycle.emitWarning('Your .forceignore file incorrectly uses the backslash ("\\") as a folder separator; it should use the slash ("/") instead. We currently accept both separators, but we plan to stop supporting the backslash soon.');
|
|
27
|
-
// TODO: change this in v56 to only emit warning but NOT fix file
|
|
28
|
-
contents = contents.replace(/\\/g, '/');
|
|
24
|
+
// void because you cannot await a method in a constructor
|
|
25
|
+
void core_1.Lifecycle.getInstance().emitWarning('Your .forceignore file incorrectly uses the backslash ("\\") as a folder separator; it should use the slash ("/") instead. The ignore rules will not work as expected until you fix this.');
|
|
29
26
|
}
|
|
30
27
|
// add the default ignore paths, and then parse the .forceignore file
|
|
31
|
-
this.parser = (0, index_1.default)().add(`${
|
|
28
|
+
this.parser = (0, index_1.default)().add(`${this.DEFAULT_IGNORE.join('\n')}\n${contents}`);
|
|
32
29
|
this.forceIgnoreDirectory = (0, node_path_1.dirname)(forceIgnorePath);
|
|
33
30
|
}
|
|
34
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"forceIgnore.js","sourceRoot":"","sources":["../../../src/resolve/forceIgnore.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAEH,yCAAoD;AACpD,wCAA8C;AAC9C,6CAA2C;AAC3C,2CAA6C;AAE7C,kEAAsD;AAEtD,MAAa,WAAW;IAOtB,YAAmB,eAAe,GAAG,EAAE;QAF/B,mBAAc,GAAa,CAAC,UAAU,EAAE,OAAO,EAAE,6BAA6B,EAAE,2BAA2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