Skip to content

Commit ee3f829

Browse files
committed
feat: Add semantic-release
1 parent 86eb7e7 commit ee3f829

File tree

2 files changed

+23
-5
lines changed

2 files changed

+23
-5
lines changed

.circleci/config.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
jobs:
3+
build:
4+
docker:
5+
- image: 'circleci/node:latest'
6+
steps:
7+
- checkout
8+
- run:
9+
name: install
10+
command: npm install
11+
- run:
12+
name: release
13+
command: npm run semantic-release || true

package.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "use-one-graph",
3-
"version": "0.0.1",
3+
"version": "0.0.0-development",
44
"description": "a simple way to add opengraph authentication to your react app",
55
"main": "dist/index.js",
66
"author": "Khaled Garbaya <kgarbaya@gmail.com>",
@@ -10,12 +10,17 @@
1010
"unpkg": "dist/index.umd.js",
1111
"scripts": {
1212
"build": "microbundle",
13-
"dev": "microbundle watch"
13+
"dev": "microbundle watch",
14+
"semantic-release": "semantic-release"
1415
},
1516
"devDependencies": {
16-
"microbundle": "^0.11.0"
17+
"microbundle": "^0.11.0",
18+
"semantic-release": "^15.13.24"
1719
},
18-
"files": ["src", "dist"],
20+
"files": [
21+
"src",
22+
"dist"
23+
],
1924
"peerDependencies": {
2025
"react": "^16.10.2"
2126
},
@@ -27,6 +32,6 @@
2732
},
2833
"repository": {
2934
"type": "git",
30-
"url": "git+https://github.com/Khaledgarbaya/use-one-graph.git"
35+
"url": "https://github.com/Khaledgarbaya/use-one-graph.git"
3136
}
3237
}

0 commit comments

Comments
 (0)