create-application-template 1.1.0 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-application-template",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"description": "provides a configured application template for you to build upon",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"build:profile": "webpack --config webpack/webpack.config.js --env BUNDLER_ENV=prod BUNDLER_WITH_PROFILING=true",
|
|
13
13
|
"test": "jest",
|
|
14
14
|
"test:watch": "jest --watch",
|
|
15
|
+
"test:updateSnapshot": "jest --updateSnapshot",
|
|
15
16
|
"dev": "concurrently \"npm run test:watch\" \"npm run start\"",
|
|
16
17
|
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx,json}\"",
|
|
17
18
|
"lint:fix": "eslint --fix \"src/**/*.{js,jsx,ts,tsx,json}\"",
|
package/src/components/App.tsx
CHANGED
|
@@ -5,7 +5,7 @@ import theme from '../styles/theme'
|
|
|
5
5
|
import * as app from '../styles/App.styled'
|
|
6
6
|
import { StyledLogo } from '../styles/Logo.styled'
|
|
7
7
|
import '../styles/env.css'
|
|
8
|
-
import
|
|
8
|
+
import logo from '../assets/logo.svg'
|
|
9
9
|
import { Counter } from './Counter'
|
|
10
10
|
|
|
11
11
|
export const App: FC = () => {
|
|
@@ -35,7 +35,7 @@ export const App: FC = () => {
|
|
|
35
35
|
<code className='card--env'>[EXAMPLE={process.env.EXAMPLE}]</code>
|
|
36
36
|
</app.StyledSection>
|
|
37
37
|
<app.StyledSection>
|
|
38
|
-
<StyledLogo src={
|
|
38
|
+
<StyledLogo src={logo} alt='logo'/>
|
|
39
39
|
</app.StyledSection>
|
|
40
40
|
<app.StyledSection>
|
|
41
41
|
<Counter />
|
|
File without changes
|