cra-template-dvhb
Advanced tools
Comparing version 1.5.0 to 1.6.0
@@ -0,1 +1,13 @@ | ||
# [1.6.0](https://github.com/dvhb/template-react/compare/v1.5.0...v1.6.0) (2021-01-15) | ||
### Bug Fixes | ||
* lint errors ([caf993a](https://github.com/dvhb/template-react/commit/caf993ab098dacd69d9d163719383fd29adef803)) | ||
### Features | ||
* dvhb/ui theme with styled ([cc79b4c](https://github.com/dvhb/template-react/commit/cc79b4c5d47dabf4b3b698b4cd2842cf745a23c3)) | ||
# [1.5.0](https://github.com/dvhb/template-react/compare/v1.4.4...v1.5.0) (2020-08-12) | ||
@@ -2,0 +14,0 @@ |
{ | ||
"name": "cra-template-dvhb", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"description": "The base template for dvhb web app.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -7,3 +7,4 @@ module.exports = { | ||
'@storybook/addon-links', | ||
'@storybook/addon-knobs', | ||
], | ||
}; |
@@ -16,3 +16,3 @@ # dvhb web app | ||
To run e2e tests use the following commands (tests will be launched in the dev environment): | ||
To run e2e tests use the following commands (tests will be launched in the local environment): | ||
@@ -19,0 +19,0 @@ - with ui: `npm run test:cypress:open` |
@@ -63,3 +63,3 @@ // This optional code is used to register a service worker. | ||
.register(swUrl) | ||
.then(registration => { | ||
.then((registration) => { | ||
registration.onupdatefound = () => { | ||
@@ -100,3 +100,3 @@ const installingWorker = registration.installing; | ||
}) | ||
.catch(error => { | ||
.catch((error) => { | ||
console.error('Error during service worker registration:', error); | ||
@@ -111,3 +111,3 @@ }); | ||
}) | ||
.then(response => { | ||
.then((response) => { | ||
// Ensure service worker exists, and that we really are getting a JS file. | ||
@@ -117,3 +117,3 @@ const contentType = response.headers.get('content-type'); | ||
// No service worker found. Probably a different app. Reload the page. | ||
navigator.serviceWorker.ready.then(registration => { | ||
navigator.serviceWorker.ready.then((registration) => { | ||
registration.unregister().then(() => { | ||
@@ -136,6 +136,6 @@ window.location.reload(); | ||
navigator.serviceWorker.ready | ||
.then(registration => { | ||
.then((registration) => { | ||
registration.unregister(); | ||
}) | ||
.catch(error => { | ||
.catch((error) => { | ||
console.error(error.message); | ||
@@ -142,0 +142,0 @@ }); |
@@ -0,1 +1,23 @@ | ||
import '@dvhb/ui/dist/index.css'; | ||
import { Row, Col } from '@dvhb/ui'; | ||
export * from './Aligner'; | ||
export * from './Button'; | ||
export * from './ButtonGroup'; | ||
export * from './Checkbox'; | ||
export * from './Datepicker'; | ||
export * from './Field'; | ||
export * from './Hint'; | ||
export * from './Icon'; | ||
export * from './Input'; | ||
export * from './Link'; | ||
export * from './List'; | ||
export * from './Modal'; | ||
export * from './Popover'; | ||
export * from './RadioGroup'; | ||
export * from './Select'; | ||
export * from './Spacer'; | ||
export * from './Stepper'; | ||
export * from './Text'; | ||
export { Row, Col }; |
@@ -16,5 +16,6 @@ { | ||
"noEmit": true, | ||
"jsx": "react" | ||
"jsx": "react-jsx", | ||
"noFallthroughCasesInSwitch": true | ||
}, | ||
"include": ["src"] | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
125640
166
2929
1