@gct-paas/build 0.1.4-dev.0 → 0.1.4-dev.2

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.
@@ -97,7 +97,9 @@ function defineRollupConfig(opts = {}) {
97
97
  ".vue": "ts"
98
98
  }
99
99
  }), (0, _vitePluginDts.default)({
100
- outDir: [outDir]
100
+ outDir: [outDir],
101
+ // 排除测试目录,以及测试文件
102
+ exclude: ["**/test/**", "**/*.test.ts", "**/*.test.tsx", "**/*.spec.ts", "**/*.spec.tsx"]
101
103
  })]
102
104
  }), opts);
103
105
  }
@@ -105,7 +105,15 @@ export function defineRollupConfig(opts = {}) {
105
105
  }
106
106
  }),
107
107
  dts({
108
- outDir: [outDir]
108
+ outDir: [outDir],
109
+ // 排除测试目录,以及测试文件
110
+ exclude: [
111
+ "**/test/**",
112
+ "**/*.test.ts",
113
+ "**/*.test.tsx",
114
+ "**/*.spec.ts",
115
+ "**/*.spec.tsx"
116
+ ]
109
117
  })
110
118
  ]
111
119
  }),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gct-paas/build",
3
- "version": "0.1.4-dev.0",
3
+ "version": "0.1.4-dev.2",
4
4
  "type": "module",
5
5
  "description": "paas 平台核心包",
6
6
  "main": "dist/index.cjs",
@@ -32,7 +32,6 @@
32
32
  "scripts": {
33
33
  "build": "unbuild",
34
34
  "lint": "eslint src/",
35
- "link2global": "pnpm link --global",
36
35
  "publish:next": "npm run build && npm publish --access public --tag=next --registry=https://registry.npmjs.org/",
37
36
  "publish:dev": "npm run build && npm publish --access public --tag=dev --registry=https://registry.npmjs.org/",
38
37
  "publish:alpha": "npm run build && npm publish --access public --tag=alpha --registry=https://registry.npmjs.org/",
@@ -45,7 +44,7 @@
45
44
  "@commitlint/cli": "^19.8.1",
46
45
  "@commitlint/config-conventional": "^19.8.1",
47
46
  "@eslint/js": "^9.33.0",
48
- "@gct-paas/scss": "^0.1.4-dev.0",
47
+ "@gct-paas/scss": "^0.1.4-dev.2",
49
48
  "@inquirer/prompts": "^7.8.1",
50
49
  "@rollup/plugin-babel": "^6.0.4",
51
50
  "@rollup/plugin-commonjs": "^28.0.6",
@@ -99,5 +98,5 @@
99
98
  "typescript": "^5.9.2",
100
99
  "unbuild": "^3.6.0"
101
100
  },
102
- "gitHead": "c9621d762856690ccbe36c93a3cf50dd1060602a"
101
+ "gitHead": "d837ea9836db8bae169908326208cc031b2e9eac"
103
102
  }