@seayoo-web/scripts 1.0.3 → 1.0.5
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 +3 -1
- package/package.json +2 -1
- package/types/src/eslint.d.ts +1 -0
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
|
+
"version": "1.0.5",
|
|
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",
|