@oinone/cli 7.2.8 → 7.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oinone/cli",
3
- "version": "7.2.8",
3
+ "version": "7.2.9",
4
4
  "description": "CLI tool to generate Oinone Frontend Template",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -7,7 +7,6 @@ pnpm install
7
7
 
8
8
  # 清理所有依赖
9
9
  pnpm run clean
10
- pnpm run clean:win
11
10
 
12
11
  # 开发模式启动
13
12
  pnpm run dev
@@ -26,7 +26,7 @@ const tsconfigOverride = {
26
26
  declaration: true,
27
27
  declarationDir: 'dist/types'
28
28
  },
29
- include: ['index.ts', 'src/**/*.ts'],
29
+ include: ['src/**/*.ts', 'src/**/*.tsx', 'src/**/*.vue'],
30
30
  exclude: ['tests/**/*.ts', 'tests/**/*.tsx']
31
31
  };
32
32
 
@@ -35,11 +35,21 @@ const plugins = [
35
35
  'process.env.NODE_ENV': JSON.stringify('development'),
36
36
  preventAssignment: true
37
37
  }),
38
- nodeResolve(),
38
+ nodeResolve({
39
+ extensions: ['.mjs', '.js', '.json', '.node', '.ts', '.tsx', '.vue']
40
+ }),
39
41
 
40
- typescript({ useTsconfigDeclarationDir: true, tsconfigOverride }),
42
+ typescript({
43
+ useTsconfigDeclarationDir: true,
44
+ tsconfigOverride,
45
+ include: ['**/*.ts', '**/*.tsx'],
46
+ check: false
47
+ }),
41
48
 
42
- vue(),
49
+ vue({
50
+ preprocessStyles: true,
51
+ needMap: false
52
+ }),
43
53
 
44
54
  scss({
45
55
  fileName: `${libraryName}.scss`,
@@ -1,3 +1,9 @@
1
1
  packages:
2
- - 'packages/*'
2
+ - packages/**
3
+ # pnpm@^11
4
+ allowBuilds:
5
+ esbuild: true
6
+ # pnpm@^9, pnpm@^10
7
+ onlyBuiltDependencies:
8
+ - esbuild
3
9