Skip to content

Commit 5e2f1e9

Browse files
committed
add back sync versions pre commit hook
1 parent 0b1bde5 commit 5e2f1e9

File tree

4 files changed

+5
-12
lines changed

4 files changed

+5
-12
lines changed

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
scripts/sync-versions.sh

README.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,7 @@ The generator uses the URL hard-coded as a constant in the `src/support/constant
1414

1515
## Building For Release
1616

17-
**Update version in `package.json` files**
18-
19-
Run the `update-version-numbers` script in the `scripts` folder and input the update type (major, minor, patch, beta).
20-
21-
**Update `README.md` files where needed**
22-
23-
- React: `src/static/react/README.md`
24-
- Vue: `src/static/vue/README.md`
25-
- Angular: `src/static/onesignal-ngx/README.md`
17+
Can run the build script to bundle release for each package. Used in CD.
2618

2719
```
2820
npm run build

src/static/vue/v2/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/static/vue/v2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "onesignal-vue",
3-
"version": "2.4.2",
3+
"version": "2.5.0",
44
"description": "Vue OneSignal Plugin: Make it easy to integrate OneSignal with your Vue App!",
55
"type": "module",
66
"contributors": [

0 commit comments

Comments
 (0)