@nocobase/build 1.6.25 → 1.6.26

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.
@@ -46,6 +46,7 @@ const buildDeclaration = (cwd, targetDir) => {
46
46
  `!${import_path.default.join(srcPath, "**/demos{,/**}")}`,
47
47
  `!${import_path.default.join(srcPath, "**/__test__{,/**}")}`,
48
48
  `!${import_path.default.join(srcPath, "**/__tests__{,/**}")}`,
49
+ `!${import_path.default.join(srcPath, "**/__benchmarks__{,/**}")}`,
49
50
  `!${import_path.default.join(srcPath, "**/__e2e__{,/**}")}`,
50
51
  `!${import_path.default.join(srcPath, "**/*.mdx")}`,
51
52
  `!${import_path.default.join(srcPath, "**/*.md")}`,
@@ -42,15 +42,19 @@ var import_fast_glob = __toESM(require("fast-glob"));
42
42
  var import_fs_extra = __toESM(require("fs-extra"));
43
43
  var import_path = __toESM(require("path"));
44
44
  var import_tsup = require("tsup");
45
+ var import_rspack_plugin = require("@rsdoctor/rspack-plugin");
45
46
  var import_constant = require("./constant");
46
47
  var import_utils = require("./utils");
47
48
  var import_buildPluginUtils = require("./utils/buildPluginUtils");
48
49
  var import_getDepsConfig = require("./utils/getDepsConfig");
49
- var import_rspack_plugin = require("@rsdoctor/rspack-plugin");
50
50
  const validExts = [".ts", ".tsx", ".js", ".jsx", ".mjs"];
51
51
  const serverGlobalFiles = ["src/**", "!src/client/**", ...import_constant.globExcludeFiles];
52
52
  const clientGlobalFiles = ["src/**", "!src/server/**", ...import_constant.globExcludeFiles];
53
- const sourceGlobalFiles = ["src/**/*.{ts,js,tsx,jsx,mjs}", "!src/**/__tests__"];
53
+ const sourceGlobalFiles = [
54
+ "src/**/*.{ts,js,tsx,jsx,mjs}",
55
+ "!src/**/__tests__",
56
+ "!src/**/__benchmarks__"
57
+ ];
54
58
  const external = [
55
59
  // nocobase
56
60
  "@nocobase/acl",
package/lib/constant.js CHANGED
@@ -48,6 +48,7 @@ module.exports = __toCommonJS(constant_exports);
48
48
  var import_path = __toESM(require("path"));
49
49
  const globExcludeFiles = [
50
50
  "!src/**/__tests__",
51
+ "!src/**/__benchmarks__",
51
52
  "!src/**/__test__",
52
53
  "!src/**/__e2e__",
53
54
  "!src/**/demos",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/build",
3
- "version": "1.6.25",
3
+ "version": "1.6.26",
4
4
  "description": "Library build tool based on rollup.",
5
5
  "main": "lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -51,5 +51,5 @@
51
51
  "scripts": {
52
52
  "build": "tsup"
53
53
  },
54
- "gitHead": "45c7ce4f2a31ac96f92746dce186af9d647c6288"
54
+ "gitHead": "dc7085b4f453983c6398a5b33011a8fb6dfc59ae"
55
55
  }