Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
ae17793
fix: re-authorization is needed even if the offline app is already au…
haifeng-li-at-salesforce Jul 16, 2024
7bc3316
Merge pull request #70 from haifeng-li-at-salesforce/reauth
haifeng-li-at-salesforce Jul 16, 2024
6ecbbd0
ci: add support for dependabot + templates
maliroteh-sf Aug 1, 2024
40ba16b
Merge pull request #71 from salesforce/flows
maliroteh-sf Aug 1, 2024
2f49dca
chore(dev-deps): bump @types/inquirer from 9.0.6 to 9.0.7
dependabot[bot] Aug 1, 2024
6057c1d
Merge pull request #80 from salesforce/dependabot-npm_and_yarn-types-…
maliroteh-sf Aug 1, 2024
ee5f06a
upgrade dependencies
maliroteh-sf Aug 1, 2024
4a83e66
fix prettier
maliroteh-sf Aug 1, 2024
2d4a2e9
Merge pull request #81 from salesforce/deps
maliroteh-sf Aug 1, 2024
af5db0d
Bump ejs from 3.1.9 to 3.1.10
dependabot[bot] Aug 1, 2024
9fedabd
Merge pull request #65 from salesforce/dependabot/npm_and_yarn/ejs-3.…
maliroteh-sf Aug 1, 2024
e57086b
chore(dev-deps): bump mocha from 10.7.0 to 10.7.3
dependabot[bot] Aug 10, 2024
9b1a488
chore(dev-deps): bump @typescript-eslint/eslint-plugin
dependabot[bot] Aug 10, 2024
31a035f
Merge pull request #94 from salesforce/dependabot-npm_and_yarn-typesc…
maliroteh-sf Aug 12, 2024
e49e1b0
Merge pull request #93 from salesforce/dependabot-npm_and_yarn-mocha-…
maliroteh-sf Aug 12, 2024
9bac756
chore(dev-deps): bump @types/node from 22.0.2 to 22.2.0
dependabot[bot] Aug 12, 2024
2574fdd
chore(dev-deps): bump @typescript-eslint/parser from 8.0.0 to 8.1.0
dependabot[bot] Aug 12, 2024
e7a2ad8
Merge pull request #95 from salesforce/dependabot-npm_and_yarn-typesc…
maliroteh-sf Aug 12, 2024
594281b
Merge pull request #92 from salesforce/dependabot-npm_and_yarn-types-…
maliroteh-sf Aug 12, 2024
65f5b54
ci: update dependabot configuration
maliroteh-sf Aug 27, 2024
e053630
Merge pull request #106 from salesforce/bot
maliroteh-sf Aug 27, 2024
86b3e07
feat: initial LSP setup
haifeng-li-at-salesforce Oct 3, 2024
337079c
cleanup and make it debuggable
ben-zhang-at-salesforce Oct 3, 2024
0c319d5
more cleanup
ben-zhang-at-salesforce Oct 3, 2024
15d6b79
feat: add mocha test and basic babel parsing
haifeng-li-at-salesforce Oct 5, 2024
4cebe93
make mocha typescript debuggable
ben-zhang-at-salesforce Oct 7, 2024
e014517
make mocha typescript debuggable
ben-zhang-at-salesforce Oct 7, 2024
79fdd19
save it
ben-zhang-at-salesforce Oct 7, 2024
f9b3fa1
save it
ben-zhang-at-salesforce Oct 7, 2024
faf7b70
feat: local change not aware
haifeng-li-at-salesforce Oct 7, 2024
8124448
test coverage for first diagnostics
ben-zhang-at-salesforce Oct 7, 2024
5f1c2ee
feat: complete function and test workflow
haifeng-li-at-salesforce Oct 7, 2024
8833620
fix: update based on feedback
haifeng-li-at-salesforce Oct 8, 2024
0144449
remove tsbuildinfo from git
haifeng-li-at-salesforce Oct 9, 2024
ba89dc1
chore: remove comments
haifeng-li-at-salesforce Oct 10, 2024
fdb1075
chore: doc changes
haifeng-li-at-salesforce Oct 10, 2024
b2d338f
doc: changes on feedback
haifeng-li-at-salesforce Oct 10, 2024
13fb2d4
Merge pull request #122 from haifeng-li-at-salesforce/lspScaffold
haifeng-li-at-salesforce Oct 10, 2024
bc2d41b
feat: introduce e2e testing for lsp client/server
haifeng-li-at-salesforce Oct 11, 2024
084c854
test: remove redundant dependencies
haifeng-li-at-salesforce Oct 11, 2024
8cb222e
@W-16890766: graphql scaffolding and test coverage. (#125)
ben-zhang-at-salesforce Oct 11, 2024
8be22a7
Merge branch 'main' into lspe2etest
haifeng-li-at-salesforce Oct 11, 2024
a75c51a
chore: format
haifeng-li-at-salesforce Oct 11, 2024
42f0088
graphql scaffolding and test coverage.
ben-zhang-at-salesforce Oct 11, 2024
a09d612
test: update based on feedback
haifeng-li-at-salesforce Oct 14, 2024
0ef3b44
Merge branch 'main' into lspe2etest
haifeng-li-at-salesforce Oct 14, 2024
18c7b62
Merge pull request #126 from haifeng-li-at-salesforce/lspe2etest
haifeng-li-at-salesforce Oct 14, 2024
89d146e
chore: clean lsp out folders
sfdctaka Oct 15, 2024
28d363a
Merge pull request #128 from sfdctaka/rimrafLspOut
sfdctaka Oct 15, 2024
a54cd1e
feat: use workspace dependency instead of hacked way
haifeng-li-at-salesforce Oct 15, 2024
38f298c
chore: refactor
sfdctaka Oct 15, 2024
4c7892a
nit
sfdctaka Oct 15, 2024
6a3ce2a
Merge pull request #129 from haifeng-li-at-salesforce/subProjectDepen…
haifeng-li-at-salesforce Oct 15, 2024
ca7f906
chore: always delete tsconfig.tsbuildinfo
sfdctaka Oct 15, 2024
cb34478
Merge pull request #130 from sfdctaka/diagCount
sfdctaka Oct 15, 2024
4de8164
Merge pull request #134 from sfdctaka/rimrafTsconfigTsbuildinfo
sfdctaka Oct 15, 2024
4b9841a
Group minor and patch dependency updates together
khawkins Oct 21, 2024
2078c6c
Merge pull request #137 from khawkins/group_minor_patch_deps
khawkins Oct 21, 2024
384c597
Utilize workspace settings and code action to let developer the abili…
ben-zhang-at-salesforce Oct 22, 2024
e99e0ae
finalize setting section name (#142)
ben-zhang-at-salesforce Oct 22, 2024
3d01549
get object Info for authorized org for LSP (#141)
haifeng-li-at-salesforce Oct 23, 2024
ca29435
Add html service.
sfdctaka Oct 5, 2024
6bd7c7e
Add yaml that was used to generate documentation for LBC.
sfdctaka Oct 8, 2024
ab5ad0e
Add yaml package
sfdctaka Oct 8, 2024
e2f7e6e
move yaml file
sfdctaka Oct 12, 2024
3320ed8
Add copyfiiles. Fix prettier for lsp projects.
sfdctaka Oct 12, 2024
e4a4499
mobile offline validator
sfdctaka Oct 12, 2024
d8f5dc1
nit
sfdctaka Oct 12, 2024
975d92a
typos
sfdctaka Oct 12, 2024
86a3139
Import over require
sfdctaka Oct 14, 2024
df05513
fix rebase
sfdctaka Oct 14, 2024
b79e346
nit: udpate package and lock
sfdctaka Oct 14, 2024
eb55a09
rimraf all out folders
sfdctaka Oct 14, 2024
3ced155
prettier
sfdctaka Oct 14, 2024
2357324
prettier
sfdctaka Oct 15, 2024
59aa15b
copy yaml per build
sfdctaka Oct 15, 2024
a57b38a
mobile offline validator updated
sfdctaka Oct 16, 2024
ab536fc
prettier
sfdctaka Oct 16, 2024
352fdf6
format
sfdctaka Oct 16, 2024
1c34252
nit
sfdctaka Oct 16, 2024
a0480f1
add flag to debug windows
sfdctaka Oct 16, 2024
2c72c9f
Add test. Feedback from code review.
sfdctaka Oct 17, 2024
9a6ea7a
prettier
sfdctaka Oct 17, 2024
5f511de
Remove copyfiles
sfdctaka Oct 17, 2024
71af776
matching the recommended scaffolding structure
sfdctaka Oct 24, 2024
b4509ac
prettier
sfdctaka Oct 24, 2024
f2f5270
Update lsp/server/src/diagnostic/html/mobileOfflineFriendly.ts
sfdctaka Oct 24, 2024
89096d8
Update lsp/server/src/diagnostic/html/mobileOfflineFriendly.ts
sfdctaka Oct 24, 2024
88bfa23
update after code review
sfdctaka Oct 24, 2024
f4f4914
Merge pull request #127 from sfdctaka/mobileOffline
sfdctaka Oct 24, 2024
27d73b7
Implement over size field and over size record diagnostic for graphql…
ben-zhang-at-salesforce Oct 31, 2024
5f8996f
Validator pattern change (#148)
haifeng-li-at-salesforce Nov 2, 2024
603982e
chore: upgrade to node 20
maliroteh-sf Nov 4, 2024
5cd0ed2
Merge pull request #150 from salesforce/node
maliroteh-sf Nov 4, 2024
67dc45d
fix(deps): bump micromatch from 4.0.5 to 4.0.8 (#113)
dependabot[bot] Nov 7, 2024
e5f1473
fix(deps): bump the minor-and-patch group across 1 directory with 14 …
dependabot[bot] Nov 8, 2024
a8fbf45
Finalize draft not aware Finalize draft not aware diagnostics for get…
ben-zhang-at-salesforce Nov 12, 2024
dc6055a
Moved test folders to same level as src.
sfdctaka Nov 7, 2024
56a6322
clean up.
sfdctaka Nov 12, 2024
9a21671
cleanup missed rebase.
sfdctaka Nov 12, 2024
9366546
do not include test folders in the final package.
sfdctaka Nov 13, 2024
892c821
comma.
sfdctaka Nov 13, 2024
b3f46ad
Merge pull request #155 from sfdctaka/moveTestFolders
sfdctaka Nov 13, 2024
0342212
Coverage report posted to codecov (#156)
haifeng-li-at-salesforce Nov 15, 2024
23757e6
Fix packaging (#157)
sfdctaka Nov 19, 2024
96d71a4
LanguageClient ID. And, use node script to copy yaml file. (#161)
sfdctaka Nov 19, 2024
088478c
mkdirSync can throw error. (#162)
sfdctaka Nov 21, 2024
7e8ea0a
create release candidate (#163)
haifeng-li-at-salesforce Nov 22, 2024
09402f8
W-16620689 Add md files for [LWC Auth Debug] LSP to reduce OOM issues…
clivewong Dec 10, 2024
3743909
Md file link for diagnostic (#166)
ben-zhang-at-salesforce Dec 19, 2024
1ba570b
chore(dev-deps): bump @vscode/vsce from 2.32.0 to 3.2.2 (#170)
dependabot[bot] Mar 12, 2025
57aa864
fix(deps): bump cross-spawn from 7.0.3 to 7.0.6 (#158)
dependabot[bot] Mar 12, 2025
bea5c33
fix(deps): bump @salesforce/sf-plugins-core from 4.0.0 to 12.1.3 (#168)
dependabot[bot] Mar 12, 2025
30c52b8
fix(deps): bump @babel/helpers from 7.26.0 to 7.26.10 (#173)
dependabot[bot] Mar 12, 2025
9782145
feat(telemetry): send metrics to Azure (#174)
sfdctaka Mar 25, 2025
496d16f
fix(deps): bump vscode-languageclient from 8.1.0 to 9.0.1 (#176)
dependabot[bot] Jun 23, 2025
efeaca7
ci: upgrade github actions to latest version
maliroteh-sf Jul 3, 2025
d5e0d39
fix(deps): bump the minor-and-patch group across 1 directory with 20 …
dependabot[bot] Jul 4, 2025
ac00ce6
fix(deps): bump @babel/runtime from 7.23.2 to 7.27.6 (#181) plus glob…
dependabot[bot] Jul 4, 2025
6828911
remove tie to lwc-dev-mobile-core and sf-plugins-core (#185)
ben-zhang-at-salesforce Jul 11, 2025
4e43fe9
Upgrade to eslint9 for the project and make the configuring lint tool…
ben-zhang-at-salesforce Oct 14, 2025
df74fe0
fix(deps): bump tar-fs from 2.1.3 to 2.1.4 (#192)
dependabot[bot] Oct 14, 2025
494d168
chore(dev-deps): bump sinon from 18.0.1 to 21.0.0 (#189)
dependabot[bot] Oct 14, 2025
f7711ca
chore(dev-deps): bump mocha from 10.8.2 to 11.7.1 (#188)
dependabot[bot] Oct 14, 2025
f0c63fd
fix(deps): bump tmp from 0.2.3 to 0.2.5 (#195)
dependabot[bot] Oct 14, 2025
dec2fcb
fix(deps): bump form-data from 4.0.3 to 4.0.4 (#186)
dependabot[bot] Oct 14, 2025
111d550
fix(deps): bump the minor-and-patch group across 1 directory with 20 …
dependabot[bot] Oct 15, 2025
50f5f85
tweak the eslint.config.mobile.js to make sure the grapql static esli…
ben-zhang-at-salesforce Oct 17, 2025
2f36476
chore: prepare 0.5.0 release (#198)
ben-zhang-at-salesforce Oct 22, 2025
c268cb6
chore: update node version to 22 from 20 (#201)
ben-zhang-at-salesforce Nov 14, 2025
ff33a42
feat: Add Product Feature Tracking (PFT) support (#212)
haifeng-li-at-salesforce Mar 10, 2026
de9c9fa
chore: bump version to 0.6.0
haifeng-li-at-salesforce Mar 10, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 0 additions & 49 deletions .eslintrc.json

This file was deleted.

39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Bug report
about: Create a report to help us improve
---

<!--
NOTICE: While GitHub is the preferred channel for reporting issues/feedback, this is not a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, please use official support channels.
-->

<!--
FOR BUGS RELATED TO THE SALEFORCE CLI, please use this repository: https://github.com/forcedotcom/cli/issues
-->

### Summary

_Short summary of what is going on or to provide context_.

### Steps To Reproduce:

1. This is step 1.
1. This is step 2. All steps should start with '1.'

### Expected result

_Describe what should have happened_.

### Actual result

_Describe what actually happened instead_.

### Additional information

_Feel free to attach a screenshot_.

**VS Code Version**:

**SFDX CLI Version**:

**OS and version**:
16 changes: 16 additions & 0 deletions .github/ISSUE_TEMPLATE/Feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
name: Feature request
about: Suggest an idea for this project
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
3 changes: 3 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
### What does this PR do?

### What issues does this PR fix or reference?
26 changes: 26 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: 2
updates:
- package-ecosystem: 'npm'
directory: '/'
schedule:
interval: 'monthly'
versioning-strategy: 'increase'
labels:
- 'dependencies'
groups:
# Group all minor and patch dependency updates together.
minor-and-patch:
applies-to: version-updates
update-types:
- 'minor'
- 'patch'
open-pull-requests-limit: 5
pull-request-branch-name:
separator: '-'
commit-message:
# cause a release for non-dev-deps
prefix: fix(deps)
# no release for dev-deps
prefix-development: chore(dev-deps)
ignore:
- dependency-name: '@salesforce/dev-scripts'
10 changes: 5 additions & 5 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '22.x'

- name: Install dependencies
run: npm install
Expand All @@ -24,7 +24,7 @@ jobs:

- name: Create release
id: create_release
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const packageVersion = require('./package.json').version;
Expand All @@ -38,7 +38,7 @@ jobs:
return response.data.id;

- name: Attach VSIX package to release
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const fs = require('fs');
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18, 20 ]
node: [ 22 ]
name: Linting on Ubuntu with Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18, 20 ]
node: [ 22 ]
name: Prettier on Ubuntu with Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: npm install
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/publish_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,19 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'
node-version: '22.x'

- name: Install dependencies
run: npm install

- name: Validate tag name
id: validate_tag_name
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
let tagNameValue = "${{ github.event.inputs.release-tag-name }}";
Expand All @@ -49,7 +49,7 @@ jobs:

- name: Get package name for tag
id: get_package_name
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const packageName = require('./package.json').name;
Expand All @@ -61,7 +61,7 @@ jobs:

- name: Get release and associated VSIX asset
id: get_release_and_asset
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const releaseTagName = ${{ steps.validate_tag_name.outputs.result }};
Expand All @@ -88,7 +88,7 @@ jobs:

- name: Download asset
id: download_asset
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
script: |
const assetUrl = ${{ steps.get_release_and_asset.outputs.result }};
Expand Down
82 changes: 45 additions & 37 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,48 @@
name: run-tests
run-name: Installs project and runs project tests
on: [ push, pull_request ]
on: [push, pull_request]
jobs:
run-tests-nix:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18, 20 ]
name: Tests with code coverage on Ubuntu with Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: |
npm install
npm run compile
# runtTests() which downloads/installs/launches VSCode requires a screen.
# Using xvfb-run to attach a virtual screen for CI running on Ubuntu.
xvfb-run --server-num=99 --server-args="-screen 0 1024x768x24" npm run test-coverage
shell: bash
- run: killall Xvfb || true
run-tests-win:
runs-on: windows-latest
strategy:
matrix:
node: [ 18, 20 ]
name: Tests with code coverage on Windows with Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: |
# On Windows there no need for a screen for runTests() to run successfully.
npm install
npm run compile
npm run test-coverage
- run: taskkill /IM Xvfb.exe /F || true
run-tests-nix:
runs-on: ubuntu-latest
strategy:
matrix:
node: [22, 24]
name: Tests with code coverage on Ubuntu with Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: |
npm install
npm install --global @salesforce/cli
npm run compile
# runtTests() which downloads/installs/launches VSCode requires a screen.
# Using xvfb-run to attach a virtual screen for CI running on Ubuntu.
xvfb-run --server-num=99 --server-args="-screen 0 1024x768x24" npm run test-coverage
shell: bash
- run: killall Xvfb || true
- name: Upload coverage to codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: coverage/*.json
flags: src
run-tests-win:
runs-on: windows-latest
strategy:
matrix:
node: [22, 24]
name: Tests with code coverage on Windows with Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- run: |
# On Windows there no need for a screen for runTests() to run successfully.
npm install
npm run compile
npm install --global @salesforce/cli
npm run test-coverage
- run: taskkill /IM Xvfb.exe /F || true
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ node_modules
coverage/
.nyc_output/
.DS_Store
**/*.tsbuildinfo
Loading