@seayoo-web/scripts 1.0.3 → 1.0.4

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
@@ -15,6 +15,7 @@ import inquirer from "inquirer";
15
15
  import ora from "ora";
16
16
  import skipFormatting from "@vue/eslint-config-prettier/skip-formatting";
17
17
  import { vueTsConfigs } from "@vue/eslint-config-typescript";
18
+ import { defineConfigWithVueTs } from "@vue/eslint-config-typescript";
18
19
  import { flatConfigs } from "eslint-plugin-import";
19
20
  import pluginVue from "eslint-plugin-vue";
20
21
  function defineLibBuildConfig(option) {
@@ -671,7 +672,7 @@ const vueConfig = [
671
672
  }
672
673
  ];
673
674
  const importConfig = [
674
- flatConfigs,
675
+ flatConfigs.recommended,
675
676
  {
676
677
  rules: {
677
678
  "import/no-unresolved": "off",
@@ -703,6 +704,7 @@ const importConfig = [
703
704
  export {
704
705
  EnvPrefix,
705
706
  checkCommit,
707
+ defineConfigWithVueTs,
706
708
  defineLibBuildConfig,
707
709
  definePageBuildConfig,
708
710
  getBuildEnv,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seayoo-web/scripts",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "scripts for seayoo web monorepos",
5
5
  "type": "module",
6
6
  "source": "index.ts",
@@ -1,4 +1,5 @@
1
1
  import { type TSESLint } from "@typescript-eslint/utils";
2
+ export { defineConfigWithVueTs } from "@vue/eslint-config-typescript";
2
3
  /**
3
4
  * vue eslint 规则
4
5
  */