@terafina/tffa-sfdx-plugin 15.0.0-rc.1 → 15.0.0-rc.12
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 +43 -13
- package/bin/pmd/apex_ruleset.xml +108 -0
- package/bin/pmd/apex_test_ruleset.xml +1 -1
- package/bin/pmd/apex_vf_ruleset.xml +17 -0
- package/bin/pmd/lib/pmd-visualforce-6.47.0.jar +0 -0
- package/bin/update.sh +0 -1
- package/lib/commands/tffa/apexdoc.d.ts +1 -0
- package/lib/commands/tffa/apexdoc.js +12 -3
- package/lib/commands/tffa/apexdoc.js.map +1 -1
- package/lib/commands/tffa/lint.js +19 -9
- package/lib/commands/tffa/lint.js.map +1 -1
- package/lib/commands/tffa/source/apiset.d.ts +11 -0
- package/lib/commands/tffa/source/apiset.js +89 -0
- package/lib/commands/tffa/source/apiset.js.map +1 -0
- package/lib/services/apexdoc/common/models/apex-model.js +7 -2
- package/lib/services/apexdoc/common/models/apex-model.js.map +1 -1
- package/lib/services/apexdoc/common/models/class-model.d.ts +3 -0
- package/lib/services/apexdoc/common/models/class-model.js +7 -0
- package/lib/services/apexdoc/common/models/class-model.js.map +1 -1
- package/lib/services/apexdoc/common/models/engine-config.d.ts +1 -1
- package/lib/services/apexdoc/common/models/engine-config.js +8 -3
- package/lib/services/apexdoc/common/models/engine-config.js.map +1 -1
- package/lib/services/apexdoc/common/settings.d.ts +2 -1
- package/lib/services/apexdoc/common/settings.js +16 -3
- package/lib/services/apexdoc/common/settings.js.map +1 -1
- package/lib/services/lint/apex-class-scan.d.ts +1 -3
- package/lib/services/lint/apex-class-scan.js +16 -109
- package/lib/services/lint/apex-class-scan.js.map +1 -1
- package/lib/services/lint/apex-pmd.d.ts +1 -0
- package/lib/services/lint/apex-pmd.js +10 -4
- package/lib/services/lint/apex-pmd.js.map +1 -1
- package/lib/services/lint/eslint-scan.d.ts +13 -0
- package/lib/services/lint/eslint-scan.js +138 -0
- package/lib/services/lint/eslint-scan.js.map +1 -0
- package/lib/services/lint/metadata-scan.d.ts +10 -4
- package/lib/services/lint/metadata-scan.js +44 -65
- package/lib/services/lint/metadata-scan.js.map +1 -1
- package/lib/services/lint/rules.d.ts +10 -0
- package/lib/services/lint/rules.js +86 -0
- package/lib/services/lint/rules.js.map +1 -0
- package/lib/services/lint/stylelint-scan.d.ts +13 -0
- package/lib/services/lint/stylelint-scan.js +119 -0
- package/lib/services/lint/stylelint-scan.js.map +1 -0
- package/lib/utils/constants.d.ts +9 -0
- package/lib/utils/constants.js +14 -0
- package/lib/utils/constants.js.map +1 -0
- package/lib/utils/ignored-files.d.ts +2 -0
- package/lib/utils/ignored-files.js +66 -1
- package/lib/utils/ignored-files.js.map +1 -1
- package/messages/apexdoc.json +5 -0
- package/messages/lint.json +5 -0
- package/messages/ping.json +1 -1
- package/messages/sourceApiSet.json +8 -0
- package/oclif.manifest.json +1 -1
- package/package.json +23 -20
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Constants = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Copyright (c) NCR Terafina
|
|
6
|
+
**/
|
|
7
|
+
class Constants {
|
|
8
|
+
}
|
|
9
|
+
exports.Constants = Constants;
|
|
10
|
+
/**
|
|
11
|
+
* All constants
|
|
12
|
+
*/
|
|
13
|
+
Constants.API_VERSION = 55;
|
|
14
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/utils/constants.ts"],"names":[],"mappings":";;;AAAA;;IAEI;AACJ,MAAa,SAAS;;AAAtB,8BAKC;AAJC;;GAEG;AACW,qBAAW,GAAG,EAAE,CAAC"}
|
|
@@ -9,6 +9,8 @@ export default class IgnoredFiles {
|
|
|
9
9
|
static skipProjects: string[];
|
|
10
10
|
static skipStandardObjects: string[];
|
|
11
11
|
static ignoreFiles: string[];
|
|
12
|
+
static allowedClassNameListEnd: string[];
|
|
13
|
+
static allowedClassNameListStart: string[];
|
|
12
14
|
static files: any[];
|
|
13
15
|
static logger: Logger;
|
|
14
16
|
static init(sourceFolder: string): Promise<void>;
|
|
@@ -83,7 +83,72 @@ IgnoredFiles.ignoreFiles = [
|
|
|
83
83
|
'ExpressionEvaluator',
|
|
84
84
|
'Migration_V14_0_0',
|
|
85
85
|
'Migration_V14_0_0_1',
|
|
86
|
-
'Migration_V14_0_0_2'
|
|
86
|
+
'Migration_V14_0_0_2',
|
|
87
|
+
'kycReport.page',
|
|
88
|
+
'dueDiligenceReport.page'
|
|
87
89
|
];
|
|
90
|
+
IgnoredFiles.allowedClassNameListEnd = [
|
|
91
|
+
'Repository',
|
|
92
|
+
'DTO',
|
|
93
|
+
'Request',
|
|
94
|
+
'Response',
|
|
95
|
+
'Result',
|
|
96
|
+
'Provider',
|
|
97
|
+
'Service',
|
|
98
|
+
'Controller',
|
|
99
|
+
'Constants',
|
|
100
|
+
'Job',
|
|
101
|
+
'Executor',
|
|
102
|
+
'Processor',
|
|
103
|
+
'Ext',
|
|
104
|
+
'Utlity',
|
|
105
|
+
'Utils',
|
|
106
|
+
'Util',
|
|
107
|
+
'Resolver',
|
|
108
|
+
'Factory',
|
|
109
|
+
'EventExtension',
|
|
110
|
+
'EventFactory',
|
|
111
|
+
'Exception',
|
|
112
|
+
'Calculator',
|
|
113
|
+
'Builder',
|
|
114
|
+
'Type',
|
|
115
|
+
'Logger',
|
|
116
|
+
'Context',
|
|
117
|
+
'Exporter',
|
|
118
|
+
'Status',
|
|
119
|
+
'Handler',
|
|
120
|
+
'Client',
|
|
121
|
+
'Serializer',
|
|
122
|
+
'Parser',
|
|
123
|
+
'Adapter',
|
|
124
|
+
'Configuration',
|
|
125
|
+
'Configurations',
|
|
126
|
+
'Mapper',
|
|
127
|
+
'Helper',
|
|
128
|
+
'Extension',
|
|
129
|
+
'Dom',
|
|
130
|
+
'Render',
|
|
131
|
+
'Record',
|
|
132
|
+
'Records',
|
|
133
|
+
'Generator',
|
|
134
|
+
'Formatter',
|
|
135
|
+
'Notifier',
|
|
136
|
+
'Enricher',
|
|
137
|
+
'Signer',
|
|
138
|
+
'Batch',
|
|
139
|
+
'Assigner',
|
|
140
|
+
'Dispatcher',
|
|
141
|
+
'Namespace',
|
|
142
|
+
'Interaction',
|
|
143
|
+
'Cipher',
|
|
144
|
+
'APICall',
|
|
145
|
+
'Cache',
|
|
146
|
+
'Validator',
|
|
147
|
+
'Evaluator',
|
|
148
|
+
'Matcher',
|
|
149
|
+
'Credential',
|
|
150
|
+
'Comparator'
|
|
151
|
+
];
|
|
152
|
+
IgnoredFiles.allowedClassNameListStart = ['Migration', 'SObject'];
|
|
88
153
|
IgnoredFiles.files = [];
|
|
89
154
|
//# sourceMappingURL=ignored-files.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ignored-files.js","sourceRoot":"","sources":["../../src/utils/ignored-files.ts"],"names":[],"mappings":";AAAA;;IAEI;;;AAEJ,2CAA0C;AAC1C,2BAAkC;AAClC,wDAAwB;AAExB,MAAqB,YAAY;
|
|
1
|
+
{"version":3,"file":"ignored-files.js","sourceRoot":"","sources":["../../src/utils/ignored-files.ts"],"names":[],"mappings":";AAAA;;IAEI;;;AAEJ,2CAA0C;AAC1C,2BAAkC;AAClC,wDAAwB;AAExB,MAAqB,YAAY;IA2HxB,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,YAAoB;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,aAAM,CAAC,IAAI,EAAE,CAAC;QAClC,MAAM,oBAAoB,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;QAC3C,MAAM,WAAW,GAAG,IAAA,iBAAY,EAAC,YAAY,GAAG,eAAe,CAAC,CAAC;QACjE,MAAM,MAAM,GAAG,WAAW;aACvB,QAAQ,EAAE;aACV,KAAK,CAAC,OAAO,CAAC;aACd,MAAM,CAA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,WAAW;IACX,SAAS;IACT,YAAY;IACZ,YAAY;CACb,CAAC;AAEY,sCAAyB,GAAG,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;AAErD,kBAAK,GAAG,EAAE,CAAC"}
|
package/messages/ping.json
CHANGED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
{
|
|
2
|
+
"commandDescription": "Upgrades the current project and all metadata to the latest API version",
|
|
3
|
+
"flagApiversionDescription": "specify the API version ",
|
|
4
|
+
"sourceFolderDescription": "directory containing sfdx project",
|
|
5
|
+
"msgNoMetadataInPackageDirectories": "No metadata files found in package directories.",
|
|
6
|
+
"successMessage": "%s files have been set to API version %s in package directory '%s'.",
|
|
7
|
+
"msgReadingPackageDirectories": "Reading content of package directories."
|
|
8
|
+
}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"15.0.0-rc.
|
|
1
|
+
{"version":"15.0.0-rc.12","commands":{"tffa:apexdoc":{"id":"tffa:apexdoc","description":"Generate Apex API Documentation","strict":true,"usage":"<%= command.id %> [-s <directory>] [-d <directory>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@terafina/tffa-sfdx-plugin","pluginAlias":"@terafina/tffa-sfdx-plugin","pluginType":"core","aliases":[],"examples":["Generate Apex API Documentation :\t$sfdx tffa:apexdoc "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"sourcefolder":{"name":"sourcefolder","type":"option","char":"s","description":"directory containing sfdx project","multiple":false,"default":"."},"destfolder":{"name":"destfolder","type":"option","char":"d","description":"directory to generate the api docs","multiple":false}},"args":[],"flagsConfig":{"sourcefolder":{"kind":"directory","char":"s","description":"directory containing sfdx project","default":".","input":[],"multiple":false,"type":"option"},"destfolder":{"kind":"directory","char":"d","description":"directory to generate the api docs","input":[],"multiple":false,"type":"option"}}},"tffa:lint":{"id":"tffa:lint","description":"scan a sfdx project and provide a violations report based on defined standards","strict":true,"usage":"<%= command.id %> [-s <directory>] [-m <integer>] [-r <filepath>] [-e] [-f] [-j] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@terafina/tffa-sfdx-plugin","pluginAlias":"@terafina/tffa-sfdx-plugin","pluginType":"core","aliases":[],"examples":["$sfdx tffa:lint"],"flags":{"json":{"name":"json","type":"boolean","char":"j","description":"generate json output","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"sourcefolder":{"name":"sourcefolder","type":"option","char":"s","description":"directory containing sfdx project","multiple":false,"default":"."},"minapi":{"name":"minapi","type":"option","char":"m","description":"minimum api version to use during quality checks","multiple":false,"default":55},"rulesetpath":{"name":"rulesetpath","type":"option","char":"r","description":"path to pmd ruleset","multiple":false},"eject":{"name":"eject","type":"boolean","char":"e","description":"update local pmd ruleset","allowNo":false},"level":{"name":"level","type":"boolean","char":"f","description":"emit fatal violations only","allowNo":false}},"args":[],"flagsConfig":{"sourcefolder":{"kind":"directory","char":"s","description":"directory containing sfdx project","default":".","input":[],"multiple":false,"type":"option"},"minapi":{"kind":"integer","char":"m","description":"minimum api version to use during quality checks","default":55,"input":[],"multiple":false,"type":"option"},"json":{"kind":"boolean","char":"j","description":"generate json output","allowNo":false,"type":"boolean"},"rulesetpath":{"kind":"filepath","char":"r","description":"path to pmd ruleset","input":[],"multiple":false,"type":"option"},"eject":{"kind":"boolean","char":"e","description":"update local pmd ruleset","allowNo":false,"type":"boolean"},"level":{"kind":"boolean","char":"f","description":"emit fatal violations only","allowNo":false,"type":"boolean"}}},"tffa:meta":{"id":"tffa:meta","description":"scan a sfdx project for metadata","strict":true,"usage":"<%= command.id %> [-s <directory>] [-d <directory>] [-c <directory>] [-o json|csv|human] [-f] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@terafina/tffa-sfdx-plugin","pluginAlias":"@terafina/tffa-sfdx-plugin","pluginType":"core","aliases":[],"examples":["scan a sfdx project for metadata :\t$sfdx tffa:meta"],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"sourcefolder":{"name":"sourcefolder","type":"option","char":"s","description":"directory containing sfdx project","multiple":false,"default":"."},"destpath":{"name":"destpath","type":"option","char":"d","description":"full path output file","multiple":false,"default":"."},"clientname":{"name":"clientname","type":"option","char":"c","description":"name of the client","multiple":false,"default":"."},"output":{"name":"output","type":"option","char":"o","description":"output format json csv human","helpValue":"(json|csv|human)","multiple":false,"options":["json","csv","human"]},"fields":{"name":"fields","type":"boolean","char":"f","description":"generate field output","allowNo":false}},"args":[],"flagsConfig":{"sourcefolder":{"kind":"directory","char":"s","description":"directory containing sfdx project","default":".","input":[],"multiple":false,"type":"option"},"destpath":{"kind":"directory","char":"d","description":"full path output file","default":".","input":[],"multiple":false,"type":"option"},"clientname":{"kind":"directory","char":"c","description":"name of the client","default":".","input":[],"multiple":false,"type":"option"},"output":{"kind":"enum","helpValue":"(json|csv|human)","char":"o","options":["json","csv","human"],"description":"output format json csv human","input":[],"multiple":false,"type":"option"},"fields":{"kind":"boolean","char":"f","description":"generate field output","allowNo":false,"type":"boolean"}}},"tffa:ping":{"id":"tffa:ping","description":"ping and test the plugin","strict":true,"usage":"<%= command.id %> [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@terafina/tffa-sfdx-plugin","pluginAlias":"@terafina/tffa-sfdx-plugin","pluginType":"core","aliases":[],"examples":["$ sfdx tffa:ping "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"}},"args":[{"name":"file"}],"flagsConfig":{}},"tffa:source:apiset":{"id":"tffa:source:apiset","description":"Upgrades the current project and all metadata to the latest API version","strict":true,"usage":"<%= command.id %> [-h <help>] [-s <directory>] [-a <integer>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"@terafina/tffa-sfdx-plugin","pluginAlias":"@terafina/tffa-sfdx-plugin","pluginType":"core","aliases":[],"examples":["$ sfdx tffa:source:apiset "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","multiple":false,"options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"sourcefolder":{"name":"sourcefolder","type":"option","char":"s","description":"directory containing sfdx project","multiple":false,"default":"."},"api":{"name":"api","type":"option","char":"a","description":"specify the API version ","multiple":false,"default":55}},"args":[],"flagsConfig":{"help":{"kind":"help","description":"Show CLI help.","char":"h","allowNo":false,"type":"boolean"},"sourcefolder":{"kind":"directory","char":"s","description":"directory containing sfdx project","default":".","input":[],"multiple":false,"type":"option"},"api":{"kind":"integer","char":"a","description":"specify the API version ","default":55,"input":[],"multiple":false,"type":"option"}}}}}
|
package/package.json
CHANGED
|
@@ -1,31 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@terafina/tffa-sfdx-plugin",
|
|
3
3
|
"description": "sfdx plugin from Terafina containing tools for scanning and extending digital applications for the financial services industry.",
|
|
4
|
-
"version": "15.0.0-rc.
|
|
4
|
+
"version": "15.0.0-rc.12",
|
|
5
5
|
"author": "Terafina Inc",
|
|
6
6
|
"bugs": "https://github.com/terafinainc/tffa-sfdx-plugin/issues",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@oclif/core": "1.
|
|
8
|
+
"@oclif/core": "1.16.0",
|
|
9
9
|
"@oclif/plugin-help": "5.1.12",
|
|
10
10
|
"@oclif/plugin-plugins": "2.1.0",
|
|
11
|
-
"@oclif/plugin-version": "1.1.
|
|
11
|
+
"@oclif/plugin-version": "1.1.2",
|
|
12
12
|
"@oclif/plugin-warn-if-update-available": "2.0.4",
|
|
13
|
-
"@salesforce/command": "5.2.
|
|
13
|
+
"@salesforce/command": "5.2.6",
|
|
14
14
|
"@salesforce/core": "2.37.1",
|
|
15
15
|
"find-java-home": "1.2.2",
|
|
16
16
|
"cheerio": "1.0.0-rc.12",
|
|
17
|
-
"csv-stringify": "6.
|
|
17
|
+
"csv-stringify": "6.2.0",
|
|
18
18
|
"fs-extra": "10.1.0",
|
|
19
19
|
"lodash.escape": "4.0.1",
|
|
20
20
|
"pretty": "2.0.0",
|
|
21
21
|
"rimraf": "3.0.2",
|
|
22
22
|
"tslib": "2.4.0",
|
|
23
|
-
"xml2js": "0.4.23"
|
|
23
|
+
"xml2js": "0.4.23",
|
|
24
|
+
"recursive-readdir": "2.2.2",
|
|
25
|
+
"replace-in-file": "6.3.5"
|
|
24
26
|
},
|
|
25
27
|
"devDependencies": {
|
|
26
28
|
"@commitlint/cli": "17.0.3",
|
|
27
29
|
"@commitlint/config-angular": "17.0.3",
|
|
28
|
-
"@oclif/test": "2.1.
|
|
30
|
+
"@oclif/test": "2.1.1",
|
|
29
31
|
"@salesforce/dev-config": "3.1.0",
|
|
30
32
|
"@salesforce/ts-sinon": "1.3.21",
|
|
31
33
|
"@types/chai": "4",
|
|
@@ -33,36 +35,36 @@
|
|
|
33
35
|
"@types/fs-extra": "9.0.13",
|
|
34
36
|
"@types/js-yaml": "4.0.5",
|
|
35
37
|
"@types/mocha": "9.1.1",
|
|
36
|
-
"@types/node": "18.
|
|
38
|
+
"@types/node": "18.7.13",
|
|
39
|
+
"@types/recursive-readdir": "2.2.1",
|
|
37
40
|
"@types/xml2js": "0.4.11",
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
39
|
-
"@typescript-eslint/parser": "5.
|
|
41
|
+
"@typescript-eslint/eslint-plugin": "5.35.1",
|
|
42
|
+
"@typescript-eslint/parser": "5.35.1",
|
|
40
43
|
"chai": "4",
|
|
41
|
-
"eslint": "8.
|
|
44
|
+
"eslint": "8.22.0",
|
|
42
45
|
"eslint-config-prettier": "8.5.0",
|
|
43
46
|
"eslint-plugin-deprecation": "1.3.2",
|
|
44
47
|
"eslint-plugin-header": "3.1.1",
|
|
45
48
|
"eslint-plugin-import": "2.26.0",
|
|
46
|
-
"eslint-plugin-jest": "26.
|
|
47
|
-
"eslint-plugin-jsdoc": "39.3.
|
|
49
|
+
"eslint-plugin-jest": "26.8.7",
|
|
50
|
+
"eslint-plugin-jsdoc": "39.3.6",
|
|
48
51
|
"eslint-plugin-prefer-arrow": "1.2.3",
|
|
49
|
-
"eslint-plugin-sonarjs": "0.
|
|
52
|
+
"eslint-plugin-sonarjs": "0.15.0",
|
|
50
53
|
"globby": "11.0.1",
|
|
51
54
|
"htmlparser2": "8.0.1",
|
|
52
55
|
"husky": "8.0.1",
|
|
53
56
|
"mem-fs": "2.2.1",
|
|
54
|
-
"mem-fs-editor": "9.
|
|
57
|
+
"mem-fs-editor": "9.5.0",
|
|
55
58
|
"mocha": "10.0.0",
|
|
56
59
|
"nyc": "15.1.0",
|
|
57
|
-
"oclif": "3",
|
|
60
|
+
"oclif": "3.1.2",
|
|
58
61
|
"prettier": "2.7.1",
|
|
59
62
|
"prettier-plugin-apex": "1.10.0",
|
|
60
63
|
"properties-parser": "0.3.1",
|
|
61
64
|
"properties-reader": "2.2.0",
|
|
62
|
-
"replace-in-file": "6.3.5",
|
|
63
65
|
"standard-version": "9.5.0",
|
|
64
66
|
"ts-node": "10",
|
|
65
|
-
"typescript": "4.
|
|
67
|
+
"typescript": "4.8.2",
|
|
66
68
|
"yargs": "17.5.1"
|
|
67
69
|
},
|
|
68
70
|
"engines": {
|
|
@@ -74,6 +76,8 @@
|
|
|
74
76
|
"/bin",
|
|
75
77
|
"/messages",
|
|
76
78
|
"/npm-shrinkwrap.json",
|
|
79
|
+
"/yarn.lock",
|
|
80
|
+
"/package-lock.json",
|
|
77
81
|
"/oclif.manifest.json"
|
|
78
82
|
],
|
|
79
83
|
"homepage": "https://bitbucket.org/terafina/tffa-sfdx-plugin",
|
|
@@ -111,7 +115,7 @@
|
|
|
111
115
|
"version": "oclif readme && git add README.md",
|
|
112
116
|
"publish": "git push --follow-tags origin develop && npm run package && npm publish terafina-tffa-sfdx-plugin-$npm_package_version.tgz && npm dist-tag add @terafina/tffa-sfdx-plugin@$npm_package_version r$npm_config_tffa_version",
|
|
113
117
|
"publish_rc": "git push --follow-tags origin develop && npm run package && npm publish --tag next terafina-tffa-sfdx-plugin-$npm_package_version.tgz && npm dist-tag add @terafina/tffa-sfdx-plugin@$npm_package_version r$npm_config_tffa_version",
|
|
114
|
-
"package": "npm pack
|
|
118
|
+
"package": "npm pack",
|
|
115
119
|
"release": "standard-version --commit-all",
|
|
116
120
|
"release_rc": "npm run release -- --prerelease rc",
|
|
117
121
|
"release_patch": "npm run release -- --release-as patch",
|
|
@@ -119,7 +123,6 @@
|
|
|
119
123
|
"release_major": "npm run release -- --release-as major",
|
|
120
124
|
"release_major_rc": "npm run release -- --release-as major --prerelease rc",
|
|
121
125
|
"update-dependencies": "ncu -u && git add . && git commit -m 'chore(deps): update dependencies'",
|
|
122
|
-
"yaml-2-grammar": "node ./scripts/grammar/convertGrammar.js",
|
|
123
126
|
"prepare": "husky install"
|
|
124
127
|
},
|
|
125
128
|
"standard-version": {
|