Skip to content

Commit 830b65c

Browse files
author
phshy0607
committed
feat: changelog
1 parent 4e528a5 commit 830b65c

File tree

6 files changed

+5526
-5105
lines changed

6 files changed

+5526
-5105
lines changed
+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Publish to NPM
2+
on:
3+
release:
4+
types: [created]
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- name: Checkout
10+
uses: actions/checkout@v3
11+
- name: Setup Node
12+
uses: actions/setup-node@v3
13+
with:
14+
node-version: 16
15+
- name: Install Pnpm
16+
uses: pnpm/[email protected]
17+
with:
18+
version: 6.0.2
19+
- name: Install dependencies
20+
run: pnpm install
21+
- name: Build
22+
run: pnpm run build
23+
- name: Publish package on NPM 📦
24+
uses: JS-DevTools/npm-publish@v1
25+
with:
26+
token: ${{ secrets.NPM_PUBLISH }}

CHANGELOG.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7+
8+
## Types of changes
9+
10+
- `Added` for new features.
11+
- `Changed` for changes in existing functionality.
12+
- `Deprecated` for soon-to-be removed features.
13+
- `Removed` for now removed features.
14+
- `Fixed` for any bug fixes.
15+
- `Security` in case of vulnerabilities.
16+
17+
## [0.10.1] - 2022-07-07

package.json

+11-5
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88
"scripts": {
99
"watch": "rollup -c -w",
1010
"docs:start": "docit start",
11-
"docs:build": "docit build",
12-
"build": "rimraf dist && rollup -c && tsc"
11+
"build": "run-p build:lib build:types build:docs",
12+
"build:lib": "rimraf dist && rollup -c",
13+
"build:types": "tsc",
14+
"build:docs": "docit build"
1315
},
1416
"repository": {
1517
"type": "git",
@@ -27,7 +29,7 @@
2729
"devDependencies": {
2830
"@babel/core": "^7.17.9",
2931
"@babel/preset-env": "^7.16.11",
30-
"@blizzbolts/docit": "0.8.2",
32+
"@blizzbolts/docit": "^0.10.1",
3133
"@rollup/plugin-babel": "^5.3.1",
3234
"@rollup/plugin-commonjs": "^22.0.0",
3335
"@rollup/plugin-node-resolve": "^13.2.1",
@@ -36,17 +38,21 @@
3638
"@types/react": "^17.0.42",
3739
"@types/react-dom": "^17.0.14",
3840
"@types/styled-components": "^5.1.24",
41+
"npm-run-all": "^4.1.5",
3942
"postcss": "^8.4.12",
43+
"prop-types": "^15.8.1",
4044
"react": "^17.0.2",
4145
"react-dom": "^17.0.2",
46+
"react-is": "^18.2.0",
4247
"rimraf": "^3.0.2",
4348
"rollup": "^2.70.2",
4449
"rollup-plugin-peer-deps-external": "^2.2.4",
4550
"rollup-plugin-postcss": "^4.0.2",
46-
"tslib": "^2.3.1",
51+
"rollup-plugin-terser": "^7.0.2",
4752
"typescript": "^4.6.2"
4853
},
4954
"dependencies": {
50-
"core-js": "^3.22.2"
55+
"core-js": "^3.22.2",
56+
"tslib": "^2.3.1"
5157
}
5258
}

0 commit comments

Comments
 (0)