@seayoo-web/scripts 1.0.4 → 1.0.6
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/dist/index.js +4 -4
- package/package.json +2 -1
- package/types/src/eslint.d.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -660,7 +660,7 @@ async function destroyRepo() {
|
|
|
660
660
|
spinner.succeed("页面已经销毁!".green);
|
|
661
661
|
}
|
|
662
662
|
program.action(startCreateJob);
|
|
663
|
-
const
|
|
663
|
+
const vueEslintConfig = [
|
|
664
664
|
pluginVue.configs["flat/essential"],
|
|
665
665
|
vueTsConfigs.recommended,
|
|
666
666
|
skipFormatting,
|
|
@@ -671,7 +671,7 @@ const vueConfig = [
|
|
|
671
671
|
}
|
|
672
672
|
}
|
|
673
673
|
];
|
|
674
|
-
const
|
|
674
|
+
const importEslintConfig = [
|
|
675
675
|
flatConfigs.recommended,
|
|
676
676
|
{
|
|
677
677
|
rules: {
|
|
@@ -709,9 +709,9 @@ export {
|
|
|
709
709
|
definePageBuildConfig,
|
|
710
710
|
getBuildEnv,
|
|
711
711
|
htmlInjectPlugin,
|
|
712
|
-
|
|
712
|
+
importEslintConfig,
|
|
713
713
|
runCreateScript,
|
|
714
714
|
runDestoryScript,
|
|
715
715
|
transformEnvs,
|
|
716
|
-
|
|
716
|
+
vueEslintConfig
|
|
717
717
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seayoo-web/scripts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "scripts for seayoo web monorepos",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "index.ts",
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"eslint-plugin-vue": "^9.32.0",
|
|
33
33
|
"fs-extra": "^11.3.0",
|
|
34
34
|
"inquirer": "^12.4.2",
|
|
35
|
+
"jiti": "^2.4.2",
|
|
35
36
|
"ora": "^8.2.0",
|
|
36
37
|
"vite-plugin-stylelint": "^6.0.0",
|
|
37
38
|
"vite-plugin-vue-devtools": "^7.7.2",
|
package/types/src/eslint.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ export { defineConfigWithVueTs } from "@vue/eslint-config-typescript";
|
|
|
3
3
|
/**
|
|
4
4
|
* vue eslint 规则
|
|
5
5
|
*/
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const vueEslintConfig: (TSESLint.FlatConfig.Config | TSESLint.FlatConfig.Config[])[];
|
|
7
7
|
/**
|
|
8
8
|
* import 规则,含排序配置
|
|
9
9
|
*/
|
|
10
|
-
export declare const
|
|
10
|
+
export declare const importEslintConfig: TSESLint.FlatConfig.Config[];
|