Skip to content

Commit c3598eb

Browse files
authored
Merge pull request #73 from carsakiller/addon-manager
Add addon manager
2 parents 98edb4f + 51b5c4f commit c3598eb

Some content is hidden

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

42 files changed

+5751
-166
lines changed

.github/workflows/build.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,22 @@ jobs:
6666
echo PKG_BASENAME=${PKG_BASENAME} >> $GITHUB_OUTPUT
6767
echo PKG_NAME=${PKG_NAME} >> $GITHUB_OUTPUT
6868
69-
- name: Compile clinet
69+
- name: Compile client
7070
shell: bash
7171
run: |
72-
npm install -g typescript
7372
cd client
74-
npm install
75-
tsc
73+
npm ci
74+
npm run build
7675
cd ..
7776
77+
- name: Build Addon Manager WebVue
78+
shell: bash
79+
run: |
80+
cd client/webvue
81+
npm ci
82+
npm run build
83+
cd ../..
84+
7885
- name: Pack vsix
7986
id: pack
8087
shell: bash

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/client/node_modules
2-
/client/out/*.map
2+
/client/out
33
/publish/
44
/luadoc/out/
55
/ovsx-token

.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/actboy168/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)