Skip to content

Commit 6b4192f

Browse files
committed
cross-platform-build
1 parent 80d7f56 commit 6b4192f

File tree

5 files changed

+193
-10
lines changed

5 files changed

+193
-10
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
---
2+
name: Enhancement request
3+
about: Suggest a new feature or improvement
4+
title: ""
5+
labels: enhancement
6+
assignees: ""
7+
---
8+
9+
**Is your enhancement request related to a specific problem or limitation? Please describe.**
10+
A clear and concise description of the problem you're trying to solve or the improvement you'd like to see.
11+
Example: "There's no way to automatically detect when a Flow uses 'Get Records' with 'Automatically store all fields' enabled, which can cause performance issues in large orgs."
12+
13+
**Describe the enhancement you'd like**
14+
Clearly explain what should be added or changed.
15+
16+
- What new functionality do you want?
17+
- What should the tool do differently?
18+
- If it's a new static-analysis rule, describe exactly what it should detect and why.
19+
20+
**Proposed solution (optional)**
21+
If you have an idea of how this could be implemented, share it here (e.g., new rule ID, AST pattern, error message, severity level).
22+
23+
**Example scenario**
24+
Provide a concrete example:
25+
26+
- A Flow metadata snippet
27+
- A screenshot
28+
- Before/after behavior
29+
- A real-world use case where this enhancement would help
30+
31+
**Additional context**
32+
Add any other useful information:
33+
34+
- Links to Salesforce docs
35+
- Related GitHub issues or PRs
36+
- Error messages you’re seeing
37+
- Performance impact
38+
- Community discussions (e.g., Trailblazer answers, Slack threads)
39+
40+
---
41+
42+
_Thank you for helping make the tool better!_

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Since 2021, the _Lightning Flow Scanner_ has grown from its roots as VS Code too
66
- 📢 Sharing our work with your network
77
- 💬 Sharing feedback to help us improve
88
- 💻 Contributing code to drive innovation
9-
- 🤝 [Become a member](https://register.lightningflowscanner.org/)
9+
- 🤝 [Become a member](https://register.lightningflowscanner.org/) to stay connected.
1010

1111
### I have a Question/Feedback
1212

@@ -18,7 +18,7 @@ If it's more specific like a bug or a new feature—use [GitHub Issues](https://
1818

1919
- [Report Issue](https://github.com/Flow-Scanner/lightning-flow-scanner-core/issues/new?template=bug_report.md): Report a bug or issue.
2020
- [Rule Request](https://github.com/Flow-Scanner/lightning-flow-scanner-core/issues/new?template=rule-request.md): Submit a request for a new rule.
21-
- [Features/Other](https://github.com/Flow-Scanner/lightning-flow-scanner-core/issues/new): Suggest a new feature.
21+
- [Features/Other](https://github.com/Flow-Scanner/lightning-flow-scanner-core/issues/new): Suggest a new feature or enhancement.
2222

2323
###### Platforms - For issues or requests related to specific platforms, use the appropriate link below:
2424

SECURITY.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,11 @@
33
## Security Practices
44

55
- Code is open-source and peer-reviewed by the community.
6-
- Vulnerabilities can be reported privately via [GitHub security reporting](https://github.com/Flow-Scanner/lightning-flow-scanner-core/security).
6+
- Vulnerabilities can be reported privately via [GitHub vulnerability reporting](https://github.com/Flow-Scanner/lightning-flow-scanner-core/security).
77
- All changes are **scanned with Snyk** and reviewed before merging.
88
- Releases are published to npm using **GitHub Actions Trusted Publishing (OIDC)**.
99
- Tags (`v*`) trigger automated `npm publish`, providing a full audit trail.
1010

11-
## Reporting a Vulnerability
12-
13-
If you discover a security vulnerability, please report it using [GitHub vulnerability reporting](https://github.com/Flow-Scanner/lightning-flow-scanner-core/security).
14-
1511
## Data Handling
1612

1713
This tool collects zero user data. No credentials, PII, payment info, health data, or user content is ever stored, transmitted, or shared. All analysis runs 100% client-side with no network calls to external services.

package-lock.json

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

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@flow-scanner/lightning-flow-scanner-core",
3-
"description": "A lightweight, purpose-built engine for parsing and analyzing Salesforce Flow metadata in Node.js or browser environments. Scan, validate, and optimize Flow automations for security risks, best practices, governor limits, and performance bottlenecks.",
3+
"description": "A lightweight and purpose-built engine for Flow metadata in Node.js, and browser environments. Assess and enhance Salesforce Flow automations for best practices, security, governor limits, and performance issues.",
44
"version": "6.2.1",
55
"main": "index.js",
66
"types": "index.d.ts",
77
"engines": {
88
"node": "^18 || ^20 || ^22 || ^23"
99
},
1010
"scripts": {
11-
"clean": "rm -rf out",
11+
"clean": "rimraf out",
1212
"build:js": "swc src --out-dir out --copy-files --strip-leading-paths --config-file .swcrc",
1313
"build:types": "tsc -p tsconfig.types.json --declaration --emitDeclarationOnly --outDir out",
1414
"copy:index": "cp out/main/index.js out/index.js || true",
@@ -46,6 +46,7 @@
4646
"@types/jest": "29.5.14",
4747
"@types/node": "22.15.30",
4848
"@types/semantic-release": "20.0.6",
49+
"cross-env": "^10.1.0",
4950
"eslint": "9.30.0",
5051
"eslint-plugin-de-morgan": "1.3.0",
5152
"eslint-plugin-github": "6.0.0",
@@ -56,14 +57,15 @@
5657
"jest": "30.0.3",
5758
"lint-staged": "^16.1.2",
5859
"prettier": "3.6.2",
60+
"rimraf": "^6.1.0",
5961
"ts-node": "10.9.2",
6062
"typescript": "5.8.3",
6163
"typescript-eslint": "8.35.0",
6264
"vite": "6.4.1",
6365
"vite-plugin-node-polyfills": "0.23.0",
6466
"vitest": "3.2.4"
6567
},
66-
"homepage": "https://flow-scanner.github.io/lightning-flow-scanner-core",
68+
"homepage": "https://dev.lightningflowscanner.org",
6769
"author": {
6870
"name": "Ruben Halman",
6971
"url": "https://github.com/RubenHalman"

0 commit comments

Comments
 (0)