@gravity-ui/app-builder 0.30.2 → 0.30.3

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.
@@ -49,6 +49,9 @@ async function default_1(config) {
49
49
  logger_1.default.warning(`Failed to remove appRun path [${appRunPath}]: ${error}`);
50
50
  }
51
51
  }
52
+ if (shouldCompileClient || shouldCompileServer) {
53
+ (0, utils_1.createRunFolder)(config);
54
+ }
52
55
  let clientCompiled = !shouldCompileClient;
53
56
  let serverCompiled = !shouldCompileServer;
54
57
  let needToStartNodemon = shouldCompileServer;
@@ -30,7 +30,6 @@ exports.watchServerCompilation = watchServerCompilation;
30
30
  const path = __importStar(require("node:path"));
31
31
  const rimraf_1 = require("rimraf");
32
32
  const controllable_script_1 = require("../../common/child-process/controllable-script");
33
- const utils_1 = require("../../common/utils");
34
33
  const paths_1 = __importDefault(require("../../common/paths"));
35
34
  function createTypescriptBuildScript(config) {
36
35
  return `
@@ -79,7 +78,6 @@ watch(
79
78
  async function watchServerCompilation(config) {
80
79
  const serverPath = path.resolve(paths_1.default.appDist, 'server');
81
80
  rimraf_1.rimraf.sync(serverPath);
82
- (0, utils_1.createRunFolder)(config);
83
81
  const build = new controllable_script_1.ControllableScript(config.server.compiler === 'swc'
84
82
  ? createSWCBuildScript(config)
85
83
  : createTypescriptBuildScript(config), null);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/app-builder",
3
- "version": "0.30.2",
3
+ "version": "0.30.3",
4
4
  "description": "Develop and build your React client-server projects, powered by typescript and webpack",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",