Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Implement it #2

Merged
merged 8 commits into from
May 3, 2021
Merged

Implement it #2

merged 8 commits into from
May 3, 2021

Conversation

trieloff
Copy link
Contributor

  • feat: first implementation
  • test(post-deploy): add post-deploy test
  • build(test): exit mocha
  • build(test): do not require full branch coverage
  • test: format fixture

@github-actions
Copy link

This PR will trigger a minor release when merged.

@trieloff trieloff changed the title impl Implement it Apr 30, 2021
src/index.js Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Apr 30, 2021

Codecov Report

Merging #2 (b23810b) into main (58b5575) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##              main        #2   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines            8        11    +3     
=========================================
+ Hits             8        11    +3     
Impacted Files Coverage Δ
src/index.js 100.00% <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 58b5575...b23810b. Read the comment docs.

src/index.js Outdated
}

module.exports.main = wrap(main)
.with(status)
.with(logger.trace)
.with(logger);
.with(logger)
.with(optionalConfig, 'redirect', 'fstab', 'markup', 'index');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we really need markup ?

Copy link
Contributor

@tripodsan tripodsan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM (except the reduce :-) ).

but can we also include the

  • head.html ?
  • helix-version.txt ?

@davidnuescheler ideally, we could also consider the existence of a metadata.json as config. i.e. just add a:

"metadata": "/metadata.json`

entry. so we don't need to fetch a 404 if there is none.

}

module.exports.main = wrap(main)
.with(status)
.with(optionalConfig, 'redirect', 'fstab', 'markup', 'index')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@trieloff I moved this up, so that logging is enabled

@trieloff trieloff merged commit b558f18 into main May 3, 2021
This was referenced May 3, 2021
@trieloff
Copy link
Contributor Author

trieloff commented May 3, 2021

🎉 This PR is included in version 1.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants