Skip to content

Commit 23e87bc

Browse files
authored
Merge pull request #7 from choisohyun/feature/#6
[FEATURE] npm 배포 및 버전관리 자동화
2 parents 44f8209 + 8cbfd0c commit 23e87bc

File tree

7 files changed

+1307
-29
lines changed

7 files changed

+1307
-29
lines changed

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4+
5+
## 1.1.0 (2022-03-18)
6+
7+
8+
### Features
9+
10+
* npx bin script ([e18cae8](https://github.com/choisohyun/react-vite-ts-boilerplate/commit/e18cae8293ee838055da3b38cd7dd6b7216d2348))
11+
* reset scss ([3637668](https://github.com/choisohyun/react-vite-ts-boilerplate/commit/36376686f59fa8e3ac54d95d6e090d0701b84033))
12+
13+
14+
### Bug Fixes
15+
16+
* bin script key name ([67b017d](https://github.com/choisohyun/react-vite-ts-boilerplate/commit/67b017d041c7f2f6397a26207e3c29739103728f))
17+
* empty build error ([06500e8](https://github.com/choisohyun/react-vite-ts-boilerplate/commit/06500e8dc0303138862ec1038d104b9e5040c7f5))
18+
* example cmd log typo ([49dba04](https://github.com/choisohyun/react-vite-ts-boilerplate/commit/49dba046d1e6fcf385a1c8455c6029576e3221ee))
19+
* style import nothing bug ([df5e6e2](https://github.com/choisohyun/react-vite-ts-boilerplate/commit/df5e6e24249a2d0f78708a592edde7dbe11e5306))
20+
* typo ([6832577](https://github.com/choisohyun/react-vite-ts-boilerplate/commit/683257742eabacf4f85a335c367e640c6698807c))

README.md

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,32 @@
1+
# Very Fast React Boilerplate
2+
13
<p align="center">
24

35
![header](https://capsule-render.vercel.app/api?type=waving&color=61DAFB&height=300&section=header&text=Very%20Fast%20React%20Boilerplate&fontSize=60&animation=fadeIn&fontAlignY=38&descAlignY=51&descAlign=62&fontColor=F5F8FA)
46

57
</p>
68

7-
# Very Fast React Boilerplate
89

9-
[![npm version](https://badge.fury.io/js/react-vite-ts-boilerplate.svg)](https://badge.fury.io/js/react-vite-ts-boilerplate)
10+
[![npm version](https://badge.fury.io/js/react-vite-ts-boilerplate.svg)](https://www.npmjs.com/package/react-vite-ts-boilerplate)
11+
12+
## Getting started
13+
14+
1. Gets the git project. (Auto run installation)
15+
16+
```
17+
npx react-vite-ts-boilerplate my-app
18+
```
19+
20+
2. Start the dev server. And open http://localhost:3000 in your browser.
1021

11-
## How to use
22+
```
23+
yarn dev
24+
```
25+
26+
3. Build your product.
1227

1328
```
14-
npx react-vite-ts-boilerplate my-app
15-
yarn dev
16-
yarn prod
29+
yarn prod
1730
```
1831

1932
## Dependencies
@@ -24,6 +37,8 @@ yarn prod
2437
- eslint
2538
- Prettier
2639

40+
## Performance
41+
2742
- fast dev server
2843

2944
```bash
@@ -52,4 +67,3 @@ dist/assets/index.f377a083.js 2.09 KiB / gzip: 1.13 KiB
5267
dist/assets/vendor.5ad169fc.js 136.42 KiB / gzip: 44.42 KiB 21:57:45
5368
✨ Done in 2.22s.
5469
```
55-

package.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
{
22
"name": "react-vite-ts-boilerplate",
3-
"version": "1.0.5",
3+
"version": "1.1.0",
44
"license": "MIT",
55
"scripts": {
66
"dev": "vite",
7-
"prod": "vite build"
7+
"prod": "vite build",
8+
"release": "standard-version"
89
},
910
"bin": {
1011
"react-vite-ts-boilerplate": "./bin/react-vite-ts-boilerplate.js"
@@ -30,6 +31,8 @@
3031
"react-router-dom": "^6.2.1"
3132
},
3233
"devDependencies": {
34+
"@commitlint/cli": "^16.2.3",
35+
"@commitlint/config-conventional": "^16.2.1",
3336
"@rollup/plugin-alias": "^3.1.9",
3437
"@types/react": "17.0.35",
3538
"@types/react-dom": "17.0.11",
@@ -52,15 +55,21 @@
5255
"postcss-nested": "^5.0.6",
5356
"prettier": "^2.4.1",
5457
"sass": "1.43.5",
58+
"standard-version": "^9.3.2",
5559
"typescript": "^4.5.2",
5660
"vite": "^2.8.6",
5761
"vite-plugin-html": "^3.1.0",
5862
"vite-tsconfig-paths": "^3.4.1"
5963
},
64+
"commitlint": {
65+
"extends": [
66+
"@commitlint/config-conventional"
67+
]
68+
},
6069
"husky": {
6170
"hooks": {
62-
"pre-commit": "lint-staged",
63-
"post-commit": "standard-version"
71+
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
72+
"pre-commit": "lint-staged"
6473
}
6574
},
6675
"lint-staged": {

public/favicon.ico

14.7 KB
Binary file not shown.

public/manifest.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"short_name": "react-vite-ts-boilerplate",
3+
"name": "react-vite-ts-boilerplate",
4+
"description": "react-vite-ts-boilerplate",
5+
"icons": [
6+
{
7+
"src": "images/favicon.ico",
8+
"type": "image/x-icon",
9+
"sizes": "64x64"
10+
}
11+
],
12+
"start_url": "/",
13+
"display": "standalone",
14+
"orientation": "landscape",
15+
"theme_color": "#ffffff",
16+
"background_color": "#ffffff"
17+
}

public/robots.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
User-agent: *
2+
Allow: /

0 commit comments

Comments
 (0)