Closed KyleTryon closed 2 years ago
Merging #114 (6af09e7) into main (48bff2c) will decrease coverage by
0.32%
. The diff coverage is98.41%
.
@@ Coverage Diff @@
## main #114 +/- ##
===========================================
- Coverage 100.00% 99.67% -0.33%
===========================================
Files 106 61 -45
Lines 1025 614 -411
Branches 87 46 -41
===========================================
- Hits 1025 612 -413
- Misses 0 1 +1
- Partials 0 1 +1
Impacted Files | Coverage Δ | |
---|---|---|
...b/Components/Commands/exports/Native/AddSSHKeys.ts | 100.00% <ø> (ø) |
|
...omponents/Commands/exports/Native/Cache/Restore.ts | 100.00% <ø> (ø) |
|
...b/Components/Commands/exports/Native/Cache/Save.ts | 100.00% <ø> (ø) |
|
...lib/Components/Commands/exports/Native/Checkout.ts | 100.00% <ø> (ø) |
|
...nents/Commands/exports/Native/SetupRemoteDocker.ts | 100.00% <ø> (ø) |
|
...mponents/Commands/exports/Native/StoreArtifacts.ts | 100.00% <ø> (ø) |
|
...onents/Commands/exports/Native/StoreTestResults.ts | 100.00% <ø> (ø) |
|
...onents/Commands/exports/Native/Workspace/Attach.ts | 100.00% <ø> (ø) |
|
...nents/Commands/exports/Native/Workspace/Persist.ts | 100.00% <ø> (ø) |
|
...rc/lib/Components/Executors/exports/DockerImage.ts | 100.00% <ø> (ø) |
|
... and 23 more |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
This PR removes the parsing functionality of the Config SDK and relocates the logic to a separate package named
@circleci/circleci-config-parser
, which will have the SDK as a dependencyWhy?
Other:
This PR contains a large number of commits and changes. The following explains the reasoning:
types.executor
totypes.executors
to match the componentsConfig.generate
to output JSON like the othergenerate
functionsstringify
function toConfig
to "replace" thegenerate
function to produce the stringified YAMLasReusable
on Executor totoReusable
ReusedCommand
toReused
toReusableCommand