@ftlab/one-vue3 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.cjs +24 -0
- package/.prettierrc.cjs +18 -0
- package/CHANGELOG.md +13 -1
- package/components.d.ts +24 -0
- package/dist/ftlOne.cjs +19 -28
- package/dist/ftlOne.js +8317 -3570
- package/dist/ftlOne.umd.cjs +19 -28
- package/dist/style.css +1 -1
- package/package.json +2 -1
package/.eslintrc.cjs
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
root: true,
|
|
3
|
+
env: {
|
|
4
|
+
browser: true,
|
|
5
|
+
es2021: true,
|
|
6
|
+
node: true
|
|
7
|
+
},
|
|
8
|
+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:vue/vue3-essential'],
|
|
9
|
+
parserOptions: {
|
|
10
|
+
ecmaVersion: 'latest',
|
|
11
|
+
parser: '@typescript-eslint/parser',
|
|
12
|
+
sourceType: 'module'
|
|
13
|
+
},
|
|
14
|
+
plugins: ['@typescript-eslint', 'vue'],
|
|
15
|
+
rules: {
|
|
16
|
+
'no-var': 'error', // 禁止使用 var
|
|
17
|
+
'no-mixed-spaces-and-tabs': 'error', // 不能空格与tab混用
|
|
18
|
+
quotes: [2, 'single'], // 使用单引号
|
|
19
|
+
'vue/multi-word-component-names': 'off', // 驼峰警告
|
|
20
|
+
'@typescript-eslint/no-explicit-any': 'off', // 使用any类型警告
|
|
21
|
+
'@typescript-eslint/no-unused-vars': 'off', // 关闭检测未使用的变量,交由tsconfig.json中noUnusedLocals决定
|
|
22
|
+
'no-undef': 0 // 不能有未定义的变量
|
|
23
|
+
}
|
|
24
|
+
};
|
package/.prettierrc.cjs
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
printWidth: 120, // 单行输出(不折行)的(最大)长度
|
|
3
|
+
tabWidth: 2, // 每个缩进级别的空格数
|
|
4
|
+
tabs: false, // 使用制表符 (tab) 缩进行而不是空格 (space)。
|
|
5
|
+
semi: true, // 是否在语句末尾打印分号
|
|
6
|
+
singleQuote: true, // 是否使用单引号
|
|
7
|
+
quoteProps: "as-needed", // 仅在需要时在对象属性周围添加引号
|
|
8
|
+
jsxSingleQuote: false, // jsx 不使用单引号,而使用双引号
|
|
9
|
+
trailingComma: "none", // 去除对象最末尾元素跟随的逗号
|
|
10
|
+
bracketSpacing: true, // 是否在对象属性添加空格
|
|
11
|
+
jsxBracketSameLine: true, // 将 > 多行 JSX 元素放在最后一行的末尾,而不是单独放在下一行(不适用于自闭元素),默认false,这里选择>不另起一行
|
|
12
|
+
arrowParens: "always", // 箭头函数,只有一个参数的时候,也需要括号
|
|
13
|
+
proseWrap: "always", // 当超出print width(上面有这个参数)时就折行
|
|
14
|
+
htmlWhitespaceSensitivity: "ignore", // 指定 HTML 文件的全局空白区域敏感度, "ignore" - 空格被认为是不敏感的
|
|
15
|
+
vueIndentScriptAndStyle: false, // 在VUE文件中不要缩进脚本和样式标记
|
|
16
|
+
stylelintIntegration: true,
|
|
17
|
+
endOfLine: "auto",
|
|
18
|
+
};
|
package/CHANGELOG.md
CHANGED
|
@@ -7,7 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
9
9
|
|
|
10
|
-
## [v0.0.
|
|
10
|
+
## [v0.0.7](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.0.6...v0.0.7)
|
|
11
|
+
|
|
12
|
+
### Commits
|
|
13
|
+
|
|
14
|
+
- feat: vite build external element-plus [`1415398`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/1415398585f7184eb1a7b5fd9db41337e6d011e3)
|
|
15
|
+
|
|
16
|
+
## [v0.0.6](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.0.5...v0.0.6) - 2023-07-05
|
|
17
|
+
|
|
18
|
+
### Commits
|
|
19
|
+
|
|
20
|
+
- feat: vite build external pinia [`2525081`](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/commit/2525081c259f7875d19fd3c86fe5eac2f903bc1d)
|
|
21
|
+
|
|
22
|
+
## [v0.0.5](https://gitlab.ftlapp.cn/ftl/ftlab/one-vue3/compare/v0.0.4...v0.0.5) - 2023-07-05
|
|
11
23
|
|
|
12
24
|
### Commits
|
|
13
25
|
|
package/components.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
/* prettier-ignore */
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
// Generated by unplugin-vue-components
|
|
5
|
+
// Read more: https://github.com/vuejs/core/pull/3399
|
|
6
|
+
export {}
|
|
7
|
+
|
|
8
|
+
declare module 'vue' {
|
|
9
|
+
export interface GlobalComponents {
|
|
10
|
+
ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb']
|
|
11
|
+
ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem']
|
|
12
|
+
ElDropdown: typeof import('element-plus/es')['ElDropdown']
|
|
13
|
+
ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
|
|
14
|
+
ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']
|
|
15
|
+
ElIcon: typeof import('element-plus/es')['ElIcon']
|
|
16
|
+
ElMenu: typeof import('element-plus/es')['ElMenu']
|
|
17
|
+
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
|
|
18
|
+
ElPopover: typeof import('element-plus/es')['ElPopover']
|
|
19
|
+
ElSkeleton: typeof import('element-plus/es')['ElSkeleton']
|
|
20
|
+
ElSubMenu: typeof import('element-plus/es')['ElSubMenu']
|
|
21
|
+
RouterLink: typeof import('vue-router')['RouterLink']
|
|
22
|
+
RouterView: typeof import('vue-router')['RouterView']
|
|
23
|
+
}
|
|
24
|
+
}
|