Skip to content

Commit

Permalink
Make lwc & aura language server available to be run from an executabl…
Browse files Browse the repository at this point in the history
…e file (#580)

* feat: add an executable file

* feat: add executable for aura ls

---------

Co-authored-by: gbockus-sf <[email protected]>
  • Loading branch information
WuggyX2 and gbockus-sf authored Oct 23, 2023
1 parent 7a59e3a commit dac89fb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/aura-language-server/bin/aura-language-server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env node
require('../lib/server.js');
3 changes: 3 additions & 0 deletions packages/aura-language-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"type": "git",
"url": "https://github.com/forcedotcom/lightning-language-server.git"
},
"bin": {
"aura-language-server": "bin/aura-language-server.js"
},
"scripts": {
"clean": "rm -rf lib",
"cleanTestData": "node ../../scripts/removeTestData.js",
Expand Down
2 changes: 2 additions & 0 deletions packages/lwc-language-server/bin/lwc-language-server.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env node
require('../lib/server.js');
3 changes: 3 additions & 0 deletions packages/lwc-language-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"type": "git",
"url": "https://github.com/forcedotcom/lightning-language-server.git"
},
"bin": {
"lwc-language-server": "./bin/lwc-language-server.js"
},
"scripts": {
"clean": "rm -rf lib && rm -rf src/resources/sfdx/typings/copied",
"cleanTestData": "node ../../scripts/removeTestData.js",
Expand Down

0 comments on commit dac89fb

Please sign in to comment.