Skip to content

Commit 5699d31

Browse files
authored
Merge pull request #76 from carsakiller/addon-manager
VS Code Addon manager
2 parents 9297d5f + 1cef217 commit 5699d31

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

45 files changed

+5304
-186
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,11 @@ jobs:
4444
curl -sL https://deb.nodesource.com/setup_14.x -o /tmp/nodesource_setup.sh # For nodejs
4545
sudo bash /tmp/nodesource_setup.sh
4646
apt-get update
47-
apt-get install -y git gcc-9 g++-9 nodejs
47+
apt-get install -y git gcc-9 g++-9
48+
cd ~
49+
curl -sL https://deb.nodesource.com/setup_16.x -o /tmp/nodesource_setup.sh
50+
sudo bash /tmp/nodesource_setup.sh
51+
sudo apt install nodejs
4852
4953
- name: Install aarch64-linux-gnu
5054
if: ${{ matrix.platform == 'linux-arm64' }}
@@ -83,15 +87,22 @@ jobs:
8387
echo PKG_BASENAME=${PKG_BASENAME} >> $GITHUB_OUTPUT
8488
echo PKG_NAME=${PKG_NAME} >> $GITHUB_OUTPUT
8589
86-
- name: Compile clinet
90+
- name: Compile client
8791
shell: bash
8892
run: |
89-
npm install -g typescript
9093
cd client
91-
npm install
92-
tsc
94+
npm ci
95+
npm run build
9396
cd ..
9497
98+
- name: Build Addon Manager WebVue
99+
shell: bash
100+
run: |
101+
cd client/webvue
102+
npm ci
103+
npm run build
104+
cd ../..
105+
95106
- name: Pack vsix
96107
id: pack
97108
shell: bash

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
[submodule "client/3rd/vscode-lua-doc"]
55
path = client/3rd/vscode-lua-doc
66
url = https://github.com/LuaLS/vscode-lua-doc
7+
[submodule "client/webvue"]
8+
path = client/webvue
9+
url = [email protected]:carsakiller/vscode-lua-webvue.git

.vscodeignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
**/*
22

3-
!client/node_modules
43
!client/out
54
!client/package.json
65
!client/3rd/vscode-lua-doc/doc
76
!client/3rd/vscode-lua-doc/extension.js
7+
!client/webvue/build
88

99
!server/bin
1010
!server/locale

client/.eslintrc.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"plugins": ["@typescript-eslint"],
5+
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
6+
"rules": {
7+
"@typescript-eslint/no-namespace": "off",
8+
"linebreak-style": "off",
9+
"no-duplicate-imports": "warn",
10+
"semi": "error",
11+
"default-case": "error",
12+
"default-case-last": "error",
13+
"eqeqeq": "error"
14+
},
15+
"ignorePatterns": ["out", "dist", "**/*.d.ts"]
16+
}

client/.prettierrc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
tabWidth: 4
2+
endOfLine: auto

0 commit comments

Comments
 (0)