@nocobase/build 0.16.0-alpha.6 → 0.17.0-alpha.1

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.
Files changed (2) hide show
  1. package/lib/build.js +7 -1
  2. package/package.json +2 -2
package/lib/build.js CHANGED
@@ -47,7 +47,13 @@ async function build(pkgs) {
47
47
  process.env.NODE_ENV = "production";
48
48
  const packages = (0, import_getPackages.getPackages)(pkgs);
49
49
  if (packages.length === 0) {
50
- console.error(import_chalk.default.red(`[@nocobase/build]: '${pkgs.join(", ")}' not match any packages.`));
50
+ let msg = "";
51
+ if (pkgs.length) {
52
+ msg = `'${pkgs.join(", ")}' did not match any packages`;
53
+ } else {
54
+ msg = "No package matched";
55
+ }
56
+ console.warn(import_chalk.default.yellow(`[@nocobase/build]: ${msg}`));
51
57
  return;
52
58
  }
53
59
  const pluginPackages = (0, import_constant.getPluginPackages)(packages);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nocobase/build",
3
- "version": "0.16.0-alpha.6",
3
+ "version": "0.17.0-alpha.1",
4
4
  "description": "Library build tool based on rollup.",
5
5
  "main": "lib/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -36,5 +36,5 @@
36
36
  "scripts": {
37
37
  "build": "tsup"
38
38
  },
39
- "gitHead": "e8ad2328a8f85289cb19a7994d3fd726c7ae1720"
39
+ "gitHead": "afbb7e79fe2633292bc161d56d23c684181632ed"
40
40
  }