forked from opentiny/tiny-vue
-
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.
Refactor project to Monorepo and TypeScript (opentiny#90)
* fix(tiny-vue): TinyVue工程momorepo改造[WI2029] Match-id-2e9669527b4f9d10ba441ea7a204dc1627ab0420 * fix(tiny-vue): TinyVue工程momorepo改造[WI2029] Match-id-a3c037ae0147e6ef27df417b09fff18d548a5fa7 * fix(tiny-vue): 修改license[WI2029] Match-id-646d905fcfedf0b9ceb147d9ce288916e3c78c45 * fix(tiny-vue): 修改package.json[WI2029] Match-id-8e0d6161964178ca68ee111f3bb0c60e27d9f3e0 * fix: fix conflict --------- Co-authored-by: OpenTiny <[email protected]>
- Loading branch information
Showing
9,201 changed files
with
281,890 additions
and
161,699 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ignores: | ||
# Unused dependencies | ||
|
||
# Unused devDependencies | ||
|
||
# Missing dependencies | ||
|
||
|
||
ignore-patterns: | ||
- "node_modules" |
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,2 +1,6 @@ | ||
dist | ||
runtime | ||
runtime | ||
dist-vue2/ | ||
dist-vue3/ | ||
node_modules | ||
examples/docs/public/assets/map/js |
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,42 @@ | ||
/* eslint-env node */ | ||
|
||
/** @type {import('eslint').Linter.Config} */ | ||
module.exports = { | ||
extends: '@antfu', | ||
rules: { | ||
'vue/component-tags-order': ['error', { | ||
order: [['script', 'template'], 'style'], | ||
}], | ||
'vue/order-in-components': 'off', | ||
'vue/component-name-in-template-casing': 'off', | ||
'vue/custom-event-name-casing': 'off', | ||
'vue/quote-props': 'off', | ||
'vue/attributes-order': 'off', | ||
'vue/prop-name-casing': 'off', | ||
'vue/html-self-closing': 'off', | ||
'vue/prefer-separate-static-class': 'off', | ||
'vue/comma-dangle': 'off', | ||
'vue/prefer-template': 'off', | ||
'curly': 'off', | ||
'sort-imports': 'off', | ||
'prefer-template': 'off', | ||
'arrow-parens': 'off', | ||
'operator-linebreak': 'off', | ||
'antfu/if-newline': 'off', | ||
'import/order': 'off', | ||
'import/no-duplicates': 'off', | ||
'quote-props': 'off', | ||
'prefer-const': 'off', | ||
'@typescript-eslint/comma-dangle': 'off', | ||
// '@typescript-eslint/indent': 'off', | ||
'@typescript-eslint/no-unsafe-assignment': 'off', | ||
'@typescript-eslint/no-unsafe-call': 'off', | ||
'@typescript-eslint/no-unsafe-member-access': 'off', | ||
'@typescript-eslint/no-unsafe-argument': 'off', | ||
'@typescript-eslint/no-unsafe-return': 'off', | ||
'@typescript-eslint/brace-style': 'off', | ||
'@typescript-eslint/restrict-plus-operands': 'off', | ||
'@typescript-eslint/no-use-before-define': 'off', | ||
'@typescript-eslint/restrict-template-expressions': 'off', | ||
}, | ||
} |
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,6 @@ | ||
* text=auto eol=lf | ||
*.ts linguist-detectable=false | ||
*.css linguist-detectable=false | ||
*.scss linguist-detectable=false | ||
*.js linguist-detectable=true | ||
*.vue linguist-detectable=true |
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,16 @@ | ||
{ | ||
"extends": [ | ||
"development" | ||
], | ||
"hints": { | ||
"compat-api/html": [ | ||
"default", | ||
{ | ||
"ignore": [ | ||
"script[type=module]" | ||
] | ||
} | ||
], | ||
"axe/language": "off" | ||
} | ||
} |
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 @@ | ||
shell-emulator=true | ||
auto-install-peers=true | ||
strict-peer-dependencies=false | ||
enable-pre-post-scripts=true |
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,3 +1,8 @@ | ||
# Except myapp folder: | ||
dist/ | ||
public/ | ||
dist | ||
dist-vue2 | ||
dist-vue3 | ||
node_modules | ||
internal/template | ||
internal/runtime | ||
examples/docs/public/static | ||
pnpm-lock.yaml |
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,4 +1,22 @@ | ||
semi: false | ||
singleQuote: true | ||
printWidth: 160 | ||
trailingComma: none | ||
{ | ||
"semi": false, | ||
"singleQuote": true, | ||
"printWidth": 120, | ||
"trailingComma": "none", | ||
"quoteProps": "preserve", | ||
"endOfLine": "auto", | ||
"bracketSpacing": true, | ||
"jsxBracketSameLine": true, | ||
"jsxSingleQuote": false, | ||
"useTabs": false, | ||
"tabWidth": 2, | ||
"proseWrap": "preserve", | ||
"overrides": [ | ||
{ | ||
"files": ".prettierrc", | ||
"options": { | ||
"parser": "json" | ||
} | ||
} | ||
] | ||
} |
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,14 @@ | ||
{ | ||
"recommendations": [ | ||
"vue.volar", | ||
"vue.vscode-typescript-vue-plugin", | ||
"davidanson.vscode-markdownlint", | ||
"dbaeumer.vscode-eslint", | ||
"stylelint.vscode-stylelint", | ||
"ms-playwright.playwright" | ||
], | ||
"unwantedRecommendations": [ | ||
"esbenp.prettier-vscode", | ||
"octref.vetur" | ||
] | ||
} |
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,72 @@ | ||
{ | ||
"editor.quickSuggestions": { | ||
"strings": true | ||
}, | ||
"markdownlint.config": { | ||
"no-inline-html": true, | ||
"first-line-heading": true | ||
}, | ||
"typescript.tsdk": "node_modules/typescript/lib", | ||
"prettier.enable": true, | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
}, | ||
"better-comments.highlightPlainText": true, | ||
"better-comments.tags": [ | ||
{ | ||
"tag": "#v", | ||
"color": "#FF8C00", | ||
"strikethrough": false, | ||
"underline": false, | ||
"backgroundColor": "transparent", | ||
"bold": false, | ||
"italic": false | ||
}, | ||
{ | ||
"tag": "!", | ||
"color": "#FF2D00", | ||
"strikethrough": false, | ||
"underline": false, | ||
"backgroundColor": "transparent", | ||
"bold": false, | ||
"italic": false | ||
}, | ||
{ | ||
"tag": "?", | ||
"color": "#3498DB", | ||
"strikethrough": false, | ||
"underline": false, | ||
"backgroundColor": "transparent", | ||
"bold": false, | ||
"italic": false | ||
}, | ||
{ | ||
"tag": "//", | ||
"color": "#474747", | ||
"strikethrough": true, | ||
"underline": false, | ||
"backgroundColor": "transparent", | ||
"bold": false, | ||
"italic": false | ||
}, | ||
{ | ||
"tag": "todo", | ||
"color": "#FF8C00", | ||
"strikethrough": false, | ||
"underline": false, | ||
"backgroundColor": "transparent", | ||
"bold": false, | ||
"italic": false | ||
}, | ||
{ | ||
"tag": "*", | ||
"color": "#98C379", | ||
"strikethrough": false, | ||
"underline": false, | ||
"backgroundColor": "transparent", | ||
"bold": false, | ||
"italic": false | ||
} | ||
] | ||
} |
Oops, something went wrong.