sfdx-easy-sources 0.5.8 → 0.5.10
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/README.md +139 -92
- package/lib/commands/easysources/allmeta/minify.js +1 -1
- package/lib/commands/easysources/allmeta/minify.js.map +1 -1
- package/lib/commands/easysources/objecttranslations/merge.js +1 -1
- package/lib/commands/easysources/objecttranslations/merge.js.map +1 -1
- package/lib/commands/easysources/objecttranslations/minify.js +1 -1
- package/lib/commands/easysources/objecttranslations/minify.js.map +1 -1
- package/lib/commands/easysources/objecttranslations/split.js +1 -1
- package/lib/commands/easysources/objecttranslations/split.js.map +1 -1
- package/lib/commands/easysources/objecttranslations/upsert.js +1 -1
- package/lib/commands/easysources/objecttranslations/upsert.js.map +1 -1
- package/lib/commands/easysources/translations/merge.js +1 -1
- package/lib/commands/easysources/translations/merge.js.map +1 -1
- package/lib/commands/easysources/translations/minify.js +1 -1
- package/lib/commands/easysources/translations/minify.js.map +1 -1
- package/lib/commands/easysources/translations/split.js +1 -1
- package/lib/commands/easysources/translations/split.js.map +1 -1
- package/lib/commands/easysources/translations/upsert.d.ts +0 -1
- package/lib/commands/easysources/translations/upsert.js +2 -8
- package/lib/commands/easysources/translations/upsert.js.map +1 -1
- package/messages/all_minify.json +13 -0
- package/messages/all_upsert.json +1 -1
- package/messages/allmeta_retrieve.json +10 -5
- package/messages/applications_merge.json +4 -1
- package/messages/applications_split.json +4 -5
- package/messages/applications_upsert.json +3 -2
- package/messages/globalvaluesets_merge.json +1 -0
- package/messages/globalvaluesets_split.json +3 -5
- package/messages/globalvaluesets_upsert.json +2 -2
- package/messages/globalvaluesettranslations_split.json +3 -4
- package/messages/globalvaluesettranslations_upsert.json +2 -2
- package/messages/objtransl_merge.json +14 -0
- package/messages/objtransl_minify.json +13 -0
- package/messages/objtransl_split.json +15 -0
- package/messages/objtransl_upsert.json +15 -0
- package/messages/permissionsets_split.json +3 -3
- package/messages/permissionsets_upsert.json +1 -1
- package/messages/profiles_clean.json +6 -8
- package/messages/profiles_merge.json +1 -0
- package/messages/profiles_minify.json +3 -15
- package/messages/profiles_split.json +3 -4
- package/messages/profiles_updatekey.json +1 -1
- package/messages/profiles_upsert.json +4 -2
- package/messages/recordtypes_clean.json +4 -7
- package/messages/translations_merge.json +14 -0
- package/messages/translations_minify.json +13 -0
- package/messages/translations_split.json +15 -0
- package/messages/translations_upsert.json +15 -0
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,86 +1,142 @@
|
|
|
1
1
|
sfdx-easy-sources
|
|
2
2
|
=================
|
|
3
|
+
SFDX plugin to simplify the management of Salesforce sources, splitting some long xml files into smaller csv ones.
|
|
3
4
|
|
|
4
5
|
# [BETA]
|
|
5
6
|
|
|
6
7
|
|
|
7
8
|
[](https://npmjs.org/package/sfdx-easy-sources)
|
|
8
|
-
[](https://circleci.com/gh/raffo93p/sfdx-easy-sources/tree/master)
|
|
9
|
-
[](https://ci.appveyor.com/project/heroku/sfdx-easy-sources/branch/master)
|
|
10
|
-
[](https://greenkeeper.io/)
|
|
11
9
|
[](https://snyk.io/test/github/raffo93p/sfdx-easy-sources)
|
|
12
10
|
[](https://npmjs.org/package/sfdx-easy-sources)
|
|
13
11
|
[](https://github.com/raffo93p/sfdx-easy-sources/blob/master/package.json)
|
|
14
12
|
|
|
15
|
-
#
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
This unofficial plugin provides tools to simplify Salesforce sources, by splitting files into smaller ones and in csv format.
|
|
13
|
+
# What is sfdx-easy-sources?
|
|
14
|
+
This plugin helps salesforce developers, architects and release managers with the management of some Salesforce xml sources, expecially those which become easily very long and difficult to be handled with git version history.
|
|
19
15
|
|
|
16
|
+
With this plugin you can:
|
|
17
|
+
- Split those long xml files into some smaller csv
|
|
18
|
+
- Have a better look and comprehension of what is written in those files, thanks to all the VSCode extensions that can be used to manage csv
|
|
19
|
+
- Upsert the csv files after retrieving a package with some resources that are built based on what you put inside the package
|
|
20
|
+
- Merge the csv files into the original xml ones
|
|
21
|
+
- Delete some reference or permission from all the csv of a given metadata type
|
|
22
|
+
- Minify the csv by removing all the rows that don't increase the value of the file
|
|
23
|
+
- Clean the csv references to some resources that doesn't exist in the target org
|
|
24
|
+
- Setup a custom git merger to automatically resolve the csv conflicts while cherry picking or merging in git
|
|
20
25
|
|
|
21
26
|
## Supported metadata types
|
|
22
27
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
| Metadata Label| Metadata api | Available commands |
|
|
29
|
+
| :---: | :---: | :---: |
|
|
30
|
+
| All Meta | allmeta | split, upsert, merge, minify, retrieve |
|
|
31
|
+
| Profiles | profiles | split, upsert, merge, minify, updatekey, delete, clean |
|
|
32
|
+
| Record Types | recordtypes | split, upsert, merge, updatekey, delete, clean |
|
|
33
|
+
| Labels | labels | split, upsert, merge, updatekey |
|
|
34
|
+
| Global Value Sets | globalvaluesets | split, upsert, merge, updatekey |
|
|
35
|
+
| Global Value Set Translations | globalvaluesettranslations | split, upsert, merge, updatekey |
|
|
36
|
+
| Applications | applications | split, upsert, merge, updatekey |
|
|
37
|
+
| Object Translations | objecttranslations | split, upsert, merge, updatekey |
|
|
38
|
+
| Translations | translations | split, upsert, merge, updatekey |
|
|
39
|
+
|
|
29
40
|
|
|
30
41
|
|
|
31
42
|
```sh-session
|
|
32
43
|
$ npm install -g sfdx-easy-sources
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
$ sfdx
|
|
38
|
-
|
|
39
|
-
|
|
44
|
+
or
|
|
45
|
+
$ sfdx plugin:install sfdx-easy-sources
|
|
46
|
+
|
|
47
|
+
GENERAL USAGE
|
|
48
|
+
$ sfdx easysources:<metadataapi>:<command> [...parameters]
|
|
49
|
+
$ sfdx easysources:<metadataapi>:<command> --help // to get help, the list of parameters and some examples
|
|
50
|
+
Examples
|
|
51
|
+
$ sfdx easysources:profiles:split
|
|
52
|
+
$ sfdx easysources:labels:upsert
|
|
40
53
|
...
|
|
41
54
|
```
|
|
42
55
|
|
|
43
56
|
|
|
44
|
-
|
|
45
|
-
This sfdx plugin is intended to simplify the life of salesforce developers, who could have hard time trying to manage some kind of sources that Salesforce has.
|
|
46
|
-
The main idea behind the plugin is to represent some long files as csv, in order both to have a more efficient way to manage long files and to have a more git-friendly file format.
|
|
47
|
-
In addition, splitting into csv files doesn't generate a huge number of files.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
Based on the source type, this plugin provides the following tools:
|
|
57
|
+
Based on the source type, this plugin provides the following commands:
|
|
51
58
|
- Split: Splits the resources into various csv files, and eventually an xml containing all the tags that weren't split
|
|
52
59
|
- Merge: Merges back all the resources previously split
|
|
53
60
|
- Upsert: It's like the split, but goes on upsert.
|
|
54
61
|
- Updatekey: Maybe sometimes a developer changes something on the csv file, this command simply updates the key for that record
|
|
55
62
|
- Delete: Bulk deletes a single permission from all the resources of the same type (only applies to Profiles, PermissionSets and Record Types)
|
|
63
|
+
- Minify: Bulk deletes each entry that doesn't add value to the file (example: a permission in a profile xml which has all permissions set to false)
|
|
64
|
+
- Clean: Bulk deletes all the references that are not present in the target org or in the repository
|
|
56
65
|
|
|
57
|
-
|
|
58
|
-
|
|
66
|
+
# Disclaimer
|
|
67
|
+
- Please experiment at first inside a dummy project!
|
|
68
|
+
- The command allmeta:retrieve --clean performs a delete of all the sources before retrieving them from the org. If something goes wrong while retrieving, you could have lost all the sources if you are not in a git environment. Please be careful!
|
|
69
|
+
- This software is given as-is, without warranty that it is free of bugs. So test the process before implement it in production.
|
|
59
70
|
|
|
60
|
-
### Split
|
|
61
71
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
72
|
+
# Let's start!
|
|
73
|
+
## Prerequisites
|
|
74
|
+
### Prerequisite 1 - Initialize the settings
|
|
75
|
+
This should be done once you have your sfdx project (for example after "Creating a new project with manifest").
|
|
76
|
+
To better instruct the plugin with the directories of the project, you can run the command
|
|
77
|
+
```sh-session
|
|
78
|
+
$ sfdx easysources:settings:init
|
|
79
|
+
```
|
|
80
|
+
and a file _easysources-settings.json_ will appear.
|
|
81
|
+
This file contains the directory of:
|
|
82
|
+
- the Salesforce sources (by default ./force-app/main/default)
|
|
83
|
+
- the csv files (by default the same of the salesforce sources)
|
|
84
|
+
- the log files.
|
|
85
|
+
|
|
86
|
+
Since I prefer to have the csv files near the xml ones, I left the default directories in my project. Consider that, in this case, you should need to:
|
|
87
|
+
- have a .forceignore file to ignore .csv and .part-xml files when running sfdx commands
|
|
88
|
+
- have a .pipelineignore file to ignore .csv and .part-xml files when running other plugins, for example when using sfdx-git-delta.
|
|
66
89
|
|
|
90
|
+
Simply put these lines inside those files
|
|
67
91
|
```sh-session
|
|
92
|
+
# easysources
|
|
93
|
+
*-part.xml
|
|
94
|
+
*.csv
|
|
95
|
+
```
|
|
68
96
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
$ sfdx easysources:labels:split -h
|
|
73
|
-
$ sfdx easysources:permissionsets:split -h
|
|
74
|
-
$ sfdx easysources:globalvaluesettranslations:split -h
|
|
75
|
-
$ sfdx easysources:globalvaluesets:split -h
|
|
76
|
-
$ sfdx easysources:applications:split -h
|
|
77
|
-
|
|
78
|
-
$ sfdx easysources:allmeta:split -h
|
|
97
|
+
### Prerequisite 2 - Retrieve all metadata
|
|
98
|
+
To deal with Salesforce files all the source code from the org must be downloaded in the repository.
|
|
99
|
+
One can perform this task in various ways, but this plugin also offers a simply way to download everything from the org.
|
|
79
100
|
|
|
101
|
+
```sh-session
|
|
102
|
+
$ sfdx easysources:allmeta:retrieve --orgname="orgname"
|
|
80
103
|
```
|
|
81
104
|
|
|
82
|
-
### Upsert
|
|
83
105
|
|
|
106
|
+
Some useful parameters are:
|
|
107
|
+
- --clean: if set to true, automatically deletes al the source folder before performing the retrieve
|
|
108
|
+
- --split-merge: if set to true, automatically performes a split and then a merge of all the sources, after they are retrieved
|
|
109
|
+
|
|
110
|
+
This command actually splits all the resources into various packages, trying to count the resources in every package to not exceed the "resnumb" number. It also creates some little packages, because profiles, permissionsets, translations and other particular metadata types should be retrieved building the package in a given way.
|
|
111
|
+
Suppose the profile packages are more then one, the algorithm should automatically perform a split after retrieving the first profile package, then it should perform an upsert after every other profile package retrieved, and at the end it should perform a merge and delete the created csv. Unfortunately, at this moment I didn't test this scenario!
|
|
112
|
+
|
|
113
|
+
### Prerequisite 3 - Create the csv files for the first time
|
|
114
|
+
Once all the metadata have been downloaded, before to start dealing with the csv files, you should create them the first time.
|
|
115
|
+
To do this run these commands (but first, please, understand the meaning of each command reading this guide)
|
|
116
|
+
|
|
117
|
+
```sh-session
|
|
118
|
+
$ sfdx easysources:allmeta:split
|
|
119
|
+
$ sfdx easysources:allmeta:minify
|
|
120
|
+
$ sfdx easysources:allmeta:merge
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
## Description of each command
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
### Split
|
|
127
|
+
The split command creates a folder at the same level of the file that it is splitting, containing various csv files and a part.xml file.
|
|
128
|
+
Inside the csv files you can find all the rows of a given type: each tag attribute becomes a column; the tags that are not mapped are copied in the part.xml file.
|
|
129
|
+
|
|
130
|
+
This is an example of an xml profile splitted in csv.
|
|
131
|
+
Once we run the command
|
|
132
|
+
|
|
133
|
+
```sh-session
|
|
134
|
+
$ sfdx easysources:profiles:split
|
|
135
|
+
```
|
|
136
|
+
the plugin generates a folder with all the csv files.
|
|
137
|
+

|
|
138
|
+
|
|
139
|
+
### Upsert
|
|
84
140
|
Suppose the developer cretes a new object, he creates some fields, he assigns the fields, the layouts and the object permissions to the various profiles.
|
|
85
141
|
To update the profiles on the repository, he can:
|
|
86
142
|
1. Make the changes on Salesforce org
|
|
@@ -89,70 +145,61 @@ To update the profiles on the repository, he can:
|
|
|
89
145
|
4. *Execute the upsert command for profiles. The upsert command will insert the new tags into the csv*
|
|
90
146
|
5. Then he can merge back to have the profiles to be deployed elsewhere
|
|
91
147
|
|
|
92
|
-
```sh-session
|
|
93
|
-
|
|
94
|
-
For help
|
|
95
|
-
$ sfdx easysources:profiles:upsert -h
|
|
96
|
-
$ sfdx easysources:recordtypes:upsert -h
|
|
97
|
-
$ sfdx easysources:labels:upsert -h
|
|
98
|
-
$ sfdx easysources:permissionsets:upsert -h
|
|
99
|
-
$ sfdx easysources:globalvaluesettranslations:upsert -h
|
|
100
|
-
$ sfdx easysources:globalvaluesets:upsert -h
|
|
101
|
-
$ sfdx easysources:applications:upsert -h
|
|
102
|
-
|
|
103
|
-
$ sfdx easysources:allmeta:upsert -h
|
|
104
148
|
|
|
105
|
-
```
|
|
106
149
|
**NOTE: the upsert doesn't delete any unused reference. If the user deletes a field, he should run the delete command**
|
|
107
150
|
|
|
108
151
|
|
|
109
152
|
### UpdateKey
|
|
110
153
|
|
|
111
|
-
Suppose the developer makes some modification directly on the csv.
|
|
154
|
+
Suppose the developer makes some modification directly on the csv. With the updatekey command, he can update the tagid column if needed.
|
|
112
155
|
|
|
113
|
-
```sh-session
|
|
114
|
-
|
|
115
|
-
For help
|
|
116
|
-
$ sfdx easysources:profiles:updatekey -h
|
|
117
|
-
$ sfdx easysources:recordtypes:updatekey -h
|
|
118
|
-
$ sfdx easysources:labels:updatekey -h
|
|
119
|
-
$ sfdx easysources:permissionsets:updatekey -h
|
|
120
|
-
$ sfdx easysources:globalvaluesettranslations:updatekey -h
|
|
121
|
-
$ sfdx easysources:globalvaluesets:updatekey -h
|
|
122
|
-
$ sfdx easysources:applications:updatekey -h
|
|
123
|
-
|
|
124
|
-
```
|
|
125
156
|
|
|
126
157
|
### Merge
|
|
127
158
|
|
|
128
|
-
When the user needs to deploy the code, he needs to merge back the csv files to restore and update the original xml file.
|
|
129
|
-
|
|
130
|
-
```sh-session
|
|
131
|
-
|
|
132
|
-
For help
|
|
133
|
-
$ sfdx easysources:profiles:merge -h
|
|
134
|
-
$ sfdx easysources:recordtypes:merge -h
|
|
135
|
-
$ sfdx easysources:labels:merge -h
|
|
136
|
-
$ sfdx easysources:permissionsets:merge -h
|
|
137
|
-
$ sfdx easysources:globalvaluesettranslations:merge -h
|
|
138
|
-
$ sfdx easysources:globalvaluesets:merge -h
|
|
139
|
-
$ sfdx easysources:applications:merge -h
|
|
140
|
-
|
|
141
|
-
$ sfdx easysources:allmeta:merge -h
|
|
159
|
+
When the user needs to deploy the code, he first needs to merge back the csv files to restore and update the original xml file starting from the content of the csv files.
|
|
142
160
|
|
|
143
|
-
|
|
161
|
+
Another scenario could be during a cherry pick or a merge conflict. Suppose a developer has created a custom field and he retrieves the package with the field and the profiles. Then he performs the upsert to insert the field into the csv, and then he merges the profiles to have again the full xml files. He commits and all is OK in the dev environment. If the profiles are not aligned between the sandboxes, the cherry pick or the merge through the UAT branch could raise a conflict on the xml files. If you configured a git merger for the csv files, you probably will not have conflicts on the csv. So you can simply run the merge command again, to restore the correct version of the xml files automatically and without any effort!
|
|
144
162
|
|
|
145
163
|
### Delete
|
|
146
164
|
**Note: only applies to Profiles, PermissionSets and RecordTypes**
|
|
147
165
|
|
|
148
166
|
Suppose the developer deletes a field on the org, he needs to delete all the references for that field for all Profiles, PermissionSets and RecordTypes.
|
|
149
|
-
This command is intended to delete references, and it has flags to specify the name of the field. Run with
|
|
167
|
+
This command is intended to delete references, and it has flags to specify the name of the field. Run with --help flag to get a better description of the possible flags for each metadata type.
|
|
150
168
|
|
|
151
|
-
|
|
169
|
+
### Minify
|
|
170
|
+
|
|
171
|
+
This command is very useful if you don't want to have the in your csv files all the lines that not add value to the file.
|
|
152
172
|
|
|
153
|
-
For
|
|
154
|
-
$ sfdx easysources:profiles:delete -h
|
|
155
|
-
$ sfdx easysources:recordtypes:delete -h
|
|
156
|
-
$ sfdx easysources:permissionsets:delete -h
|
|
173
|
+
For example, in the following image, the lines in red don't specify any permission so they could be removed.
|
|
157
174
|
|
|
175
|
+
```sh-session
|
|
176
|
+
$ sfdx easysources:profiles:minify
|
|
158
177
|
```
|
|
178
|
+
|
|
179
|
+

|
|
180
|
+
|
|
181
|
+
If you want a permission to be ignored even if it is false you can write FALSE instead of false: when I tested this feature, it was work correctly in Salesforce.
|
|
182
|
+
|
|
183
|
+
## A special note on object translations
|
|
184
|
+
The object translation metadata is a little different, because when you download all custom objects with all object translations, salesforce retrieves an xml file for each field of the objects.
|
|
185
|
+
|
|
186
|
+
The split command will create the usual folder with all the csv, but for the fieldTranslations all the little xml files will become a row on the field translation csv file.
|
|
187
|
+
The merge command will first delete all the field translation xml files and then recreate them by "merging" the csv rows into the various little field translation files.
|
|
188
|
+
I know that the name of the commands is counterintuitive but I already developed these commands on the other metadata types so I left these names.
|
|
189
|
+
Remember that the split command performs a xml2csv conversion, and the merge commands perfors a csv2xml conversion.
|
|
190
|
+
The minify command in this case is very useful because many times we don't have a translation for each field, so we will simply delete all the empty fieldTranslation xml files (in my project we could delete almost 14k files from the repository)
|
|
191
|
+
|
|
192
|
+
## A special note on translations
|
|
193
|
+
Due to complexity of converting xml2csv on the flow translations, this part is totally copied in the part.xml file when splitting. In this file, the upsert doesn't work.
|
|
194
|
+
|
|
195
|
+
## Git Considerations
|
|
196
|
+
In my experience, merging or cherry picking csv files is much better then doing it on xml files. But this is not enough.
|
|
197
|
+
To build a better experience to developers and release manager, one can configure a custom git merger to automatically resolve conflicts on csv files.
|
|
198
|
+
For this reason, the csv files have the _tagid column, that is a key on which the automatic resolution of conflicts can be done.
|
|
199
|
+
I built a custom csv git merger that in my mind should work well, but at the moment there is no ETA to publish it. In my project I configured [this open source git merger](https://github.com/sctweedie/csvdiff3).
|
|
200
|
+
|
|
201
|
+
## Other considerations
|
|
202
|
+
In my project I still have the xml files even if they are supported by csv.
|
|
203
|
+
It could be a great idea and it could avoid many conflicts and waste of time if the release manager removes the xml files from the repository, and the pipeline merges automatically the csv into the xml at runtime while deploying.
|
|
204
|
+
|
|
205
|
+
I know that the commands parameters can easily lead to misunderstanding or can be forgotten. I'm developing a vscode extension to easily launch the commands, get the parameters, select the resources on which a command must be run. But at the moment there is no ETA to finish it.
|
|
@@ -16,7 +16,7 @@ const utils_1 = require("../../../utils/commands/utils");
|
|
|
16
16
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
17
17
|
// Load the specific messages for this file. Messages from @salesforce/command, @salesforce/core,
|
|
18
18
|
// or any library that is using the messages framework can also be loaded this way.
|
|
19
|
-
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', '
|
|
19
|
+
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', 'all_minify');
|
|
20
20
|
class Merge extends command_1.SfdxCommand {
|
|
21
21
|
async run() {
|
|
22
22
|
performance_1.default.getInstance().start();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"minify.js","sourceRoot":"","sources":["../../../../src/commands/easysources/allmeta/minify.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAyD;AACzD,2CAA4C;AAE5C,4DAAqD;AACrD,kEAA4F;AAC5F,yDAAoE;AAIpE,wDAAwD;AACxD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAE5C,iGAAiG;AACjG,mFAAmF;AACnF,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,mBAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"minify.js","sourceRoot":"","sources":["../../../../src/commands/easysources/allmeta/minify.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAyD;AACzD,2CAA4C;AAE5C,4DAAqD;AACrD,kEAA4F;AAC5F,yDAAoE;AAIpE,wDAAwD;AACxD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAE5C,iGAAiG;AACjG,mFAAmF;AACnF,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,mBAAmB,EAAE,YAAY,CAAC,CAAC;AAE1E,MAAqB,KAAM,SAAQ,qBAAW;IAwBnC,KAAK,CAAC,GAAG;QACZ,qBAAW,CAAC,WAAW,EAAE,CAAC,KAAK,EAAE,CAAC;QAElC,MAAM,IAAA,2BAAmB,EAAC,IAAI,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QAEvE,qBAAW,CAAC,WAAW,EAAE,CAAC,GAAG,EAAE,CAAC;QAEhC,OAAO,IAAI,CAAC;IAChB,CAAC;;AAhCL,wBAiCC;AAhCiB,iBAAW,GAAG,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;AAExD,cAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AAEzD,UAAI,GAAG,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;AAEvB,iBAAW,GAAG;IAC3B,uCAAuC;IACvC,QAAQ,EAAE,eAAK,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAC,8BAAkB,CAAC,CAAC;KACjF,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAC,8BAAkB,CAAC,CAAC;KACjF,CAAC;IACF,UAAU,EAAE,eAAK,CAAC,OAAO,CAAC;QACtB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,2BAA2B,EAAE,CAAC,OAAO,CAAC,CAAC;QACxE,OAAO,EAAE,KAAK;KACjB,CAAC;CACL,CAAC"}
|
|
@@ -25,7 +25,7 @@ const settings = (0, localSettings_1.loadSettings)();
|
|
|
25
25
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
26
26
|
// Load the specific messages for this file. Messages from @salesforce/command, @salesforce/core,
|
|
27
27
|
// or any library that is using the messages framework can also be loaded this way.
|
|
28
|
-
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', '
|
|
28
|
+
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', 'objtransl_merge');
|
|
29
29
|
class Merge extends command_1.SfdxCommand {
|
|
30
30
|
async run() {
|
|
31
31
|
performance_1.default.getInstance().start();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../../../src/commands/easysources/objecttranslations/merge.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAyD;AACzD,2CAA4C;AAE5C,4DAAqD;AACrD,kEAAgH;AAChH,wGAA0Q;AAC1Q,gEAA4D;AAC5D,+BAA4B;AAC5B,0DAA+I;AAC/I,gDAAiD;AACjD,oEAA2H;AAC3H,kEAA4D;AAE5D,MAAM,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAG/B,MAAM,QAAQ,GAAG,IAAA,4BAAY,GAAE,CAAC;AAGhC,wDAAwD;AACxD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAE5C,iGAAiG;AACjG,mFAAmF;AACnF,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,mBAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../../../src/commands/easysources/objecttranslations/merge.ts"],"names":[],"mappings":";;;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAyD;AACzD,2CAA4C;AAE5C,4DAAqD;AACrD,kEAAgH;AAChH,wGAA0Q;AAC1Q,gEAA4D;AAC5D,+BAA4B;AAC5B,0DAA+I;AAC/I,gDAAiD;AACjD,oEAA2H;AAC3H,kEAA4D;AAE5D,MAAM,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAG/B,MAAM,QAAQ,GAAG,IAAA,4BAAY,GAAE,CAAC;AAGhC,wDAAwD;AACx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AC,IAAA,WAAI,EAAC,YAAY,EAAE,SAAS,CAAC,CAAC,CAAC;IAE3E,KAAI,MAAM,WAAW,IAAI,YAAY,EAAC;QAClC,MAAM,QAAQ,GAAG,IAAA,WAAI,EAAC,YAAY,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;QAC5D,EAAE,CAAC,MAAM,CAAC,QAAQ,EAAE;YAChB,KAAK,EAAE,IAAI;SACd,CAAC,CAAC;KACN;AAEL,CAAC;AAVD,kEAUC"}
|
|
@@ -23,7 +23,7 @@ const settings = (0, localSettings_1.loadSettings)();
|
|
|
23
23
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
24
24
|
// Load the specific messages for this file. Messages from @salesforce/command, @salesforce/core,
|
|
25
25
|
// or any library that is using the messages framework can also be loaded this way.
|
|
26
|
-
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', '
|
|
26
|
+
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', 'objtransl_minify');
|
|
27
27
|
class Clean extends command_1.SfdxCommand {
|
|
28
28
|
async run() {
|
|
29
29
|
performance_1.default.getInstance().start();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"minify.js","sourceRoot":"","sources":["../../../../src/commands/easysources/objecttranslations/minify.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAyD;AACzD,2CAA4C;AAE5C,MAAM,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAC/B,+BAA4B;AAC5B,4DAAqD;AACrD,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAC/D,0DAA6G;AAC7G,gDAAkE;AAClE,kEAA4F;AAC5F,gEAA4D;AAC5D,wGAA+H;AAE/H,MAAM,QAAQ,GAAG,IAAA,4BAAY,GAAE,CAAC;AAEhC,wDAAwD;AACxD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC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,CAAC;AAEvB,iBAAW,GAAG;IAC3B,uCAAuC;IACvC,QAAQ,EAAE,eAAK,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAC,8BAAkB,CAAC,CAAC;KACjF,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAC,8BAAkB,CAAC,CAAC;KACjF,CAAC;IACF,KAAK,EAAE,eAAK,CAAC,MAAM,CAAC;QAChB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,CAAC;KAC3D,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,IAAI,CAAC;QACb,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,EAAE,CAAC,MAAM,CAAC,CAAC;QACjE,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QAC1B,OAAO,EAAE,MAAM;KAClB,CAAC;CACL,CAAC"}
|
|
@@ -24,7 +24,7 @@ const settings = (0, localSettings_1.loadSettings)();
|
|
|
24
24
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
25
25
|
// Load the specific messages for this file. Messages from @salesforce/command, @salesforce/core,
|
|
26
26
|
// or any library that is using the messages framework can also be loaded this way.
|
|
27
|
-
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', '
|
|
27
|
+
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', 'objtransl_split');
|
|
28
28
|
class Split extends command_1.SfdxCommand {
|
|
29
29
|
async run() {
|
|
30
30
|
performance_1.default.getInstance().start();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split.js","sourceRoot":"","sources":["../../../../src/commands/easysources/objecttranslations/split.ts"],"names":[],"mappings":";;A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,QAAQ,CAAC,UAAU,CAAC,qBAAqB,EAAE,CAAC,MAAM,CAAC,CAAC;QACjE,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QAC1B,OAAO,EAAE,MAAM;KAClB,CAAC;CACL,CAAC"}
|
|
@@ -24,7 +24,7 @@ const settings = (0, localSettings_1.loadSettings)();
|
|
|
24
24
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
25
25
|
// Load the specific messages for this file. Messages from @salesforce/command, @salesforce/core,
|
|
26
26
|
// or any library that is using the messages framework can also be loaded this way.
|
|
27
|
-
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', '
|
|
27
|
+
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', 'objtransl_upsert');
|
|
28
28
|
class Upsert extends command_1.SfdxCommand {
|
|
29
29
|
async run() {
|
|
30
30
|
performance_1.default.getInstance().start();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upsert.js","sourceRoot":"","sources":["../../../../src/commands/easysources/objecttranslations/upsert.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAyD;AACzD,2CAA4C;AAE5C,0DAA4K;AAC5K,gDAA+D;AAC/D,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAC/D,kEAAgH;AAChH,4DAAqD;AACrD,+BAA4B;AAC5B,gEAA4D;AAC5D,wGAAyO;AACzO,oEAA2H;AAC3H,MAAM,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAE/B,MAAM,QAAQ,GAAG,IAAA,4BAAY,GAAE,CAAC;AAEhC,wDAAwD;AACxD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAE5C,iGAAiG;AACjG,mFAAmF;AACnF,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,mBAAmB,EAAE,
|
|
1
|
+
{"version":3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AE,CAAC,CAAC;AAEvB,kBAAW,GAAG;IAC3B,uCAAuC;IACvC,QAAQ,EAAE,eAAK,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAC,8BAAkB,CAAC,CAAC;KACjF,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAC,8BAAkB,CAAC,CAAC;KACjF,CAAC;IACF,KAAK,EAAE,eAAK,CAAC,MAAM,CAAC;QAChB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,CAAC;KAC3D,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,IAAI,CAAC;QACb,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,EAAE,CAAC,MAAM,CAAC,CAAC;QACjE,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QAC1B,OAAO,EAAE,MAAM;KAClB,CAAC;CACL,CAAC"}
|
|
@@ -17,7 +17,7 @@ const constants_translations_1 = require("../../../utils/constants/constants_tra
|
|
|
17
17
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
18
18
|
// Load the specific messages for this file. Messages from @salesforce/command, @salesforce/core,
|
|
19
19
|
// or any library that is using the messages framework can also be loaded this way.
|
|
20
|
-
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', '
|
|
20
|
+
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', 'translations_merge');
|
|
21
21
|
class Merge extends command_1.SfdxCommand {
|
|
22
22
|
async run() {
|
|
23
23
|
performance_1.default.getInstance().start();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"merge.js","sourceRoot":"","sources":["../../../../src/commands/easysources/translations/merge.ts"],"names":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GAAG,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,CAAC,CAAC;AAEvB,iBAAW,GAAG;IAC3B,uCAAuC;IACvC,QAAQ,EAAE,eAAK,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAC,8BAAkB,CAAC,CAAC;KACjF,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAC,8BAAkB,CAAC,CAAC;KACjF,CAAC;IACF,KAAK,EAAE,eAAK,CAAC,MAAM,CAAC;QAChB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,CAAC;KAC3D,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,IAAI,CAAC;QACb,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,EAAE,CAAC,MAAM,CAAC,CAAC;QACjE,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QAC1B,OAAO,EAAE,MAAM;KAClB,CAAC;CACL,CAAC"}
|
|
@@ -23,7 +23,7 @@ const settings = (0, localSettings_1.loadSettings)();
|
|
|
23
23
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
24
24
|
// Load the specific messages for this file. Messages from @salesforce/command, @salesforce/core,
|
|
25
25
|
// or any library that is using the messages framework can also be loaded this way.
|
|
26
|
-
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', '
|
|
26
|
+
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', 'translations_minify');
|
|
27
27
|
class Clean extends command_1.SfdxCommand {
|
|
28
28
|
async run() {
|
|
29
29
|
performance_1.default.getInstance().start();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"minify.js","sourceRoot":"","sources":["../../../../src/commands/easysources/translations/minify.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAyD;AACzD,2CAA4C;AAE5C,MAAM,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAC/B,+BAA4B;AAC5B,4DAAqD;AACrD,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAC/D,4FAA6H;AAC7H,0DAAoG;AACpG,gDAAkE;AAClE,kEAA4F;AAC5F,gEAA4D;AAE5D,MAAM,QAAQ,GAAG,IAAA,4BAAY,GAAE,CAAC;AAEhC,wDAAwD;AACxD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAE5C,iGAAiG;AACjG,mFAAmF;AACnF,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,mBAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"minify.js","sourceRoot":"","sources":["../../../../src/commands/easysources/translations/minify.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAyD;AACzD,2CAA4C;AAE5C,MAAM,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAC/B,+BAA4B;AAC5B,4DAAqD;AACrD,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,EAAE,MAAM,EAAE,EAAE,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAC/D,4FAA6H;AAC7H,0DAAoG;AACpG,gDAAkE;AAClE,kEAA4F;AAC5F,gEAA4D;AAE5D,MAAM,QAAQ,GAAG,IAAA,4BAAY,GAAE,CAAC;AAEhC,wDAAwD;AACxD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAE5C,iGAAiG;AACjG,mFAAmF;AACnF,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,mBAAmB,EAAE,qBAAqB,CAAC,CAAC;AAE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+17,7 @@ const splitter_1 = require("../../../utils/commands/splitter");
|
|
|
17
17
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
18
18
|
// Load the specific messages for this file. Messages from @salesforce/command, @salesforce/core,
|
|
19
19
|
// or any library that is using the messages framework can also be loaded this way.
|
|
20
|
-
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', '
|
|
20
|
+
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', 'translations_split');
|
|
21
21
|
class Split extends command_1.SfdxCommand {
|
|
22
22
|
async run() {
|
|
23
23
|
performance_1.default.getInstance().start();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"split.js","sourceRoot":"","sources":["../../../../src/commands/easysources/translations/split.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAyD;AACzD,2CAA4C;AAE5C,4DAAqD;AACrD,kEAA4F;AAC5F,4FAAyJ;AACzJ,+DAAyD;AAIzD,wDAAwD;AACxD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAE5C,iGAAiG;AACjG,mFAAmF;AACnF,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,mBAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"split.js","sourceRoot":"","sources":["../../../../src/commands/easysources/translations/split.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAyD;AACzD,2CAA4C;AAE5C,4DAAqD;AACrD,kEAA4F;AAC5F,4FAAyJ;AACzJ,+DAAyD;AAIzD,wDAAwD;AACxD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAE5C,iGAAiG;AACjG,mFAAmF;AACnF,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,mBAAmB,EAAE,oBAAoB,CAAC,CAAC;AAElF,MAAqB,KAAM,SAAQ,qBAAW;IA6BnC,KAAK,CAAC,GAAG;QACZ,qBAAW,CAAC,WAAW,EAAE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AAW,GAAG,QAAQ,CAAC,UAAU,CAAC,oBAAoB,CAAC,CAAC;AAExD,cAAQ,GAAG,QAAQ,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC,KAAK,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC;AAGtD,iBAAW,GAAG;IAC3B,uCAAuC;IACvC,QAAQ,EAAE,eAAK,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAC,8BAAkB,CAAC,CAAC;KACjF,CAAC;IACF,QAAQ,EAAE,eAAK,CAAC,MAAM,CAAC;QACnB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,EAAE,CAAC,8BAAkB,CAAC,CAAC;KACjF,CAAC;IACF,KAAK,EAAE,eAAK,CAAC,MAAM,CAAC;QAChB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,CAAC;KAC3D,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,IAAI,CAAC;QACb,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,EAAE,CAAC,MAAM,CAAC,CAAC;QACjE,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QAC1B,OAAO,EAAE,MAAM;KAClB,CAAC;CACL,CAAC"}
|
|
@@ -11,7 +11,6 @@ export default class Upsert extends SfdxCommand {
|
|
|
11
11
|
"es-csv": flags.Discriminated<flags.String>;
|
|
12
12
|
input: flags.Discriminated<flags.String>;
|
|
13
13
|
sort: flags.Discriminated<flags.Enum<string>>;
|
|
14
|
-
ignoreuserperm: flags.Discriminated<flags.Enum<string>>;
|
|
15
14
|
};
|
|
16
15
|
run(): Promise<AnyJson>;
|
|
17
16
|
}
|
|
@@ -17,7 +17,7 @@ const constants_1 = require("../../../utils/constants/constants");
|
|
|
17
17
|
core_1.Messages.importMessagesDirectory(__dirname);
|
|
18
18
|
// Load the specific messages for this file. Messages from @salesforce/command, @salesforce/core,
|
|
19
19
|
// or any library that is using the messages framework can also be loaded this way.
|
|
20
|
-
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', '
|
|
20
|
+
const messages = core_1.Messages.loadMessages('sfdx-easy-sources', 'translations_upsert');
|
|
21
21
|
class Upsert extends command_1.SfdxCommand {
|
|
22
22
|
async run() {
|
|
23
23
|
performance_1.default.getInstance().start();
|
|
@@ -49,12 +49,6 @@ Upsert.flagsConfig = {
|
|
|
49
49
|
description: messages.getMessage('sortFlagDescription', ['true']),
|
|
50
50
|
options: ['true', 'false'],
|
|
51
51
|
default: 'true',
|
|
52
|
-
})
|
|
53
|
-
ignoreuserperm: command_1.flags.enum({
|
|
54
|
-
char: 'u',
|
|
55
|
-
description: messages.getMessage('ignoreuserpermFlagDescription', ['false']),
|
|
56
|
-
options: ['true', 'false'],
|
|
57
|
-
default: 'false',
|
|
58
|
-
}),
|
|
52
|
+
})
|
|
59
53
|
};
|
|
60
54
|
//# sourceMappingURL=upsert.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upsert.js","sourceRoot":"","sources":["../../../../src/commands/easysources/translations/upsert.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAyD;AACzD,2CAA4C;AAE5C,4FAAyJ;AAEzJ,4DAAqD;AACrD,+DAA0D;AAC1D,kEAA4F;AAE5F,wDAAwD;AACxD,eAAQ,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;AAE5C,iGAAiG;AACjG,mFAAmF;AACnF,MAAM,QAAQ,GAAG,eAAQ,CAAC,YAAY,CAAC,mBAAmB,EAAE,
|
|
1
|
+
{"version":3,"file":"upsert.js","sourceRoot":"","sources":["../../../../src/commands/easysources/translations/upsert.ts"],"names":[],"mappings":";;AAAA;;;;;GAKG;AACH,yBAAyB;AACzB,iDAAyD;AACzD,2C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eAAK,CAAC,MAAM,CAAC;QAChB,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,sBAAsB,CAAC;KAC3D,CAAC;IACF,IAAI,EAAE,eAAK,CAAC,IAAI,CAAC;QACb,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,qBAAqB,EAAE,CAAC,MAAM,CAAC,CAAC;QACjE,OAAO,EAAE,CAAC,MAAM,EAAE,OAAO,CAAC;QAC1B,OAAO,EAAE,MAAM;KAClB,CAAC;CACL,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandDescription": "Minify all supported csv files. Through this command all the csv rows that don't have a meaningful value will be removed.",
|
|
3
|
+
"sfXmlFlagDescription" : "Specify a custom dir for input metadata files. Default: '%s'",
|
|
4
|
+
"esCsvFlagDescription": "Specify a custom dir for output csv files. Default: '%s'",
|
|
5
|
+
"sequencialFlagDescription": "Optionally perform operation in sequence. Default: '%s'",
|
|
6
|
+
"nameFlagDescription": "WTF",
|
|
7
|
+
"forceFlagDescription": "WTF",
|
|
8
|
+
"examples": [
|
|
9
|
+
"sfdx easysources:all:minify",
|
|
10
|
+
"sfdx easysources:all:minify -x './force-app/src/default'",
|
|
11
|
+
"sfdx easysources:all:minify -x './force-app/src/default' -c './easysources'"
|
|
12
|
+
]
|
|
13
|
+
}
|
package/messages/all_upsert.json
CHANGED