- https://docs.cypress.io/guides/tooling/code-coverage#Videos
- https://github.com/bahmutov/cypress-and-jest
- https://glebbahmutov.com/blog/combined-end-to-end-and-unit-test-coverage/
- https://glebbahmutov.com/blog/backend-coverage/
- https://github.com/bahmutov/next-and-cypress-example
- https://github.com/codecov/codecov-action
- https://docs.codecov.com/docs/pull-request-comments
- https://dev.to/penx/combining-storybook-cypress-and-jest-code-coverage-4pa5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"use strict"; | |
// Future versions of Hyper may add additional config options, | |
// which will not automatically be merged into this file. | |
// See https://hyper.is#cfg for all currently supported options. | |
module.exports = { | |
config: { | |
// choose either `'stable'` for receiving highly polished, | |
// or `'canary'` for less polished but more frequent updates | |
updateChannel: 'stable', | |
// default font size in pixels for all tabs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "sample-react-component-library", | |
"version": "1.0.0", | |
"description": "", | |
"main": "index.js", | |
"scripts": { | |
"start": "styleguidist server", | |
"test": "echo \"Error: no test specified\" && exit 1" | |
}, | |
"keywords": [], |
- Update
package.json
, setversion
to a prerelease version, e.g.2.0.0-rc1
,3.1.5-rc4
, ... - Run
npm pack
to create package - Run
npm publish <package>.tgz --tag next
to publish the package under thenext
tag - Run
npm install --save package@next
to install prerelease package
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
..., | |
"scripts": { | |
"start": "styleguidist server", | |
"build": "styleguidist build", | |
"prepublishOnly": "rm -rf ./dist && babel ./src --out-dir ./dist -s inline" | |
}, | |
..., | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export { default as Button } from './Button'; | |
export { default as MuiButton } from './MuiButton'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export * from './components'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
... | |
"main": "dist/index.js", | |
... | |
} |
NewerOlder