-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
49 changed files
with
8,069 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,15 @@ jobs: | |
run: | | ||
npm install | ||
npm run build | ||
- name: Build link | ||
run: | | ||
pnpm install | ||
pnpm build | ||
working-directory: ./Ceobe-Link | ||
|
||
- name: merge | ||
run: cp -r ./Ceobe-Link/dist ./dist/link | ||
|
||
- name: Upload COS | ||
uses: zkqiang/[email protected] | ||
|
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,37 @@ | ||
# http://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
# The JSON files contain newlines inconsistently | ||
[*.json] | ||
insert_final_newline = ignore | ||
|
||
# Minified JavaScript files shouldn't be changed | ||
[**.min.js] | ||
indent_style = ignore | ||
insert_final_newline = ignore | ||
|
||
# Makefiles always use tabs for indentation | ||
[Makefile] | ||
indent_style = tab | ||
|
||
# Batch files use tabs for indentation | ||
[*.bat] | ||
indent_style = tab | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
|
||
# Matches the exact files either package.json or .travis.yml | ||
[{package.json,.travis.yml}] | ||
indent_size = 2 | ||
|
||
[*.rs] | ||
indent_size = 4 |
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,7 @@ | ||
dist | ||
node_modules | ||
.yarn | ||
.history | ||
build | ||
lib | ||
src-tauri |
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,118 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
browser: true, | ||
commonjs: true, | ||
node: true, | ||
}, | ||
parser: "@typescript-eslint/parser", | ||
parserOptions: { | ||
parser: "@typescript-eslint/parser", | ||
sourceType: "module", | ||
tsconfigRootDir: __dirname, | ||
}, | ||
globals: { | ||
JSX: true, | ||
}, | ||
extends: [ | ||
"eslint:recommended", | ||
"plugin:react/recommended", | ||
"plugin:react-hooks/recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:import/recommended", | ||
"plugin:import/typescript", | ||
"plugin:regexp/recommended", | ||
"plugin:prettier/recommended", | ||
"plugin:react/jsx-runtime", | ||
], | ||
settings: { | ||
"import/resolver": { | ||
node: { | ||
extensions: [".js", ".jsx", ".ts", ".tsx"], | ||
}, | ||
typescript: true, | ||
}, | ||
react: { | ||
version: "detect", | ||
}, | ||
}, | ||
overrides: [ | ||
{ | ||
files: ["*.ts", "*.tsx"], | ||
rules: { | ||
"import/no-unresolved": "off", | ||
}, | ||
}, | ||
{ | ||
files: ["*.js", "*.cjs"], | ||
rules: { | ||
"@typescript-eslint/no-var-requires": "off", | ||
}, | ||
}, | ||
], | ||
plugins: ["@typescript-eslint"], | ||
rules: { | ||
"linebreak-style": ["error", "unix"], | ||
quotes: ["error", "double", { avoidEscape: true }], | ||
semi: ["error", "always"], | ||
"@typescript-eslint/no-non-null-assertion": "off", | ||
"import/order": [ | ||
"error", | ||
{ | ||
groups: [ | ||
"builtin", | ||
"external", | ||
"internal", | ||
"parent", | ||
"sibling", | ||
"index", | ||
], | ||
pathGroups: [ | ||
{ pattern: "react", group: "builtin", position: "before" }, | ||
{ pattern: "fs-extra", group: "builtin" }, | ||
{ pattern: "lodash", group: "external", position: "before" }, | ||
{ pattern: "clsx", group: "external", position: "before" }, | ||
{ pattern: "@ui/**", group: "internal" }, | ||
], | ||
pathGroupsExcludedImportTypes: [], | ||
"newlines-between": "always", | ||
alphabetize: { | ||
order: "asc", | ||
}, | ||
}, | ||
], | ||
}, | ||
ignorePatterns: [ | ||
"**/node_modules", | ||
"**/dist", | ||
"**/package-lock.json", | ||
"**/yarn.lock", | ||
"**/pnpm-lock.yaml", | ||
"**/bun.lockb", | ||
|
||
"**/output", | ||
"**/coverage", | ||
"**/temp", | ||
"**/.temp", | ||
"**/tmp", | ||
"**/.tmp", | ||
"**/.history", | ||
"**/.vitepress/cache", | ||
"**/.nuxt", | ||
"**/.next", | ||
"**/.vercel", | ||
"**/.changeset", | ||
"**/.idea", | ||
"**/.cache", | ||
"**/.output", | ||
"**/.vite-inspect", | ||
|
||
"**/CHANGELOG*.md", | ||
"**/*.min.*", | ||
"**/LICENSE*", | ||
"**/__snapshots__", | ||
"**/auto-import?(s).d.ts", | ||
"**/components.d.ts", | ||
"src/components/ui/**", | ||
], | ||
}; |
Oops, something went wrong.