Skip to content

v0.9.1 ошибки при сборке

Библиотека

  • @digital-plant/zyfra-components
  • @digital-plant/zyfra-ui
  • @digital-plant/zyfra-translate

Версия

Операционная система:

macOS Monterey 12.0.1

Браузер:

Google Chrome Версия 101.0.4951.64 (Официальная сборка), (arm64)

NodeJS:

➜ node --version
v14.16.0

Dependencies:

@digital-plant/zyfra-components@0.9.1
@angular/core@12.2.16

Описание проблемы

после обновления до версии 0.9.1 при сборке получаю ошибки: Снимок_экрана_2022-05-23_в_15.42.59

Настройки tsconfig:

{
  "compileOnSave": false,
  "compilerOptions": {
    "paths": {
      "@digital-plant/data-source": [
        "dist/digital-plant/data-source/digital-plant-data-source",
        "dist/digital-plant/data-source"
      ],
      "@digital-plant/data-source-service-mock": [
        "dist/digital-plant/data-source-service-mock/digital-plant-data-source-service-mock",
        "dist/digital-plant/data-source-service-mock"
      ]
    },
    "baseUrl": "./",
    "outDir": "./dist/out-tsc",
    "forceConsistentCasingInFileNames": true,
    "strict": true,
    "noImplicitReturns": true,
    "noFallthroughCasesInSwitch": true,
    "sourceMap": true,
    "declaration": false,
    "downlevelIteration": true,
    "experimentalDecorators": true,
    "moduleResolution": "node",
    "importHelpers": true,
    "allowSyntheticDefaultImports": true,
    "target": "es2017",
    "module": "es2020",
    "lib": [
      "es2018",
      "dom"
    ]
  },
  "angularCompilerOptions": {
    "enableI18nLegacyMessageIdFormat": false,
    "strictInjectionParameters": true,
    "strictInputAccessModifiers": true,
    "strictTemplates": true
  }
}
Edited by Denis Sermyagin