@nocobase/build 1.6.20 → 1.6.22

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.
@@ -317,6 +317,7 @@ async function buildPluginClient(cwd, userConfig, sourcemap, log) {
317
317
  umdNamedDefine: true
318
318
  }
319
319
  },
320
+ amd: {},
320
321
  resolve: {
321
322
  tsConfig: import_path.default.join(process.cwd(), "tsconfig.json"),
322
323
  extensions: [".js", ".jsx", ".ts", ".tsx", ".json", ".less", ".css"]
package/lib/tarPlugin.js CHANGED
@@ -31,7 +31,7 @@ __export(tarPlugin_exports, {
31
31
  });
32
32
  module.exports = __toCommonJS(tarPlugin_exports);
33
33
  var import_path = __toESM(require("path"));
34
- var import_tar = __toESM(require("tar"));
34
+ var import_tar = require("tar");
35
35
  var import_fast_glob = __toESM(require("fast-glob"));
36
36
  var import_fs_extra = __toESM(require("fs-extra"));
37
37
  var import_constant = require("./constant");
@@ -50,7 +50,7 @@ function tarPlugin(cwd, log) {
50
50
  const tarFiles = import_fast_glob.default.sync(files, { cwd });
51
51
  import_fs_extra.default.mkdirpSync(import_path.default.dirname(tarball));
52
52
  import_fs_extra.default.rmSync(tarball, { force: true });
53
- return import_tar.default.c({ gzip: true, file: tarball, cwd }, tarFiles);
53
+ return (0, import_tar.create)({ gzip: true, file: tarball, cwd }, tarFiles);
54
54
  }
55
55
  // Annotate the CommonJS export names for ESM import in node:
56
56
  0 && (module.exports = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/build",
3
- "version": "1.6.20",
3
+ "version": "1.6.22",
4
4
  "description": "Library build tool based on rollup.",
5
5
  "main": "lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -17,7 +17,7 @@
17
17
  "@lerna/project": "4.0.0",
18
18
  "@rsbuild/plugin-babel": "^1.0.3",
19
19
  "@rsdoctor/rspack-plugin": "^0.4.8",
20
- "@rspack/core": "1.1.1",
20
+ "@rspack/core": "1.3.2",
21
21
  "@svgr/webpack": "^8.1.0",
22
22
  "@types/gulp": "^4.0.13",
23
23
  "@types/lerna__package": "5.1.0",
@@ -39,7 +39,7 @@
39
39
  "postcss-preset-env": "^9.1.2",
40
40
  "react-imported-component": "^6.5.4",
41
41
  "style-loader": "^3.3.3",
42
- "tar": "^6.2.0",
42
+ "tar": "^7.4.3",
43
43
  "tsup": "8.2.4",
44
44
  "typescript": "5.1.3",
45
45
  "update-notifier": "3.0.0",
@@ -51,5 +51,5 @@
51
51
  "scripts": {
52
52
  "build": "tsup"
53
53
  },
54
- "gitHead": "fe915073be058f8d256000b16d7c1735dc08c23b"
54
+ "gitHead": "321c0effa18670c0c3edfa09c79d535351ef2b0d"
55
55
  }