@nocobase/build 2.1.0-beta.21 → 2.1.0-beta.23
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/lib/build.js +7 -0
- package/lib/constant.js +1 -1
- package/package.json +2 -2
package/lib/build.js
CHANGED
|
@@ -87,6 +87,13 @@ async function build(pkgs) {
|
|
|
87
87
|
profile
|
|
88
88
|
});
|
|
89
89
|
const clientCore = packages.find((item) => item.location === import_constant.CORE_CLIENT);
|
|
90
|
+
const clientV2Core = packages.find((item) => item.location === import_constant.CORE_CLIENT_V2);
|
|
91
|
+
if (clientV2Core) {
|
|
92
|
+
await buildSinglePackage(clientV2Core, "es", import_buildClient.buildClient, {
|
|
93
|
+
stageName: "core client-v2",
|
|
94
|
+
profile
|
|
95
|
+
});
|
|
96
|
+
}
|
|
90
97
|
if (clientCore) {
|
|
91
98
|
await buildSinglePackage(clientCore, "es", import_buildClient.buildClient, {
|
|
92
99
|
stageName: "core client",
|
package/lib/constant.js
CHANGED
|
@@ -92,7 +92,7 @@ const getPresetsPackages = (packages) => packages.filter((item) => item.location
|
|
|
92
92
|
const CORE_APP = import_path.default.join(PACKAGES_PATH, "core/app");
|
|
93
93
|
const CORE_CLIENT = import_path.default.join(PACKAGES_PATH, "core/client");
|
|
94
94
|
const CORE_CLIENT_V2 = import_path.default.join(PACKAGES_PATH, "core/client-v2");
|
|
95
|
-
const ESM_PACKAGES = ["@nocobase/
|
|
95
|
+
const ESM_PACKAGES = ["@nocobase/test"];
|
|
96
96
|
const CJS_EXCLUDE_PACKAGES = [
|
|
97
97
|
import_path.default.join(PACKAGES_PATH, "core/build"),
|
|
98
98
|
import_path.default.join(PACKAGES_PATH, "core/cli-v1"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/build",
|
|
3
|
-
"version": "2.1.0-beta.
|
|
3
|
+
"version": "2.1.0-beta.23",
|
|
4
4
|
"description": "Library build tool based on rollup.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"build": "tsup",
|
|
54
54
|
"build:watch": "tsup --watch"
|
|
55
55
|
},
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "bb4c0d3551bf9eff505b63756dd24a0813231f16"
|
|
57
57
|
}
|