@seayoo-web/scripts 1.0.5 → 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 CHANGED
@@ -660,7 +660,7 @@ async function destroyRepo() {
660
660
  spinner.succeed("页面已经销毁!".green);
661
661
  }
662
662
  program.action(startCreateJob);
663
- const vueConfig = [
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 importConfig = [
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
- importConfig,
712
+ importEslintConfig,
713
713
  runCreateScript,
714
714
  runDestoryScript,
715
715
  transformEnvs,
716
- vueConfig
716
+ vueEslintConfig
717
717
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seayoo-web/scripts",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "scripts for seayoo web monorepos",
5
5
  "type": "module",
6
6
  "source": "index.ts",
@@ -3,8 +3,8 @@ export { defineConfigWithVueTs } from "@vue/eslint-config-typescript";
3
3
  /**
4
4
  * vue eslint 规则
5
5
  */
6
- export declare const vueConfig: (TSESLint.FlatConfig.Config | TSESLint.FlatConfig.Config[])[];
6
+ export declare const vueEslintConfig: (TSESLint.FlatConfig.Config | TSESLint.FlatConfig.Config[])[];
7
7
  /**
8
8
  * import 规则,含排序配置
9
9
  */
10
- export declare const importConfig: TSESLint.FlatConfig.Config[];
10
+ export declare const importEslintConfig: TSESLint.FlatConfig.Config[];