CircleCI-Public / circleci-config-sdk-ts

Generate CircleCI Configuration YAML from JavaScript or TypeScript. Use Dynamic Configuration and the Config SDK together for live generative config.
https://circleci-public.github.io/circleci-config-sdk-ts/
Apache License 2.0
82 stars 29 forks source link

Fix version reporting #43

Closed KyleTryon closed 3 years ago

KyleTryon commented 3 years ago

Previously broke the type definitions by changing the root of the typescript app in the tsc config in order to import the package.json file so the version number could be embedded in the application.

There is now a new file package-version.json in the src directory which will be automatically created/updated by the CI pipeline.

codecov[bot] commented 3 years ago

Codecov Report

Merging #43 (0ee700a) into main (0477874) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #43   +/-   ##
=======================================
  Coverage   95.80%   95.80%           
=======================================
  Files          30       30           
  Lines         262      262           
  Branches       28       28           
=======================================
  Hits          251      251           
  Misses          7        7           
  Partials        4        4           
Impacted Files Coverage Δ
src/lib/Config/index.ts 94.59% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0477874...0ee700a. Read the comment docs.