create-application-template 0.11.0 → 1.0.1
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": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "provides a configured application template for you to build upon",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@babel/preset-react": "7.24.1",
|
|
59
59
|
"@babel/preset-typescript": "7.24.1",
|
|
60
60
|
"@babel/runtime": "7.24.5",
|
|
61
|
-
"@pmmmwh/react-refresh-webpack-plugin": "0.5.
|
|
61
|
+
"@pmmmwh/react-refresh-webpack-plugin": "0.5.15",
|
|
62
62
|
"@testing-library/jest-dom": "6.4.5",
|
|
63
63
|
"@testing-library/react": "15.0.7",
|
|
64
64
|
"@testing-library/user-event": "14.5.2",
|
package/src/components/App.tsx
CHANGED
|
@@ -8,8 +8,8 @@ import '../styles/env.css'
|
|
|
8
8
|
import cat from '../assets/cat.svg'
|
|
9
9
|
import { Counter } from './Counter'
|
|
10
10
|
|
|
11
|
-
export const App: FC = ()
|
|
12
|
-
const TemplateLink: FC = ()
|
|
11
|
+
export const App: FC = () => {
|
|
12
|
+
const TemplateLink: FC = () => {
|
|
13
13
|
return (
|
|
14
14
|
<app.StyledLink
|
|
15
15
|
href='https://www.npmjs.com/package/create-application-template'
|
|
@@ -6,7 +6,7 @@ import { StyledCounter } from '../styles/Counter.styled'
|
|
|
6
6
|
|
|
7
7
|
type Count = number
|
|
8
8
|
|
|
9
|
-
export const Counter: FC = ()
|
|
9
|
+
export const Counter: FC = () => {
|
|
10
10
|
const [count, setCount] = useState<Count>(0)
|
|
11
11
|
|
|
12
12
|
const handleClickCounter = () => setCount((count: Count) => ++count)
|