fe-stack 0.0.7 → 0.0.9

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/biome.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/2.2.6/schema.json",
2
+ "$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
3
3
  "vcs": {
4
4
  "enabled": true,
5
5
  "clientKind": "git",
@@ -7,7 +7,13 @@
7
7
  },
8
8
  "files": {
9
9
  "ignoreUnknown": false,
10
- "experimentalScannerIgnores": ["node_modules", "build", "dist", "public"]
10
+ "includes": [
11
+ "**",
12
+ "!!**/node_modules",
13
+ "!!**/build",
14
+ "!!**/dist",
15
+ "!!**/public"
16
+ ]
11
17
  },
12
18
  "assist": {
13
19
  "actions": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fe-stack",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "共享的配置文件集合,用于 Vite、Tailwind、Biome、Prettier 和 TypeScript",
5
5
  "type": "module",
6
6
  "exports": {
@@ -50,10 +50,10 @@
50
50
  "unplugin-auto-import": "^20.3.0",
51
51
  "unplugin-vue-components": "^30.0.0",
52
52
  "unplugin-vue-router": "^0.19.2",
53
- "vite-plugin-dts": "^4.5.4"
53
+ "unplugin-dts": "1.0.0-beta.6"
54
54
  },
55
55
  "peerDependencies": {
56
- "@biomejs/biome": "^2.2.6",
56
+ "@biomejs/biome": "^2.3.11",
57
57
  "prettier": "^3.7.4",
58
58
  "tailwindcss": "^4.1.18",
59
59
  "typescript": "~5.9.3",
package/tsconfig.app.json CHANGED
@@ -4,12 +4,14 @@
4
4
  "tsBuildInfoFile": "./node_modules/.tmp/tsconfig.app.tsbuildinfo",
5
5
  "types": ["vite/client", "unplugin-vue-router/client"],
6
6
  "strict": true,
7
- "noUnusedLocals": true,
8
- "noUnusedParameters": true,
7
+ "noUnusedLocals": false,
8
+ "noUnusedParameters": false,
9
9
  "erasableSyntaxOnly": true,
10
10
  "noFallthroughCasesInSwitch": true,
11
11
  "noUncheckedSideEffectImports": true,
12
12
  "verbatimModuleSyntax": false,
13
+ "noImplicitThis": false,
14
+ "strictPropertyInitialization": false,
13
15
  "module": "ESNext",
14
16
  "moduleResolution": "Bundler"
15
17
  }
@@ -2,10 +2,10 @@ import path from 'node:path';
2
2
  import tailwindcss from '@tailwindcss/vite';
3
3
  import vue from '@vitejs/plugin-vue';
4
4
  import AutoImport from 'unplugin-auto-import/vite';
5
+ import dts from 'unplugin-dts/vite';
5
6
  import Components from 'unplugin-vue-components/vite';
6
7
  import VueRouter from 'unplugin-vue-router/vite';
7
8
  import { defineConfig, mergeConfig } from 'vite';
8
- import dts from 'vite-plugin-dts';
9
9
 
10
10
  /**
11
11
  * @typedef {import('vite').UserConfig} UserConfig
@@ -80,7 +80,7 @@ export function createBaseConfig(dirname, options = {}) {
80
80
  dts({
81
81
  include: ['src/**/*.ts'],
82
82
  root: dirname,
83
- rollupTypes: false,
83
+ bundleTypes: false,
84
84
  ...dtsConfig,
85
85
  }),
86
86
  );