Skip to content

Commit 2ed5a55

Browse files
committed
move to scoped core package
1 parent d626bc6 commit 2ed5a55

File tree

5 files changed

+40
-106
lines changed

5 files changed

+40
-106
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ If you’re developing or testing updates to the core module, you can link it lo
175175
```
176176
- In this CLI project directory, run:
177177
```bash
178-
npm link lightning-flow-scanner-core
178+
npm link @flow-scanner/lightning-flow-scanner-core
179179
```
180180

181181
<p><strong>Want to help improve Lightning Flow Scanner? See our <a href="https://github.com/Flow-Scanner/lightning-flow-scanner-core?tab=contributing-ov-file">Contributing Guidelines</a></strong></p>

package-lock.json

Lines changed: 34 additions & 100 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"bugs": "https://github.com/Flow-Scanner/lightning-flow-scanner-cli/issues",
55
"description": "A Salesforce CLI plugin for static analysis and optimization of Flows. Scans metadata for 20+ issues such as hardcoded IDs, unsafe contexts, inefficient SOQL/DML operations, recursion risks, and missing fault handling. Supports auto-fixes, rule configurations, and CI/CD integration to help users maintain secure and reliable Flow automations.",
66
"dependencies": {
7+
"@flow-scanner/lightning-flow-scanner-core": "^6.0.4",
78
"@oclif/core": "^4.5.4",
89
"@salesforce/core": "^8.18.7",
910
"@salesforce/sf-plugins-core": "^12.2.3",
1011
"chalk": "^5.6.2",
1112
"cosmiconfig": "^9.0.0",
12-
"glob": "^11.0.3",
13-
"lightning-flow-scanner-core": "^5.9.7"
13+
"glob": "^11.0.3"
1414
},
1515
"devDependencies": {
1616
"@oclif/plugin-help": "6.2.32",

src/commands/flow/scan.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import pkg, {
1111
ScanResult,
1212
RuleResult,
1313
ResultDetails,
14-
} from "lightning-flow-scanner-core";
14+
} from "@flow-scanner/lightning-flow-scanner-core";
1515
import { inspect } from "util";
1616
const { parse: parseFlows, scan: scanFlows } = pkg;
1717

src/libs/CoreFixService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ import type { IRulesConfig } from "lightning-flow-scanner-core/main/internals/in
22
import { writeFileSync } from "node:fs";
33

44
import { FindFlows } from "./FindFlows.js";
5-
import pkg from "lightning-flow-scanner-core";
5+
import pkg from "@flow-scanner/lightning-flow-scanner-core";
66
const { scan, parse, fix: fixFlows } = pkg;
77

8-
import type { ScanResult as FlowScanResults } from "lightning-flow-scanner-core";
8+
import type { ScanResult as FlowScanResults } from "@flow-scanner/lightning-flow-scanner-core";
99

1010
export default class CoreFixService {
1111
public constructor(

0 commit comments

Comments
 (0)