Skip to content

Commit

Permalink
refactor: 重构项目结构,兼容 webview 和 iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed May 22, 2023
1 parent bdc5fd2 commit 9718949
Show file tree
Hide file tree
Showing 353 changed files with 2,147 additions and 244,177 deletions.
21 changes: 0 additions & 21 deletions .env.development.local.example

This file was deleted.

18 changes: 0 additions & 18 deletions .env.local.example

This file was deleted.

19 changes: 0 additions & 19 deletions .env.production.local.example

This file was deleted.

21 changes: 0 additions & 21 deletions .env.test.local.example

This file was deleted.

32 changes: 30 additions & 2 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
module.exports = {
extends: ["./node_modules/@terwer/eslint-config-custom/index.cjs"],
}
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:vue/vue3-recommended",
"turbo",
"prettier",
],

// https://eslint.vuejs.org/user-guide/#how-to-use-a-custom-parser
parser: "vue-eslint-parser",
parserOptions: {
parser: "@typescript-eslint/parser",
},

plugins: ["@typescript-eslint", "vue", "prettier"],

rules: {
// Note: you must disable the base rule as it can report incorrect errors
semi: "off",
quotes: "off",
"no-undef": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-this-alias": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "off",
"turbo/no-undeclared-env-vars": "off",
"prettier/prettier": "error",
},
}
39 changes: 0 additions & 39 deletions .github/dependabot.yml

This file was deleted.

44 changes: 0 additions & 44 deletions .github/workflows/ci.yml

This file was deleted.

97 changes: 0 additions & 97 deletions .github/workflows/release-please.yml

This file was deleted.

23 changes: 0 additions & 23 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ lerna-debug.log*

node_modules
dist
build
dist-ssr
*.local

Expand All @@ -23,25 +22,3 @@ dist-ssr
*.njsproj
*.sln
*.sw?

# test
.vercel
*.private.env.json
__snapshots__
test/data/polyfill
extension/
*.crx
*.pem
backup/
.vitest-result.json
coverage

# docs
out
.pnpm-store
public/lib/picgo/picgo.cfg.json
public/lib/picgo/picgo.cfg.dev.json

__pycache__
package.zip
test.sh
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

6 changes: 3 additions & 3 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
*/

module.exports = {
semi: false,
singleQuote: false,
printWidth: 120,
semi: false,
singleQuote: false,
printWidth: 120
}
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
}
Loading

0 comments on commit 9718949

Please sign in to comment.