This repository has been archived by the owner on Oct 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/handle-imap-disabled-warning
- Loading branch information
Showing
313 changed files
with
10,803 additions
and
5,438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
build | ||
dist | ||
vite.config.ts | ||
.eslintrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"root": true, | ||
"env": { | ||
"browser": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:vue/vue3-recommended", | ||
"plugin:prettier/recommended" | ||
], | ||
"parser": "vue-eslint-parser", | ||
"plugins": [ "@typescript-eslint" ], | ||
"parserOptions": { | ||
"parser": "@typescript-eslint/parser", | ||
"sourceType": "module", | ||
"ecmaVersion": "latest", | ||
"project": ["./tsconfig.json"], | ||
"extraFileExtensions": [ ".vue" ] | ||
}, | ||
"rules": { | ||
// https://eslint.org/docs/rules/ | ||
"no-fallthrough": "off", // https://github.com/ionic-team/eslint-config/issues/7 | ||
"no-constant-condition": "off", | ||
"no-unused-vars": "off", | ||
|
||
// https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin/docs/rules | ||
"@typescript-eslint/no-this-alias": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/explicit-module-boundary-types": [ | ||
"error", { "allowArgumentsExplicitlyTypedAsAny": true }], | ||
|
||
// https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin/docs/rules | ||
"@typescript-eslint/array-type": "error", | ||
"@typescript-eslint/consistent-type-assertions": "error", | ||
"@typescript-eslint/consistent-type-imports": "error", | ||
"@typescript-eslint/prefer-for-of": "error", | ||
"@typescript-eslint/prefer-optional-chain": "error", | ||
|
||
"@typescript-eslint/no-unused-vars": [ | ||
"error", | ||
{ | ||
"argsIgnorePattern": "^_", | ||
"varsIgnorePattern": "^_", | ||
"caughtErrorsIgnorePattern": "^_" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,8 +14,8 @@ concurrency: | |
cancel-in-progress: true | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
vue2: | ||
name: Analyze Vue 2 | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
actions: read | ||
|
@@ -33,17 +33,41 @@ jobs: | |
with: | ||
languages: javascript | ||
|
||
- uses: dart-lang/[email protected] | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Install JS dependencies | ||
run: npm ci | ||
- name: Build Vue2 | ||
run: make vue2 | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 | ||
|
||
vue3: | ||
name: Analyze Vue 3 | ||
runs-on: ubuntu-22.04 | ||
permissions: | ||
actions: read | ||
contents: read | ||
security-events: write | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: javascript | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Run Build | ||
run: npm run build | ||
- name: Build Vue3 | ||
run: make vue3 | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,19 +37,17 @@ jobs: | |
token: ${{ github.token }} | ||
branch: ${{ steps.getpr.outputs.branch }} | ||
|
||
- name: Set JS Version | ||
id: package_version | ||
- name: Set JS Version (vue3) | ||
uses: KageKirin/set-node-package-version@v1 | ||
with: | ||
file: vue3/package.json | ||
version: ${{ steps.semver.outputs.nextStrict }} | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
- name: Set JS Version (vue2) | ||
uses: KageKirin/set-node-package-version@v1 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Install JS dependencies | ||
run: npm ci | ||
file: vue2/package.json | ||
version: ${{ steps.semver.outputs.nextStrict }} | ||
|
||
- name: Commit Changes | ||
continue-on-error: true | ||
|
@@ -58,7 +56,7 @@ jobs: | |
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GH Action" | ||
git add package.json | ||
git add package-lock.json | ||
git add vue2/package.json | ||
git add vue3/package.json | ||
git commit -m 'version bump' | ||
git push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,17 @@ | ||
# Dev garbage | ||
.idea/ | ||
node_modules/ | ||
.vscode/ | ||
*.map | ||
.DS_Store | ||
.sourcemaps | ||
|
||
# Generated outputs | ||
dist/ | ||
docs | ||
|
||
# Generated build files | ||
/package.json | ||
/package-lock.json | ||
/src/main.ts | ||
/vite.config.ts |
Oops, something went wrong.