@gravity-ui/app-builder 0.39.2-beta.0 → 0.41.0-beta.0

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.
@@ -21,7 +21,12 @@ function compile(ts, { projectPath, configFileName = 'tsconfig.json', optionsToE
21
21
  compilerHost.readFile = (0, utils_1.displayFilename)(compilerHost.readFile, 'Reading', logger);
22
22
  // @ts-expect-error
23
23
  compilerHost.readFile.enableDisplay();
24
- const program = ts.createProgram(parsedConfig.fileNames, parsedConfig.options, compilerHost);
24
+ const program = ts.createProgram({
25
+ rootNames: parsedConfig.fileNames,
26
+ options: parsedConfig.options,
27
+ projectReferences: parsedConfig.projectReferences,
28
+ host: compilerHost,
29
+ });
25
30
  // @ts-expect-error
26
31
  const filesCount = compilerHost.readFile.disableDisplay();
27
32
  let allDiagnostics = ts.getPreEmitDiagnostics(program);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/app-builder",
3
- "version": "0.39.2-beta.0",
3
+ "version": "0.41.0-beta.0",
4
4
  "description": "Develop and build your React client-server projects, powered by typescript and webpack",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",