Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VS Code Addon manager #76

Merged
merged 46 commits into from
Feb 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
028cf85
fix: only sign in after command
carsakiller Jan 16, 2023
4d187bd
add: disable checkThirdParty when opening webvue
carsakiller Jan 16, 2023
ed914f2
refactor: make it work with addon submodules
carsakiller Jan 18, 2023
e5e7344
fix: logging level
carsakiller Jan 18, 2023
531f162
fix: fetch before pull
carsakiller Jan 20, 2023
190e64a
cleanup
carsakiller Jan 20, 2023
1808089
fix: add fallback category for logging
carsakiller Jan 20, 2023
2b7e2cf
add: support for multi-folder workspace
carsakiller Jan 20, 2023
d79b421
remove: cache file
carsakiller Jan 20, 2023
06f146a
add: uninstalling
carsakiller Jan 20, 2023
fee5412
add: disable thirdParty checking on enable/disable
carsakiller Jan 20, 2023
1d4fb98
update branch
carsakiller Jan 21, 2023
2b39e63
increase page size
carsakiller Jan 21, 2023
b3d9e19
fix: installed check
carsakiller Jan 21, 2023
2583641
fix: don't warn when uninstalling
carsakiller Jan 21, 2023
beb659b
Merge pull request #3 from carsakiller/addon-submodules
carsakiller Jan 21, 2023
b77d37b
add: disable third party checking after enable
carsakiller Jan 30, 2023
285100c
fix: error when library setting undefined
carsakiller Jan 30, 2023
c09845a
Merge branch 'master' into addon-manager
carsakiller Jan 30, 2023
6ca3f01
chore: cleanup language server
carsakiller Jan 30, 2023
707ea22
fix: package.json
carsakiller Jan 30, 2023
9bd8cd0
refactor: use language server for config
carsakiller Feb 1, 2023
3041d73
update webvue submodule
carsakiller Feb 1, 2023
d3710be
chore: update github urls
carsakiller Feb 3, 2023
bae8747
fix: sort addons by display name
carsakiller Feb 5, 2023
263e90a
Merge branch 'master' into addon-manager
carsakiller Feb 8, 2023
597b9f6
fix: error when disabling uninstalled addon
carsakiller Feb 8, 2023
b37a776
Merge branch 'LuaLS:master' into addon-manager
carsakiller Feb 13, 2023
c1b1fba
refactor: send addons in chunks instead of pages
carsakiller Feb 13, 2023
e7364cb
chore: update package-lock
carsakiller Feb 13, 2023
f12e265
fix: prevent compilation error
carsakiller Feb 13, 2023
0c29e6e
chore: update webvue
carsakiller Feb 13, 2023
f3a50f4
add: log when settings applied successfully
carsakiller Feb 13, 2023
00cdf31
refactor: send all addon changes at once
carsakiller Feb 13, 2023
60088b5
update webvue
carsakiller Feb 13, 2023
78905c3
remove package lock
carsakiller Feb 13, 2023
1bfc4c1
fix: build command
carsakiller Feb 14, 2023
998ce18
Revert "chore: update package-lock"
carsakiller Feb 14, 2023
4d9a32f
ci plz work?
carsakiller Feb 14, 2023
5da3e71
ci: install node latest
carsakiller Feb 14, 2023
05bc6f1
ci: create .bashrc first
carsakiller Feb 14, 2023
83bb2e8
ci: load nvm
carsakiller Feb 14, 2023
ff01e62
ci: install node with NodeSource
carsakiller Feb 14, 2023
0127578
Merge branch 'LuaLS:master' into addon-manager
carsakiller Feb 16, 2023
3115bfb
fix: add change per array element
carsakiller Feb 16, 2023
1cef217
add: setting to disable addon manager
carsakiller Feb 17, 2023
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
21 changes: 16 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ jobs:
curl -sL https://deb.nodesource.com/setup_14.x -o /tmp/nodesource_setup.sh # For nodejs
sudo bash /tmp/nodesource_setup.sh
apt-get update
apt-get install -y git gcc-9 g++-9 nodejs
apt-get install -y git gcc-9 g++-9
cd ~
curl -sL https://deb.nodesource.com/setup_16.x -o /tmp/nodesource_setup.sh
sudo bash /tmp/nodesource_setup.sh
sudo apt install nodejs

- name: Install aarch64-linux-gnu
if: ${{ matrix.platform == 'linux-arm64' }}
Expand Down Expand Up @@ -83,15 +87,22 @@ jobs:
echo PKG_BASENAME=${PKG_BASENAME} >> $GITHUB_OUTPUT
echo PKG_NAME=${PKG_NAME} >> $GITHUB_OUTPUT

- name: Compile clinet
- name: Compile client
shell: bash
run: |
npm install -g typescript
cd client
npm install
tsc
npm ci
npm run build
cd ..

- name: Build Addon Manager WebVue
shell: bash
run: |
cd client/webvue
npm ci
npm run build
cd ../..

- name: Pack vsix
id: pack
shell: bash
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@
[submodule "client/3rd/vscode-lua-doc"]
path = client/3rd/vscode-lua-doc
url = https://github.com/LuaLS/vscode-lua-doc
[submodule "client/webvue"]
path = client/webvue
url = [email protected]:carsakiller/vscode-lua-webvue.git
2 changes: 1 addition & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
**/*

!client/node_modules
!client/out
!client/package.json
!client/3rd/vscode-lua-doc/doc
!client/3rd/vscode-lua-doc/extension.js
!client/webvue/build

!server/bin
!server/locale
Expand Down
16 changes: 16 additions & 0 deletions client/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"rules": {
"@typescript-eslint/no-namespace": "off",
"linebreak-style": "off",
"no-duplicate-imports": "warn",
"semi": "error",
"default-case": "error",
"default-case-last": "error",
"eqeqeq": "error"
},
"ignorePatterns": ["out", "dist", "**/*.d.ts"]
}
2 changes: 2 additions & 0 deletions client/.prettierrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tabWidth: 4
endOfLine: auto
Loading