rflib-plugin 0.5.0 → 0.6.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.
@@ -113,7 +113,7 @@
113
113
  "rflib:logging:aura:instrument": {
114
114
  "aliases": [],
115
115
  "args": {},
116
- "description": "Analyzes Aura Component files and adds RFLIB logging statements for:\n- Method entry logging with parameter values in Controller, Helper, and Renderer files\n- Error logging in try-catch blocks\n- Error logging in Promise catch handlers\n- Adds rflibLoggerCmp component if not present\n- Formats modified files using Prettier (optional)\n\nThe command processes:\n- Component (.cmp) files to add the logger component\n- Controller (.js) files for method instrumentation\n- Helper (.js) files for method instrumentation\n- Renderer (.js) files for method instrumentation",
116
+ "description": "Analyzes Aura Component files and adds RFLIB logging statements for:\n- Method entry logging with parameter values in Controller, Helper, and Renderer files\n- Error logging in try-catch blocks\n- Error logging in Promise catch handlers\n- Adds rflibLoggerCmp component if not present\n- Replaces console.log and similar method invocations\n- Formats modified files using Prettier (optional)\n\nThe command processes:\n- Component (.cmp) files to add the logger component\n- Controller (.js) files for method instrumentation\n- Helper (.js) files for method instrumentation\n- Renderer (.js) files for method instrumentation",
117
117
  "examples": [
118
118
  "- Add logging to all aura files:\n$ sf rflib logging aura instrument --sourcepath force-app\n\n- Preview changes:\n$ sf rflib logging aura instrument --sourcepath force-app --dryrun\n\n- Add logging and format code:\n$ sf rflib logging aura instrument --sourcepath force-app --prettier\n\n- Process specific component:\n$ sf rflib logging aura instrument --sourcepath force-app/main/default/aura/myComponent"
119
119
  ],
@@ -223,7 +223,7 @@
223
223
  "rflib:logging:lwc:instrument": {
224
224
  "aliases": [],
225
225
  "args": {},
226
- "description": "Analyzes Lightning Web Component JavaScript files and adds RFLIB logging statements for:\n- Method entry logging with parameter values\n- Error logging in try-catch blocks\n- Error logging in Promise catch handlers\n- Condition logging in if/else blocks\n- Adds logger import if not present\n- Adds logger initialization if not present\n- Formats modified files using Prettier (optional)",
226
+ "description": "Analyzes Lightning Web Component JavaScript files and adds RFLIB logging statements for:\n- Method entry logging with parameter values\n- Error logging in try-catch blocks\n- Error logging in Promise catch handlers\n- Condition logging in if/else blocks\n- Adds logger import if not present\n- Adds logger initialization if not present\n- Replaces console.log and similar method invocations\n- Formats modified files using Prettier (optional)",
227
227
  "examples": [
228
228
  "- Add logging to all LWC files:\n$ sf rflib logging lwc instrument --sourcepath force-app/main/default/lwc\n\n- Preview changes:\n$ sf rflib logging lwc instrument --sourcepath force-app/main/default/lwc --dryrun\n\n- Add logging and format code:\n$ sf rflib logging lwc instrument --sourcepath force-app/main/default/lwc --prettier\n\n- Process specific component:\n$ sf rflib logging lwc instrument --sourcepath force-app/main/default/lwc/myComponent"
229
229
  ],
@@ -331,5 +331,5 @@
331
331
  ]
332
332
  }
333
333
  },
334
- "version": "0.5.0"
334
+ "version": "0.6.1"
335
335
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "rflib-plugin",
3
3
  "description": "Utility commands to help with the adoption of the RFLIB open-source library for Salesforce.",
4
- "version": "0.5.0",
4
+ "version": "0.6.1",
5
5
  "dependencies": {
6
6
  "@oclif/core": "^4",
7
7
  "@salesforce/core": "^8",
@@ -12,13 +12,13 @@
12
12
  "devDependencies": {
13
13
  "@commitlint/cli": "^19.6.1",
14
14
  "@istanbuljs/nyc-config-typescript": "^1.0.2",
15
- "@oclif/plugin-command-snapshot": "^5.2.28",
15
+ "@oclif/plugin-command-snapshot": "^5.2.35",
16
16
  "@salesforce/cli-plugins-testkit": "^5.3.10",
17
17
  "@salesforce/dev-scripts": "^10.2.11",
18
18
  "c8": "^10.1.3",
19
19
  "eslint-plugin-sf-plugin": "^1.20.14",
20
20
  "husky": "^8.0.0",
21
- "oclif": "^4.17.17",
21
+ "oclif": "^4.17.27",
22
22
  "source-map-support": "^0.5.21",
23
23
  "ts-node": "^10.9.2",
24
24
  "tsconfig-paths": "^4.2.0",